Ravenports generated: 24 Sep 2021 02:24
[ravenports.git] / bucket_40 / openexr
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               openexr
4 VERSION=                3.1.1
5 KEYWORDS=               graphics devel
6 VARIANTS=               standard
7 SDESC[standard]=        High dynamic-range (HDR) image file format
8 HOMEPAGE=               https://www.openexr.com/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/AcademySoftwareFoundation:openexr:v3.1.1
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         examples
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BUILDRUN_DEPENDS=       Imath:single:standard
23
24 USES=                   cpe cmake pkgconfig zlib c++:primary
25
26 LICENSE=                BSD3CLAUSE:primary
27 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/LICENSE.md
28 LICENSE_SCHEME=         solo
29
30 FPC_EQUIVALENT=         graphics/openexr
31
32 SOVERSION=              3_1
33 PLIST_SUB=              MAJOR=3_1
34
35 CMAKE_ARGS=             -DCMAKE_INSTALL_PREFIX={{PREFIX}}
36                         -DOPENEXR_IS_SUBPROJECT=1
37 VAR_OPSYS[sunos]=       CFLAGS=-D__EXTENSIONS__
38
39 post-install:
40         # ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*-3_1.so
41         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exr*
42         # relocate examples
43         ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
44         ${MV} ${STAGEDIR}${STD_DOCDIR}/examples/* ${STAGEDIR}${STD_EXAMPLESDIR}/
45         ${RM} -r ${STAGEDIR}${STD_DOCDIR}
46
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.
50
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.
55
56 OpenEXR's features include:
57 * Higher dynamic range and color precision than existing 8- and 10-bit
58   image file formats.
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
63   solutions.
64 * Multiple lossless image compression algorithms. Some of the included
65   codecs can achieve 2:1 lossless compression ratios on images with film
66   grain.
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.
72
73
74 [FILE:125:distinfo]
75 045254e201c0f87d1d1a4b2b5815c4ae54845af2e6ec0ab88e979b5fdb30a86e     25588029 AcademySoftwareFoundation-openexr-3.1.1.tar.gz
76
77
78 [FILE:3044:manifests/plist.primary]
79 bin/
80  exr2aces
81  exrenvmap
82  exrheader
83  exrinfo
84  exrmakepreview
85  exrmaketiled
86  exrmultipart
87  exrmultiview
88  exrstdattr
89 include/OpenEXR/
90  Iex.h
91  IexBaseExc.h
92  IexConfig.h
93  IexErrnoExc.h
94  IexExport.h
95  IexForward.h
96  IexMacros.h
97  IexMathExc.h
98  IexMathFloatExc.h
99  IexMathIeeeExc.h
100  IexNamespace.h
101  IexThrowErrnoExc.h
102  IlmThread.h
103  IlmThreadConfig.h
104  IlmThreadExport.h
105  IlmThreadForward.h
106  IlmThreadMutex.h
107  IlmThreadNamespace.h
108  IlmThreadPool.h
109  IlmThreadSemaphore.h
110  ImfAcesFile.h
111  ImfArray.h
112  ImfAttribute.h
113  ImfBoxAttribute.h
114  ImfCRgbaFile.h
115  ImfChannelList.h
116  ImfChannelListAttribute.h
117  ImfCheckFile.h
118  ImfChromaticities.h
119  ImfChromaticitiesAttribute.h
120  ImfCompositeDeepScanLine.h
121  ImfCompression.h
122  ImfCompressionAttribute.h
123  ImfConvert.h
124  ImfDeepCompositing.h
125  ImfDeepFrameBuffer.h
126  ImfDeepImage.h
127  ImfDeepImageChannel.h
128  ImfDeepImageIO.h
129  ImfDeepImageLevel.h
130  ImfDeepImageState.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
140  ImfDoubleAttribute.h
141  ImfEnvmap.h
142  ImfEnvmapAttribute.h
143  ImfExport.h
144  ImfFlatImage.h
145  ImfFlatImageChannel.h
146  ImfFlatImageIO.h
147  ImfFlatImageLevel.h
148  ImfFloatAttribute.h
149  ImfFloatVectorAttribute.h
150  ImfForward.h
151  ImfFrameBuffer.h
152  ImfFramesPerSecond.h
153  ImfGenericInputFile.h
154  ImfGenericOutputFile.h
155  ImfHeader.h
156  ImfHuf.h
157  ImfIDManifest.h
158  ImfIDManifestAttribute.h
159  ImfIO.h
160  ImfImage.h
161  ImfImageChannel.h
162  ImfImageChannelRenaming.h
163  ImfImageDataWindow.h
164  ImfImageIO.h
165  ImfImageLevel.h
166  ImfInputFile.h
167  ImfInputPart.h
168  ImfInt64.h
169  ImfIntAttribute.h
170  ImfKeyCode.h
171  ImfKeyCodeAttribute.h
172  ImfLineOrder.h
173  ImfLineOrderAttribute.h
174  ImfLut.h
175  ImfMatrixAttribute.h
176  ImfMultiPartInputFile.h
177  ImfMultiPartOutputFile.h
178  ImfMultiView.h
179  ImfName.h
180  ImfNamespace.h
181  ImfOpaqueAttribute.h
182  ImfOutputFile.h
183  ImfOutputPart.h
184  ImfPartHelper.h
185  ImfPartType.h
186  ImfPixelType.h
187  ImfPreviewImage.h
188  ImfPreviewImageAttribute.h
189  ImfRational.h
190  ImfRationalAttribute.h
191  ImfRgba.h
192  ImfRgbaFile.h
193  ImfRgbaYca.h
194  ImfSampleCountChannel.h
195  ImfStandardAttributes.h
196  ImfStdIO.h
197  ImfStringAttribute.h
198  ImfStringVectorAttribute.h
199  ImfTestFile.h
200  ImfThreading.h
201  ImfTileDescription.h
202  ImfTileDescriptionAttribute.h
203  ImfTiledInputFile.h
204  ImfTiledInputPart.h
205  ImfTiledOutputFile.h
206  ImfTiledOutputPart.h
207  ImfTiledRgbaFile.h
208  ImfTimeCode.h
209  ImfTimeCodeAttribute.h
210  ImfUtilExport.h
211  ImfVecAttribute.h
212  ImfVersion.h
213  ImfWav.h
214  ImfXdr.h
215  OpenEXRConfig.h
216  openexr.h
217  openexr_attr.h
218  openexr_base.h
219  openexr_chunkio.h
220  openexr_coding.h
221  openexr_conf.h
222  openexr_context.h
223  openexr_debug.h
224  openexr_decode.h
225  openexr_encode.h
226  openexr_errors.h
227  openexr_part.h
228  openexr_std_attr.h
229 lib/
230  libIex-%%MAJOR%%.a
231  libIlmThread-%%MAJOR%%.a
232  libOpenEXR-%%MAJOR%%.a
233  libOpenEXRCore-%%MAJOR%%.a
234  libOpenEXRUtil-%%MAJOR%%.a
235 lib/cmake/OpenEXR/
236  OpenEXRConfig.cmake
237  OpenEXRConfigVersion.cmake
238  OpenEXRTargets-%%CMAKE_BUILD_TYPE%%.cmake
239  OpenEXRTargets.cmake
240 lib/pkgconfig/OpenEXR.pc
241
242
243 [FILE:416:manifests/plist.examples]
244 share/examples/openexr/
245  drawImage.cpp
246  drawImage.h
247  generalInterfaceExamples.cpp
248  generalInterfaceExamples.h
249  generalInterfaceTiledExamples.cpp
250  generalInterfaceTiledExamples.h
251  lowLevelIoExamples.cpp
252  lowLevelIoExamples.h
253  main.cpp
254  namespaceAlias.h
255  previewImageExamples.cpp
256  previewImageExamples.h
257  rgbaInterfaceExamples.cpp
258  rgbaInterfaceExamples.h
259  rgbaInterfaceTiledExamples.cpp
260  rgbaInterfaceTiledExamples.h
261
262
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)
269  
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")
273  
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,
276
277
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
281 @@ -21,6 +21,10 @@
282  #include <stdlib.h>
283  #include <string.h>
284  
285 +#ifndef O_CLOEXEC
286 +#define O_CLOEXEC 0
287 +#endif
288 +
289  #if defined __USE_UNIX98 || defined __USE_XOPEN2K8 ||                          \
290      (defined(_XOPEN_VERSION) && _XOPEN_VERSION >= 400)
291  #    define CAN_USE_PREAD 1
292
293
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
297 @@ -64,6 +64,21 @@
298  #  include <sys/endian.h>
299  #  define EXR_HOST_IS_NOT_LITTLE_ENDIAN (__BYTE_ORDER != __LITTLE_ENDIAN)
300  
301 +#elif defined(__sun)
302 +
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)
315 +
316  #else
317  
318  #  include <endian.h>
319
320
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)
331      void* ptr = 0;
332      // With fortify_source on, just doing the (void) cast trick
333