mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: gnome-font-viewer: Fix thumbnail generation.
Previously, thumbnail generation failed, as the gnome-thumbnail-font command couldn't be found. Using an absolute filename in the .thumbnailer file fixes this. Cached failures within .cache/thumbnails/fail/ or similar may need removing before the effect of this change can be seen. * gnu/packages/gnome.scm (gnome-font-viewer)[arguments]: Add patch-thumbnailer phase.
This commit is contained in:
parent
b52bf66739
commit
540893a8cc
1 changed files with 10 additions and 0 deletions
|
@ -2252,6 +2252,16 @@ (define-public gnome-font-viewer
|
|||
(lambda _
|
||||
(substitute* "meson-postinstall.sh"
|
||||
(("update-desktop-database") (which "true")))
|
||||
#t))
|
||||
(add-after 'install 'patch-thumbnailer
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute*
|
||||
(string-append
|
||||
out
|
||||
"/share/thumbnailers/gnome-font-viewer.thumbnailer")
|
||||
(("gnome-thumbnail-font")
|
||||
(string-append out "/bin/gnome-thumbnail-font"))))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
|
|
Loading…
Reference in a new issue