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

Bug 211704

Summary: media-libs/openjpeg-1.2: compile and install encoder and decoder command line tools
Product: Gentoo Linux Reporter: a.grahn
Component: New packagesAssignee: Timothy Redaelli (RETIRED) <drizzt>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for codec/Makefile
ebuild for media-libs/openjpeg-1.2
ebuild for media-libs/openjpeg-1.3
patch for Makefile
patch for codec/Makefile

Description a.grahn 2008-02-28 09:34:23 UTC
The `codec' subdirectory in the openjpeg sources contain a Makefile to compile two command line tools for encoding and decoding jpeg2000 files.

The attached patch adds an `install:' rule to codec/Makefile to install the binaries `image_to_j2k' & `j2k_to_image' to /usr/bin.

The proposed ebuild contains the lines to execute make & make install in the `codec' subdirectory.

Reproducible: Always
Comment 1 a.grahn 2008-02-28 09:37:12 UTC
Created attachment 144821 [details, diff]
patch for codec/Makefile
Comment 2 a.grahn 2008-02-28 09:38:46 UTC
Created attachment 144823 [details]
ebuild for media-libs/openjpeg-1.2
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 09:40:21 UTC
Is this still relevant for 1.3 (was released somewhere last December or so)?
Comment 4 a.grahn 2008-02-28 11:23:06 UTC
Yes, the same applies to openjpeg-1.3.

I attached two patches for Makefile and codec/Makefile. However, I cannot get the former to work with the also attached ebuild, although it works perfectly when applied manually to the manually unpacked archive.
Comment 5 a.grahn 2008-02-28 11:24:44 UTC
Created attachment 144834 [details]
ebuild for media-libs/openjpeg-1.3
Comment 6 a.grahn 2008-02-28 11:26:58 UTC
Created attachment 144836 [details, diff]
patch for Makefile

Fails if applied by ebuild, but works if applied manually from within the uppermost source directory
Comment 7 a.grahn 2008-02-28 11:27:35 UTC
Created attachment 144837 [details, diff]
patch for codec/Makefile
Comment 8 Timothy Redaelli (RETIRED) gentoo-dev 2008-03-01 11:38:06 UTC
Committed, thx