Package Details: grok-jpeg2000 14.0.0-1

Git Clone URL: https://aur.archlinux.org/grok-jpeg2000.git (read-only, click to copy)
Package Base: grok-jpeg2000
Description: A high performance open source JPEG 2000 codec.
Upstream URL: https://github.com/GrokImageCompression/grok
Licenses: AGPL
Submitter: necklace
Maintainer: necklace
Last Packager: necklace
Votes: 1
Popularity: 0.000000
First Submitted: 2020-04-03 11:40 (UTC)
Last Updated: 2024-12-06 10:21 (UTC)

Latest Comments

FabioLolix commented on 2024-12-10 21:41 (UTC)

Another thing, this is failing to run because it is looking for libperl.so in the wrong place; it isn't the usual problem of an old package which need a rebuild

It is looking for /usr/lib/libperl.so while is /usr/lib/perl5/5.40/core_perl/CORE/libperl.so for the current perl version, to note that at build time it correctly identify the library

FabioLolix commented on 2024-12-09 22:59 (UTC)

Hi, this pkgbuild have several faults, like:

Happy to discuss details in the next days

necklace commented on 2024-12-06 10:22 (UTC)

@Fallback

Done, thx. You can also just flag the package with the "Flag package out-of-date" button :)

Fallback commented on 2024-12-05 23:56 (UTC)

please update to version 14

here is the new pkg with sha256 and cli11 as dep.:

# Current Maintainer: necklace <ns@nsz.no>
# Original Packager: necklace <ns@nsz.no>

pkgname=grok-jpeg2000
pkgver=14.0.0
pkgrel=1
pkgdesc="A high performance open source JPEG 2000 codec."
arch=(x86_64)
license=('AGPL')
url="https://github.com/GrokImageCompression/grok"
makedepends=('cmake')
depends=('zlib' 'libpng' 'libtiff' 'lcms2' 'libjpeg' 'jbigkit' 'cli11')
source=("$pkgname-$pkgver.tar.gz::https://github.com/GrokImageCompression/grok/archive/v$pkgver.tar.gz")
sha256sums=('929b29f51b09dc7a351c321290a02429087c36731713ed2009b0b602cb719509')

prepare() {
  cd "${srcdir}"
  mkdir -p build
}

build() {
  cd "${srcdir}/build"

  cmake "../grok-${pkgver}" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_SHARED_LIBS=ON \
    -DBUILD_STATIC_LIBS=OFF \
    -DBUILD_DOC=ON \
    -DBUILD_TESTING=OFF
  make
}


package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
  install -m644 -d "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/grok-jpeg2000/LICENSE"
}

necklace commented on 2022-04-22 09:22 (UTC)

@ddeberhar fixed it some days after you commented, but forgot to comment. Thanks!

ddeberhar commented on 2022-04-10 14:52 (UTC)

Please, update the checksum (and / or check changes on github, if appropriate) - pamac actually terminated with "sha256sums ... FAILED", and on github I see "updated 2 hours ago" (16.45 +0100) - seems there was another update after you updated the AUR package. I got it installed with checksum from github file copied to build file, but did not check whether it works as expected, yet, nor checked the code (that would be too much for me). Many thanks!

necklace commented on 2020-07-29 14:39 (UTC) (edited on 2020-07-29 14:39 (UTC) by necklace)

@ddeberhar thank you. I've updated and fixed the build. I can't do anything about the reference to $srcdir warnings, as that's because the developer of grok is using __FILE__ in his code. Stripping the binaries don't help.

ddeberhar commented on 2020-07-29 10:35 (UTC) (edited on 2020-07-29 10:49 (UTC) by ddeberhar)

Please, check build. (Manjaro 20.0.3 pamac):

==> Überprüfe source Dateien mit sha256sums...
    grok-jpeg2000-5.1.0.tar.gz ... FEHLGESCHLAGEN
...
rmdir: konnte '/var/tmp/pamac-build-username/grok-jpeg2000/pkg/grok-jpeg2000/usr/share/doc/GROK' nicht entfernen: Das Verzeichnis ist nicht leer
i.e. directory not empty, processing stopped
...
==> WARNUNG: Paket enthält einen Verweis auf $srcdir
i.e. contains reference to $srcdir

Thank you