guix-commits
[Top][All Lists]
Advanced

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

03/48: gnu: evince: Don't install 'icon-theme.cache'.


From: ???
Subject: 03/48: gnu: evince: Don't install 'icon-theme.cache'.
Date: Tue, 23 Aug 2016 12:11:48 +0000 (UTC)

iyzsong pushed a commit to branch core-updates
in repository guix.

commit 554b2dac09bef4dd0df4da6b869ebb4eb2ad2b55
Author: 宋文武 <address@hidden>
Date:   Sat Aug 6 18:34:21 2016 +0800

    gnu: evince: Don't install 'icon-theme.cache'.
    
    * 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 e133fcc..9462c70 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)



reply via email to

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