gnu: feh: Update to 2.22.

* gnu/packages/image-viewers.scm (feh): Update to 2.22.
[native-search-paths]: New field.
This commit is contained in:
Marius Bakke 2017-11-05 15:05:05 +01:00
parent 21b71b01e9
commit 3c41b9929b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -55,7 +55,7 @@ (define-module (gnu packages image-viewers)
(define-public feh (define-public feh
(package (package
(name "feh") (name "feh")
(version "2.21") (version "2.22")
(home-page "https://feh.finalrewind.org/") (home-page "https://feh.finalrewind.org/")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -63,7 +63,7 @@ (define-public feh
name "-" version ".tar.bz2")) name "-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0azgpr4al2pi4858z4xh4lfz84cvzxw3n426fn7rz6cdj34q212j")))) "0yqcczb9c126zgfvjq2fpzqz0rg16yad8mfr3gryxwlbymy2cmxj"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases (delete 'configure)) '(#:phases (modify-phases %standard-phases (delete 'configure))
@ -79,6 +79,14 @@ (define-public feh
("libxt" ,libxt) ("libxt" ,libxt)
("libx11" ,libx11) ("libx11" ,libx11)
("libxinerama" ,libxinerama))) ("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") (synopsis "Fast and light imlib2-based image viewer")
(description (description
"feh is an X11 image viewer aimed mostly at console users. "feh is an X11 image viewer aimed mostly at console users.