[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/227: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
From: |
guix-commits |
Subject: |
136/227: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase. |
Date: |
Thu, 11 Nov 2021 12:30:25 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit 7541598fe28b93453814e19e52a778779717dc1b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Oct 16 02:23:47 2021 -0400
gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
* gnu/packages/gtk.scm (gtk+)[arguments]: Import the (guix build
glib-or-gtk-build-system) module and put it in scope.
[phases]{generate-gdk-pixbuf-loaders-cache-file}: New phase.
(gtk): Likewise.
---
gnu/packages/gtk.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8f57f66..8c3d554 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1039,7 +1039,12 @@ application suites.")
("xorg-server" ,xorg-server-for-tests)
("xsltproc" ,libxslt)))
(arguments
- `(#:disallowed-references (,xorg-server-for-tests)
+ `(#: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)
;; 47 MiB goes to "out" (24 of which is locale data!), and 26 MiB goes
;; to "doc".
#:configure-flags (list (string-append "--with-html-dir="
@@ -1055,6 +1060,9 @@ application suites.")
"--enable-broadway-backend")
#: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* "testsuite/gtk/Makefile.in"
@@ -1119,7 +1127,10 @@ application suites.")
(build-system meson-build-system)
(outputs '("out" "bin" "doc"))
(arguments
- `(#:configure-flags
+ `(#:modules ((guix build utils)
+ (guix build meson-build-system)
+ ((guix build glib-or-gtk-build-system) #:prefix
glib-or-gtk:))
+ #:configure-flags
(list
"-Dbroadway-backend=true" ;for broadway display-backend
"-Dcloudproviders=enabled" ;for cloud-providers support
@@ -1133,6 +1144,9 @@ application suites.")
"-Dman-pages=true")
#: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 'patch
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
;; Correct DTD resources of docbook.
- 154/227: gnu: python-dbusmock: Update to 0.24.0., (continued)
- 154/227: gnu: python-dbusmock: Update to 0.24.0., guix-commits, 2021/11/11
- 158/227: gnu: gdk-pixbuf: Remove obsolete jasper support., guix-commits, 2021/11/11
- 162/227: gnu: zxing-cpp: Update to 1.2.0-0.00783db., guix-commits, 2021/11/11
- 163/227: gnu: python-numpy: Update to 1.21.3 and cleanup., guix-commits, 2021/11/11
- 128/227: gnu: libsoup: Reverse inheritance relationship with libsoup-minimal., guix-commits, 2021/11/11
- 130/227: gnu: webkitgtk: Use libsoup 3 and build with GCC., guix-commits, 2021/11/11
- 118/227: gnu: cmake-bootstrap: Update to 3.21.3., guix-commits, 2021/11/11
- 122/227: gnu: heimdal: Fix build., guix-commits, 2021/11/11
- 126/227: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/11/11
- 127/227: gnu: vala: Update to 0.54.2., guix-commits, 2021/11/11
- 136/227: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.,
guix-commits <=
- 137/227: build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase., guix-commits, 2021/11/11
- 139/227: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/11
- 144/227: gnu: cdparanoia: Disable parallel build., guix-commits, 2021/11/11
- 151/227: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/11
- 146/227: gnu: nspr: Normalize inputs., guix-commits, 2021/11/11
- 152/227: gnu: python-dbus: Update to 1.2.18., guix-commits, 2021/11/11
- 166/227: gnu: python2-lit: Remove package., guix-commits, 2021/11/11
- 167/227: gnu: python-lit: Update to 12.0.1., guix-commits, 2021/11/11
- 172/227: gnu: dconf: Update to 0.40.0., guix-commits, 2021/11/11
- 176/227: gnu: Add libxcvt., guix-commits, 2021/11/11