1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= graphics devel
7 SDESC[standard]= High dynamic-range (HDR) image file format
8 HOMEPAGE= https://www.openexr.com/
12 SITES[main]= GITHUB/AcademySoftwareFoundation:openexr:v3.1.5
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILDRUN_DEPENDS= Imath:single:standard
24 USES= cpe cmake pkgconfig zlib c++:primary
26 LICENSE= BSD3CLAUSE:primary
27 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/LICENSE.md
30 FPC_EQUIVALENT= graphics/openexr
35 CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX={{PREFIX}}
36 -DOPENEXR_IS_SUBPROJECT=1
37 -DBUILD_SHARED_LIBS:BOOL=ON
38 VAR_OPSYS[sunos]= CFLAGS=-D__EXTENSIONS__
41 # ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*-3_1.so
42 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exr*
44 ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
45 ${MV} ${STAGEDIR}${STD_DOCDIR}/examples/* ${STAGEDIR}${STD_EXAMPLESDIR}/
46 ${RM} -r ${STAGEDIR}${STD_DOCDIR}
48 [FILE:1302:descriptions/desc.primary]
49 OpenEXR is a high dynamic-range (HDR) image file format developed by
50 Industrial Light & Magic for use in computer imaging applications.
52 OpenEXR is used by ILM on all motion pictures currently in production.
53 The first movies to employ OpenEXR were Harry Potter and the Sorcerers
54 Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR
55 has become ILM's main image file format.
57 OpenEXR's features include:
58 * Higher dynamic range and color precision than existing 8- and 10-bit
60 * Support for 16-bit floating-point, 32-bit floating-point, and 32-bit
61 integer pixels. The 16-bit floating-point format, called "half", is
62 compatible with the half data type in NVIDIA's Cg graphics language and
63 is supported natively on their new GeForce FX and Quadro FX 3D graphics
65 * Multiple lossless image compression algorithms. Some of the included
66 codecs can achieve 2:1 lossless compression ratios on images with film
68 * Extensibility. New compression codecs and image types can easily be added
69 by extending the C++ classes included in the OpenEXR software
70 distribution. New image attributes (strings, vectors, integers, etc.) can
71 be added to OpenEXR image headers without affecting backward compatibility
72 with existing OpenEXR applications.
76 93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec 20327926 AcademySoftwareFoundation-openexr-3.1.5.tar.gz
79 [FILE:3522:manifests/plist.primary]
117 ImfChannelListAttribute.h
120 ImfChromaticitiesAttribute.h
121 ImfCompositeDeepScanLine.h
123 ImfCompressionAttribute.h
128 ImfDeepImageChannel.h
132 ImfDeepImageStateAttribute.h
133 ImfDeepScanLineInputFile.h
134 ImfDeepScanLineInputPart.h
135 ImfDeepScanLineOutputFile.h
136 ImfDeepScanLineOutputPart.h
137 ImfDeepTiledInputFile.h
138 ImfDeepTiledInputPart.h
139 ImfDeepTiledOutputFile.h
140 ImfDeepTiledOutputPart.h
146 ImfFlatImageChannel.h
150 ImfFloatVectorAttribute.h
154 ImfGenericInputFile.h
155 ImfGenericOutputFile.h
159 ImfIDManifestAttribute.h
163 ImfImageChannelRenaming.h
172 ImfKeyCodeAttribute.h
174 ImfLineOrderAttribute.h
177 ImfMultiPartInputFile.h
178 ImfMultiPartOutputFile.h
189 ImfPreviewImageAttribute.h
191 ImfRationalAttribute.h
195 ImfSampleCountChannel.h
196 ImfStandardAttributes.h
199 ImfStringVectorAttribute.h
203 ImfTileDescriptionAttribute.h
210 ImfTimeCodeAttribute.h
232 libIex-%%MAJOR%%.so.%%SOMAJOR%%
233 libIex-%%MAJOR%%.so.%%SOVERSION%%
235 libIlmThread-%%MAJOR%%.so
236 libIlmThread-%%MAJOR%%.so.%%SOMAJOR%%
237 libIlmThread-%%MAJOR%%.so.%%SOVERSION%%
239 libOpenEXR-%%MAJOR%%.so
240 libOpenEXR-%%MAJOR%%.so.%%SOMAJOR%%
241 libOpenEXR-%%MAJOR%%.so.%%SOVERSION%%
243 libOpenEXRCore-%%MAJOR%%.so
244 libOpenEXRCore-%%MAJOR%%.so.%%SOMAJOR%%
245 libOpenEXRCore-%%MAJOR%%.so.%%SOVERSION%%
247 libOpenEXRUtil-%%MAJOR%%.so
248 libOpenEXRUtil-%%MAJOR%%.so.%%SOMAJOR%%
249 libOpenEXRUtil-%%MAJOR%%.so.%%SOVERSION%%
253 OpenEXRConfigVersion.cmake
254 OpenEXRTargets-%%CMAKE_BUILD_TYPE%%.cmake
256 lib/pkgconfig/OpenEXR.pc
259 [FILE:416:manifests/plist.examples]
260 share/examples/openexr/
263 generalInterfaceExamples.cpp
264 generalInterfaceExamples.h
265 generalInterfaceTiledExamples.cpp
266 generalInterfaceTiledExamples.h
267 lowLevelIoExamples.cpp
271 previewImageExamples.cpp
272 previewImageExamples.h
273 rgbaInterfaceExamples.cpp
274 rgbaInterfaceExamples.h
275 rgbaInterfaceTiledExamples.cpp
276 rgbaInterfaceTiledExamples.h
279 [FILE:522:patches/patch-cmake_OpenEXRSetup.cmake]
280 --- cmake/OpenEXRSetup.cmake.orig 2022-04-07 00:52:25 UTC
281 +++ cmake/OpenEXRSetup.cmake
282 @@ -67,9 +67,6 @@ set(OPENEXR_OUTPUT_SUBDIR OpenEXR CACHE
283 # but is pretty harmless to set globally
284 set(CMAKE_INCLUDE_CURRENT_DIR ON)
286 -# Suffix for debug configuration libraries
287 -# (if you should choose to install those)
288 -set(CMAKE_DEBUG_POSTFIX "_d" CACHE STRING "Suffix for debug builds")
290 if(NOT OPENEXR_IS_SUBPROJECT)
291 # Usual cmake option to build shared libraries or not, only overriden if OpenEXR is a top level project,
294 [FILE:411:patches/patch-src_lib_OpenEXRCore_internal__posix__file__impl.h]
295 --- src/lib/OpenEXRCore/internal_posix_file_impl.h.orig 2022-04-07 00:52:25 UTC
296 +++ src/lib/OpenEXRCore/internal_posix_file_impl.h
305 #if defined __USE_UNIX98 || defined __USE_XOPEN2K8 || \
306 (defined(_XOPEN_VERSION) && _XOPEN_VERSION >= 400)
307 # define CAN_USE_PREAD 1
310 [FILE:839:patches/patch-src_lib_OpenEXRCore_internal__xdr.h]
311 --- src/lib/OpenEXRCore/internal_xdr.h.orig 2022-04-07 00:52:25 UTC
312 +++ src/lib/OpenEXRCore/internal_xdr.h
314 # include <sys/endian.h>
315 # define EXR_HOST_IS_NOT_LITTLE_ENDIAN (__BYTE_ORDER != __LITTLE_ENDIAN)
317 +#elif defined(__sun)
319 +# include <sys/byteorder.h>
320 +# define EXR_HOST_IS_NOT_LITTLE_ENDIAN 1
321 +# define LE_IN8(x) *((uint8_t *)(x))
322 +# define LE_IN16(x) (((uint16_t)LE_IN8((uint8_t *)(x) + 1) << 8) | LE_IN8(x))
323 +# define LE_IN32(x) (((uint32_t)LE_IN16((uint8_t *)(x) + 2) << 16) | LE_IN16(x))
324 +# define LE_IN64(x) (((uint64_t)LE_IN32((uint8_t *)(x) + 4) << 32) | LE_IN32(x))
325 +# define htole16(x) LE_16(x)
326 +# define le16toh(x) LE_IN16(x)
327 +# define htole32(x) LE_32(x)
328 +# define le32toh(x) LE_IN32(x)
329 +# define htole64(x) LE_64(x)
330 +# define le64toh(x) LE_IN64(x)
337 [FILE:554:patches/patch-src_lib_OpenEXR_ImfSystemSpecific.h]
338 --- src/lib/OpenEXR/ImfSystemSpecific.h.orig 2022-04-07 00:52:25 UTC
339 +++ src/lib/OpenEXR/ImfSystemSpecific.h
340 @@ -45,6 +45,8 @@ EXRAllocAligned (size_t size, size_t ali
341 return _aligned_malloc (size, alignment);
342 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
343 return _mm_malloc (size, alignment);
344 +#elif defined(__sun)
345 + return memalign(alignment, size);
346 #elif defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L)
348 // With fortify_source on, just doing the (void) cast trick