[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] gnu: evince: Don't install 'icon-theme.cache'.
From: |
宋文武 |
Subject: |
[PATCH 3/5] gnu: evince: Don't install 'icon-theme.cache'. |
Date: |
Sat, 6 Aug 2016 18:46:14 +0800 |
* 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
- [PATCH 1/5] gnu: gtk+: Add "bin" output., 宋文武, 2016/08/06
- [PATCH 3/5] gnu: evince: Don't install 'icon-theme.cache'.,
宋文武 <=
- [PATCH 4/5] gnu: gnome-icon-theme, adwaita-icon-theme: Don't install 'icon-theme.cache'., 宋文武, 2016/08/06
- [PATCH 5/5] gnu: gnome-themes-standard: Don't install 'icon-theme.cache'., 宋文武, 2016/08/06
- Re: [PATCH 1/5] gnu: gtk+: Add "bin" output., Leo Famulari, 2016/08/13
- Re: [PATCH 1/5] gnu: gtk+: Add "bin" output., 宋文武, 2016/08/23
- Re: [PATCH 1/5] gnu: gtk+: Add "bin" output., Ludovic Courtès, 2016/08/29