From libjpeg-turbo-1.3.0 to libjpeg-turbo-1.3.0-r2 icedtea-bin miraculously stopped loading jpeg images. This is due to some important lines stripped out in the -r2 versioned ebuild. Vanilla 1.3.0 still worked. Icedtea-bin expects the system jpeg library to be ABI-8-versioned, there are probably more packages effected though. The main change from vanilla to -r2 seems to be multilib compatibility. Why JPEG_ABI=8 was removed by the author along the way is hard to guess. Putting JPEG_ABI=8 back in again solved the problems I had. --- libjpeg-turbo-1.3.0-r2.ebuild.orig 2013-08-12 19:02:41.000000000 +0200 +++ libjpeg-turbo-1.3.0-r2.ebuild 2013-08-12 19:13:47.000000000 +0200 @@ -4,12 +4,14 @@ EAPI=5 +JPEG_ABI=8 + inherit autotools eutils java-pkg-opt-2 libtool toolchain-funcs multilib-minimal DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library" HOMEPAGE="http://libjpeg-turbo.virtualgl.org/ http://sourceforge.net/projects/libjpeg-turbo/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - mirror://debian/pool/main/libj/libjpeg8/libjpeg8_8d-1.debian.tar.gz" + mirror://debian/pool/main/libj/libjpeg${JPEG_ABI}/libjpeg${JPEG_ABI}_${JPEG_ABI}d-1.debian.tar.gz" LICENSE="BSD IJG" SLOT="0" @@ -65,6 +67,7 @@ ECONF_SOURCE=${S} \ econf \ $(use_enable static-libs static) \ + --with-jpeg${JPEG_ABI} --with-mem-srcdst \ "${myconf[@]}" } Reproducible: Always
Created attachment 355786 [details, diff] libjpeg-turbo-1.3.0-r2.ebuild.patch
Created attachment 355788 [details, diff] libjpeg-turbo-1.3.0-r2.ebuild.patch missing backslash for line continuation added
*** This bug has been marked as a duplicate of bug 479442 ***