The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/librsvg/2.56/librsvg-2.56.2.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/librsvg/2.56/librsvg-2.56.2.tar.xz
Download MD5 sum: 3a73cf8b41be9c231885801f2ad49cd6
Download size: 5.4 MB
Estimated disk space required: 747 MB (25 MB installed), add 378 MB for tests
Estimated build time: 0.7 SBU (Add 0.8 SBU for tests; both using parallelism=4)
Cairo-1.17.6, gdk-pixbuf-2.42.10, Pango-1.50.14, and rustc-1.71.0
An Internet connection is needed for building this package.
gobject-introspection-1.76.1 and Vala-0.56.9
docutils-0.20.1 (for man pages), Gi-DocGen-2023.1 (for documentation), and Xorg Fonts (for tests)
Install librsvg by running the following commands:
./configure --prefix=/usr \ --enable-vala \ --disable-static \ --docdir=/usr/share/doc/librsvg-2.56.2 && make
To test the results, issue:
sed 's/-Z unstable-options//' -i Makefile && make check
Now, as the root
user:
make DOC_INSTALL_DIR='$(docdir)' install
If you installed the package on to your system using a
“DESTDIR” method, an important file
was not installed and should be copied and/or generated. Generate
it using the following command as the root
user:
gdk-pixbuf-query-loaders --update-cache
--enable-vala
: This switch
enables building of the Vala bindings. Remove this switch if you
don't have Vala-0.56.9 installed.
--disable-static
: This
switch prevents installation of static versions of the libraries.
DOC_INSTALL_DIR='$(docdir)'
: This
override ensures installing the API documentation into the expected
location if Gi-DocGen-2023.1 is installed.
--disable-introspection
: Use this
switch if you have not installed Gobject
Introspection.
--disable-gtk-doc
: This switch prevents
building the API documentation, even if Gi-DocGen-2023.1 (despite the name of the
option) is available.