mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
gnu: glade3: Remove sitecustomize.py workaround.
The issue has since been resolved. * gnu/packages/gnome.scm (glade3)[phases]{fix-tests}: Delete phase.
This commit is contained in:
parent
874188c0ab
commit
6d7a0b84e2
1 changed files with 4 additions and 11 deletions
|
@ -3241,28 +3241,21 @@ (define-public glade3
|
|||
(lambda _
|
||||
(substitute* "meson_post_install.py"
|
||||
(("gtk-update-icon-cache") "true"))))
|
||||
;; XXX: Remove it once this issue is fixed:
|
||||
;; https://issues.guix.gnu.org/50105.
|
||||
(add-after 'unpack 'fix-tests
|
||||
(lambda _
|
||||
(substitute* "tests/meson.build"
|
||||
(("\\['modules") "#['modules"))))
|
||||
(add-before 'configure 'fix-docbook
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "man/meson.build"
|
||||
(("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
|
||||
(("http://docbook.sourceforge.net/release/xsl/\
|
||||
current/manpages/docbook.xsl")
|
||||
(string-append (assoc-ref inputs "docbook-xsl")
|
||||
"/xml/xsl/docbook-xsl-"
|
||||
,(package-version docbook-xsl)
|
||||
"/manpages/docbook.xsl")))
|
||||
#t))
|
||||
"/manpages/docbook.xsl")))))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
;; Tests require a running X server.
|
||||
(system "Xvfb :1 &")
|
||||
(setenv "DISPLAY" ":1")
|
||||
#t)))))
|
||||
(setenv "DISPLAY" ":1"))))))
|
||||
(inputs
|
||||
`(("gtk+" ,gtk+)
|
||||
("libxml2" ,libxml2)))
|
||||
|
|
Loading…
Reference in a new issue