mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: glade: Use G-expression.
* gnu/packages/gnome.scm (glade3)[arguments]: Convert to gexp.
This commit is contained in:
parent
ced93c14d1
commit
d2bddfd736
1 changed files with 24 additions and 23 deletions
|
@ -3132,30 +3132,31 @@ (define-public glade3
|
||||||
"171x7vshhw0nqgnhkcaqfylpr5qrmhclwmkva6wjm5s9m2pavj9i"))))
|
"171x7vshhw0nqgnhkcaqfylpr5qrmhclwmkva6wjm5s9m2pavj9i"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'skip-gtk-update-icon-cache
|
#~(modify-phases %standard-phases
|
||||||
;; Don't create 'icon-theme.cache'.
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
||||||
(lambda _
|
;; Don't create 'icon-theme.cache'.
|
||||||
(substitute* "meson_post_install.py"
|
(lambda _
|
||||||
(("gtk-update-icon-cache") "true"))))
|
(substitute* "meson_post_install.py"
|
||||||
|
(("gtk-update-icon-cache") "true"))))
|
||||||
|
|
||||||
,@(if (this-package-input "gjs")
|
#$@(if (this-package-input "gjs")
|
||||||
'()
|
'()
|
||||||
'((add-after 'unpack 'skip-gjs-test
|
'((add-after 'unpack 'skip-gjs-test
|
||||||
(lambda _
|
(lambda _
|
||||||
;; When the optional dependency on GJS is missing, skip
|
;; When the optional dependency on GJS is missing, skip
|
||||||
;; the GJS plugin tests.
|
;; the GJS plugin tests.
|
||||||
(substitute* "tests/modules.c"
|
(substitute* "tests/modules.c"
|
||||||
(("g_test_add.*JavaScript.*" all)
|
(("g_test_add.*JavaScript.*" all)
|
||||||
(string-append "// " all "\n")))
|
(string-append "// " all "\n")))
|
||||||
(delete-file "tests/catalogs/gjsplugin.xml")))))
|
(delete-file "tests/catalogs/gjsplugin.xml")))))
|
||||||
(add-before 'check 'pre-check
|
(add-before 'check 'pre-check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
;; Tests require a running X server.
|
;; Tests require a running X server.
|
||||||
(system "Xvfb :1 &")
|
(system "Xvfb :1 &")
|
||||||
(setenv "DISPLAY" ":1"))))))
|
(setenv "DISPLAY" ":1"))))))
|
||||||
(inputs
|
(inputs
|
||||||
(append
|
(append
|
||||||
;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
|
;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
|
||||||
|
|
Loading…
Reference in a new issue