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
Created attachment 144821 [details, diff] patch for codec/Makefile
Created attachment 144823 [details] ebuild for media-libs/openjpeg-1.2
Is this still relevant for 1.3 (was released somewhere last December or so)?
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.
Created attachment 144834 [details] ebuild for media-libs/openjpeg-1.3
Created attachment 144836 [details, diff] patch for Makefile Fails if applied by ebuild, but works if applied manually from within the uppermost source directory
Created attachment 144837 [details, diff] patch for codec/Makefile
Committed, thx