From ea77385c4c672aabc866c466ac8132b645510a6b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 9 Aug 2017 14:08:23 +0300 Subject: gnu: viewnior: Don't build icon-theme.cache. * gnu/packages/image-viewers.scm (viewnior)[arguments]: Add phase to disable building the icon-theme.cache. --- gnu/packages/image-viewers.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 644780b5e9..b8a8af9280 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2017 Ludovic Courtès ;;; Copyright © 2014 Ian Denhardt ;;; Copyright © 2015, 2016 Alex Kost -;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016, 2017 Efraim Flashner ;;; Copyright © 2017 Alex Griffin ;;; Copyright © 2017 ng0 ;;; Copyright © 2017 Mathieu Othacehe @@ -214,7 +214,13 @@ it and customize it for your needs.") (modify-phases %standard-phases (add-after 'unpack 'autogen (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) + (zero? (system* "sh" "autogen.sh")))) + (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 `(("automake" ,automake) ("autoconf" ,autoconf) -- cgit v1.2.3