gnu: openexr: Update to 3.2.4 [security fixes].

Previous versions, 3.2.2 and 3.1.4, fixed CVE-2023-5841 and CVE-2021-45942,
respectively.

* gnu/packages/graphics.scm (openexr): Update to 3.2.4.
[arguments]: Remove unneeded files from patch-test-directory phase.
[inputs]: Add libdeflate.

Reported-by: Vinicius Monego <monego@posteo.net>
Change-Id: I72f82e623c9b8988cae433947117cd81f40cdbc3
This commit is contained in:
John Kehayias 2024-04-03 22:45:50 -04:00
parent b1b22cab72
commit 410e699e09
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -1200,7 +1200,7 @@ (define-public ogre
(define-public openexr (define-public openexr
(package (package
(name "openexr") (name "openexr")
(version "3.1.3") (version "3.2.4")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1210,7 +1210,7 @@ (define-public openexr
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6")))) "00s1a05kggk71vfbnsvykyjc2j7y6yyzgl63sy4yiddshz2k2mcr"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list #:phases (list #:phases
@ -1218,8 +1218,6 @@ (define-public openexr
(add-after 'unpack 'patch-test-directory (add-after 'unpack 'patch-test-directory
(lambda _ (lambda _
(substitute* (list (substitute* (list
"src/test/OpenEXRUtilTest/tmpDir.h"
"src/test/OpenEXRFuzzTest/tmpDir.h"
"src/test/OpenEXRTest/tmpDir.h" "src/test/OpenEXRTest/tmpDir.h"
"src/test/OpenEXRCoreTest/main.cpp") "src/test/OpenEXRCoreTest/main.cpp")
(("/var/tmp") (("/var/tmp")
@ -1247,7 +1245,7 @@ (define-public openexr
"") "")
(("TEST \\(testOptimizedInterleavePatterns, \"basic\"\\);") (("TEST \\(testOptimizedInterleavePatterns, \"basic\"\\);")
""))))))))) "")))))))))
(inputs (list imath zlib)) (inputs (list imath libdeflate zlib))
(home-page "https://www.openexr.com/") (home-page "https://www.openexr.com/")
(synopsis "High-dynamic-range file format library") (synopsis "High-dynamic-range file format library")
(description (description