Package Details: jpegtran_crop 9e-1

Git Clone URL: (read-only, click to copy)
Package Base: jpegtran_crop
Description: Stable jpegtran version with the lossless crop and scale feature
Upstream URL:
Licenses: Other
Conflicts: jpegtran_crop_bin, libjpeg-turbo
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 2
Popularity: 0.000000
First Submitted: 2011-10-30 21:33 (UTC)
Last Updated: 2022-05-09 20:56 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

dreieck commented on 2024-05-18 14:29 (UTC)

Checksum verification fails:

==> Validating source files with md5sums...
    jpegtran_crop_9e.tar.gz ... FAILED


alan1world commented on 2022-03-09 18:52 (UTC)

Error in build:

PKGBUILD: line 15: cd: /tmp/jpegtran_crop/src/jpegcrop/jpeg-9d: No such file or directory

sekret commented on 2021-10-02 13:58 (UTC)

The checksum seems to be wrong.

jose1711 commented on 2020-09-04 20:09 (UTC) (edited on 2020-09-04 20:10 (UTC) by jose1711)

@Maniaxx if you check you'll find that it also contains /usr/lib/ And libjpeg-turbo updating to v9 seems very unlikely:

In a nutshell, The libjpeg-turbo Project has decided to use the release of 
jpeg-9 as an opportunity to draw a line in the sand and say "enough!" We could 
emulate the libjpeg v9 API/ABI easily enough, but why? The only purpose would be 
to support applications or O/S distributions that had upgraded from jpeg-8 to 
jpeg-9, but it is our opinion that no technical justification exists for this 

Also it seems to be quite a lot of bad blood between the projects..

Maniaxx commented on 2020-08-17 22:53 (UTC) (edited on 2020-08-17 22:54 (UTC) by Maniaxx)

Not sure. It might work if jpgtran asks for specifically. But you'll get into trouble once libjpeg-turbo updates to v9 as well. I'm wondering why they haven't done so already. Maybe ask the officials how to deal with this.

jose1711 commented on 2020-08-16 21:28 (UTC)

@Maniaxx thanks for sharing. please let me know what you think about this:

diff --git a/PKGBUILD b/PKGBUILD
index 0784861..f1b2f9a 100644
@@ -2,14 +2,14 @@

 pkgdesc="Stable jpegtran version with the lossless crop and scale feature"
 arch=('i686' 'x86_64')
-conflicts=('jpegtran_crop_bin' 'libjpeg-turbo')

 build() {
   cd ${srcdir}/jpegcrop/jpeg-${pkgver}
@@ -20,4 +20,7 @@ build() {
 package() {
   cd ${srcdir}/jpegcrop/jpeg-${pkgver}
   make DESTDIR=${pkgdir} install
+  find $pkgdir -type f \( ! -name jpegtran -a ! -name '[0-9]*' \) -delete
+  rm $pkgdir/usr/lib/
+  mv $pkgdir/usr/bin/jpegtran $pkgdir/usr/bin/jpegtran_crop

Maniaxx commented on 2020-08-16 17:45 (UTC) (edited on 2020-08-16 18:40 (UTC) by Maniaxx)

How is this meant to be installed without breaking the dependency tree? extra/libjpeg-turbo has too many dependencies to get uninstalled here.

Edit: As a workaround i've compiled it statically:

make DESTDIR=/tmp/jpegtran LINK='$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -all-static -s -o $@' -j4 install

dreieck commented on 2020-07-22 13:37 (UTC)

Checksum verification fails:

==> Validating source files with md5sums...
    jpegcrop.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

jose1711 commented on 2019-11-18 16:15 (UTC)


there is a difference between jpegtran from libjpeg-turbo and this PKGBUILD. namely libjpeg-turbo supports -icc switch but it is lacking support for:

-drop +X+Y filename Drop another image
-scale M/N          Scale output image by fraction M/N
-wipe WxH+X+Y       Wipe (gray out) a rectangular subarea

aurmyster commented on 2019-11-17 08:11 (UTC)

If you want to build this, change 9b to 9d in both the PKGBUILD & .SRCINFO files.

Please note that this package also conflicts with extra/libjpeg-turbo