[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 |
|
---|
[522f1f5] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.14/librsvg-&librsvg-version;.tar.bz2">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.14/librsvg-&librsvg-version;.tar.bz2">
|
---|
[e1f87b5] | 9 | <!ENTITY librsvg-md5sum "945617bb094975d7353a3852302297c1">
|
---|
[522f1f5] | 10 | <!ENTITY librsvg-size "415 KB">
|
---|
[e1f87b5] | 11 | <!ENTITY librsvg-buildsize "12.5 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>
|
---|
[caa1fce] | 76 | <para role="required"><xref linkend="gtk2"/>,
|
---|
[e9116cc] | 77 | <xref linkend="libxml2"/>,
|
---|
[7d26629] | 78 | <xref linkend="libart_lgpl"/>, and
|
---|
[13d6079] | 79 | <xref linkend="popt"/></para>
|
---|
| 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"/>,
|
---|
[e1f87b5] | 88 | <!-- Commenting these out for now as these package have native SVG capability
|
---|
[b5eb704] | 89 | <xref linkend="seamonkey"/> or <xref linkend="firefox"/>,
|
---|
[522f1f5] | 90 | -->
|
---|
| 91 | <ulink url="http://www.mozilla.org/products/mozilla1.x/">Mozilla</ulink>,
|
---|
[7d26629] | 92 | <xref linkend="gtk-doc"/>, and
|
---|
[13d6079] | 93 | <xref linkend="docbook-utils"/></para>
|
---|
| 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 |
|
---|
[e1f87b5] | 106 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[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 |
|
---|
[03ac97c2] | 132 | <para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
---|
[0619e6d] | 133 | the rebuilding of documentation during the <command>make</command>
|
---|
[e1f87b5] | 134 | command. It will also prevent the existing documentation in the source
|
---|
| 135 | tree from being installed.</para>
|
---|
[13d6079] | 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
[522f1f5] | 148 | <seg>rsvg, rsvg-convert and rsvg-view</seg>
|
---|
[1039de3] | 149 | <seg>librsvg-2.{so,a}, <application>GTK+</application> modules and
|
---|
[522f1f5] | 150 | optionally a <application>Mozilla</application> plugin</seg>
|
---|
[13d6079] | 151 | <seg>/usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg</seg>
|
---|
| 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
| 154 |
|
---|
| 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="rsvg">
|
---|
| 161 | <term><command>rsvg</command></term>
|
---|
| 162 | <listitem>
|
---|
[e9116cc] | 163 | <para>is used to covert SVG images into PNG, JPEG and
|
---|
[13d6079] | 164 | ICO raster images.</para>
|
---|
| 165 | <indexterm zone="librsvg rsvg">
|
---|
| 166 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="rsvg-view">
|
---|
| 172 | <term><command>rsvg-view</command></term>
|
---|
| 173 | <listitem>
|
---|
[0619e6d] | 174 | <para>is used to view an SVG file in an <application>X</application>
|
---|
[13d6079] | 175 | window.</para>
|
---|
| 176 | <indexterm zone="librsvg rsvg-view">
|
---|
| 177 | <primary sortas="b-rsvg-view">rsvg-view</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="librsvg-lib">
|
---|
[1039de3] | 183 | <term><filename class='libraryfile'>librsvg-2.{so,a}</filename></term>
|
---|
[13d6079] | 184 | <listitem>
|
---|
[e9116cc] | 185 | <para> libraries provide the functions to render Scalable Vector
|
---|
[13d6079] | 186 | Graphics.</para>
|
---|
| 187 | <indexterm zone="librsvg librsvg-lib">
|
---|
[1039de3] | 188 | <primary sortas="c-librsvg">librsvg-2.{so,a}</primary>
|
---|
[13d6079] | 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | </variablelist>
|
---|
| 194 |
|
---|
| 195 | </sect2>
|
---|
[ad45d1a] | 196 |
|
---|
| 197 | </sect1>
|
---|