From c282c55d2267c09d2c5c203ac6c1ac45dd1224d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Mon, 22 Aug 2016 21:40:44 +0800 Subject: [PATCH] gnu: file-roller: Don't install 'icon-theme.cache' * gnu/packages/gnome.scm (file-roller)[arguments]: Add 'skip-gtk-update-icon-cache' phase. --- gnu/packages/gnome.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6f1729cee0..de3d2687d0 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3927,6 +3927,15 @@ share them with others via social networking and more.") (base32 "0cx3d8mp0pxz9wcsb2ph7g1zy22m8z5x0a4f5vgfzl0jmrcxpcy8")))) (build-system glib-or-gtk-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'install 'skip-gtk-update-icon-cache + (lambda _ + ;; Don't create 'icon-theme.cache' + (substitute* (find-files "data" "^Makefile$") + (("gtk-update-icon-cache") (which "true"))) + #t))))) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config)))