gnu: viewnior: Don't build icon-theme.cache.
* gnu/packages/image-viewers.scm (viewnior)[arguments]: Add phase to disable building the icon-theme.cache.
This commit is contained in:
parent
2d5bf32b8a
commit
ea77385c4c
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2013, 2017 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
||||||
;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
|
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
|
||||||
;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
|
;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
|
||||||
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
|
@ -214,7 +214,13 @@ it and customize it for your needs.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'autogen
|
(add-after 'unpack 'autogen
|
||||||
(lambda _
|
(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
|
(native-inputs
|
||||||
`(("automake" ,automake)
|
`(("automake" ,automake)
|
||||||
("autoconf" ,autoconf)
|
("autoconf" ,autoconf)
|
||||||
|
|
Loading…
Reference in New Issue