2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2006-04-08 09:19:13 +08:00
|
|
|
<!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.14/librsvg-&librsvg-version;.tar.bz2">
|
|
|
|
<!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.14/librsvg-&librsvg-version;.tar.bz2">
|
2006-05-28 05:41:23 +08:00
|
|
|
<!ENTITY librsvg-md5sum "945617bb094975d7353a3852302297c1">
|
2006-04-08 09:19:13 +08:00
|
|
|
<!ENTITY librsvg-size "415 KB">
|
2006-05-28 05:41:23 +08:00
|
|
|
<!ENTITY librsvg-buildsize "12.5 MB">
|
2005-09-15 11:06:05 +08:00
|
|
|
<!ENTITY librsvg-time "0.4 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
|
|
|
|
2005-05-31 05:35:14 +08:00
|
|
|
<para>The <application>librsvg</application> package contains
|
|
|
|
<filename class="libraryfile">librsvg</filename> libraries and tools used to
|
2005-05-05 02:06:44 +08:00
|
|
|
manipulate, convert and view Scalable Vector Graphic (SVG) images.</para>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2006-04-08 09:19:13 +08:00
|
|
|
<!-- This shouldn't be required any longer as BLFS Moz stuff isn't
|
|
|
|
looked for, and if it were, we now fix the pkgconfig files
|
|
|
|
|
2006-02-28 04:52:18 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch (if you have <xref linkend="nss"/> installed):
|
|
|
|
<ulink
|
|
|
|
url="&patch-root;/librsvg-&librsvg-version;-system_nspr-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2006-04-08 09:19:13 +08:00
|
|
|
-->
|
|
|
|
|
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>
|
2005-12-03 02:37:20 +08:00
|
|
|
<para role="required"><xref linkend="gtk2"/>,
|
2005-05-31 05:35:14 +08:00
|
|
|
<xref linkend="libxml2"/>,
|
2006-02-28 04:52:18 +08:00
|
|
|
<xref linkend="libart_lgpl"/>, and
|
2005-05-05 02:06:44 +08:00
|
|
|
<xref linkend="popt"/></para>
|
|
|
|
|
2005-09-15 11:06:05 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2005-12-03 02:37:20 +08:00
|
|
|
<para role="recommended"><xref linkend="libcroco"/> and
|
2005-09-15 11:06:05 +08:00
|
|
|
<xref linkend="libgsf"/></para>
|
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2005-12-03 02:37:20 +08:00
|
|
|
<para role="optional"><xref linkend="gnome-vfs"/>,
|
2005-05-31 05:35:14 +08:00
|
|
|
<xref linkend="libgnomeprintui"/>,
|
2006-05-28 05:41:23 +08:00
|
|
|
<!-- Commenting these out for now as these package have native SVG capability
|
2006-02-27 12:02:49 +08:00
|
|
|
<xref linkend="seamonkey"/> or <xref linkend="firefox"/>,
|
2006-04-08 09:19:13 +08:00
|
|
|
-->
|
|
|
|
<ulink url="http://www.mozilla.org/products/mozilla1.x/">Mozilla</ulink>,
|
2006-02-28 04:52:18 +08:00
|
|
|
<xref linkend="gtk-doc"/>, and
|
2005-05-05 02:06:44 +08:00
|
|
|
<xref linkend="docbook-utils"/></para>
|
|
|
|
|
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>
|
|
|
|
|
2006-05-28 05:41:23 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
2005-05-05 02:06:44 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2005-09-15 11:06:05 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2006-02-28 04:52:18 +08:00
|
|
|
<!-- commenting this out as BLFS installation of Firefox and SeaMonkey
|
|
|
|
have built-in SVG render capability and don't need this plugin
|
|
|
|
|
2005-09-15 11:06:05 +08:00
|
|
|
<para>If you have <application>Firefox</application> installed, create
|
|
|
|
symlinks to the plugins using the following command as the
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>ln -v -s /usr/lib/mozilla/plugins/libmozsvgdec.{so,a} \
|
|
|
|
/usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
|
|
|
|
|
2006-02-28 04:52:18 +08:00
|
|
|
-->
|
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2005-10-06 13:51:22 +08:00
|
|
|
<para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
2005-05-31 00:35:31 +08:00
|
|
|
the rebuilding of documentation during the <command>make</command>
|
2006-05-28 05:41:23 +08:00
|
|
|
command. It will also prevent the existing documentation in the source
|
|
|
|
tree from being installed.</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2006-04-08 09:19:13 +08:00
|
|
|
<seg>rsvg, rsvg-convert and rsvg-view</seg>
|
2006-04-11 02:35:56 +08:00
|
|
|
<seg>librsvg-2.{so,a}, <application>GTK+</application> modules and
|
2006-04-08 09:19:13 +08:00
|
|
|
optionally a <application>Mozilla</application> plugin</seg>
|
2005-05-05 02:06:44 +08:00
|
|
|
<seg>/usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="rsvg">
|
|
|
|
<term><command>rsvg</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:35:14 +08:00
|
|
|
<para>is used to covert SVG images into PNG, JPEG and
|
2005-05-05 02:06:44 +08:00
|
|
|
ICO raster images.</para>
|
|
|
|
<indexterm zone="librsvg rsvg">
|
|
|
|
<primary sortas="b-rsvg">rsvg</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rsvg-view">
|
|
|
|
<term><command>rsvg-view</command></term>
|
|
|
|
<listitem>
|
2005-05-31 00:35:31 +08:00
|
|
|
<para>is used to view an SVG file in an <application>X</application>
|
2005-05-05 02:06:44 +08:00
|
|
|
window.</para>
|
|
|
|
<indexterm zone="librsvg rsvg-view">
|
|
|
|
<primary sortas="b-rsvg-view">rsvg-view</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="librsvg-lib">
|
2006-04-11 02:35:56 +08:00
|
|
|
<term><filename class='libraryfile'>librsvg-2.{so,a}</filename></term>
|
2005-05-05 02:06:44 +08:00
|
|
|
<listitem>
|
2005-05-31 05:35:14 +08:00
|
|
|
<para> libraries provide the functions to render Scalable Vector
|
2005-05-05 02:06:44 +08:00
|
|
|
Graphics.</para>
|
|
|
|
<indexterm zone="librsvg librsvg-lib">
|
2006-04-11 02:35:56 +08:00
|
|
|
<primary sortas="c-librsvg">librsvg-2.{so,a}</primary>
|
2005-05-05 02:06:44 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-09-04 11:17:25 +08:00
|
|
|
|
|
|
|
</sect1>
|