diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-10-16 02:23:47 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-11 12:18:19 -0500 |
commit | 7541598fe28b93453814e19e52a778779717dc1b (patch) | |
tree | 7c8e6871cc6b2bee7286205c5916bd160393f3af /gnu/packages/gtk.scm | |
parent | 00c78f8dbcfeee1bbfdace72f0cc73e8b2035929 (diff) | |
download | guix-7541598fe28b93453814e19e52a778779717dc1b.tar guix-7541598fe28b93453814e19e52a778779717dc1b.tar.gz |
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.
Diffstat (limited to 'gnu/packages/gtk.scm')
-rw-r--r-- | gnu/packages/gtk.scm | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 8f57f660c4..8c3d554ddd 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. |