git: 73e8df6a6786 - main - graphics/openexr: Update to v3.3.2

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Mon, 11 Nov 2024 20:00:19 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73e8df6a678637d8f4891e09cd0793e8631f90dd

commit 73e8df6a678637d8f4891e09cd0793e8631f90dd
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-11-11 19:46:27 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-11-11 19:47:58 +0000

    graphics/openexr: Update to v3.3.2
    
    We can now remove our patch to build the exrmetrics manpage.
    
    ChangeLog:      https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.2
---
 graphics/openexr/Makefile                        | 18 ++++++++++++------
 graphics/openexr/distinfo                        |  6 +++---
 graphics/openexr/files/patch-docs_CMakeLists.txt | 10 ----------
 3 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index a1d2abfc9111..d8e6ff8ec5c0 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME?=	openexr
-PORTVERSION=	3.3.1
+PORTVERSION=	3.3.2 # verify sigstore: make makesum verify-sigstore
 PORTREVISION?=	0
 CATEGORIES=	graphics devel
 .if !defined(MASTERDIR)
@@ -46,17 +46,17 @@ USES?=		cmake:testing compiler:c++14-lang cpe pathfix pkgconfig
 
 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
@@ -113,5 +113,11 @@ 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 <bsd.port.mk>
diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo
index c66ede92ee0c..400849b60bda 100644
--- a/graphics/openexr/distinfo
+++ b/graphics/openexr/distinfo
@@ -1,6 +1,6 @@
-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
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")