Created attachment 308323 [details] Reverts the bugfix that added the OpenJPEG >= 1.5 dependency According to the mupdf git, this dependency was added on March 19 commit d11a38dbd783b746d7a35f03fecfb3cbca65527e Author: Robin Watts <robin.watts@artifex.com> Date: Mon Mar 19 15:19:17 2012 +0000 Bug 692746; avoid 'double palettes' on jpx images. It seems that JPX images can be supplied in indexed format, with both a palette internal to the jpx stream, and a palette in the PDF. Googling seems to suggest that the internal palette should be ignored in this case, and the external palette applied. Fortunately, since OpenJPEG-1.5 there is a flag that can be used to tell OpenJPEG not to decode palettes. We update the code here to spot that there is an external palette, and to set this flag. I've attached a patch that disables this bugfix if an old OpenJPEG library is detected (ie, if OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG isn't defined).
Hi, openjpeg-1.5 is stabled due bug 409203, so i would prefer just adding the >=1.5 dependency in the ebuild. Objections? Thanks for reporting the problem.
+ 09 Apr 2012; Michael Weber <xmw@gentoo.org> mupdf-1.0_rc1.ebuild, + mupdf-9999.ebuild: + Fix openjpeg dependency (thanks Palmer Dabbelt, bug 411373) + Index: mupdf-1.0_rc1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.0_rc1.ebuild,v retrieving revision 1.3 diff -u -B -r1.3 mupdf-1.0_rc1.ebuild --- mupdf-1.0_rc1.ebuild 8 Apr 2012 07:10:24 -0000 1.3 +++ mupdf-1.0_rc1.ebuild 9 Apr 2012 21:15:59 -0000 @@ -18,8 +18,8 @@ RDEPEND="media-libs/freetype:2 media-libs/jbig2dec + >=media-libs/openjpeg-1.5 virtual/jpeg - media-libs/openjpeg X? ( x11-libs/libX11 x11-libs/libXext )" DEPEND="${RDEPEND} Index: mupdf-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v retrieving revision 1.16 diff -u -B -r1.16 mupdf-9999.ebuild --- mupdf-9999.ebuild 8 Apr 2012 07:10:24 -0000 1.16 +++ mupdf-9999.ebuild 9 Apr 2012 21:15:59 -0000 @@ -18,8 +18,8 @@ RDEPEND="media-libs/freetype:2 media-libs/jbig2dec + >=media-libs/openjpeg-1.5 virtual/jpeg - media-libs/openjpeg X? ( x11-libs/libX11 x11-libs/libXext )"
(In reply to comment #1) > Hi, > openjpeg-1.5 is stabled due bug 409203, so i would prefer just adding the > >=1.5 dependency in the ebuild. > > Objections? It turns out prefix's openjpeg package was lagging behind (see bug 411519). It's been updated, so I think this is the best solution.