librsvg-2.59.1

Introduction to librsvg

The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.

[Note]

Note

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.

Package Information

librsvg Dependencies

Required

Cairo-1.18.2, cargo-c-0.10.4, gdk-pixbuf-2.42.12, Pango-1.54.0, and rustc-1.81.0

[Note]

Note

An Internet connection is needed for building this package.

Recommended

Optional

docutils-0.21.2 (for man pages), Gi-DocGen-2024.1 (for documentation), and Xorg Fonts (for tests)

Installation of librsvg

Install librsvg by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release .. &&
meson compile

To test the results, issue:

meson test --print-errorlogs --no-rebuild

One test, C API tests, is known to fail.

Now, as the root user:

meson install --no-rebuild 

Contents

Installed Programs: rsvg-convert
Installed Library: librsvg-2.so and libpixbufloader-svg.so (installed in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders)
Installed Directories: /usr/include/librsvg-2.0 and /usr/share/doc/librsvg-2.59.1

Short Descriptions

rsvg-convert

is used to convert images into PNG, PDF, PS, SVG and other formats

librsvg-2.so

provides the functions to render Scalable Vector Graphics

libpixbufloader-svg.so

is the Gdk Pixbuf plugin that allows GTK+ applications to render Scalable Vector Graphics images