gnu: eog: Don't create icon cache.

* gnu/packages/gnome.scm (eog)[arguments]: Add phase to skip creating
the gtk icon cache.
[native-inputs]: Remove gtk+:bin.
This commit is contained in:
Efraim Flashner 2019-11-07 12:39:05 +02:00
parent d51b19adab
commit 7a0346654d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4141,6 +4141,12 @@ (define-public eog
(assoc-ref %outputs "out") "/lib/eog"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))
#t))
(add-after 'install 'wrap-eog
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@ -4154,7 +4160,6 @@ (define-public eog
`(("intltool" ,intltool)
("itstool" ,itstool)
("glib" ,glib "bin")
("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config)
("xmllint" ,libxml2)))