me
/
guix
Archived
1
0
Fork 0

gnu: librsvg: Fix gdk-pixbuf-thumbnailer file name.

* gnu/packages/gnome.scm (librsvg)
[arguments]: Add patch-gdk-pixbuf-thumbnailer phase.
master
Maxim Cournoyer 2023-04-13 08:27:09 -04:00
parent 7c88cfdb01
commit df3391c030
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 8 additions and 0 deletions

View File

@ -3628,6 +3628,14 @@ for dealing with different structured file formats.")
("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-2))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-gdk-pixbuf-thumbnailer
(lambda* (#:key inputs #:allow-other-keys)
;; The gdk-pixbuf-thumbnailer location is assumed to be relative
;; to librsvg's own installation prefix (see:
;; https://gitlab.gnome.org/GNOME/librsvg/-/issues/955).
(substitute* "gdk-pixbuf-loader/librsvg.thumbnailer.in"
(("@bindir@/gdk-pixbuf-thumbnailer")
(search-input-file inputs "bin/gdk-pixbuf-thumbnailer")))))
(add-after 'unpack 'prepare-for-build
(lambda _
;; In lieu of #:make-flags