From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 3/5] gnu: evince: Don't install 'icon-theme.cache'. Date: Sat, 6 Aug 2016 18:46:14 +0800 Message-ID: <20160806104616.13089-3-iyzsong@gmail.com> References: <20160806104616.13089-1-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVz8G-0000RB-1s for guix-devel@gnu.org; Sat, 06 Aug 2016 06:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVz8A-0005GS-3G for guix-devel@gnu.org; Sat, 06 Aug 2016 06:47:07 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:60073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVz89-0005GO-Sy for guix-devel@gnu.org; Sat, 06 Aug 2016 06:47:02 -0400 In-Reply-To: <20160806104616.13089-1-iyzsong@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/gnome.scm (evince)[arguments]: Add 'skip-gtk-update-icon-cache' phase. --- gnu/packages/gnome.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2038f8f..8be68ab 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -480,7 +480,15 @@ forgotten when the session ends.") ;; FIXME: Tests fail with: ;; ImportError: No module named gi.repository ;; Where should that module come from? - #:tests? #f)) + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) (inputs `(("libspectre" ,libspectre) ("djvulibre" ,djvulibre) -- 2.8.4