gnu: dino: Fix icons when used in pure shells.
* gnu/packages/messaging.scm (dino)[#:phases]: Add ‘generate-gdk-pixbuf-loaders-cache-file’. <wrap>: Also wrap “GDK_PIXBUF_MODULE_FILE”. [inputs]: Add adwaita-icon-theme.
This commit is contained in:
parent
8e883dc821
commit
2b7e7b4a13
1 changed files with 8 additions and 2 deletions
|
@ -1398,13 +1398,18 @@ Encryption to Gajim.")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; For A/V support.
|
;; For A/V support.
|
||||||
|
(add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
|
||||||
|
(assoc-ref glib-or-gtk:%standard-phases
|
||||||
|
'generate-gdk-pixbuf-loaders-cache-file))
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(dino (string-append out "/bin/dino"))
|
(dino (string-append out "/bin/dino"))
|
||||||
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
|
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
|
||||||
(wrap-program dino
|
(wrap-program dino
|
||||||
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))))
|
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
|
||||||
|
`("GDK_PIXBUF_MODULE_FILE" =
|
||||||
|
(,(getenv "GDK_PIXBUF_MODULE_FILE")))))))
|
||||||
(add-after 'install 'glib-or-gtk-wrap
|
(add-after 'install 'glib-or-gtk-wrap
|
||||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
|
@ -1421,7 +1426,8 @@ Encryption to Gajim.")
|
||||||
pkg-config
|
pkg-config
|
||||||
vala))
|
vala))
|
||||||
(inputs
|
(inputs
|
||||||
(list atk
|
(list adwaita-icon-theme
|
||||||
|
atk
|
||||||
cairo
|
cairo
|
||||||
librsvg
|
librsvg
|
||||||
glib
|
glib
|
||||||
|
|
Reference in a new issue