unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vivien Kraus via Guix-patches via <guix-patches@gnu.org>
To: 69669@debbugs.gnu.org
Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu,
	liliana.prikler@gmail.com, maxim.cournoyer@gmail.com
Subject: [bug#69669] [PATCH gnome-team v2 1/3] gnu: girara: Update style.
Date: Sat, 9 Mar 2024 09:54:40 +0100	[thread overview]
Message-ID: <1a4864e2e1936be6053ca1330483a44da985730f.1709974804.git.vivien@planete-kraus.eu> (raw)
In-Reply-To: <cover.1709974804.git.vivien@planete-kraus.eu>

* gnu/packages/gtk.scm (girara)[arguments]: Convert to list of G-Expressions.
[native-inputs]: Move after arguments.
[propagated-inputs]: Move after arguments.

Change-Id: I79a6f59f6ea671433f1a66a10cb79203f0b9bbae
---
 gnu/packages/gtk.scm | 47 +++++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index a00ce71b81..033c5aee0f 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2142,30 +2142,33 @@ (define-public girara
        (file-name (git-file-name name version))
        (sha256
         (base32 "0k93pi0lkf941vanvh1habm6n5wl1n63726j5kqxh34wdlv4mv4s"))))
-    (native-inputs `(("pkg-config" ,pkg-config)
-                     ("check" ,check)
-                     ("gettext" ,gettext-minimal)
-                     ("glib:bin" ,glib "bin")
-                     ("xorg-server" ,xorg-server-for-tests)))
+    (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 ((xorg-server (assoc-ref inputs "xorg-server"))
+                    (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 xorg-server "/bin/Xvfb "
+                                              display " &")))))))))
+    (native-inputs
+     (list pkg-config
+           check
+           gettext-minimal
+           `(,glib "bin")
+           xorg-server-for-tests))
     ;; Listed in 'Requires.private' of 'girara.pc'.
     (propagated-inputs (list gtk+))
-    (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (add-before 'check 'start-xserver
-                    ;; Tests require a running X server.
-                    (lambda* (#:key inputs #:allow-other-keys)
-                      (let ((xorg-server (assoc-ref inputs "xorg-server"))
-                            (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 xorg-server "/bin/Xvfb "
-                                                      display " &")))))))))
     (build-system meson-build-system)
     (home-page "https://pwmt.org/projects/girara/")
     (synopsis "Library for minimalistic gtk+3 user interfaces")
-- 
2.41.0




  parent reply	other threads:[~2024-03-09  9:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-09  7:38 [bug#69669] [PATCH gnome-team 0/1] Update girara to 0.4.3 Vivien Kraus via Guix-patches via
2024-03-09  7:33 ` [bug#69669] [PATCH gnome-team 1/1] gnu: girara: Update " Vivien Kraus via Guix-patches via
2024-03-09  8:24   ` Liliana Marie Prikler
2024-03-09  8:58 ` [bug#69669] [PATCH gnome-team v3] gnu: girara: Build with json-glib Vivien Kraus via Guix-patches via
2024-03-12 13:28   ` Maxim Cournoyer
2024-03-16 11:05     ` Christopher Baines
2024-03-09  9:00 ` [bug#69669] [PATCH gnome-team v2 0/3] Update girara (better) Vivien Kraus via Guix-patches via
2024-03-09  7:33   ` [bug#69669] [PATCH gnome-team v2 2/3] gnu: girara: Update to 0.4.3 Vivien Kraus via Guix-patches via
2024-03-09  8:54   ` Vivien Kraus via Guix-patches via [this message]
2024-03-09  8:58   ` [bug#69669] [PATCH gnome-team v2 3/3] gnu: girara: Build with json-glib Vivien Kraus via Guix-patches via
2024-03-09 17:55     ` Maxim Cournoyer
2024-03-09 18:22       ` Vivien Kraus via Guix-patches via
2024-03-12  3:47         ` Maxim Cournoyer
2024-03-09  9:24   ` [bug#69669] [PATCH gnome-team v2 0/3] Update girara (better) Liliana Marie Prikler
2024-03-09 12:33     ` Vivien Kraus via Guix-patches via
2024-03-09 17:58   ` Maxim Cournoyer
2024-03-09 18:40     ` Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a4864e2e1936be6053ca1330483a44da985730f.1709974804.git.vivien@planete-kraus.eu \
    --to=guix-patches@gnu.org \
    --cc=69669@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=maxim.cournoyer@gmail.com \
    --cc=rg@raghavgururajan.name \
    --cc=vivien@planete-kraus.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).