me
/
guix
Archived
1
0
Fork 0

gnu: gnome-builder: Fix build.

* gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add ‘patch-source’.
master
Liliana Marie Prikler 2024-05-18 21:48:14 +02:00
parent 682d5f4ac0
commit 2c6b046227
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 8 additions and 0 deletions

View File

@ -13420,6 +13420,14 @@ libraries. Applications do not need to be recompiled--or even restarted.")
#:configure-flags #~(list "-Dnetwork_tests=false" "-Ddocs=true") #:configure-flags #~(list "-Dnetwork_tests=false" "-Ddocs=true")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-source
(lambda _
;; With Gnome 4.14, GtkStackPage has an autoptr already, so it'd
;; get redefined. Drop this phase when updating gnome-builder to
;; 46.0 or newer. See also
;; <https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/7aaaecefc2ea8a37eaeae8b4d726d119d4eb8fa3>
(substitute* "src/libide/tweaks/ide-tweaks-window.c"
(("G_DEFINE_AUTOPTR_CLEANUP_FUNC \\(GtkStackPage, .*\\)") ""))))
(add-after 'unpack 'patch-meson (add-after 'unpack 'patch-meson
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "meson.build" (substitute* "meson.build"