gnu: zathura: Remove input labels.
* gnu/packages/pdf.scm (zathura)[native-inputs]: Remove input labels. [arguments]: Adjust custom 'start-xserver phase accordingly.
This commit is contained in:
parent
716f970e6d
commit
85c769709f
|
@ -634,19 +634,20 @@ (define-public zathura
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1c8vmfpghqlq5kdnq92bzzp2grym3x3kxxxqgs51178s4z7639lq"))))
|
"1c8vmfpghqlq5kdnq92bzzp2grym3x3kxxxqgs51178s4z7639lq"))))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(native-inputs
|
||||||
("gettext" ,gettext-minimal)
|
(list pkg-config
|
||||||
("glib:bin" ,glib "bin")
|
gettext-minimal
|
||||||
|
(list glib "bin")
|
||||||
|
|
||||||
;; For building documentation.
|
;; For building documentation.
|
||||||
("python-sphinx" ,python-sphinx)
|
python-sphinx
|
||||||
|
|
||||||
;; For building icons.
|
;; For building icons.
|
||||||
("librsvg" ,(librsvg-for-system))
|
(librsvg-for-system)
|
||||||
|
|
||||||
;; For tests.
|
;; For tests.
|
||||||
("check" ,check)
|
check
|
||||||
("xorg-server" ,xorg-server-for-tests)))
|
xorg-server-for-tests))
|
||||||
(inputs (list sqlite))
|
(inputs (list sqlite))
|
||||||
;; Listed in 'Requires.private' of 'zathura.pc'.
|
;; Listed in 'Requires.private' of 'zathura.pc'.
|
||||||
(propagated-inputs (list cairo girara))
|
(propagated-inputs (list cairo girara))
|
||||||
|
@ -660,8 +661,7 @@ (define-public zathura
|
||||||
(add-before 'check 'start-xserver
|
(add-before 'check 'start-xserver
|
||||||
;; Tests require a running X server.
|
;; Tests require a running X server.
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((xorg-server (assoc-ref inputs "xorg-server"))
|
(let ((display ":1"))
|
||||||
(display ":1"))
|
|
||||||
(setenv "DISPLAY" display)
|
(setenv "DISPLAY" display)
|
||||||
|
|
||||||
;; On busy machines, tests may take longer than
|
;; On busy machines, tests may take longer than
|
||||||
|
@ -670,8 +670,9 @@ (define-public zathura
|
||||||
|
|
||||||
;; Don't fail due to missing '/etc/machine-id'.
|
;; Don't fail due to missing '/etc/machine-id'.
|
||||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||||
(zero? (system (string-append xorg-server "/bin/Xvfb "
|
(zero? (system (string-append
|
||||||
display " &")))))))))
|
(search-input-file inputs "/bin/Xvfb")
|
||||||
|
" " display " &")))))))))
|
||||||
(home-page "https://pwmt.org/projects/zathura/")
|
(home-page "https://pwmt.org/projects/zathura/")
|
||||||
(synopsis "Lightweight keyboard-driven PDF viewer")
|
(synopsis "Lightweight keyboard-driven PDF viewer")
|
||||||
(description "Zathura is a customizable document viewer. It provides a
|
(description "Zathura is a customizable document viewer. It provides a
|
||||||
|
|
Loading…
Reference in a new issue