Revision: 3281 http://gar.svn.sourceforge.net/gar/?rev=3281&view=rev Author: hson Date: 2009-02-20 03:17:49 +0000 (Fri, 20 Feb 2009)
Log Message: ----------- ilmbase: Include old library files plus update to dynamic gspec Modified Paths: -------------- csw/mgar/pkg/ilmbase/trunk/Makefile csw/mgar/pkg/ilmbase/trunk/checksums csw/mgar/pkg/ilmbase/trunk/files/ImathMath.patch Added Paths: ----------- csw/mgar/pkg/ilmbase/trunk/files/libHalf.so.2.0.2.i csw/mgar/pkg/ilmbase/trunk/files/libHalf.so.2.0.2.s csw/mgar/pkg/ilmbase/trunk/files/libIex.so.2.0.2.i csw/mgar/pkg/ilmbase/trunk/files/libIex.so.2.0.2.s csw/mgar/pkg/ilmbase/trunk/files/libImath.so.2.0.2.i csw/mgar/pkg/ilmbase/trunk/files/libImath.so.2.0.2.s Modified: csw/mgar/pkg/ilmbase/trunk/Makefile =================================================================== --- csw/mgar/pkg/ilmbase/trunk/Makefile 2009-02-20 03:02:42 UTC (rev 3280) +++ csw/mgar/pkg/ilmbase/trunk/Makefile 2009-02-20 03:17:49 UTC (rev 3281) @@ -2,15 +2,37 @@ GARVERSION = 1.0.1 CATEGORIES = lib -DESCRIPTION = Brief description +DESCRIPTION = Base libraries used by OpenEXR define BLURB - Long description + Half is a class that encapsulates our 16-bit floating-point format. + + IlmThread is a thread abstraction library for use with OpenEXR + and other software packages. It currently supports pthreads and + Windows threads. + + Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions + and other useful 2D and 3D math functions. + + Iex is an exception-handling library. + + If you have questions about using the IlmBase libraries, you may want + to join our developer mailing list. See http://www.openexr.com for + details. endef MASTER_SITES = http://download.savannah.nongnu.org/releases/openexr/ DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz -DISTFILES += $(call admfiles,CSWilmbase,) +DISTFILES += libHalf.so.2.0.2.i +DISTFILES += libHalf.so.2.0.2.s +DISTFILES += libIex.so.2.0.2.i +DISTFILES += libIex.so.2.0.2.s +DISTFILES += libImath.so.2.0.2.i +DISTFILES += libImath.so.2.0.2.s +SPKG_SOURCEURL = http://www.openexr.com + +LICENSE = LICENSE + # We define upstream file regex so we can be notifed of new upstream software release UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz @@ -22,9 +44,26 @@ PATCHFILES = ImathMath.patch -LDFLAGS += -lCstd -lCrun -lc -lm -export LDFLAGS +LIBS += -lCstd -lCrun -lc -lm +export LIBS TEST_TARGET = check include gar/category.mk + + +post-install-isa-sparcv8: + @cp $(FILEDIR)/libHalf.so.2.0.2.s $(INSTALLISADIR)/opt/csw/lib/libHalf.so.2.0.2 + @cp $(FILEDIR)/libIex.so.2.0.2.s $(INSTALLISADIR)/opt/csw/lib/libIex.so.2.0.2 + @cp $(FILEDIR)/libImath.so.2.0.2.s $(INSTALLISADIR)/opt/csw/lib/libImath.so.2.0.2 + @ln -s libHalf.so.2.0.2 $(INSTALLISADIR)/opt/csw/lib/libHalf.so.2 + @ln -s libIex.so.2.0.2 $(INSTALLISADIR)/opt/csw/lib/libIex.so.2 + @ln -s libImath.so.2.0.2 $(INSTALLISADIR)/opt/csw/lib/libImath.so.2 + +post-install-isa-i386: + @cp $(FILEDIR)/libHalf.so.2.0.2.i $(INSTALLISADIR)/opt/csw/lib/libHalf.so.2.0.2 + @cp $(FILEDIR)/libIex.so.2.0.2.i $(INSTALLISADIR)/opt/csw/lib/libIex.so.2.0.2 + @cp $(FILEDIR)/libImath.so.2.0.2.i $(INSTALLISADIR)/opt/csw/lib/libImath.so.2.0.2 + @ln -s libHalf.so.2.0.2 $(INSTALLISADIR)/opt/csw/lib/libHalf.so.2 + @ln -s libIex.so.2.0.2 $(INSTALLISADIR)/opt/csw/lib/libIex.so.2 + @ln -s libImath.so.2.0.2 $(INSTALLISADIR)/opt/csw/lib/libImath.so.2 Modified: csw/mgar/pkg/ilmbase/trunk/checksums =================================================================== --- csw/mgar/pkg/ilmbase/trunk/checksums 2009-02-20 03:02:42 UTC (rev 3280) +++ csw/mgar/pkg/ilmbase/trunk/checksums 2009-02-20 03:17:49 UTC (rev 3281) @@ -1,3 +1,8 @@ f76f094e69a6079b0beb93d97e2a217e download/ilmbase-1.0.1.tar.gz -4197e0e6fbbb788bce0276dd0fd3a565 download/CSWilmbase.gspec -5147c10f8ee7064ed15cb93bd3b63f3f download/ImathMath.patch +b7daafc6a6c92a3cf9dfb47e24fa630f download/libHalf.so.2.0.2.i +cdce2f2b1c7d00dc76124ecb5418b9a2 download/libHalf.so.2.0.2.s +1b589f5b747846688c27f55de9b1ec7a download/libIex.so.2.0.2.i +ddf913c9000dc4580ad330b9dd938826 download/libIex.so.2.0.2.s +756523f803ce1be3e125b6ce63e3183c download/libImath.so.2.0.2.i +ce47a211381deadfc38722f5abda54d7 download/libImath.so.2.0.2.s +6873969f50e5d1c43ec93a90a65d85bd download/ImathMath.patch Modified: csw/mgar/pkg/ilmbase/trunk/files/ImathMath.patch =================================================================== --- csw/mgar/pkg/ilmbase/trunk/files/ImathMath.patch 2009-02-20 03:02:42 UTC (rev 3280) +++ csw/mgar/pkg/ilmbase/trunk/files/ImathMath.patch 2009-02-20 03:17:49 UTC (rev 3281) @@ -4,7 +4,7 @@ static T exp (T x) {return ::exp (double(x));} static T log (T x) {return ::log (double(x));} static T log10 (T x) {return ::log10 (double(x));} -+#if defined(__SunOS_5_8) || defined(__SunOS_5_9) // have floating point funcs !! ++#if defined(__SunOS_5_8) || defined(__SunOS_5_9) // no floating point funcs +// static T modf (T x, T *y) {return ::modf (double(x), double(y));} +#else static T modf (T x, T *iptr) @@ -20,7 +20,7 @@ static T ceil (T x) {return ::ceil (double(x));} static T fabs (T x) {return ::fabs (double(x));} static T floor (T x) {return ::floor (double(x));} -+#if defined(__SunOS_5_8) || defined(__SunOS_5_9) // have floating point funcs !! ++#if defined(__SunOS_5_8) || defined(__SunOS_5_9) // no floating point funcs +// static T fmod (T x, T y) {return ::fmod (double(x), double(y));} +#else static T fmod (T x, T y) {return ::fmod (double(x), double(y));} @@ -29,7 +29,7 @@ }; -+// Sun, Apple, and Microsoft don't have floating point funcs ++// Solaris 8 and 9 have problem with floating point funcs +#if defined ( __SunOS_5_8 ) || defined ( __SunOS_5_9 ) +template <> +struct Math<float> Added: csw/mgar/pkg/ilmbase/trunk/files/libHalf.so.2.0.2.i =================================================================== (Binary files differ) Property changes on: csw/mgar/pkg/ilmbase/trunk/files/libHalf.so.2.0.2.i ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: csw/mgar/pkg/ilmbase/trunk/files/libHalf.so.2.0.2.s =================================================================== (Binary files differ) Property changes on: csw/mgar/pkg/ilmbase/trunk/files/libHalf.so.2.0.2.s ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: csw/mgar/pkg/ilmbase/trunk/files/libIex.so.2.0.2.i =================================================================== (Binary files differ) Property changes on: csw/mgar/pkg/ilmbase/trunk/files/libIex.so.2.0.2.i ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: csw/mgar/pkg/ilmbase/trunk/files/libIex.so.2.0.2.s =================================================================== (Binary files differ) Property changes on: csw/mgar/pkg/ilmbase/trunk/files/libIex.so.2.0.2.s ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: csw/mgar/pkg/ilmbase/trunk/files/libImath.so.2.0.2.i =================================================================== (Binary files differ) Property changes on: csw/mgar/pkg/ilmbase/trunk/files/libImath.so.2.0.2.i ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: csw/mgar/pkg/ilmbase/trunk/files/libImath.so.2.0.2.s =================================================================== (Binary files differ) Property changes on: csw/mgar/pkg/ilmbase/trunk/files/libImath.so.2.0.2.s ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel