librsvg-2.61.3

Introduction to librsvg

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.4 platform.

Package Information

librsvg Dependencies

Required

Cairo-1.18.4, cargo-c-0.10.18, and Pango-1.57.0

Recommended

Installation of librsvg

First, fix the installation path of the API documentation:

sed -e "/OUTDIR/s|,| / 'librsvg-2.61.3', '--no-namespace-dir',|" \
    -e '/output/s|Rsvg-2.0|librsvg-2.61.3|'                      \
    -i doc/meson.build

Prepare librsvg by running the following commands:

meson setup build --prefix=/usr --buildtype=release

Now Build the package, issue:

ninja -C build

To test the results, issue:

ninja -v -C build test

Now, as the root user:

ninja -C build install

Contents

Installed Programs: rsvg-convert
Installed Library: librsvg-2.so
Installed Directories: /usr/include/librsvg-2.0 and /usr/share/doc/librsvg-2.61.3

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