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

Bug 127852

Summary: imagemagick missing DEP on media-libs/jasper for jpeg2000 support?
Product: Gentoo Linux Reporter: Stuart Herbert (RETIRED) <stuart>
Component: New packagesAssignee: Karol Wojtaszek (RETIRED) <sekretarz>
Status: RESOLVED FIXED    
Severity: normal CC: graphics+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Herbert (RETIRED) gentoo-dev 2006-03-28 06:30:09 UTC
Hi,

Imagemagick depends on media-libs/jasper for JPEG2000 support.  The imagemagick ebuilds seem to be missing a DEP on this library.

Manually installing media-libs/jasper first allows ImageMagick to support JPEG2000 files.

Best regards,
Stu
Comment 1 SpanKY gentoo-dev 2006-03-28 09:56:06 UTC
are you referring to the "jp2" configure option ?  the graphicsmagick package already has a 'jp2' USE flag to cover jasper dependency ... imagemagick however uses just USE=jpeg ...
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2006-03-30 04:20:22 UTC
JP2 is one of the image types supported by the JPEG2000 specification, yes, along with JPX.

USE=jpeg enables the config option for jp2, but currently doesn't pull in media-libs/jasper (which is the JPEG2000 library).  

I'd recommend having jp2 as a separate USE flag (as done in GraphicsMagick).  JPEG2000 is a patent-encumbered technology; not all users will be happy having it enabled on their system when USE=jpeg is enabled.

Best regards,
Stu
Comment 3 SpanKY gentoo-dev 2006-04-02 13:31:26 UTC
mmm we have USE=jpeg2k actually

fixed up ebuilds to use that to pull in jasper, thanks all