Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480754 - media-libs/libjpeg-turbo-1.3.0-r2 - killed JPEG_ABI=8 support and therefore icedtea-bin interop
Summary: media-libs/libjpeg-turbo-1.3.0-r2 - killed JPEG_ABI=8 support and therefore i...
Status: RESOLVED DUPLICATE of bug 479442
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-12 17:15 UTC by cmuelle8
Modified: 2013-08-12 17:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libjpeg-turbo-1.3.0-r2.ebuild.patch (libjpeg-turbo-1.3.0-r2.ebuild.patch,842 bytes, patch)
2013-08-12 17:16 UTC, cmuelle8
Details | Diff
libjpeg-turbo-1.3.0-r2.ebuild.patch (libjpeg-turbo-1.3.0-r2.ebuild.patch,844 bytes, patch)
2013-08-12 17:25 UTC, cmuelle8
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cmuelle8 2013-08-12 17:15:37 UTC
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
Comment 1 cmuelle8 2013-08-12 17:16:14 UTC
Created attachment 355786 [details, diff]
libjpeg-turbo-1.3.0-r2.ebuild.patch
Comment 2 cmuelle8 2013-08-12 17:25:15 UTC
Created attachment 355788 [details, diff]
libjpeg-turbo-1.3.0-r2.ebuild.patch

missing backslash for line continuation added
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-08-12 17:28:06 UTC

*** This bug has been marked as a duplicate of bug 479442 ***