gnu: epiphany: Don't build icon cache.

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

View file

@ -4487,6 +4487,14 @@ (define-public epiphany
;; FAIL
'(#:tests? #f
#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "post_install.py"
(("gtk-update-icon-cache") "true"))
#t)))
#:configure-flags
;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
(list (string-append "-Dc_link_args=-Wl,-rpath="
@ -4496,7 +4504,6 @@ (define-public epiphany
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
("glib:bin" ,glib "bin") ; for glib-mkenums
("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
("intltool" ,intltool)
("itstool" ,itstool)
("pkg-config" ,pkg-config)