aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-13 08:27:09 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 15:43:21 -0400
commitdf3391c0309443ac37f9a9a6b1038a85454b8ee6 (patch)
tree1186ec8bd7ec8b08e3a249caf43b70c1e5b897e0
parent7c88cfdb01bccf2ab2ffb5f471b1c3a17904b3fa (diff)
downloadguix-df3391c0309443ac37f9a9a6b1038a85454b8ee6.tar
guix-df3391c0309443ac37f9a9a6b1038a85454b8ee6.tar.gz
gnu: librsvg: Fix gdk-pixbuf-thumbnailer file name.
* gnu/packages/gnome.scm (librsvg) [arguments]: Add patch-gdk-pixbuf-thumbnailer phase.
-rw-r--r--gnu/packages/gnome.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5c6a7b812e..1c85faea17 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -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