Subject: [bug#51845] [PATCH 2/2] gnu: Use librsvg-bootstrap.

From: Efraim Flashner <[email-masked]>
Date: Sun, 14 Nov 2021 16:14:40 +0200

* gnu/packages/emacs.scm (inputs): Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
---
 gnu/packages/emacs.scm | 2 +-
 gnu/packages/gtk.scm   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 734f3dfaa3..3a5215b31a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -269,7 +269,7 @@ (define* (emacs-byte-compile-directory dir)
        ;; supported well on every architecture yet.
        ,@(if (string-prefix? "x86_64" (or (%current-target-system)
                                           (%current-system)))
-             `(("librsvg" ,librsvg))
+             `(("librsvg" ,librsvg-bootstrap))
              '())
        ("libxpm" ,libxpm)
        ("libxml2" ,libxml2)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 199ca13981..4dfeba4b7f 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -867,7 +867,7 @@ (define-public gtk+-2
        ;; Rust is not supported well on every architecture yet.
        ("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system)
                                                        (%current-system)))
-                          librsvg
+                          librsvg-bootstrap
                           gdk-pixbuf))
        ("glib" ,glib)
        ("pango" ,pango)))
@@ -969,7 +969,7 @@ (define-public gtk+
        ;; SVG support is optional and requires librsvg, which pulls in rust.
        ;; Rust is not supported well on every architecture yet.
        ("gdk-pixbuf" ,(if (target-x86-64?)
-                          librsvg
+                          librsvg-bootstrap
                           gdk-pixbuf))
        ("glib" ,glib)
        ("libcloudproviders" ,libcloudproviders-minimal)
-- 
2.33.1