[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/140: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
From: |
guix-commits |
Subject: |
136/140: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase. |
Date: |
Sun, 17 Oct 2021 23:11:17 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit c97143ca87cfad3325b303bdf70c2ce190adb669
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 5162783..13eebb6 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.
- 120/140: gnu: mit-krb5: Absorb 1.19.2 graft., (continued)
- 120/140: gnu: mit-krb5: Absorb 1.19.2 graft., guix-commits, 2021/10/17
- 126/140: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/10/17
- 124/140: gnu: libthai: Make datrie a normal native-input., guix-commits, 2021/10/17
- 123/140: gnu: pango: Update to 1.48.10., guix-commits, 2021/10/17
- 132/140: gnu: webkitgtk: Add a debug output., guix-commits, 2021/10/17
- 130/140: gnu: webkitgtk: Update to 2.34.0., guix-commits, 2021/10/17
- 134/140: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/10/17
- 131/140: gnu: pulseaudio: Add doxygen to fix build., guix-commits, 2021/10/17
- 139/140: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/10/17
- 122/140: gnu: heimdal: Fix build., guix-commits, 2021/10/17
- 136/140: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.,
guix-commits <=
- 138/140: profiles: Add a gdk-pixbuf-loaders-cache-file hook., guix-commits, 2021/10/17
- 140/140: gnu: gtk: Deprecate gdk-pixbuf+svg in favor of librsvg., guix-commits, 2021/10/17
- 125/140: gnu: glib: Update to 2.70, specify a bindir prefix and hide package., guix-commits, 2021/10/17
- 127/140: gnu: vala: Update to 0.54.2., guix-commits, 2021/10/17