[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[214718a] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.26/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.26/librsvg-&librsvg-version;.tar.bz2">
|
---|
[232b00e] | 9 | <!ENTITY librsvg-md5sum "65dbd726a514fe8b797d26254b8efc1e">
|
---|
[214718a] | 10 | <!ENTITY librsvg-size "466 KB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "14 MB">
|
---|
| 12 | <!ENTITY librsvg-time "0.3 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 |
|
---|
[49f7d8b] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[13d6079] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&librsvg-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&librsvg-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &librsvg-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &librsvg-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &librsvg-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &librsvg-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[03ac97c2] | 60 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
[13d6079] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[18971e0d] | 63 | <para role="required"><xref linkend="gtk2"/> and
|
---|
| 64 | <xref linkend="libxml2"/></para>
|
---|
[fd7e0ed6] | 65 |
|
---|
[3148bf6] | 66 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[caa1fce] | 67 | <para role="recommended"><xref linkend="libcroco"/> and
|
---|
[3148bf6] | 68 | <xref linkend="libgsf"/></para>
|
---|
| 69 |
|
---|
[13d6079] | 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[214718a] | 71 | <para role="optional"><xref linkend="gtk-doc"/>,
|
---|
| 72 | <xref linkend="docbook-utils"/>,
|
---|
| 73 | <xref linkend="xorg7-lib"/>, and
|
---|
[18971e0d] | 74 | <xref linkend="python"/>, providing a legacy wrapper interface
|
---|
| 75 | <command>rsvg</command> for the newer
|
---|
| 76 | <command>rsvg-convert</command>.</para>
|
---|
[13d6079] | 77 |
|
---|
[fd7e0ed6] | 78 |
|
---|
[1039de3] | 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/librsvg"/></para>
|
---|
| 81 |
|
---|
[13d6079] | 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
[03ac97c2] | 85 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 86 |
|
---|
[e9116cc] | 87 | <para>Install <application>librsvg</application> by running the following
|
---|
[13d6079] | 88 | commands:</para>
|
---|
| 89 |
|
---|
[81066706] | 90 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 91 | --sysconfdir=/etc \
|
---|
| 92 | --disable-mozilla-plugin &&
|
---|
[13d6079] | 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
[49f7d8b] | 95 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[3148bf6] | 96 |
|
---|
[13d6079] | 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
[18971e0d] | 106 | <para><parameter>--disable-mozilla-plugin</parameter>: This parameter prevents
|
---|
[232b00e] | 107 | building the browser plugin as <application>Firefox</application> and
|
---|
| 108 | <application>SeaMonkey</application> have built-in SVG render capability.</para>
|
---|
[18971e0d] | 109 |
|
---|
[1bc4ab8f] | 110 | <para><option>--disable-gtk-doc</option>: This parameter prevents
|
---|
[0619e6d] | 111 | the rebuilding of documentation during the <command>make</command>
|
---|
[e1f87b5] | 112 | command. It will also prevent the existing documentation in the source
|
---|
| 113 | tree from being installed.</para>
|
---|
[13d6079] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
| 121 | <segtitle>Installed Programs</segtitle>
|
---|
| 122 | <segtitle>Installed Libraries</segtitle>
|
---|
| 123 | <segtitle>Installed Directories</segtitle>
|
---|
| 124 |
|
---|
| 125 | <seglistitem>
|
---|
[214718a] | 126 | <seg>rsvg, rsvg-convert, and rsvg-view</seg>
|
---|
| 127 | <seg>librsvg-2.{so,a}, libsvg.{so,a}, svg_loader.{so,a}</seg>
|
---|
| 128 | <seg>/usr/{include/librsvg-2/librsvg,share/gtk-doc/html/rsvg}</seg>
|
---|
[13d6079] | 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | <variablelist>
|
---|
| 133 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 134 | <?dbfo list-presentation="list"?>
|
---|
| 135 | <?dbhtml list-presentation="table"?>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="rsvg">
|
---|
| 138 | <term><command>rsvg</command></term>
|
---|
| 139 | <listitem>
|
---|
[18971e0d] | 140 | <para>is a legacy wrapper interface to rsvg-convert.</para>
|
---|
[13d6079] | 141 | <indexterm zone="librsvg rsvg">
|
---|
| 142 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
[18971e0d] | 147 | <varlistentry id="rsvg-convert">
|
---|
| 148 | <term><command>rsvg-convert</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>is used to covert SVG images into PNG, JPEG and
|
---|
| 151 | ICO raster images.</para>
|
---|
| 152 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 153 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
[13d6079] | 158 | <varlistentry id="rsvg-view">
|
---|
| 159 | <term><command>rsvg-view</command></term>
|
---|
| 160 | <listitem>
|
---|
[0619e6d] | 161 | <para>is used to view an SVG file in an <application>X</application>
|
---|
[13d6079] | 162 | window.</para>
|
---|
| 163 | <indexterm zone="librsvg rsvg-view">
|
---|
| 164 | <primary sortas="b-rsvg-view">rsvg-view</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
[214718a] | 169 | <varlistentry id="librsvg-2">
|
---|
[1039de3] | 170 | <term><filename class='libraryfile'>librsvg-2.{so,a}</filename></term>
|
---|
[13d6079] | 171 | <listitem>
|
---|
[214718a] | 172 | <para>provide the functions to render Scalable Vector Graphics.</para>
|
---|
| 173 | <indexterm zone="librsvg librsvg-2">
|
---|
| 174 | <primary sortas="c-librsvg-2">librsvg-2.{so,a}</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="libsvg">
|
---|
| 180 | <term><filename class='libraryfile'>libsvg.{so,a}</filename></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>is a <application>GTK</application> engines module.</para>
|
---|
| 183 | <indexterm zone="librsvg libsvg">
|
---|
| 184 | <primary sortas="c-librsvg">librsvg.{so,a}</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="svg_loader">
|
---|
| 190 | <term><filename class='libraryfile'>svg_loader.{so,a}</filename></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>is a <application>GTK</application> loaders module.</para>
|
---|
| 193 | <indexterm zone="librsvg svg_loader">
|
---|
| 194 | <primary sortas="c-svg_loader">svg_loader.{so,a}</primary>
|
---|
[13d6079] | 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | </variablelist>
|
---|
| 200 |
|
---|
| 201 | </sect2>
|
---|
[ad45d1a] | 202 |
|
---|
| 203 | </sect1>
|
---|