[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/332: gnu: kimageformats: Use G-expressions.
From: |
guix-commits |
Subject: |
66/332: gnu: kimageformats: Use G-expressions. |
Date: |
Thu, 3 Aug 2023 05:43:39 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit 78a38c5e54819235f70fbecc03138cd9c275a28d
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Wed Jul 12 23:10:21 2023 +0800
gnu: kimageformats: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kimageformats)[arguments]:
Rewrite as G-expressions.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-frameworks.scm | 48 +++++++++++++++++++++--------------------
1 file changed, 25 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index c28cf94b82..1dd1319c6f 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1811,29 +1811,31 @@ by applications to write metadata.")
openexr-2 ; for OpenEXR high dynamic-range images
qtbase-5))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (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")))))
- (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.
- #:configure-flags
- (list (string-append "-DCMAKE_CXX_FLAGS=-I"
- (assoc-ref %build-inputs "ilmbase")
- "/include/OpenEXR"))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (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")))))
+ (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.
+ #:configure-flags #~(list (string-append "-DCMAKE_CXX_FLAGS=-I"
+ (assoc-ref %build-inputs
+ "ilmbase")
+ "/include/OpenEXR"))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Plugins to allow QImage to support extra file formats")
(description "This framework provides additional image format plugins for
- 60/332: gnu: kjs: Update to 5.108.0., (continued)
- 60/332: gnu: kjs: Update to 5.108.0., guix-commits, 2023/08/03
- 63/332: gnu: kwayland: Update to 5.108.0., guix-commits, 2023/08/03
- 69/332: gnu: kglobalaccel: Update to 5.108.0., guix-commits, 2023/08/03
- 48/332: gnu: kdoctools: Use G-expressions., guix-commits, 2023/08/03
- 80/332: gnu: qqc2-desktop-style: Update to 5.108.0., guix-commits, 2023/08/03
- 96/332: gnu: kmediaplayer: Update to 5.108.0., guix-commits, 2023/08/03
- 103/332: gnu: baloo: Update to 5.108.0., guix-commits, 2023/08/03
- 105/332: gnu: knewstuff: Update to 5.108.0., guix-commits, 2023/08/03
- 115/332: gnu: qca: Update to 2.3.6., guix-commits, 2023/08/03
- 64/332: gnu: kdnssd: Update to 5.108.0., guix-commits, 2023/08/03
- 66/332: gnu: kimageformats: Use G-expressions.,
guix-commits <=
- 68/332: gnu: kdbusaddons: Update to 5.108.0., guix-commits, 2023/08/03
- 44/332: gnu: kpty: Use G-expressions., guix-commits, 2023/08/03
- 46/332: gnu: syndication: Update to 5.108.0., guix-commits, 2023/08/03
- 53/332: gnu: kconfigwidgets: Update to 5.108.0., guix-commits, 2023/08/03
- 55/332: gnu: kiconthemes: Update to 5.108.0., guix-commits, 2023/08/03
- 59/332: gnu: threadweaver: Update to 5.108.0., guix-commits, 2023/08/03
- 61/332: gnu: kjsembed: Update to 5.108.0., guix-commits, 2023/08/03
- 67/332: gnu: kdesignerplugin: Update to 5.108.0., guix-commits, 2023/08/03
- 70/332: gnu: kservice: Update to 5.108.0., guix-commits, 2023/08/03
- 71/332: gnu: kxmlgui: Update to 5.108.0., guix-commits, 2023/08/03