Bug 484887

Summary: openjpeg.h is installed in a directory different from upstream's default
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: openjpegAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: rdieter, seg, vr5
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3-5.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-16 06:51:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dominik 'Rathann' Mierzejewski 2009-02-10 14:50:47 UTC
Description of problem:
openjpeg.h is installed in /usr/include/openjpeg/openjpeg.h. Upstream's "make install" puts it in /usr/include/openjpeg.h, which is where applications expect it to be (for example, bug 467661).

Version-Release number of selected component (if applicable):
rpm -q openjpeg-devel
openjpeg-devel-1.3-2.fc9

Additional information:
http://www.openjpeg.org/websvn/filedetails.php?repname=OpenJpeg&path=%2Ftrunk%2FMakefile&rev=0&sc=0
...
PREFIX = /usr
INSTALL_LIBDIR = $(PREFIX)/lib
INSTALL_INCLUDE = $(PREFIX)/include
...
        install -m 644 -o root -g root libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'

Comment 1 Callum Lerwick 2009-03-26 07:24:33 UTC
Actually /usr/include/openjpeg/ is where upstream's CMake puts it but I think I wrote that patch. :) make and CMake are out of sync. At the time of the package review someone-or-the-other was being a stickler for putting headers in subdirectories. I'd rather not change it until things are sorted out upstream. I brought this up on upstream's mailing list, but no resolution so far.

Comment 2 Rex Dieter 2009-06-19 13:43:49 UTC
The only reference I can find is:
http://groups.google.com/group/openjpeg/browse_thread/thread/4cc4d03c2de54eda

and the consensus there seemed to be to standardize on
/usr/include/openjpeg
going forward (which I happen to agree with).

Of course, there's some pkg-config love to be had (and maybe I can help there)

Comment 3 Rex Dieter 2009-06-19 13:52:26 UTC
Oh, and something like a FindOpenJpeg.cmake module too. :)

Comment 4 Rex Dieter 2009-06-19 14:59:40 UTC
In the meantime, let's drop in a /usr/include/openjpeg.h symlink for backward-compatibility, at least until pkg-config support lands.

Comment 5 Rex Dieter 2009-06-19 15:00:56 UTC
fixed in rawhide.

Comment 6 Fedora Update System 2009-06-19 15:18:57 UTC
openjpeg-1.3-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/openjpeg-1.3-5.fc11

Comment 7 Fedora Update System 2009-06-19 15:19:40 UTC
openjpeg-1.3-5.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/openjpeg-1.3-5.fc10

Comment 8 Fedora Update System 2009-06-24 19:20:18 UTC
openjpeg-1.3-5.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openjpeg'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-6882

Comment 9 Fedora Update System 2009-06-24 19:24:01 UTC
openjpeg-1.3-5.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openjpeg'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6786

Comment 10 Fedora Update System 2009-07-16 06:51:09 UTC
openjpeg-1.3-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-07-16 06:53:59 UTC
openjpeg-1.3-5.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.