gnu: qiv: Update to 2.3.2.

* gnu/packages/image-viewers.scm (qiv): Update to 2.3.2.
[source]: Add a snippet.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-03 04:05:06 +01:00
parent 5052829f1c
commit 57b7e1cfd0
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -808,14 +808,21 @@ (define-public imv
(define-public qiv
(package
(name "qiv")
(version "2.3.1")
(version "2.3.2")
(source
(origin
(method url-fetch)
(uri (string-append "http://spiegl.de/qiv/download/qiv-"
version ".tgz"))
(sha256
(base32 "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7"))))
(base32 "1mc0f2nnas4q0d7zc9r6g4z93i32xlx0p9hl4fn5zkyml24a1q28"))
(modules '((guix build utils)))
(snippet
'(begin
;; Fix a typo. This can probably be removed on the next update.
(substitute* "Makefile"
(("\\$\\(PREFIX\\)/man")
"$(PREFIX)/share/man"))))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)
@ -846,8 +853,7 @@ (define-public qiv
;; There must be a running X server and make install doesn't start one.
;; Therefore we must do it.
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1")
#t)))
(setenv "DISPLAY" ":1"))))
#:tests? #f ; there is no check target
#:make-flags
(list