mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: opencolorio: Fix build.
* gnu/packages/image-processing.scm (opencolorio)[arguments]<:#phases> ('fix-OpenColorIOConfig): Delete phase. ('fix-broken-test): Add phase. Change-Id: I1b07e782e650f669e41dca549737b0f1571b8eaa
This commit is contained in:
parent
ca32dbde90
commit
a13adb9cfa
1 changed files with 7 additions and 9 deletions
|
@ -292,16 +292,14 @@ licences similar to the Modified BSD licence."))))
|
||||||
(substitute* "tests/cpu/fileformats/FileFormatCTF_tests.cpp"
|
(substitute* "tests/cpu/fileformats/FileFormatCTF_tests.cpp"
|
||||||
(("OCIO_CHECK_NE.*ErrorOutputs.*")
|
(("OCIO_CHECK_NE.*ErrorOutputs.*")
|
||||||
""))))
|
""))))
|
||||||
(add-after 'install 'fix-OpenColorIOConfig
|
(add-after 'unpack 'fix-broken-test
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Work around a CMake Zlib-detection bug:
|
;; Replace the invalid multi-line list. It is unclear why
|
||||||
;; https://gitlab.kitware.com/cmake/cmake/-/issues/25200
|
;; this is now failing after only build system updates.
|
||||||
;; make OpenColorIOConfig.cmake is a normal cmake file
|
;; (see https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/v2.4.2/tests/cpu/Config_tests.cpp#L6227)
|
||||||
(substitute*
|
(substitute* "tests/cpu/Config_tests.cpp"
|
||||||
(string-append #$output
|
(("cs1\\\\t\\\\n \\\\n, \\\\ncs2")
|
||||||
"/lib/cmake/OpenColorIO/OpenColorIOConfig.cmake")
|
"cs1, cs2")))))))
|
||||||
(("\\.#define ZLIB_VERSION \"1\\.3\"")
|
|
||||||
"")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail.
|
;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail.
|
||||||
;; They also require OIIO, but OCIO is an optional dependency to it.
|
;; They also require OIIO, but OCIO is an optional dependency to it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue