gnu: girara: Update style.
* 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 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
This commit is contained in:
parent
25c14c893f
commit
e334ffc899
1 changed files with 25 additions and 22 deletions
|
|
@ -2142,30 +2142,33 @@ and routines to assist in editing internationalized text.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0k93pi0lkf941vanvh1habm6n5wl1n63726j5kqxh34wdlv4mv4s"))))
|
(base32 "0k93pi0lkf941vanvh1habm6n5wl1n63726j5kqxh34wdlv4mv4s"))))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(arguments
|
||||||
("check" ,check)
|
(list
|
||||||
("gettext" ,gettext-minimal)
|
#:phases
|
||||||
("glib:bin" ,glib "bin")
|
#~(modify-phases %standard-phases
|
||||||
("xorg-server" ,xorg-server-for-tests)))
|
(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'.
|
;; Listed in 'Requires.private' of 'girara.pc'.
|
||||||
(propagated-inputs (list gtk+))
|
(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)
|
(build-system meson-build-system)
|
||||||
(home-page "https://pwmt.org/projects/girara/")
|
(home-page "https://pwmt.org/projects/girara/")
|
||||||
(synopsis "Library for minimalistic gtk+3 user interfaces")
|
(synopsis "Library for minimalistic gtk+3 user interfaces")
|
||||||
|
|
|
||||||
Reference in a new issue