[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/203: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
From: |
guix-commits |
Subject: |
136/203: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase. |
Date: |
Wed, 3 Nov 2021 21:10:23 -0400 (EDT) |
apteryx 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.
- 114/203: gnu: rest: Use libsoup-minimal., (continued)
- 114/203: gnu: rest: Use libsoup-minimal., guix-commits, 2021/11/03
- 118/203: gnu: cmake-bootstrap: Update to 3.21.3., guix-commits, 2021/11/03
- 120/203: gnu: mit-krb5: Absorb 1.19.2 graft., guix-commits, 2021/11/03
- 126/203: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/11/03
- 139/203: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/03
- 145/203: gnu: mariadb: Only run the main test suite to avoid flaky tests., guix-commits, 2021/11/03
- 132/203: gnu: webkitgtk: Add a debug output., guix-commits, 2021/11/03
- 144/203: gnu: cdparanoia: Disable parallel build., guix-commits, 2021/11/03
- 135/203: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/11/03
- 157/203: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/03
- 136/203: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.,
guix-commits <=
- 161/203: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/03
- 162/203: gnu: zxing-cpp: Update to 1.2.0-0.00783db., guix-commits, 2021/11/03
- 50/203: gnu: lib2geom: Update to 1.1., guix-commits, 2021/11/03
- 121/203: gnu: util-linux: Globally disable the lsns test., guix-commits, 2021/11/03
- 150/203: gnu: curl: Update to 7.79.1., guix-commits, 2021/11/03
- 171/203: gnu: gtkmm: Update to 4.4.0., guix-commits, 2021/11/03
- 168/203: gnu: Add cling., guix-commits, 2021/11/03
- 186/203: gnu: libblockdev: Update to 2.26., guix-commits, 2021/11/03
- 148/203: gnu: jsoncpp: Apply patch to regular package., guix-commits, 2021/11/03
- 151/203: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/03