guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

70/184: gnu: devhelp: Don't create icon cache.


From: guix-commits
Subject: 70/184: gnu: devhelp: Don't create icon cache.
Date: Wed, 27 Nov 2019 14:37:02 -0500 (EST)

kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.

commit b52afea6e97a1afbcede764449c5a3f66630cffb
Author: Efraim Flashner <address@hidden>
Date:   Thu Nov 7 12:28:21 2019 +0200

    gnu: devhelp: Don't create icon cache.
    
    * gnu/packages/gnome.scm (devhelp)[arguments]: Add phase to skip
    creating the gtk icon cache.
    [native-inputs]: Remove gtk+:bin.
---
 gnu/packages/gnome.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 093ff7f..2ab7c34 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3518,13 +3518,20 @@ both a traditional UI or a modern UI with a 
GtkHeaderBar.")
                 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
     (build-system meson-build-system)
     (arguments
-     '(#:glib-or-gtk? #t))
+     '(#:glib-or-gtk? #t
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-gtk-update-icon-cache
+           ;; Don't create 'icon-theme.cache'.
+           (lambda _
+             (substitute* "meson_post_install.py"
+               (("gtk-update-icon-cache") "true"))
+             #t)))))
     (native-inputs
      `(("intltool" ,intltool)
        ("itstool" ,itstool)
        ("gobject-introspection" ,gobject-introspection)
        ("glib:bin" ,glib "bin") ; for glib-mkmenus
-       ("gtk+:bin" ,gtk+ "bin")  ; for gtk-update-icon-cache
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("amtk" ,amtk)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]