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.1.tar.xz
Download MD5 sum: 7f4ddb27f5fbede01bf4e12eb4c682c0
Download size: 5.8 MB
Estimated disk space required: 1.2 GB (16 MB installed), add 491 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)
At first, fix the install path of the API documentation:
sed -e "/OUTDIR/s|,| / 'librsvg-2.59.1', '--no-namespace-dir',|" \ -e '/output/s|Rsvg-2.0|librsvg-2.59.1|' \ -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
Now, as the root
user:
ninja install