[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27251: [PATCH 07/27] gnu: kimageformats: Add more optional and recom
From: |
Hartmut Goebel |
Subject: |
bug#27251: [PATCH 07/27] gnu: kimageformats: Add more optional and recommended inputs. |
Date: |
Mon, 5 Jun 2017 17:34:58 +0200 |
* gnu/packages/kde-frameworks.scm (kimageformats)
[native-inputs]: Add pkg-config.
[inputs]: Add karchive, openexr.
[arguments]<#:configure-flags>: Set include-flags.
---
gnu/packages/kde-frameworks.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 58f9ac0..f1ae80e 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages graphics)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages image)
#:use-module (gnu packages linux)
@@ -1465,9 +1466,12 @@ by applications to write metadata.")
"0q9ng4clqk2dqw43nk1pmq1d61rahc3qr4dmg4y3kjvz3ahnnijw"))))
(build-system cmake-build-system)
(native-inputs
- `(("extra-cmake-modules" ,extra-cmake-modules)))
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
(inputs
- `(("qtbase" ,qtbase)))
+ `(("karchive" ,karchive) ; for Krita and OpenRaster images
+ ("openexr" ,openexr) ; for OpenEXR high dynamic-range images
+ ("qtbase" ,qtbase)))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -1475,7 +1479,14 @@ by applications to write metadata.")
(lambda _
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen")
- #t)))))
+ #t)))
+ ;; 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
--
2.7.4
- bug#27251: [PATCH 00/27] KDE Frameworks: Add inputs, fix some tests, cleanup., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 01/27] gnu: kguiaddons: Add more optional inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 03/27] gnu: kguiaddons: Add a todo comment., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 02/27] gnu: kguiaddons: Remove unused native input., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 04/27] gnu: kitemmodels: Add more optional inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 09/27] gnu: kinit: Add more optional inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 10/27] gnu: ktexteditor: Add more optional inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 11/27] gnu: ktexteditor: Add a todo comment., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 05/27] gnu: kcompletion: Remove unused native input., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 08/27] gnu: kio: Add more optional and recommended inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 07/27] gnu: kimageformats: Add more optional and recommended inputs.,
Hartmut Goebel <=
- bug#27251: [PATCH 06/27] gnu: kde frameworks: Avoid requiring xorg-server for tests., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 20/27] gnu: kwidgetsaddons: Re-enable tests., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 14/27] gnu: kpackage: Add more optional inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 22/27] gnu: kdeclarative: Update comment., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 12/27] gnu: plasma-framework: Add more optional inputs., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 13/27] gnu: plasma-framework: Update comment (number of failed tests)., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 18/27] gnu: kwallet: Use gpgme instead of gpgmepp., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 27/27] gnu: solid: Add a todo comment., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 19/27] gnu: kiconthemes: Re-enable tests., Hartmut Goebel, 2017/06/05
- bug#27251: [PATCH 15/27] gnu: kpackage: Update comment (number of failed tests)., Hartmut Goebel, 2017/06/05