guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: gnome-maps: Don't create icon cache.


From: guix-commits
Subject: 01/01: gnu: gnome-maps: Don't create icon cache.
Date: Wed, 6 Nov 2019 02:21:26 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit b0a7c0c3e1cb881c1ae693d0da32aba315525aab
Author: Efraim Flashner <address@hidden>
Date:   Wed Nov 6 09:20:47 2019 +0200

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

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index e49e0b6..dfb00c7 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -123,6 +123,12 @@ topology functions.")
      `(#: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))
          (add-after 'install 'wrap
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out"))
@@ -152,8 +158,7 @@ topology functions.")
                                                  ,geocode-glib-path)))
                #t))))))
     (native-inputs
-     `(("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
-       ("gobject-introspection" ,gobject-introspection)
+     `(("gobject-introspection" ,gobject-introspection)
        ("intltool" ,intltool)
        ("pkg-config" ,pkg-config)))
     (inputs



reply via email to

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