librsvg-2.40.16

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

Package Information

librsvg Dependencies

Required

gdk-pixbuf-2.34.0, libcroco-0.6.11 and Pango-1.40.1

Recommended

Optional

GTK-Doc-1.25

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/librsvg

Installation of librsvg

Install librsvg by running the following commands:

sed -i "/seems to be moved/s/^/#/" ltmain.sh &&
./configure --prefix=/usr    \
            --enable-vala    \
            --disable-static &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed -i ... ltmain.sh: This sed silences several useless and annoying warnings generated by libtool.

--enable-vala: This switch enables building of the Vala bindings. Remove this switch if you don't have Vala-0.32.1 installed.

--disable-static: This switch prevents installation of static versions of the libraries.

--disable-introspection: Use this switch if you have not installed Gobject Introspection.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Contents

Installed Programs: rsvg-convert and rsvg-view-3
Installed Library: librsvg-2.so and libpixbufloader-svg.so
Installed Directories: /usr/include/librsvg-2.0 and /usr/share/gtk-doc/html/rsvg-2.0

Short Descriptions

rsvg-convert

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

rsvg-view-3

is a simple GTK+ 3 application that can be used to view an SVG file.

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.

Last updated on 2016-08-27 10:19:11 -0700