Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211704 - media-libs/openjpeg-1.2: compile and install encoder and decoder command line tools
Summary: media-libs/openjpeg-1.2: compile and install encoder and decoder command line...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Timothy Redaelli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 09:34 UTC by a.grahn
Modified: 2008-03-01 11:38 UTC (History)
0 users

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


Attachments
patch for codec/Makefile (openjpeg-1.2-codec-Makefile.patch,495 bytes, patch)
2008-02-28 09:37 UTC, a.grahn
Details | Diff
ebuild for media-libs/openjpeg-1.2 (openjpeg-1.2-r1.ebuild,1.09 KB, text/plain)
2008-02-28 09:38 UTC, a.grahn
Details
ebuild for media-libs/openjpeg-1.3 (openjpeg-1.3.ebuild,1.09 KB, text/plain)
2008-02-28 11:24 UTC, a.grahn
Details
patch for Makefile (openjpeg-1.3-Makefile.patch,988 bytes, patch)
2008-02-28 11:26 UTC, a.grahn
Details | Diff
patch for codec/Makefile (openjpeg-1.3-codec-Makefile.patch,493 bytes, patch)
2008-02-28 11:27 UTC, a.grahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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