* [bug#56850] [PATCH staging] gnu: gtk+@2: Fix build.
@ 2022-07-30 6:32 Liliana Marie Prikler
0 siblings, 0 replies; only message in thread
From: Liliana Marie Prikler @ 2022-07-30 6:32 UTC (permalink / raw)
To: 56850
* gnu/packages/gtk.scm (gtk+-2)[arguments]<#:imported-modules, #:modules>
<#:disallowed-references, #:parallel-tests?>: Copy from gtk+-3.
<#:phases>: Add ‘generate-gdk-pixbuf-loaders-cache-file’ from
glib-or-gtk-build-system.
---
gnu/packages/gtk.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index cc25fac2aa..c6fd5fd9cb 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -957,7 +957,13 @@ (define-public gtk+-2
python-wrapper
xorg-server-for-tests))
(arguments
- `(#:parallel-tests? #f
+ `(#:imported-modules ((guix build glib-or-gtk-build-system)
+ ,@%gnu-build-system-modules)
+ #:modules ((guix build utils)
+ (guix build gnu-build-system)
+ ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:))
+ #:disallowed-references (,xorg-server-for-tests)
+ #:parallel-tests? #f
#:configure-flags
(list "--with-xinput=yes"
(string-append "--with-html-dir="
@@ -965,6 +971,9 @@ (define-public gtk+-2
"/share/gtk-doc/html"))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
+ (assoc-ref glib-or-gtk:%standard-phases
+ 'generate-gdk-pixbuf-loaders-cache-file))
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "gtk/Makefile.in"
--
2.37.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-31 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-30 6:32 [bug#56850] [PATCH staging] gnu: gtk+@2: Fix build Liliana Marie Prikler
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).