[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/217: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
From: |
guix-commits |
Subject: |
136/217: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase. |
Date: |
Sun, 14 Nov 2021 19:21:04 -0500 (EST) |
vagrantc pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 5a4ae3d21d29bc08f3d17b92d58d7c42aad4bb1b
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.
- 108/217: gnu: lsof: Fix indentation., (continued)
- 108/217: gnu: lsof: Fix indentation., guix-commits, 2021/11/14
- 113/217: gnu: gusb-minimal: Introduce minimal variant., guix-commits, 2021/11/14
- 109/217: gnu: json-glib-minimal: Introduce minimal variant., guix-commits, 2021/11/14
- 117/217: gnu: graphviz: Update to 2.49.0., guix-commits, 2021/11/14
- 121/217: gnu: util-linux: Globally disable the lsns test., guix-commits, 2021/11/14
- 124/217: gnu: libthai: Make datrie a normal native-input., guix-commits, 2021/11/14
- 125/217: gnu: glib: Update to 2.70, specify a bindir prefix and hide package., guix-commits, 2021/11/14
- 126/217: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/11/14
- 127/217: gnu: vala: Update to 0.54.2., guix-commits, 2021/11/14
- 133/217: gnu: python-flit: Update to 3.3.0., guix-commits, 2021/11/14
- 136/217: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.,
guix-commits <=
- 135/217: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/11/14
- 137/217: build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase., guix-commits, 2021/11/14
- 141/217: gnu: librsvg: Preserve the loaders.cache file., guix-commits, 2021/11/14
- 142/217: gnu: gawk: Use regular bash to cope with test suite failures., guix-commits, 2021/11/14
- 150/217: gnu: curl: Update to 7.79.1., guix-commits, 2021/11/14
- 146/217: gnu: nspr: Normalize inputs., guix-commits, 2021/11/14
- 144/217: gnu: cdparanoia: Disable parallel build., guix-commits, 2021/11/14
- 149/217: gnu: meson: Update to 0.60.0., guix-commits, 2021/11/14
- 148/217: gnu: jsoncpp: Apply patch to regular package., guix-commits, 2021/11/14
- 157/217: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/14