Difference between revisions of "Librsvg"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
 
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.16/librsvg-2.16.0.tar.bz2
+
| http://ftp.gnome.org/pub/GNOME/sources/librsvg/{{Librsvg-Version2}}/librsvg-{{Librsvg-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Librsvg ==
+
{{Package-Introduction|librsvg is a component used within software applications to enable support for SVG-format scalable graphics.|http://librsvg.sourceforge.net/}}
 
 
The Librsvg package contains Librsvg libraries and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 24: Line 22:
 
* [[GNOME Virtual File System]]
 
* [[GNOME Virtual File System]]
 
* [[libgnomeprintui]]
 
* [[libgnomeprintui]]
* [[Mozilla]]
+
* [[Firefox]]
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]
 
* [[DocBook Utils]]
 
* [[DocBook Utils]]
Line 31: Line 29:
  
 
''--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.
 
''--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 ==
 
== Non-Multilib ==
Line 108: Line 109:
 
| libraries provide the functions to render Scalable Vector Graphics.
 
| libraries provide the functions to render Scalable Vector Graphics.
 
|}
 
|}
 +
 +
[[Category:Graphics Libraries]]

Latest revision as of 16:12, 19 March 2009

Download Source: http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.32/librsvg-2.32.1.tar.bz2

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.