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