[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/169: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
From: |
guix-commits |
Subject: |
136/169: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase. |
Date: |
Thu, 28 Oct 2021 02:08:58 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit a854ba323c84300ca6a9a01d39b64cc5dec12809
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 | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8f57f66..22106c1 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,12 @@ application suites.")
(build-system meson-build-system)
(outputs '("out" "bin" "doc"))
(arguments
- `(#:configure-flags
+ `(#: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:))
+ #:configure-flags
(list
"-Dbroadway-backend=true" ;for broadway display-backend
"-Dcloudproviders=enabled" ;for cloud-providers support
@@ -1133,6 +1146,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.
- 123/169: gnu: pango: Update to 1.48.10., (continued)
- 123/169: gnu: pango: Update to 1.48.10., guix-commits, 2021/10/28
- 125/169: gnu: glib: Update to 2.70, specify a bindir prefix and hide package., guix-commits, 2021/10/28
- 124/169: gnu: libthai: Make datrie a normal native-input., guix-commits, 2021/10/28
- 126/169: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/10/28
- 127/169: gnu: vala: Update to 0.54.2., guix-commits, 2021/10/28
- 129/169: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/10/28
- 130/169: gnu: webkitgtk: Update to 2.34.1., guix-commits, 2021/10/28
- 131/169: gnu: pulseaudio: Add doxygen to fix build., guix-commits, 2021/10/28
- 134/169: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/10/28
- 135/169: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/10/28
- 136/169: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.,
guix-commits <=
- 137/169: build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase., guix-commits, 2021/10/28
- 139/169: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/10/28
- 142/169: gnu: gawk: Use regular bash to cope with test suite failures., guix-commits, 2021/10/28
- 113/169: gnu: gusb-minimal: Introduce minimal variant., guix-commits, 2021/10/28
- 146/169: gnu: nspr: Normalize inputs., guix-commits, 2021/10/28
- 138/169: profiles: Add a gdk-pixbuf-loaders-cache-file hook., guix-commits, 2021/10/28
- 143/169: gnu: elogind: Update to 246.10., guix-commits, 2021/10/28
- 153/169: gnu: python-dbus: Update to 1.2.18., guix-commits, 2021/10/28
- 158/169: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/10/28
- 161/169: gnu: mesa: Replace obsolete vulkan-overlay-layer build option., guix-commits, 2021/10/28