mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 06:53:44 +00:00
gnu: nomad: Fix missing webkit2gtk-4.0 compilation error.
* gnu/package/guile-xyz.scm (nomad)[arguments]<phases>: Add phase 'fix-webkitgtk' to update webkit2gtk-4.0 reference in file 'configure.ac' and 'typelib/Makefile.am'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
a00dff3ac1
commit
23792ae634
@@ -3444,6 +3444,16 @@ perform geometrical transforms on JPEG images.")
|
||||
(srfi srfi-26))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-webkitgtk
|
||||
(lambda _
|
||||
;; Adapt to the version we have in Guix.
|
||||
(substitute* "configure.ac"
|
||||
(("webkit2gtk-4\\.0") "webkit2gtk-4.1")
|
||||
(("webkit2gtk-web-extension-4\\.0")
|
||||
"webkit2gtk-web-extension-4.1"))
|
||||
|
||||
(substitute* "typelib/Makefile.am"
|
||||
(("WebKit2-4\\.0") "WebKit2-4.1"))))
|
||||
(add-before 'check 'start-xorg-server
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; The test suite requires a running X server.
|
||||
|
||||
Reference in New Issue
Block a user