From b0a7c0c3e1cb881c1ae693d0da32aba315525aab Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Nov 2019 09:20:47 +0200 Subject: 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 e49e0b6db6..dfb00c7547 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 -- cgit 1.4.1