Archived
1
0
Fork 0

gnu: kimageformats: Update to 5.108.0.

* gnu/packages/kde-frameworks.scm (kimageformats): Update to 5.108.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Zheng Junjie 2023-07-12 22:52:37 +08:00 committed by 宋文武
parent c4c14e65d3
commit f8c3938755
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1793,7 +1793,7 @@ by applications to write metadata.")
(define-public kimageformats (define-public kimageformats
(package (package
(name "kimageformats") (name "kimageformats")
(version "5.98.0") (version "5.108.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -1802,7 +1802,7 @@ by applications to write metadata.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0v4jr1lh2qjk453q8mpz94cd98k4kmjrykn8kxrd7zvrkaa4snfy")))) "07myvknlvp28kn20l30x6q22fkva72qrfziryinxgsqlhgc3j87c"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
(list extra-cmake-modules pkg-config)) (list extra-cmake-modules pkg-config))
@ -1813,20 +1813,20 @@ by applications to write metadata.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; This test fails regularly (also at KDE CI, see
;; https://build.kde.org/job/Frameworks%20kimageformats%20kf5-qt5%20XenialQt5.7/6/testReport/)
;; delete offending portion
(add-after 'unpack 'neuter-read-xcf-test
(lambda _
(delete-file "autotests/read/xcf/simple-rgba-gimp-2.8.10.png")
(delete-file "autotests/read/xcf/simple-rgba-gimp-2.8.10.xcf")))
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda _ (lambda _
;; make Qt render "offscreen", required for tests ;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "QT_PLUGIN_PATH" (setenv "QT_PLUGIN_PATH"
(string-append (getcwd) "/bin:" (string-append (getcwd) "/bin:"
(getenv "QT_PLUGIN_PATH")))))) (getenv "QT_PLUGIN_PATH")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "HOME" (getcwd))
;; FIXME: I guess kde's qt no this fail.
;; see https://invent.kde.org/frameworks/kimageformats/-/jobs/1046283
(invoke "ctest" "-E" "kimageformats-read-psd")))))
;; FIXME: The header files of ilmbase (propagated by openexr) are not ;; FIXME: The header files of ilmbase (propagated by openexr) are not
;; found when included by the header files of openexr, and an explicit ;; found when included by the header files of openexr, and an explicit
;; flag needs to be set. ;; flag needs to be set.