The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.
This package is known to build and work properly using an LFS 12.3 platform.
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.9, gdk-pixbuf-2.42.12, Pango-1.56.1, and rustc-1.84.1
An Internet connection is needed for building this package. The system certificate store may need to be set up with make-ca-1.15 before building this package.
GLib-2.82.4 (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