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;
|
|
|
|
|
2019-09-13 23:35:13 +08:00
|
|
|
<!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.46/librsvg-&librsvg-version;.tar.xz">
|
|
|
|
<!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.46/librsvg-&librsvg-version;.tar.xz">
|
2019-11-28 08:15:58 +08:00
|
|
|
<!ENTITY librsvg-md5sum "aca4001b267de77924b786886a1ad64a">
|
2018-12-01 05:05:43 +08:00
|
|
|
<!ENTITY librsvg-size "12 MB">
|
2019-11-28 08:15:58 +08:00
|
|
|
<!ENTITY librsvg-buildsize "849 MB (add 375 MB for tests)">
|
2019-10-14 02:25:31 +08:00
|
|
|
<!ENTITY librsvg-time "1.7 SBU (add 1.2 SBU for tests)">
|
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">
|
2012-05-17 00:39:28 +08:00
|
|
|
<primary sortas="a-librsvg">librsvg</primary>
|
2005-05-05 02:06:44 +08:00
|
|
|
</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
|
2012-09-04 04:27:56 +08:00
|
|
|
a library and tools used to manipulate, convert and view
|
|
|
|
Scalable Vector Graphic (SVG) images.
|
2012-05-08 00:48:52 +08:00
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
2019-08-19 04:33:32 +08:00
|
|
|
&lfs90_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>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&librsvg-download-http;"/>
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&librsvg-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &librsvg-md5sum;
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download size: &librsvg-size;
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &librsvg-buildsize;
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &librsvg-time;
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
</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"/>,
|
2018-01-29 03:09:17 +08:00
|
|
|
<xref linkend="libcroco"/>,
|
2018-10-24 23:09:18 +08:00
|
|
|
<xref linkend="cairo"/>,
|
2018-01-29 03:09:17 +08:00
|
|
|
<xref linkend="pango"/>, and
|
|
|
|
<xref linkend="rust"/>
|
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">
|
2019-09-23 01:18:15 +08:00
|
|
|
<xref linkend="gobject-introspection"/> and
|
2012-09-04 04:27:56 +08:00
|
|
|
<xref linkend="vala"/>
|
2012-05-01 20:35:38 +08:00
|
|
|
</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">
|
|
|
|
<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:
|
2012-05-17 00:39:28 +08:00
|
|
|
<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
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Install <application>librsvg</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-05 02:06:44 +08:00
|
|
|
|
2018-01-29 03:09:17 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
2015-02-19 21:10:07 +08:00
|
|
|
--enable-vala \
|
2013-07-16 02:26:41 +08:00
|
|
|
--disable-static &&
|
2005-05-05 02:06:44 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2013-10-23 11:15:43 +08:00
|
|
|
To test the results, issue: <command>make check</command>.
|
2012-05-17 00:39:28 +08:00
|
|
|
</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>
|
2019-03-07 05:51:16 +08:00
|
|
|
|
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
If you installed the package on to your system using a
|
|
|
|
<quote>DESTDIR</quote> method, an important file was not installed and
|
|
|
|
should be copied and/or generated. Generate it using the following
|
|
|
|
command as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-05-08 00:48:52 +08:00
|
|
|
<para>
|
2015-02-19 21:10:07 +08:00
|
|
|
<parameter>--enable-vala</parameter>: This switch enables
|
|
|
|
building of the Vala bindings. Remove this switch if you don't have
|
2013-07-16 02:26:41 +08:00
|
|
|
<xref linkend="vala"/> installed.
|
2013-07-16 01:56:41 +08:00
|
|
|
</para>
|
|
|
|
|
2015-02-19 21:10:07 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
2013-07-16 01:56:41 +08:00
|
|
|
<para>
|
2013-07-16 02:26:41 +08:00
|
|
|
<option>--disable-introspection</option>: Use this switch if you have
|
|
|
|
not installed <application>Gobject Introspection</application>.
|
2012-11-13 06:15:41 +08:00
|
|
|
</para>
|
|
|
|
|
2012-04-17 06:34:59 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-08 19:41:02 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2012-01-25 10:13:24 +08:00
|
|
|
|
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>
|
2019-09-23 01:18:15 +08:00
|
|
|
rsvg-convert
|
2012-04-17 06:34:59 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2012-05-17 00:39:28 +08:00
|
|
|
librsvg-2.so and libpixbufloader-svg.so
|
2012-04-17 06:34:59 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-10-23 11:15:43 +08:00
|
|
|
/usr/include/librsvg-2.0 and
|
|
|
|
/usr/share/gtk-doc/html/rsvg-2.0
|
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>
|
2014-08-20 07:06:26 +08:00
|
|
|
is used to convert images into PNG, PDF, PS, SVG and other formats.
|
2012-05-08 00:48:52 +08:00
|
|
|
</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>
|
|
|
|
|
2009-10-17 15:50:57 +08:00
|
|
|
<varlistentry id="librsvg-2">
|
2012-09-04 04:27:56 +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 19:41:02 +08:00
|
|
|
<varlistentry id="libpixbufloader-svg">
|
2012-09-04 04:27:56 +08:00
|
|
|
<term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
2012-05-08 00:48:52 +08:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-05-17 00:39:28 +08:00
|
|
|
is the <application>Gdk Pixbuf</application> plugin that allows
|
2013-02-12 02:51:17 +08:00
|
|
|
<application>GTK+</application> applications to render Scalable
|
2012-05-08 19:41:02 +08:00
|
|
|
Vector Graphics images.
|
2012-05-08 00:48:52 +08:00
|
|
|
</para>
|
2012-05-08 19:41:02 +08:00
|
|
|
<indexterm zone="librsvg libpixbufloader-svg">
|
|
|
|
<primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
2012-05-08 00:48:52 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-05-17 00:39:28 +08:00
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
</variablelist>
|
2012-05-17 00:39:28 +08:00
|
|
|
|
2005-05-05 02:06:44 +08:00
|
|
|
</sect2>
|
2012-05-17 00:39:28 +08:00
|
|
|
|
2002-09-04 11:17:25 +08:00
|
|
|
</sect1>
|