[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: zathura: Update style.
From: |
guix-commits |
Subject: |
06/07: gnu: zathura: Update style. |
Date: |
Sat, 16 Mar 2024 06:58:46 -0400 (EDT) |
cbaines pushed a commit to branch gnome-team
in repository guix.
commit 7ba325f21b8d58a5409986a0f3f92ef81f721712
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Wed Mar 13 12:10:18 2024 +0100
gnu: zathura: Update style.
* gnu/packages/pdf.scm (zathura) [arguments]: Convert to list of
G-Expressions.
(zathura): Reorder fields.
Change-Id: Icb1e983570c6ba3d391c2ee49c1b102246c8080f
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/pdf.scm | 38 ++++++++++++++++++++------------------
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index f595a5b7e0..7cece2b2c2 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -713,6 +713,26 @@ by using the poppler rendering engine.")
(base32
"0ckgamf98sydq543arp865jg1afwzhpzcsbhv6zrch2dm5x7y0x3"))
(patches (search-patches
"zathura-use-struct-initializers.patch"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'start-xserver
+ ;; Tests require a running X server.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((display ":1"))
+ (setenv "DISPLAY" display)
+
+ ;; On busy machines, tests may take longer than
+ ;; the default of four seconds.
+ (setenv "CK_DEFAULT_TIMEOUT" "20")
+
+ ;; Don't fail due to missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ (zero? (system (string-append
+ (search-input-file inputs "/bin/Xvfb")
+ " " display " &")))))))))
(native-inputs
(list pkg-config
gettext-minimal
@@ -734,24 +754,6 @@ by using the poppler rendering engine.")
(list (search-path-specification
(variable "ZATHURA_PLUGINS_PATH")
(files '("lib/zathura")))))
- (build-system meson-build-system)
- (arguments
- `(#:phases (modify-phases %standard-phases
- (add-before 'check 'start-xserver
- ;; Tests require a running X server.
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((display ":1"))
- (setenv "DISPLAY" display)
-
- ;; On busy machines, tests may take longer than
- ;; the default of four seconds.
- (setenv "CK_DEFAULT_TIMEOUT" "20")
-
- ;; Don't fail due to missing '/etc/machine-id'.
- (setenv "DBUS_FATAL_WARNINGS" "0")
- (zero? (system (string-append
- (search-input-file inputs "/bin/Xvfb")
- " " display " &")))))))))
(home-page "https://pwmt.org/projects/zathura/")
(synopsis "Lightweight keyboard-driven PDF viewer")
(description "Zathura is a customizable document viewer. It provides a
- branch gnome-team updated (2ee5451319 -> 1caa0eeee5), guix-commits, 2024/03/16
- 02/07: gnu: libgda: Disable failing tests., guix-commits, 2024/03/16
- 04/07: gnu: telegram-desktop: Build with glibmm@2.76., guix-commits, 2024/03/16
- 06/07: gnu: zathura: Update style.,
guix-commits <=
- 07/07: gnu: girara: Build with json-glib., guix-commits, 2024/03/16
- 01/07: Merge remote-tracking branch 'savannah/master' into gnome-team, guix-commits, 2024/03/16
- 03/07: gnu: Add glibmm-2.76., guix-commits, 2024/03/16
- 05/07: gnu: zathura: Update to 0.5.4., guix-commits, 2024/03/16