Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913069 - media-gfx/graphicsmagick ebuilds do not contain jpeg2000 support
Summary: media-gfx/graphicsmagick ebuilds do not contain jpeg2000 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-08-26 14:13 UTC by ta2002
Modified: 2024-05-19 17:07 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 3 Larry the Git Cow gentoo-dev 2024-05-19 17:02:38 UTC
The bug has been closed via the following commit(s):

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

commit 5ae7867e94b749fcb1d709269602fcc482664e43
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2024-05-19 12:16:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-19 17:01:34 +0000

    media-gfx/graphicsmagick: reinstate JPEG-2000 support
    
    Closes: https://bugs.gentoo.org/913069
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../graphicsmagick/graphicsmagick-1.3.43-r1.ebuild | 163 +++++++++++++++++++++
 .../graphicsmagick/graphicsmagick-9999.ebuild      |   6 +-
 2 files changed, 166 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 5359eaead0ed338e506191ba2db903f8286a5d01
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2024-05-19 11:42:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-19 17:01:33 +0000

    profiles/arch/hppa: mask upcoming jpeg2k support in graphicsmagick
    
    Bug: https://bugs.gentoo.org/913069
    Bug: https://bugs.gentoo.org/921559
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/hppa/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-19 17:07:51 UTC
Thank you Holger.