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.59/librsvg-2.59.2.tar.xz
Download MD5 sum: 6d495c8bb2ee0cb0a62856c790a67298
Download size: 6.3 MB
Estimated disk space required: 1.2 GB (17 MB installed), add 492 MB for tests
Estimated build time: 0.6 SBU (add 0.4 SBU for tests; both using parallelism=4)
Cairo-1.18.2, cargo-c-0.10.5, gdk-pixbuf-2.42.12, Pango-1.54.0, and rustc-1.82.0
An Internet connection is needed for building this package.
GLib-2.82.2 (with GObject Introspection) and Vala-0.56.17
docutils-0.21.2 (for man pages), Gi-DocGen-2024.1 (for documentation), and Xorg Fonts (for tests)
First, fix the installation path of the API documentation:
sed -e "/OUTDIR/s|,| / 'librsvg-2.59.2', '--no-namespace-dir',|" \ -e '/output/s|Rsvg-2.0|librsvg-2.59.2|' \ -i doc/meson.build
Install librsvg by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
To test the results, issue:
ninja test
One test, Rust tests (rsvg), is known to fail.
Now, as the root
user:
ninja install