guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: vinagre: Don't build icon-cache.


From: guix-commits
Subject: 04/05: gnu: vinagre: Don't build icon-cache.
Date: Sun, 30 Dec 2018 13:23:28 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 1839768ca1cf3c52424fb0f8f28f782476535d5f
Author: Efraim Flashner <address@hidden>
Date:   Sun Dec 30 19:41:36 2018 +0200

    gnu: vinagre: Don't build icon-cache.
    
    * gnu/packages/gnome.scm (vinagre)[arguments]: Add custom phase to
    remove 'gtk-update-icon-cache'.
    [native-inputs]: Remove gtk+-bin.
---
 gnu/packages/gnome.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2331b33..5dcf9b1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2230,6 +2230,12 @@ selection and URL hints.")))
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+         (add-before 'install 'skip-gtk-update-icon-cache
+           (lambda _
+             ;; Don't create 'icon-theme.cache'
+             (substitute* (find-files "." "^Makefile$")
+               (("gtk-update-icon-cache") (which "true")))
+             #t))
          (add-after 'unpack 'patch-configure
            (lambda _
              (substitute* "configure"
@@ -2239,8 +2245,7 @@ selection and URL hints.")))
      `(("pkg-config" ,pkg-config)
        ("intltool" ,intltool)
        ("itstool" ,itstool)
-       ("glib-bin" ,glib "bin")                   ;for glib-compile-schemas
-       ("gtk+-bin" ,gtk+ "bin")))                 ;for gtk-update-icon-cache
+       ("glib-bin" ,glib "bin")))                 ;for glib-compile-schemas
     (inputs
      `(("libxml2" ,libxml2)
        ("gtk-vnc" ,gtk-vnc)



reply via email to

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