[csw-devel] SF.net SVN: gar:[21717] csw/mgar/pkg/openexr/trunk
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Tue Aug 13 00:05:07 CEST 2013
Revision: 21717
http://gar.svn.sourceforge.net/gar/?rev=21717&view=rev
Author: lblume
Date: 2013-08-12 22:05:06 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
openexr/trunk: Bump version to 2.0.1; reorganize packages
Modified Paths:
--------------
csw/mgar/pkg/openexr/trunk/Makefile
csw/mgar/pkg/openexr/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/openexr/trunk/files/0003_no_posix_memalign.patch
Modified: csw/mgar/pkg/openexr/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openexr/trunk/Makefile 2013-08-12 21:47:24 UTC (rev 21716)
+++ csw/mgar/pkg/openexr/trunk/Makefile 2013-08-12 22:05:06 UTC (rev 21717)
@@ -1,8 +1,8 @@
NAME = openexr
-VERSION = 1.7.0
+VERSION = 2.0.1
GARTYPE = v2
-DESCRIPTION = High dynamic-range (HDR) image file format developed by Industrial Light & Magic
+DESCRIPTION = High dynamic-range image file format developed by Industrial Light & Magic
define BLURB
IlmImf is our "EXR" file format for storing 16-bit FP images. Libraries in
this package depend on the IlmBase library.
@@ -24,20 +24,50 @@
LICENSE = LICENSE
+GARCOMPILER = GCC4
+
+PATCHFILES += 0003_no_posix_memalign.patch
+
PACKAGES += CSWopenexr
-SPKG_DESC_CSWopenexr += $(DESCRIPTION)
+CATALOGNAME_CSWopenexr = openexr
+SPKG_DESC_CSWopenexr = $(DESCRIPTION)
+RUNTIME_DEP_PKGS_CSWopenexr += CSWlibilmimf-imf2-0-20
+RUNTIME_DEP_PKGS_CSWopenexr += CSWlibhalf10
+RUNTIME_DEP_PKGS_CSWopenexr += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWopenexr += CSWlibstdc++6
+RUNTIME_DEP_PKGS_CSWopenexr += CSWlibiex2-0-10
+OBSOLETED_BY_CSWopenexr += CSWopenexrrt
+# Package is catchall
-#PACKAGES += CSWopenexrrt
-CATALOGNAME_CSWopenexrrt = openexr_rt_stub
-SPKG_DESC_CSW =
+PACKAGES += CSWlibilmimf-imf2-0-20
+CATALOGNAME_CSWlibilmimf-imf2-0-20 = libilmimf_imf2_0_20
+PKGFILES_CSWlibilmimf-imf2-0-20 += $(call baseisadirs,$(libdir),libIlmImf-Imf_2_0\.so\.20\.0\.1)
+PKGFILES_CSWlibilmimf-imf2-0-20 += $(call baseisadirs,$(libdir),libIlmImf-Imf_2_0\.so\.20(\.\d+)*)
+SPKG_DESC_CSWlibilmimf-imf2-0-20 += $(DESCRIPTION), libIlmImf-Imf_2_0.so.20
+RUNTIME_DEP_PKGS_CSWlibilmimf-imf2-0-20 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWlibilmimf-imf2-0-20 += CSWlibilmthread2-0-10
+RUNTIME_DEP_PKGS_CSWlibilmimf-imf2-0-20 += CSWlibstdc++6
+RUNTIME_DEP_PKGS_CSWlibilmimf-imf2-0-20 += CSWlibiex2-0-10
+RUNTIME_DEP_PKGS_CSWlibilmimf-imf2-0-20 += CSWlibhalf10
+RUNTIME_DEP_PKGS_CSWlibilmimf-imf2-0-20 += CSWlibgcc-s1
PACKAGES += CSWopenexr-dev
SPKG_DESC_CSWopenexr-dev = Development files for ...
PKGFILES_CSWopenexr-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWopenexr-dev += CSWlibilmimf-imf2-0-20
OBSOLETED_BY_CSWopenexr-dev += CSWopenexrdevel
-CATALOGNAME_CSWopenexrdevel = openexr_devel_stub
-BUILD64_LIBS_ONLY = 1
+BUILD64 = 1
+ISAEXEC = 1
+SKIPTEST = 1
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --enable-shared
+CONFIGURE_ARGS += --disable-static
+CONFIGURE_ARGS += --disable-ilmbasetest
+
+EXTRA_LD_OPTIONS = -z nolazyload
+
include gar/category.mk
Modified: csw/mgar/pkg/openexr/trunk/checksums
===================================================================
--- csw/mgar/pkg/openexr/trunk/checksums 2013-08-12 21:47:24 UTC (rev 21716)
+++ csw/mgar/pkg/openexr/trunk/checksums 2013-08-12 22:05:06 UTC (rev 21717)
@@ -1 +1 @@
-27113284f7d26a58f853c346e0851d7a openexr-1.7.0.tar.gz
+4387e6050d2faa65dd5215618ff2ddce openexr-2.0.1.tar.gz
Added: csw/mgar/pkg/openexr/trunk/files/0003_no_posix_memalign.patch
===================================================================
--- csw/mgar/pkg/openexr/trunk/files/0003_no_posix_memalign.patch (rev 0)
+++ csw/mgar/pkg/openexr/trunk/files/0003_no_posix_memalign.patch 2013-08-12 22:05:06 UTC (rev 21717)
@@ -0,0 +1,16 @@
+--- a/IlmImf/ImfSystemSpecific.h Tue Jun 18 21:51:39 2013
++++ b/IlmImf/ImfSystemSpecific.h Mon Aug 12 00:39:35 2013
+@@ -61,8 +61,13 @@
+ static void* EXRAllocAligned(size_t size, size_t alignment)
+ {
+ void* ptr = 0;
++#if !defined(sun)
+ posix_memalign(&ptr, alignment, size);
+ return ptr;
++#else
++// Solaris 10 doesn't have posix_memalign()
++ return memalign(alignment, size);
++#endif
+ }
+
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list