Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913069

Summary: media-gfx/graphicsmagick ebuilds do not contain jpeg2000 support
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: Current packagesAssignee: Sam James <sam>
Status: UNCONFIRMED ---    
Severity: normal CC: codec, jubalh
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34693
https://github.com/gentoo/gentoo/pull/34699
Whiteboard:
Package list:
Runtime testing required: ---

Description ta2002 2023-08-26 14:13:05 UTC
On 2019-08-27, Gentoo developers removed media-libs/jasper from the tree:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77aebdf0b31765b33831ca5b02ea3d98f13c46cd


On 2019-08-28, Gentoo developers removed the jpeg2k USE flag (and the ability to compile jpeg2000 support) from all media-gfx/graphicsmagick ebuilds:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d9a9f15439cac80642e87a41bffa4e0b870d0d


On 2023-04-12, Gentoo developers readded media-libs/jasper to the tree:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a76c8c2747a42f6d7e7df306f103c67febeb129


All of the media-gfx/graphicsmagick ebuilds still force "--without-jp2" in src_configure(), which means that users can not compile jpeg2000 support into GraphicsMagick (yes, I wish they would use openjpeg instead of JasPer, which, at a minimum, would not require the installation of an additional package, but not my choice). Can you restore jpeg2000 support to media-gfx/graphicsmagick?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-26 14:14:05 UTC
Yeah, there's a bunch of things where we want to go around and restore Jasper support.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-26 14:15:12 UTC
For now, until I get to to it in gm: EXTRA_ECONF="--with-jp2" emerge -v1 graphicsmagick should work, then can put it in /etc/portage/env if you want.