[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[03ac97c2] | 7 | <!ENTITY librsvg-download-http "http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.12/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.12/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 9 | <!ENTITY librsvg-md5sum "cfc7e22027d180eea312932394ecfc71">
|
---|
| 10 | <!ENTITY librsvg-size "396 KB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "11.6 MB">
|
---|
[3148bf6] | 12 | <!ENTITY librsvg-time "0.4 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[ad45d1a] | 15 | <sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
|
---|
[13d6079] | 16 | <?dbhtml filename="librsvg.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[03ac97c2] | 23 | <title>librsvg-&librsvg-version;</title>
|
---|
[13d6079] | 24 |
|
---|
| 25 | <indexterm zone="librsvg">
|
---|
| 26 | <primary sortas="a-Librsvg">Librsvg</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[03ac97c2] | 30 | <title>Introduction to librsvg</title>
|
---|
[13d6079] | 31 |
|
---|
[e9116cc] | 32 | <para>The <application>librsvg</application> package contains
|
---|
| 33 | <filename class="libraryfile">librsvg</filename> libraries and tools used to
|
---|
[13d6079] | 34 | manipulate, convert and view Scalable Vector Graphic (SVG) images.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&librsvg-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&librsvg-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &librsvg-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &librsvg-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &librsvg-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &librsvg-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
[03ac97c2] | 58 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
[13d6079] | 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e9116cc] | 61 | <para><xref linkend="gtk2"/>,
|
---|
| 62 | <xref linkend="libxml2"/>,
|
---|
| 63 | <xref linkend="libart_lgpl"/> and
|
---|
[13d6079] | 64 | <xref linkend="popt"/></para>
|
---|
| 65 |
|
---|
[3148bf6] | 66 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 67 | <para><xref linkend="libcroco"/> and
|
---|
| 68 | <xref linkend="libgsf"/></para>
|
---|
| 69 |
|
---|
[13d6079] | 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[3148bf6] | 71 | <para><xref linkend="gnome-vfs"/>,
|
---|
[e9116cc] | 72 | <xref linkend="libgnomeprintui"/>,
|
---|
[3148bf6] | 73 | <xref linkend="mozilla"/> or <xref linkend="firefox"/>,
|
---|
[e9116cc] | 74 | <xref linkend="gtk-doc"/> and
|
---|
[13d6079] | 75 | <xref linkend="docbook-utils"/></para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
[03ac97c2] | 80 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 81 |
|
---|
[e9116cc] | 82 | <para>Install <application>librsvg</application> by running the following
|
---|
[13d6079] | 83 | commands:</para>
|
---|
| 84 |
|
---|
[03ac97c2] | 85 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
| 86 | --disable-gtk-doc &&
|
---|
[13d6079] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
[3148bf6] | 89 | <para>This package does not come with a test suite.</para>
|
---|
| 90 |
|
---|
[13d6079] | 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 94 |
|
---|
[3148bf6] | 95 | <para>If you have <application>Firefox</application> installed, create
|
---|
| 96 | symlinks to the plugins using the following command as the
|
---|
| 97 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>ln -v -s /usr/lib/mozilla/plugins/libmozsvgdec.{so,a} \
|
---|
| 100 | /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
|
---|
| 101 |
|
---|
[13d6079] | 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
| 106 |
|
---|
[03ac97c2] | 107 | <para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
---|
[0619e6d] | 108 | the rebuilding of documentation during the <command>make</command>
|
---|
[03ac97c2] | 109 | command. Remove the parameter if you wish to rebuild the
|
---|
| 110 | documentation.</para>
|
---|
[13d6079] | 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="content">
|
---|
| 115 | <title>Contents</title>
|
---|
| 116 |
|
---|
| 117 | <segmentedlist>
|
---|
| 118 | <segtitle>Installed Programs</segtitle>
|
---|
| 119 | <segtitle>Installed Libraries</segtitle>
|
---|
| 120 | <segtitle>Installed Directories</segtitle>
|
---|
| 121 |
|
---|
| 122 | <seglistitem>
|
---|
| 123 | <seg>rsvg and rsvg-view</seg>
|
---|
[e9116cc] | 124 | <seg>librsvg-2.[so,a], <application>GTK+</application> modules and
|
---|
[13d6079] | 125 | <application>Mozilla</application> plugins</seg>
|
---|
| 126 | <seg>/usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg</seg>
|
---|
| 127 | </seglistitem>
|
---|
| 128 | </segmentedlist>
|
---|
| 129 |
|
---|
| 130 | <variablelist>
|
---|
| 131 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 132 | <?dbfo list-presentation="list"?>
|
---|
| 133 | <?dbhtml list-presentation="table"?>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="rsvg">
|
---|
| 136 | <term><command>rsvg</command></term>
|
---|
| 137 | <listitem>
|
---|
[e9116cc] | 138 | <para>is used to covert SVG images into PNG, JPEG and
|
---|
[13d6079] | 139 | ICO raster images.</para>
|
---|
| 140 | <indexterm zone="librsvg rsvg">
|
---|
| 141 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="rsvg-view">
|
---|
| 147 | <term><command>rsvg-view</command></term>
|
---|
| 148 | <listitem>
|
---|
[0619e6d] | 149 | <para>is used to view an SVG file in an <application>X</application>
|
---|
[13d6079] | 150 | window.</para>
|
---|
| 151 | <indexterm zone="librsvg rsvg-view">
|
---|
| 152 | <primary sortas="b-rsvg-view">rsvg-view</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="librsvg-lib">
|
---|
| 158 | <term><filename class='libraryfile'>librsvg-2.[so,a]</filename></term>
|
---|
| 159 | <listitem>
|
---|
[e9116cc] | 160 | <para> libraries provide the functions to render Scalable Vector
|
---|
[13d6079] | 161 | Graphics.</para>
|
---|
| 162 | <indexterm zone="librsvg librsvg-lib">
|
---|
| 163 | <primary sortas="c-librsvg">librsvg-2.[so,a]</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
[ad45d1a] | 171 |
|
---|
| 172 | </sect1>
|
---|