Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14415 - OpenEXR-1.0.4.ebuild (New Package)
Summary: OpenEXR-1.0.4.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Brandy Westcott (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-01-23 04:18 UTC by Kim Andersen
Modified: 2003-10-23 02:58 UTC (History)
1 user (show)

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


Attachments
OpenEXR-1.0.4.ebuild (OpenEXR-1.0.4.ebuild,647 bytes, text/plain)
2003-01-23 04:19 UTC, Kim Andersen
Details
New ebuild that patches the configure so it will detech fltk properly (OpenEXR-1.0.4.ebuild,747 bytes, text/plain)
2003-01-25 15:10 UTC, Kim Andersen
Details
The patch that the modified ebuild needs (OpenEXR-1.0.4_configure.diff,392 bytes, patch)
2003-01-25 15:11 UTC, Kim Andersen
Details | Diff
Update ebuild with gcc 2.95 workaround (OpenEXR-1.0.4.ebuild,817 bytes, text/plain)
2003-03-10 11:55 UTC, Henti Smith
Details
gcc 2.95 patch for OpenEXR (OpenEXR-1.0.4_gcc-2.95.patch,981 bytes, patch)
2003-03-10 11:56 UTC, Henti Smith
Details | Diff
updated ebuild for installing into /usr instead of /usr/local (OpenEXR-1.0.4.ebuild,834 bytes, text/plain)
2003-03-14 07:32 UTC, Henti Smith
Details
Installed package file listing (install-base,4.64 KB, text/plain)
2003-03-14 07:33 UTC, Henti Smith
Details
OpenEXR-1.0.5.ebuild (OpenEXR-1.0.5.ebuild,886 bytes, text/plain)
2003-03-24 03:10 UTC, Henti Smith
Details
New ebuild with NVSDK support (OpenEXR-1.0.5.ebuild,818 bytes, text/plain)
2003-03-27 02:18 UTC, Henti Smith
Details
Patch for new ebuild to get NVSDK test in configure to work correctly (OpenEXR-1.0.5_acinclude.m4.diff,64 bytes, patch)
2003-03-27 02:19 UTC, Henti Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Andersen 2003-01-23 04:18:20 UTC
Hi, this is a new ebuild i've created for ILM's new HDR Image file format
library called OpenEXR.
It's a 16 bit file format, that can save files with lossless compression, and
you can save several channels in the same file and add custom data to the file.

It can use x11-libs/fltk, but it's not really required for successfull building
of the libs, fltk is only used for the utillities as far as i can see.

I would suggest using media-libs for this ebuild.

Kim
Comment 1 Kim Andersen 2003-01-23 04:19:55 UTC
Created attachment 7553 [details]
OpenEXR-1.0.4.ebuild
Comment 2 Kim Andersen 2003-01-25 15:10:31 UTC
Created attachment 7623 [details]
New ebuild that patches the configure so it will detech fltk properly

This is a modified ebuild that patches the configure script so that it detects
fltk and uses it to build the exrdisplay app.
I have also attached a patch that should reside in the files directory.
Comment 3 Kim Andersen 2003-01-25 15:11:41 UTC
Created attachment 7624 [details, diff]
The patch that the modified ebuild needs

This is the diff that patches the configure script, so it will detect fltk.
Comment 4 J. Ellis (RETIRED) gentoo-dev 2003-03-02 08:31:24 UTC
Library for reading an ILM graphics file format (OpenEXR). Not really my thing.

Returning to bug-wranglers.
Comment 5 Henti Smith 2003-03-05 11:51:16 UTC
I tried the ebuild as well as a pure compile of the app.
it breaks badly with :

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"OpenEXR\" -DVERSION=\"1.0.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_X11=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -Drestrict= -I. -I. -I.. -I../Half -I../Iex -I../Imath -O2 -funroll-loops -pipe -march=i686 -UVERSION -g -O2 -c ImfBoxAttribute.cpp -Wp,-MD,.deps/libIlmImf_la-ImfBoxAttribute.TPlo  -fPIC -DPIC -o .libs/libIlmImf_la-ImfBoxAttribute.lo
In file included from ImfBoxAttribute.cpp:44:
ImfAttribute.h: In instantiation of `Imf::TypedAttribute<Imath::Box<Imath::Vec2<int> > >':
ImfBoxAttribute.h:55:   instantiated from here
ImfAttribute.h:230: cannot adjust access to `static void Imf::Attribute::registerAttributeType(const char *, Imf::Attribute * (*)())' in `class Imf::TypedAttribute<Imath::Box<Imath::Vec2<int> > >'
ImfAttribute.h:379:   because of local method `static void Imf::TypedAttribute<Imath::Box<Imath::Vec2<int> > >::registerAttributeType()' with same name
ImfAttribute.h:230: cannot adjust access to `static void Imf::Attribute::unRegisterAttributeType(const char *)' in `class Imf::TypedAttribute<Imath::Box<Imath::Vec2<int> > >'
ImfAttribute.h:387:   because of local method `static void Imf::TypedAttribute<Imath::Box<Imath::Vec2<int> > >::unRegisterAttributeType()' with same name
ImfAttribute.h: In instantiation of `Imf::TypedAttribute<Imath::Box<Imath::Vec2<float> > >':
ImfBoxAttribute.h:61:   instantiated from here
ImfAttribute.h:230: cannot adjust access to `static void Imf::Attribute::registerAttributeType(const char *, Imf::Attribute * (*)())' in `class Imf::TypedAttribute<Imath::Box<Imath::Vec2<float> > >'
ImfAttribute.h:379:   because of local method `static void Imf::TypedAttribute<Imath::Box<Imath::Vec2<float> > >::registerAttributeType()' with same name
ImfAttribute.h:230: cannot adjust access to `static void Imf::Attribute::unRegisterAttributeType(const char *)' in `class Imf::TypedAttribute<Imath::Box<Imath::Vec2<float> > >'
ImfAttribute.h:387:   because of local method `static void Imf::TypedAttribute<Imath::Box<Imath::Vec2<float> > >::unRegisterAttributeType()' with same name
make[1]: *** [libIlmImf_la-ImfBoxAttribute.lo] Error 1
make[1]: Leaving directory `/local/henti/exr/OpenEXR-1.0.4/IlmImf'
make: *** [all-recursive] Error 1

Not sure at all why this is ... just thought I'd let you know

Henti Smith 
Comment 6 Henti Smith 2003-03-10 11:53:11 UTC
With help from Lourens Veen <lourens@rainbowdesert.net> this has been ID'ed as a problem with gcc 2.95. Attached is the patched and updated ebuild to compile correctly on gentoo machines. 

Please test for other compilers.

Henti Smith
Comment 7 Henti Smith 2003-03-10 11:55:17 UTC
Created attachment 9215 [details]
Update ebuild with gcc 2.95 workaround

This will now comile on gentoo 1.2 and gcc 2.95
Comment 8 Henti Smith 2003-03-10 11:56:50 UTC
Created attachment 9216 [details, diff]
gcc 2.95 patch for OpenEXR

Patch for updated ebuild with gcc 2.95 workaround
Comment 9 Henti Smith 2003-03-10 17:04:40 UTC
The ebuild is still not complete .. 
I noticed (silly of my really) that the configure by default 
into /usr/local/bin .. will fix that 

Henti Smith 
Comment 10 Henti Smith 2003-03-10 17:59:18 UTC
Side note.

1.4 gcc 3.22 and distcc doens't seem to compile. removing distcc from FEATURE 
fixes it and compiles fine. other then that seems fine. doing last tests on new ebuild that installs into /usr as should be 

Henti Smith
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-14 05:54:06 UTC
I have to do some tweaking to our fltk packages
Comment 12 Henti Smith 2003-03-14 07:32:59 UTC
Created attachment 9377 [details]
updated ebuild for installing into /usr instead of /usr/local

This updates the install patch to /usr instead of /usr/local
Will also attach install-base with qpkg -l OpenEXR in it
Comment 13 Henti Smith 2003-03-14 07:33:59 UTC
Created attachment 9378 [details]
Installed package file listing

list of installed files from qpkg -l OpenEXR
Comment 14 Troy Dack 2003-03-18 17:51:31 UTC
Bouncing back to bug-wranglers in the hope that someone with more time and 'net connectivity than me can commit all the hard work put in by Henti and Kim.
Comment 15 Henti Smith 2003-03-24 02:57:29 UTC
1.0.5 is out .. I've got a working ebuild .. but there is some new support I wanna add in, 

The ebuild uses the NVSDK if on the system, and since there is no NVSDK USE setting .. how can I enable and disable the use thereof ... just check if it's there ... if not .. don't .... I assume .. I'll work on it .. 

Also the ebuild needs the NEW NVSDK to work .. 
I'm still working on the ebuild .. it's a mess ... badly ... 

I'll add the 1.0.5 ebuild without NVSDK for now 

Henti 
Comment 16 Henti Smith 2003-03-24 03:10:41 UTC
Created attachment 9753 [details]
OpenEXR-1.0.5.ebuild

New ebuild for 1.0.5 of OpenEXR
adds IlmImf example program

NVSDK is still broken, busy working on updated ebuild for that
Henti
Comment 17 Henti Smith 2003-03-27 02:17:12 UTC
Ok ... new ebuild to work with NVSDK (I'll submit the ebuild as well and link it)

Henti
Comment 18 Henti Smith 2003-03-27 02:18:44 UTC
Created attachment 9890 [details]
New ebuild with NVSDK support

This new ebuild adds NVSDK support to OpenEXR-1.0.5

Henti
Comment 19 Henti Smith 2003-03-27 02:19:52 UTC
Created attachment 9891 [details, diff]
Patch for new ebuild to get NVSDK test in configure to work correctly

Thanks to Drew Hess <dhess@ilm.com> from ILM for help sorting this out.
Comment 20 Henti Smith 2003-10-15 00:10:42 UTC
I see this has been assigned to somebody again .. does this mean it's actually
being looked at again ?

If so openexr has been updated to 1.0.6 and I have been working on the ebuild,

but I'm not keen on putting work intot his again just to get ignored again.

so let me know.
bain
Comment 21 Brandy Westcott (RETIRED) gentoo-dev 2003-10-15 06:21:09 UTC
I've committed OpenEXR-1.0.6 in cvs as media-libs/openexr.
Thanks for the ebuild, patches, and above all patience Henti. :)
Comment 22 Henti Smith 2003-10-22 22:27:00 UTC
Which ebuild did you use the current one or did you update it to version
1.0.6?
The latest on bugs.gentoo is only to 1.0.5 as I've been working on 1.0.6
in portage overley for myself and have not updated yet ? 
Comment 23 Brandy Westcott (RETIRED) gentoo-dev 2003-10-23 02:55:21 UTC
henti, I used your ebuild that included the NVSDK hack as a template and
updated to 1.0.6 :)