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.1
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 VAR_OPSYS[sunos]= CFLAGS=-D__EXTENSIONS__
40 # ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*-3_1.so
41 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exr*
43 ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
44 ${MV} ${STAGEDIR}${STD_DOCDIR}/examples/* ${STAGEDIR}${STD_EXAMPLESDIR}/
45 ${RM} -r ${STAGEDIR}${STD_DOCDIR}
47 [FILE:1302:descriptions/desc.primary]
48 OpenEXR is a high dynamic-range (HDR) image file format developed by
49 Industrial Light & Magic for use in computer imaging applications.
51 OpenEXR is used by ILM on all motion pictures currently in production.
52 The first movies to employ OpenEXR were Harry Potter and the Sorcerers
53 Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR
54 has become ILM's main image file format.
56 OpenEXR's features include:
57 * Higher dynamic range and color precision than existing 8- and 10-bit
59 * Support for 16-bit floating-point, 32-bit floating-point, and 32-bit
60 integer pixels. The 16-bit floating-point format, called "half", is
61 compatible with the half data type in NVIDIA's Cg graphics language and
62 is supported natively on their new GeForce FX and Quadro FX 3D graphics
64 * Multiple lossless image compression algorithms. Some of the included
65 codecs can achieve 2:1 lossless compression ratios on images with film
67 * Extensibility. New compression codecs and image types can easily be added
68 by extending the C++ classes included in the OpenEXR software
69 distribution. New image attributes (strings, vectors, integers, etc.) can
70 be added to OpenEXR image headers without affecting backward compatibility
71 with existing OpenEXR applications.
75 045254e201c0f87d1d1a4b2b5815c4ae54845af2e6ec0ab88e979b5fdb30a86e 25588029 AcademySoftwareFoundation-openexr-3.1.1.tar.gz
78 [FILE:3044:manifests/plist.primary]
116 ImfChannelListAttribute.h
119 ImfChromaticitiesAttribute.h
120 ImfCompositeDeepScanLine.h
122 ImfCompressionAttribute.h
127 ImfDeepImageChannel.h
131 ImfDeepImageStateAttribute.h
132 ImfDeepScanLineInputFile.h
133 ImfDeepScanLineInputPart.h
134 ImfDeepScanLineOutputFile.h
135 ImfDeepScanLineOutputPart.h
136 ImfDeepTiledInputFile.h
137 ImfDeepTiledInputPart.h
138 ImfDeepTiledOutputFile.h
139 ImfDeepTiledOutputPart.h
145 ImfFlatImageChannel.h
149 ImfFloatVectorAttribute.h
153 ImfGenericInputFile.h
154 ImfGenericOutputFile.h
158 ImfIDManifestAttribute.h
162 ImfImageChannelRenaming.h
171 ImfKeyCodeAttribute.h
173 ImfLineOrderAttribute.h
176 ImfMultiPartInputFile.h
177 ImfMultiPartOutputFile.h
188 ImfPreviewImageAttribute.h
190 ImfRationalAttribute.h
194 ImfSampleCountChannel.h
195 ImfStandardAttributes.h
198 ImfStringVectorAttribute.h
202 ImfTileDescriptionAttribute.h
209 ImfTimeCodeAttribute.h
231 libIlmThread-%%MAJOR%%.a
232 libOpenEXR-%%MAJOR%%.a
233 libOpenEXRCore-%%MAJOR%%.a
234 libOpenEXRUtil-%%MAJOR%%.a
237 OpenEXRConfigVersion.cmake
238 OpenEXRTargets-%%CMAKE_BUILD_TYPE%%.cmake
240 lib/pkgconfig/OpenEXR.pc
243 [FILE:416:manifests/plist.examples]
244 share/examples/openexr/
247 generalInterfaceExamples.cpp
248 generalInterfaceExamples.h
249 generalInterfaceTiledExamples.cpp
250 generalInterfaceTiledExamples.h
251 lowLevelIoExamples.cpp
255 previewImageExamples.cpp
256 previewImageExamples.h
257 rgbaInterfaceExamples.cpp
258 rgbaInterfaceExamples.h
259 rgbaInterfaceTiledExamples.cpp
260 rgbaInterfaceTiledExamples.h
263 [FILE:522:patches/patch-cmake_OpenEXRSetup.cmake]
264 --- cmake/OpenEXRSetup.cmake.orig 2021-07-31 19:57:32 UTC
265 +++ cmake/OpenEXRSetup.cmake
266 @@ -67,9 +67,6 @@ set(OPENEXR_OUTPUT_SUBDIR OpenEXR CACHE
267 # but is pretty harmless to set globally
268 set(CMAKE_INCLUDE_CURRENT_DIR ON)
270 -# Suffix for debug configuration libraries
271 -# (if you should choose to install those)
272 -set(CMAKE_DEBUG_POSTFIX "_d" CACHE STRING "Suffix for debug builds")
274 if(NOT OPENEXR_IS_SUBPROJECT)
275 # Usual cmake option to build shared libraries or not, only overriden if OpenEXR is a top level project,
278 [FILE:411:patches/patch-src_lib_OpenEXRCore_internal__posix__file__impl.h]
279 --- src/lib/OpenEXRCore/internal_posix_file_impl.h.orig 2021-07-31 19:57:32 UTC
280 +++ src/lib/OpenEXRCore/internal_posix_file_impl.h
289 #if defined __USE_UNIX98 || defined __USE_XOPEN2K8 || \
290 (defined(_XOPEN_VERSION) && _XOPEN_VERSION >= 400)
291 # define CAN_USE_PREAD 1
294 [FILE:839:patches/patch-src_lib_OpenEXRCore_internal__xdr.h]
295 --- src/lib/OpenEXRCore/internal_xdr.h.orig 2021-07-31 19:57:32 UTC
296 +++ src/lib/OpenEXRCore/internal_xdr.h
298 # include <sys/endian.h>
299 # define EXR_HOST_IS_NOT_LITTLE_ENDIAN (__BYTE_ORDER != __LITTLE_ENDIAN)
301 +#elif defined(__sun)
303 +# include <sys/byteorder.h>
304 +# define EXR_HOST_IS_NOT_LITTLE_ENDIAN 1
305 +# define LE_IN8(x) *((uint8_t *)(x))
306 +# define LE_IN16(x) (((uint16_t)LE_IN8((uint8_t *)(x) + 1) << 8) | LE_IN8(x))
307 +# define LE_IN32(x) (((uint32_t)LE_IN16((uint8_t *)(x) + 2) << 16) | LE_IN16(x))
308 +# define LE_IN64(x) (((uint64_t)LE_IN32((uint8_t *)(x) + 4) << 32) | LE_IN32(x))
309 +# define htole16(x) LE_16(x)
310 +# define le16toh(x) LE_IN16(x)
311 +# define htole32(x) LE_32(x)
312 +# define le32toh(x) LE_IN32(x)
313 +# define htole64(x) LE_64(x)
314 +# define le64toh(x) LE_IN64(x)
321 [FILE:554:patches/patch-src_lib_OpenEXR_ImfSystemSpecific.h]
322 --- src/lib/OpenEXR/ImfSystemSpecific.h.orig 2021-07-31 19:57:32 UTC
323 +++ src/lib/OpenEXR/ImfSystemSpecific.h
324 @@ -45,6 +45,8 @@ EXRAllocAligned (size_t size, size_t ali
325 return _aligned_malloc (size, alignment);
326 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
327 return _mm_malloc (size, alignment);
328 +#elif defined(__sun)
329 + return memalign(alignment, size);
330 #elif defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L)
332 // With fortify_source on, just doing the (void) cast trick