gnu: g-golf: Update to git revision 804.
* gnu/packages/guile-xyz.scm (g-golf): Update to git revision 804. [inputs]: Add xorg-server input for test phase.. [arguments]: start-xorg-server phase now starts Xvfg before check phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b3679394ec
commit
85fcceeea1
1 changed files with 14 additions and 6 deletions
|
@ -1725,10 +1725,10 @@ capabilities.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public g-golf
|
(define-public g-golf
|
||||||
(let ((commit "4a4edf25e4877df9182c77843bdd98ab59e13ef7"))
|
(let ((commit "5d2903afb4b6b65c22f587835d8fdff91916e5ee"))
|
||||||
(package
|
(package
|
||||||
(name "g-golf")
|
(name "g-golf")
|
||||||
(version (git-version "1" "683" commit))
|
(version (git-version "1" "804" commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1737,7 +1737,7 @@ capabilities.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09p0gf71wbmlm9kri693a8fvr9hl3hhlmlidyadwjdh7853xg0h8"))))
|
"1xkb6a5d3i9s8lpb5cf06bd64p5srqnnhn5l0b2f5csbvyz8hmmh"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("autoconf" ,autoconf)
|
||||||
|
@ -1745,10 +1745,11 @@ capabilities.")
|
||||||
("texinfo" ,texinfo)
|
("texinfo" ,texinfo)
|
||||||
("gettext" ,gettext-minimal)
|
("gettext" ,gettext-minimal)
|
||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)
|
||||||
|
("xorg-server" ,xorg-server)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("guile" ,guile-2.2)
|
`(("guile" ,guile-2.2)
|
||||||
("guile-lib" ,guile-lib)
|
("guile-lib" ,guile2.2-lib)
|
||||||
("clutter" ,clutter)
|
("clutter" ,clutter)
|
||||||
("gtk" ,gtk+)
|
("gtk" ,gtk+)
|
||||||
("glib" ,glib)))
|
("glib" ,glib)))
|
||||||
|
@ -1791,7 +1792,14 @@ capabilities.")
|
||||||
(assoc-ref outputs "out"))))))))
|
(assoc-ref outputs "out"))))))))
|
||||||
(setenv "GUILE_AUTO_COMPILE" "0")
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
||||||
(setenv "GUILE_GGOLF_UNINSTALLED" "1")
|
(setenv "GUILE_GGOLF_UNINSTALLED" "1")
|
||||||
#t))))))
|
#t)))
|
||||||
|
(add-before 'check 'start-xorg-server
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
;; The test suite requires a running X server.
|
||||||
|
(system (format #f "~a/bin/Xvfb :1 &"
|
||||||
|
(assoc-ref inputs "xorg-server")))
|
||||||
|
(setenv "DISPLAY" ":1")
|
||||||
|
#t)))))
|
||||||
(home-page "https://www.gnu.org/software/g-golf/")
|
(home-page "https://www.gnu.org/software/g-golf/")
|
||||||
(synopsis "Guile bindings for GObject Introspection")
|
(synopsis "Guile bindings for GObject Introspection")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue