summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-11-14 16:05:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-12-12 15:19:00 +0200
commitc89940a43afe1182266ccd17422e52d1e41e21d4 (patch)
tree613dc679ae01ffd9fad5551dddfb7989b3eaf1d4
parent801f1a7c2993e44384487241c8b44e870c05a09a (diff)
downloadguix-c89940a43afe1182266ccd17422e52d1e41e21d4.tar.gz
gnu: Use librsvg-bootstrap.
* gnu/packages/emacs.scm (emacs)[inputs]: Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
-rw-r--r--gnu/packages/emacs.scm4
-rw-r--r--gnu/packages/gtk.scm9
2 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 244a2e665c..4b243e98b6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -288,7 +288,9 @@
        ;; must also provide zlib as an input.
        ("libpng" ,libpng)
        ("zlib" ,zlib)
-       ("librsvg" ,(librsvg-for-system))
+       ("librsvg" ,@(if (target-x86-64?)
+                         (list librsvg-bootstrap)
+                         (list librsvg-2.40)))
        ("libxpm" ,libxpm)
        ("libxml2" ,libxml2)
        ("libice" ,libice)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 5d5e586a6e..cb658af389 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -862,7 +862,10 @@ is part of the GNOME accessibility project.")
     (outputs '("out" "bin" "doc" "debug"))
     (propagated-inputs
      (list atk cairo
-           (librsvg-for-system) glib pango))
+           (if (target-x86-64?)
+             librsvg-bootstrap
+             librsvg-2.40)
+           glib pango))
     (inputs
      (list cups
            libx11
@@ -958,7 +961,9 @@ application suites.")
            fribidi
            fontconfig
            freetype
-           (librsvg-for-system)
+           (if (target-x86-64?)
+             librsvg-bootstrap
+             librsvg-2.40)
            glib
            libcloudproviders-minimal
            libepoxy