From df3391c0309443ac37f9a9a6b1038a85454b8ee6 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 13 Apr 2023 08:27:09 -0400 Subject: gnu: librsvg: Fix gdk-pixbuf-thumbnailer file name. * gnu/packages/gnome.scm (librsvg) [arguments]: Add patch-gdk-pixbuf-thumbnailer phase. --- gnu/packages/gnome.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages') 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 @@ (define-public librsvg ("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 -- cgit v1.2.3