gnu: Use librsvg-bootstrap.

* gnu/packages/emacs.scm (emacs)[inputs]: Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
This commit is contained in:
Efraim Flashner 2021-11-14 16:05:17 +02:00
parent 801f1a7c29
commit c89940a43a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 10 additions and 3 deletions

View file

@ -288,7 +288,9 @@ (define* (emacs-byte-compile-directory dir)
;; 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)

View file

@ -862,7 +862,10 @@ (define-public gtk+-2
(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 @@ (define-public gtk+
fribidi
fontconfig
freetype
(librsvg-for-system)
(if (target-x86-64?)
librsvg-bootstrap
librsvg-2.40)
glib
libcloudproviders-minimal
libepoxy