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

* gnu/packages/gnome.scm (evince)[arguments]: Add 'skip-gtk-update-icon-cache'
phase.
This commit is contained in:
宋文武 2016-08-06 18:34:21 +08:00
parent d1fb4af6b8
commit 554b2dac09
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 9 additions and 1 deletions

View File

@ -480,7 +480,15 @@ forgotten when the session ends.")
;; FIXME: Tests fail with: ;; FIXME: Tests fail with:
;; ImportError: No module named gi.repository ;; ImportError: No module named gi.repository
;; Where should that module come from? ;; 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 (inputs
`(("libspectre" ,libspectre) `(("libspectre" ,libspectre)
("djvulibre" ,djvulibre) ("djvulibre" ,djvulibre)