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 @@ (define-public kfilemetadata
(define-public kimageformats
(package
(name "kimageformats")
(version "5.98.0")
(version "5.108.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -1802,7 +1802,7 @@ (define-public kimageformats
name "-" version ".tar.xz"))
(sha256
(base32
"0v4jr1lh2qjk453q8mpz94cd98k4kmjrykn8kxrd7zvrkaa4snfy"))))
"07myvknlvp28kn20l30x6q22fkva72qrfziryinxgsqlhgc3j87c"))))
(build-system cmake-build-system)
(native-inputs
(list extra-cmake-modules pkg-config))
@ -1813,20 +1813,20 @@ (define-public kimageformats
(arguments
`(#: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
(lambda _
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "QT_PLUGIN_PATH"
(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
;; found when included by the header files of openexr, and an explicit
;; flag needs to be set.