summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2018-08-28 01:02:59 -0400
committerLeo Famulari <leo@famulari.name>2018-09-01 02:09:52 -0400
commitfd67d793c27f4f675708862df59336cb1133ade1 (patch)
treed7a4237d2b6b4f12246e8472353c899383012798 /gnu/packages
parent7ce9eaf0132ab00b7adf26953eb193f152ee7f2f (diff)
downloadguix-fd67d793c27f4f675708862df59336cb1133ade1.tar.gz
gnu: Krita: Build with libraw 0.18.
Fixes <https://bugs.gnu.org/32467>.

Reported by Björn Höfling <bjoern.hoefling@bjoernhoefling.de>.

* gnu/packages/photo.scm (libraw-0.18): New variable.
* gnu/packages/kde.scm (krita)[inputs]: Use libraw-0.18.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde.scm2
-rw-r--r--gnu/packages/photo.scm12
2 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 0f2ede7f83..7b157853d3 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -316,7 +316,7 @@ plugins, as well as code to create plugins, or complete applications.")
        ("fftw" ,fftw)
        ("gsl" ,gsl)
        ("poppler-qt5" ,poppler-qt5)
-       ("libraw" ,libraw)
+       ("libraw" ,libraw-0.18)
        ("libtiff" ,libtiff)
        ("perl" ,perl)
        ("ilmbase" ,ilmbase)
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 3fd3d0854b..7bdf04cb49 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -95,6 +95,18 @@ cameras (CRW/CR2, NEF, RAF, DNG, and others).")
     ;; both two licensing modes for your changes/additions."
     (license (list license:lgpl2.1 license:cddl1.0))))
 
+(define-public libraw-0.18
+  (package (inherit libraw)
+    (name "libraw")
+    (version "0.18.12")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://www.libraw.org/data/LibRaw-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1m2khr2cij8z6lawgbmdksjn14fpnjsy8ad4qahnpqapm1slsxap"))))))
+
 (define-public libexif
   (package
     (name "libexif")