[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 |
|
---|
[18971e0d] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.16/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.16/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 9 | <!ENTITY librsvg-md5sum "37e046571097ff7ce77ae6e07f096324">
|
---|
| 10 | <!ENTITY librsvg-size "416 KB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "12.1 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 |
|
---|
[522f1f5] | 58 | <!-- This shouldn't be required any longer as BLFS Moz stuff isn't
|
---|
| 59 | looked for, and if it were, we now fix the pkgconfig files
|
---|
| 60 |
|
---|
[7d26629] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required patch (if you have <xref linkend="nss"/> installed):
|
---|
| 65 | <ulink
|
---|
| 66 | url="&patch-root;/librsvg-&librsvg-version;-system_nspr-1.patch"/>
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[522f1f5] | 71 | -->
|
---|
| 72 |
|
---|
[03ac97c2] | 73 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
[13d6079] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[18971e0d] | 76 | <para role="required"><xref linkend="gtk2"/> and
|
---|
| 77 | <xref linkend="libxml2"/></para>
|
---|
| 78 |
|
---|
[3148bf6] | 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[caa1fce] | 80 | <para role="recommended"><xref linkend="libcroco"/> and
|
---|
[3148bf6] | 81 | <xref linkend="libgsf"/></para>
|
---|
| 82 |
|
---|
[13d6079] | 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[caa1fce] | 84 | <para role="optional"><xref linkend="gnome-vfs"/>,
|
---|
[e9116cc] | 85 | <xref linkend="libgnomeprintui"/>,
|
---|
[18971e0d] | 86 | <xref linkend="gtk-doc"/>,
|
---|
| 87 | <xref linkend="docbook-utils"/>, and
|
---|
| 88 | <xref linkend="python"/>, providing a legacy wrapper interface
|
---|
| 89 | <command>rsvg</command> for the newer
|
---|
| 90 | <command>rsvg-convert</command>.</para>
|
---|
[13d6079] | 91 |
|
---|
[18971e0d] | 92 |
|
---|
[1039de3] | 93 | <para condition="html" role="usernotes">User Notes:
|
---|
| 94 | <ulink url="&blfs-wiki;/librsvg"/></para>
|
---|
| 95 |
|
---|
[13d6079] | 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="installation">
|
---|
[03ac97c2] | 99 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 100 |
|
---|
[e9116cc] | 101 | <para>Install <application>librsvg</application> by running the following
|
---|
[13d6079] | 102 | commands:</para>
|
---|
| 103 |
|
---|
[81066706] | 104 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 105 | --sysconfdir=/etc \
|
---|
| 106 | --disable-mozilla-plugin &&
|
---|
[13d6079] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
[3148bf6] | 109 | <para>This package does not come with a test suite.</para>
|
---|
| 110 |
|
---|
[13d6079] | 111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
[7d26629] | 115 | <!-- commenting this out as BLFS installation of Firefox and SeaMonkey
|
---|
| 116 | have built-in SVG render capability and don't need this plugin
|
---|
| 117 |
|
---|
[3148bf6] | 118 | <para>If you have <application>Firefox</application> installed, create
|
---|
| 119 | symlinks to the plugins using the following command as the
|
---|
| 120 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>ln -v -s /usr/lib/mozilla/plugins/libmozsvgdec.{so,a} \
|
---|
| 123 | /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
|
---|
| 124 |
|
---|
[7d26629] | 125 | -->
|
---|
| 126 |
|
---|
[13d6079] | 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
[18971e0d] | 132 | <para><parameter>--disable-mozilla-plugin</parameter>: This parameter prevents
|
---|
| 133 | building the browser plugin as Firefox and SeaMonkey have built-in SVG render
|
---|
| 134 | capability and don't need it.</para>
|
---|
| 135 |
|
---|
[03ac97c2] | 136 | <para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
---|
[0619e6d] | 137 | the rebuilding of documentation during the <command>make</command>
|
---|
[e1f87b5] | 138 | command. It will also prevent the existing documentation in the source
|
---|
| 139 | tree from being installed.</para>
|
---|
[13d6079] | 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
[522f1f5] | 152 | <seg>rsvg, rsvg-convert and rsvg-view</seg>
|
---|
[1039de3] | 153 | <seg>librsvg-2.{so,a}, <application>GTK+</application> modules and
|
---|
[522f1f5] | 154 | optionally a <application>Mozilla</application> plugin</seg>
|
---|
[13d6079] | 155 | <seg>/usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg</seg>
|
---|
| 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="rsvg">
|
---|
| 165 | <term><command>rsvg</command></term>
|
---|
| 166 | <listitem>
|
---|
[18971e0d] | 167 | <para>is a legacy wrapper interface to rsvg-convert.</para>
|
---|
[13d6079] | 168 | <indexterm zone="librsvg rsvg">
|
---|
| 169 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
[18971e0d] | 174 | <varlistentry id="rsvg-convert">
|
---|
| 175 | <term><command>rsvg-convert</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>is used to covert SVG images into PNG, JPEG and
|
---|
| 178 | ICO raster images.</para>
|
---|
| 179 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 180 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[13d6079] | 185 | <varlistentry id="rsvg-view">
|
---|
| 186 | <term><command>rsvg-view</command></term>
|
---|
| 187 | <listitem>
|
---|
[0619e6d] | 188 | <para>is used to view an SVG file in an <application>X</application>
|
---|
[13d6079] | 189 | window.</para>
|
---|
| 190 | <indexterm zone="librsvg rsvg-view">
|
---|
| 191 | <primary sortas="b-rsvg-view">rsvg-view</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="librsvg-lib">
|
---|
[1039de3] | 197 | <term><filename class='libraryfile'>librsvg-2.{so,a}</filename></term>
|
---|
[13d6079] | 198 | <listitem>
|
---|
[e9116cc] | 199 | <para> libraries provide the functions to render Scalable Vector
|
---|
[13d6079] | 200 | Graphics.</para>
|
---|
| 201 | <indexterm zone="librsvg librsvg-lib">
|
---|
[1039de3] | 202 | <primary sortas="c-librsvg">librsvg-2.{so,a}</primary>
|
---|
[13d6079] | 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | </variablelist>
|
---|
| 208 |
|
---|
| 209 | </sect2>
|
---|
[ad45d1a] | 210 |
|
---|
| 211 | </sect1>
|
---|