Librsvg

From CBLFS
Jump to: navigation, search
Download Source: http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.32/librsvg-2.32.1.tar.bz2

Contents

Introduction to Librsvg

librsvg is a component used within software applications to enable support for SVG-format scalable graphics.

Project Homepage: http://librsvg.sourceforge.net/

Dependencies

Required

Recommended

Optional

Additional Configuration Options

--disable-gtk-doc: This parameter prevents the rebuilding of documentation during the make command. It will also prevent the existing documentation in the source tree from being installed.

--enable-svgz: If you have libgsf installed and want support for compressed svg images (.svgz), add this parameter to the configure options.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Programs: rsvg, rsvg-convert and rsvg-view
Installed Libraries: librsvg-2.{so,a}, GTK+ modules and optionally a Mozilla plugin
Installed Directories: /usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg

Short Descriptions

rsvg is used to covert SVG images into PNG, JPEG and ICO raster images.
rsvg-view is used to view an SVG file in an X window.
librsvg-2.{so,a} libraries provide the functions to render Scalable Vector Graphics.
Personal tools