diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile index a1d2abfc9111..d8e6ff8ec5c0 100644 --- a/graphics/openexr/Makefile +++ b/graphics/openexr/Makefile @@ -1,117 +1,123 @@ PORTNAME?= openexr -PORTVERSION= 3.3.1 +PORTVERSION= 3.3.2 # verify sigstore: make makesum verify-sigstore PORTREVISION?= 0 CATEGORIES= graphics devel .if !defined(MASTERDIR) MASTER_SITES= https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/v1.0/:testimages \ https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${PORTVERSION}/:DEFAULT \ LOCAL/mandree/openexr/:DEFAULT \ LOCAL/mandree/openexr/:testimages DISTFILES= ${EXTRACT_ONLY}:DEFAULT DISTFILES+= Beachball/multipart.0001.exr:testimages DISTFILES+= Beachball/singlepart.0001.exr:testimages DISTFILES+= Chromaticities/Rec709_YC.exr:testimages DISTFILES+= Chromaticities/Rec709.exr:testimages DISTFILES+= Chromaticities/XYZ_YC.exr:testimages DISTFILES+= Chromaticities/XYZ.exr:testimages DISTFILES+= LuminanceChroma/Flowers.exr:testimages DISTFILES+= LuminanceChroma/Garden.exr:testimages DISTFILES+= MultiResolution/ColorCodedLevels.exr:testimages DISTFILES+= MultiResolution/WavyLinesCube.exr:testimages DISTFILES+= MultiResolution/WavyLinesLatLong.exr:testimages DISTFILES+= MultiView/Adjuster.exr:testimages DISTFILES+= TestImages/GammaChart.exr:testimages DISTFILES+= TestImages/GrayRampsHorizontal.exr:testimages DISTFILES+= v2/LeftView/Balls.exr:testimages DISTFILES+= v2/Stereo/Trunks.exr:testimages .endif DIST_SUBDIR= openexr # hardcode - not using ${PORTNAME} - so we can share the distdir with openexr-website-docs, avoiding double download of ... EXTRACT_ONLY= openexr-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= mandree@FreeBSD.org COMMENT= High dynamic-range (HDR) image file format WWW= https://www.openexr.com/ LICENSE= BSD3CLAUSE BUILD_DEPENDS?= help2man:misc/help2man # exact libImath version required to avoid hard-to-debug issues LIB_DEPENDS?= libImath-3_1.so.29:math/Imath \ libdeflate.so:archivers/libdeflate USES?= cmake:testing compiler:c++14-lang cpe pathfix pkgconfig #USE_GITHUB= yes #GH_TUPLE= AcademySoftwareFoundation:openexr:v${PORTVERSION} USE_LDCONFIG= yes -CMAKE_TESTING_ON= BUILD_TESTING \ - OPENEXR_TEST_LIBRARIES \ - OPENEXR_TEST_PYTHON \ - OPENEXR_TEST_TOOLS +CMAKE_ARGS?= -DCMAKE_DEBUG_POSTFIX= CMAKE_OFF= BUILD_TESTING \ OPENEXR_TEST_LIBRARIES \ OPENEXR_TEST_PYTHON \ OPENEXR_TEST_TOOLS -CMAKE_ARGS?= -DCMAKE_DEBUG_POSTFIX= +CMAKE_TESTING_ON= BUILD_TESTING \ + OPENEXR_TEST_LIBRARIES \ + OPENEXR_TEST_PYTHON \ + OPENEXR_TEST_TOOLS CPPFLAGS+= -I. # must be linked with -l{thr|pthread} explicitly LDFLAGS+= -lpthread _MAJORVER= 3_3 _VER= 32 _REL= ${PORTVERSION} PLIST_SUB+= MAJORVER=${_MAJORVER} \ VER=${_VER} \ REL=${_REL} PORTDOCS= * PORTEXAMPLES= * .if !defined(MASTERDIR) OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes DOCS_CMAKE_BOOL=OPENEXR_INSTALL_DOCS INSTALL_DOCS _DOCSRCDIR1= ${WRKSRC} _DOC_FILES1= CHANGES.md CONTRIBUTING.md GOVERNANCE.md LICENSE.md SECURITY.md \ CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md # too many reports about compilation failures, so # sanity check we are using the same C++ standard library _imath_libcxx= ${COMPILER_FEATURES:Mlib*c++} # This would be better placed in pre-test to avoid wasting space, # but if we do that, the cmake in src/test/bin will go downloading the files, # so we do not benefit from our checksumming and the distdir caching. post-extract: ${MKDIR} ${CONFIGURE_WRKSRC}/src/test/bin .for i in ${DISTFILES:M*.exr?testimages} d="$$(dirname "${CONFIGURE_WRKSRC}/src/test/bin/${i:S/:testimages//}")" \ && ${MKDIR} "$$d" \ && ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i:S/:testimages//} "$$d" .endfor pre-configure: @${READELF} -d ${LOCALBASE}/lib/libImath.so \ | ${EGREP} -q '\.*\[${_imath_libcxx:C/\+/\\+/g}\.' \ || { ${ECHO_CMD} "*** Your Imath package uses a different C++ standard library than ***" ; \ ${ECHO_CMD} "*** OpenEXR would. Please recompile and reinstall Imath with the ***" ; \ ${ECHO_CMD} "*** same C++ std. library before trying to build OpenEXR. Abort. ***" ; \ exit 1; } post-install-EXAMPLES-on: ${MV} \ ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ ${STAGEDIR}${EXAMPLESDIR} @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : post-install-EXAMPLES-off: ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : +verify-sigstore: openexr-${PORTVERSION}.tar.gz.sigstore.json + sigstore verify github --cert-identity https://github.com/AcademySoftwareFoundation/openexr/.github/workflows/release-sign.yml@refs/tags/v${PORTVERSION} ${DISTDIR}/${DIST_SUBDIR}/openexr-${PORTVERSION}.tar.gz --bundle openexr-${PORTVERSION}.tar.gz.sigstore.json + +openexr-${PORTVERSION}.tar.gz.sigstore.json: + ${FETCH_CMD} https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${PORTVERSION}/openexr-${PORTVERSION}.tar.gz.sigstore.json + .endif .include diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo index c66ede92ee0c..400849b60bda 100644 --- a/graphics/openexr/distinfo +++ b/graphics/openexr/distinfo @@ -1,35 +1,35 @@ -TIMESTAMP = 1728826570 -SHA256 (openexr/openexr-3.3.1.tar.gz) = 2d602128b53f6f9df84482bdfdf1d19dc0cb552c9fba0af9205a8937dd2633e9 -SIZE (openexr/openexr-3.3.1.tar.gz) = 21314086 +TIMESTAMP = 1731353732 +SHA256 (openexr/openexr-3.3.2.tar.gz) = 4fb4c643b39f04b67e8f4138e4d5a7804b62fdc15b8f6bcdd32ccc8ecd515683 +SIZE (openexr/openexr-3.3.2.tar.gz) = 21319411 SHA256 (openexr/Beachball/multipart.0001.exr) = 0cd032069fbaa14a2766861fef9893ea66a6494ff64650725d3b26a500df774b SIZE (openexr/Beachball/multipart.0001.exr) = 2894260 SHA256 (openexr/Beachball/singlepart.0001.exr) = 29719942ed3c095a8f8f111fc139fc4c28f446007f5bfce00177cae585b1a87a SIZE (openexr/Beachball/singlepart.0001.exr) = 2347698 SHA256 (openexr/Chromaticities/Rec709_YC.exr) = dd7355a2c2a694bae041500af4f61ae96bdc02a6e9474fa53d4e4ccef83c8774 SIZE (openexr/Chromaticities/Rec709_YC.exr) = 378570 SHA256 (openexr/Chromaticities/Rec709.exr) = 15028cbf7bf0efa43738890af715ec550d26ae9e32a1020d0f4e7c785d3a370e SIZE (openexr/Chromaticities/Rec709.exr) = 908168 SHA256 (openexr/Chromaticities/XYZ_YC.exr) = 7d0b9b7e6f19a698ff733539de15760a07f6771a1a4f5c1e545ac03d7a4ce293 SIZE (openexr/Chromaticities/XYZ_YC.exr) = 364055 SHA256 (openexr/Chromaticities/XYZ.exr) = 8d97c476726ae67a086220463c91b7202279a4c7c1ea94810ce75a4c28e7825f SIZE (openexr/Chromaticities/XYZ.exr) = 930048 SHA256 (openexr/LuminanceChroma/Flowers.exr) = d1016a9177e723122f982fe79077dd71d42bf2b4da565d35f4c728f8a5688236 SIZE (openexr/LuminanceChroma/Flowers.exr) = 758083 SHA256 (openexr/LuminanceChroma/Garden.exr) = c19060f8252ec7cce66979c04c883766d70343ca1916ccc538d02eea982cfc66 SIZE (openexr/LuminanceChroma/Garden.exr) = 399046 SHA256 (openexr/MultiResolution/ColorCodedLevels.exr) = ba836f7d37ea268ef9e96d7f0e28d035f4f197be12356133676282c578ada643 SIZE (openexr/MultiResolution/ColorCodedLevels.exr) = 53298 SHA256 (openexr/MultiResolution/WavyLinesCube.exr) = f6cb5be7cf0b173a04287a51018d6c892ec2caca3c9826df225d74d4bc9b67fc SIZE (openexr/MultiResolution/WavyLinesCube.exr) = 410587 SHA256 (openexr/MultiResolution/WavyLinesLatLong.exr) = 34b1ce44803f9486db8eaea5e1b5f828698797ee7a437ecf62851d9138e10279 SIZE (openexr/MultiResolution/WavyLinesLatLong.exr) = 464456 SHA256 (openexr/MultiView/Adjuster.exr) = 966aa7bbdaec18262c96b0332365da723f537087285b99b1589cb573c5e05269 SIZE (openexr/MultiView/Adjuster.exr) = 4156415 SHA256 (openexr/TestImages/GammaChart.exr) = bb2819850542afae5e2208ba39724c23fe1a07b80b96f4fd093b3c9a3ca8ac2f SIZE (openexr/TestImages/GammaChart.exr) = 23272 SHA256 (openexr/TestImages/GrayRampsHorizontal.exr) = 7858e712af500e737ebaedbf40730646529e6093371ddb939becc58700b8fc6a SIZE (openexr/TestImages/GrayRampsHorizontal.exr) = 18296 SHA256 (openexr/v2/LeftView/Balls.exr) = 86503ff1b0a07372058127896d3858facf625e0e78374ca5c9d26ec28aa3ce91 SIZE (openexr/v2/LeftView/Balls.exr) = 5065464 SHA256 (openexr/v2/Stereo/Trunks.exr) = 8a2f04e8d5b8ef1a5fd48198cf2059f1dd01129e4cccd7a4c96caf8c472676f7 SIZE (openexr/v2/Stereo/Trunks.exr) = 3858752 diff --git a/graphics/openexr/files/patch-docs_CMakeLists.txt b/graphics/openexr/files/patch-docs_CMakeLists.txt deleted file mode 100644 index 3096d5358e75..000000000000 --- a/graphics/openexr/files/patch-docs_CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- docs/CMakeLists.txt.orig 2024-10-13 13:57:15 UTC -+++ docs/CMakeLists.txt -@@ -42,6 +42,7 @@ define_manpage(exrmanifest "print id manifest") - define_manpage(exrmakepreview "generate exr preview thumbnail images") - define_manpage(exrmaketiled "convert exr images to tiled format") - define_manpage(exrmanifest "print id manifest") -+define_manpage(exrmetrics "benchmark performance in time and space") # inofficially added for FreeBSD 3.3.1 port - define_manpage(exrmultipart "combine or split multipart exr images") - define_manpage(exrmultiview "convert between single/multi-view exr images") - define_manpage(exrstdattr "set exr image metadata")