[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 |
|
---|
[5600683] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.12/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.12/librsvg-&librsvg-version;.tar.bz2">
|
---|
[efc6f183] | 9 | <!ENTITY librsvg-md5sum "2113f01fbf228f3f8fc17c49966143fe">
|
---|
| 10 | <!ENTITY librsvg-size "387 KB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "11.3 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>
|
---|
[caa1fce] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">librsvg-&librsvg-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">librsvg</keyword>
|
---|
[caa1fce] | 24 | </keywordset>
|
---|
[13d6079] | 25 | </sect1info>
|
---|
| 26 |
|
---|
[03ac97c2] | 27 | <title>librsvg-&librsvg-version;</title>
|
---|
[13d6079] | 28 |
|
---|
| 29 | <indexterm zone="librsvg">
|
---|
| 30 | <primary sortas="a-Librsvg">Librsvg</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
[03ac97c2] | 34 | <title>Introduction to librsvg</title>
|
---|
[13d6079] | 35 |
|
---|
[e9116cc] | 36 | <para>The <application>librsvg</application> package contains
|
---|
| 37 | <filename class="libraryfile">librsvg</filename> libraries and tools used to
|
---|
[13d6079] | 38 | manipulate, convert and view Scalable Vector Graphic (SVG) images.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&librsvg-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&librsvg-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &librsvg-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &librsvg-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &librsvg-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &librsvg-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[7d26629] | 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Required patch (if you have <xref linkend="nss"/> installed):
|
---|
| 66 | <ulink
|
---|
| 67 | url="&patch-root;/librsvg-&librsvg-version;-system_nspr-1.patch"/>
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[03ac97c2] | 72 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
[13d6079] | 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[caa1fce] | 75 | <para role="required"><xref linkend="gtk2"/>,
|
---|
[e9116cc] | 76 | <xref linkend="libxml2"/>,
|
---|
[7d26629] | 77 | <xref linkend="libart_lgpl"/>, and
|
---|
[13d6079] | 78 | <xref linkend="popt"/></para>
|
---|
| 79 |
|
---|
[3148bf6] | 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[caa1fce] | 81 | <para role="recommended"><xref linkend="libcroco"/> and
|
---|
[3148bf6] | 82 | <xref linkend="libgsf"/></para>
|
---|
| 83 |
|
---|
[13d6079] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[caa1fce] | 85 | <para role="optional"><xref linkend="gnome-vfs"/>,
|
---|
[e9116cc] | 86 | <xref linkend="libgnomeprintui"/>,
|
---|
[b5eb704] | 87 | <xref linkend="seamonkey"/> or <xref linkend="firefox"/>,
|
---|
[7d26629] | 88 | <xref linkend="gtk-doc"/>, and
|
---|
[13d6079] | 89 | <xref linkend="docbook-utils"/></para>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
[03ac97c2] | 94 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 95 |
|
---|
[e9116cc] | 96 | <para>Install <application>librsvg</application> by running the following
|
---|
[13d6079] | 97 | commands:</para>
|
---|
| 98 |
|
---|
[7d26629] | 99 | <screen><userinput>patch -Np1 -i ../librsvg-&librsvg-version;-system_nspr-1.patch &&
|
---|
| 100 | ./configure --prefix=/usr --sysconfdir=/etc --disable-gtk-doc &&
|
---|
[13d6079] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
[3148bf6] | 103 | <para>This package does not come with a test suite.</para>
|
---|
| 104 |
|
---|
[13d6079] | 105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
[7d26629] | 109 | <!-- commenting this out as BLFS installation of Firefox and SeaMonkey
|
---|
| 110 | have built-in SVG render capability and don't need this plugin
|
---|
| 111 |
|
---|
[3148bf6] | 112 | <para>If you have <application>Firefox</application> installed, create
|
---|
| 113 | symlinks to the plugins using the following command as the
|
---|
| 114 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 115 |
|
---|
| 116 | <screen role="root"><userinput>ln -v -s /usr/lib/mozilla/plugins/libmozsvgdec.{so,a} \
|
---|
| 117 | /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
|
---|
| 118 |
|
---|
[7d26629] | 119 | -->
|
---|
| 120 |
|
---|
[13d6079] | 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
[03ac97c2] | 126 | <para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
---|
[0619e6d] | 127 | the rebuilding of documentation during the <command>make</command>
|
---|
[03ac97c2] | 128 | command. Remove the parameter if you wish to rebuild the
|
---|
| 129 | documentation.</para>
|
---|
[13d6079] | 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Libraries</segtitle>
|
---|
| 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
| 142 | <seg>rsvg and rsvg-view</seg>
|
---|
[e9116cc] | 143 | <seg>librsvg-2.[so,a], <application>GTK+</application> modules and
|
---|
[7d26629] | 144 | a <application>Mozilla</application> plugin</seg>
|
---|
[13d6079] | 145 | <seg>/usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg</seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
| 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="rsvg">
|
---|
| 155 | <term><command>rsvg</command></term>
|
---|
| 156 | <listitem>
|
---|
[e9116cc] | 157 | <para>is used to covert SVG images into PNG, JPEG and
|
---|
[13d6079] | 158 | ICO raster images.</para>
|
---|
| 159 | <indexterm zone="librsvg rsvg">
|
---|
| 160 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="rsvg-view">
|
---|
| 166 | <term><command>rsvg-view</command></term>
|
---|
| 167 | <listitem>
|
---|
[0619e6d] | 168 | <para>is used to view an SVG file in an <application>X</application>
|
---|
[13d6079] | 169 | window.</para>
|
---|
| 170 | <indexterm zone="librsvg rsvg-view">
|
---|
| 171 | <primary sortas="b-rsvg-view">rsvg-view</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="librsvg-lib">
|
---|
| 177 | <term><filename class='libraryfile'>librsvg-2.[so,a]</filename></term>
|
---|
| 178 | <listitem>
|
---|
[e9116cc] | 179 | <para> libraries provide the functions to render Scalable Vector
|
---|
[13d6079] | 180 | Graphics.</para>
|
---|
| 181 | <indexterm zone="librsvg librsvg-lib">
|
---|
| 182 | <primary sortas="c-librsvg">librsvg-2.[so,a]</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
[ad45d1a] | 190 |
|
---|
| 191 | </sect1>
|
---|