summary refs log tree commit diff
path: root/gnu/packages/image-viewers.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-11-05 15:05:05 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-11-05 16:08:02 +0100
commit3c41b9929b8253bf91a13d9c6dab7b3db600aa4d (patch)
treeae445a2096876e1bc9a2d9e06b57d6ff5a66476b /gnu/packages/image-viewers.scm
parent21b71b01e9c2264c31ef30451c152bb38cc9e635 (diff)
downloadguix-3c41b9929b8253bf91a13d9c6dab7b3db600aa4d.tar.gz
gnu: feh: Update to 2.22.
* gnu/packages/image-viewers.scm (feh): Update to 2.22.
[native-search-paths]: New field.
Diffstat (limited to 'gnu/packages/image-viewers.scm')
-rw-r--r--gnu/packages/image-viewers.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 9e93a97a9b..11cf146780 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -55,7 +55,7 @@
 (define-public feh
   (package
     (name "feh")
-    (version "2.21")
+    (version "2.22")
     (home-page "https://feh.finalrewind.org/")
     (source (origin
               (method url-fetch)
@@ -63,7 +63,7 @@
                                   name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "0azgpr4al2pi4858z4xh4lfz84cvzxw3n426fn7rz6cdj34q212j"))))
+                "0yqcczb9c126zgfvjq2fpzqz0rg16yad8mfr3gryxwlbymy2cmxj"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases (delete 'configure))
@@ -79,6 +79,14 @@
               ("libxt" ,libxt)
               ("libx11" ,libx11)
               ("libxinerama" ,libxinerama)))
+    (native-search-paths
+     ;; Feh allows overriding the libcurl builtin CA path (unset in Guix)
+     ;; with the same variable as the `curl` command line HTTP tool.
+     (list (search-path-specification
+            (variable "CURL_CA_BUNDLE")
+            (file-type 'regular)
+            (separator #f)                         ;single entry
+            (files '("etc/ssl/certs/ca-certificates.crt")))))
     (synopsis "Fast and light imlib2-based image viewer")
     (description
       "feh is an X11 image viewer aimed mostly at console users.