2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2012-04-17 06:34:59 +08:00
|
|
|
<!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.36/librsvg-&librsvg-version;.tar.xz">
|
|
|
|
<!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.36/librsvg-&librsvg-version;.tar.xz">
|
|
|
|
<!ENTITY librsvg-md5sum "89d483f30a7c77245b7ee02faaea5a5a">
|
|
|
|
<!ENTITY librsvg-size "496 KB">
|
|
|
|
<!ENTITY librsvg-buildsize "15 MB">
|
2012-01-25 10:13:24 +08:00
|
|
|
<!ENTITY librsvg-time "0.5 SBU">
|
2004-06-15 12:33:15 +08:00
|
|
|
]>
|
|
|
|
|
2002-09-04 11:17:25 +08:00
|
|
|
<sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
|
2005-05-05 02:06:44 +08:00
|
|
|
<?dbhtml filename="librsvg.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2005-10-06 13:51:22 +08:00
|
|
|
<title>librsvg-&librsvg-version;</title>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
|
|
|
<indexterm zone="librsvg">
|
|
|
|
<primary sortas="a-Librsvg">Librsvg</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2005-10-06 13:51:22 +08:00
|
|
|
<title>Introduction to librsvg</title>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
|
|
|
The <application>librsvg</application> package contains
|
|
|
|
<filename class="libraryfile">librsvg</filename> libraries and tools used
|
|
|
|
to manipulate, convert and view Scalable Vector Graphic (SVG) images.
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
2012-05-07 20:51:24 +08:00
|
|
|
&lfs71_checked;
|
2009-08-01 05:36:53 +08:00
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&librsvg-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&librsvg-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &librsvg-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &librsvg-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &librsvg-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &librsvg-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-10-06 13:51:22 +08:00
|
|
|
<bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-04-17 06:34:59 +08:00
|
|
|
<para role="required">
|
2012-05-08 19:29:42 +08:00
|
|
|
<xref linkend="gdk-pixbuf"/>,
|
|
|
|
<xref linkend="libcroco"/> and
|
|
|
|
<xref linkend="pango"/>.
|
2012-04-17 06:34:59 +08:00
|
|
|
</para>
|
2008-05-09 20:42:27 +08:00
|
|
|
|
2012-05-08 19:27:17 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="gtk2"/> and
|
|
|
|
<xref linkend="gtk3"/>.
|
|
|
|
</para>
|
|
|
|
|
2012-05-01 20:35:38 +08:00
|
|
|
<bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="gobject-introspection"/>
|
|
|
|
</para>
|
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-04-17 06:34:59 +08:00
|
|
|
<para role="optional">
|
2012-05-08 19:27:17 +08:00
|
|
|
<xref linkend="docbook-utils"/> and
|
2012-04-17 06:34:59 +08:00
|
|
|
<xref linkend="gtk-doc"/>
|
|
|
|
</para>
|
2008-05-09 20:42:27 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/librsvg"/></para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2005-10-06 13:51:22 +08:00
|
|
|
<title>Installation of librsvg</title>
|
2005-09-15 11:06:05 +08:00
|
|
|
|
2005-05-31 05:35:14 +08:00
|
|
|
<para>Install <application>librsvg</application> by running the following
|
2005-05-05 02:06:44 +08:00
|
|
|
commands:</para>
|
|
|
|
|
2012-05-07 20:51:24 +08:00
|
|
|
<screen><userinput>sed -i '/_gir_CFLAGS/s#$# -I/usr/include/cairo#' Makefile.in &&
|
|
|
|
./configure --prefix=/usr --disable-static &&
|
2005-05-05 02:06:44 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2009-08-01 05:36:53 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
2005-09-15 11:06:05 +08:00
|
|
|
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-05-07 20:51:24 +08:00
|
|
|
<para>
|
|
|
|
<command>sed -i '/_gir_CFLAGS/s#$# -I/usr/include/cairo#'
|
|
|
|
Makefile.in</command>: This sed fixes a problem compiling if you have
|
|
|
|
Gobject-Introspection installed. It has no effect if you've not installed
|
|
|
|
Gobject-Introspection.
|
|
|
|
</para>
|
|
|
|
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
|
|
|
<option>--disable-introspection</option>: Add this option if you've not
|
|
|
|
installed Gobject Introspection.
|
|
|
|
</para>
|
|
|
|
|
2012-05-08 19:27:17 +08:00
|
|
|
<para>
|
|
|
|
<option>--disable-gtk-theme</option>: Add this option if you've not
|
|
|
|
installed Gtk+ 2.
|
|
|
|
</para>
|
|
|
|
|
2012-04-17 06:34:59 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-01 20:35:38 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2012-01-25 10:13:24 +08:00
|
|
|
|
2012-04-17 06:34:59 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-01 20:35:38 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2005-05-05 02:06:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2012-04-17 06:34:59 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-05-05 02:06:44 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-04-17 06:34:59 +08:00
|
|
|
<seg>
|
2012-05-08 00:48:52 +08:00
|
|
|
rsvg-convert and
|
|
|
|
rsvg-view-3.
|
2012-04-17 06:34:59 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2012-05-08 00:48:52 +08:00
|
|
|
librsvg-2.so and
|
|
|
|
libpixbufloader-svg.so.
|
2012-04-17 06:34:59 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2012-05-08 00:48:52 +08:00
|
|
|
/usr/include/librsvg-2 and
|
|
|
|
/usr/share/gtk-doc/html/rsvg.
|
2012-04-17 06:34:59 +08:00
|
|
|
</seg>
|
2005-05-05 02:06:44 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2007-04-16 11:09:33 +08:00
|
|
|
<varlistentry id="rsvg-convert">
|
|
|
|
<term><command>rsvg-convert</command></term>
|
|
|
|
<listitem>
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
|
|
|
is used to covert SVG images into PNG, JPEG and ICO raster images.
|
|
|
|
</para>
|
2007-04-16 11:09:33 +08:00
|
|
|
<indexterm zone="librsvg rsvg-convert">
|
|
|
|
<primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-04-17 06:34:59 +08:00
|
|
|
<varlistentry id="rsvg-view-3">
|
|
|
|
<term><command>rsvg-view-3</command></term>
|
2005-05-05 02:06:44 +08:00
|
|
|
<listitem>
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
|
|
|
is a simple Gtk+ 3 application that can be used to view an SVG file.
|
|
|
|
</para>
|
2012-04-17 06:34:59 +08:00
|
|
|
<indexterm zone="librsvg rsvg-view-3">
|
|
|
|
<primary sortas="b-rsvg-view-3">rsvg-view-3</primary>
|
2005-05-05 02:06:44 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2009-10-17 15:50:57 +08:00
|
|
|
<varlistentry id="librsvg-2">
|
2012-04-17 06:34:59 +08:00
|
|
|
<term><filename class='libraryfile'>librsvg-2.so</filename></term>
|
2005-05-05 02:06:44 +08:00
|
|
|
<listitem>
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
|
|
|
provides the functions to render Scalable Vector Graphics.
|
|
|
|
</para>
|
2009-10-17 15:50:57 +08:00
|
|
|
<indexterm zone="librsvg librsvg-2">
|
2012-04-17 06:34:59 +08:00
|
|
|
<primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
2005-05-05 02:06:44 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-05-08 00:48:52 +08:00
|
|
|
<varlistentry id="libpixbufloader-svg.so">
|
|
|
|
<term><filename class='libraryfile'>libpixbufloader-svg.so.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is the Gdk Pixbuf plugin that allows Gtk+ to render Scalable Vector
|
|
|
|
Graphics images.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="librsvg libpixbufloader-svg.so">
|
|
|
|
<primary sortas="c-libpixbufloader-svg.so">libpixbufloader-svg.so.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-05 02:06:44 +08:00
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
2002-09-04 11:17:25 +08:00
|
|
|
</sect1>
|