1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
12 | <!ENTITY librsvg-time "0.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
|
---|
16 | <?dbhtml filename="librsvg.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>librsvg-&librsvg-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="librsvg">
|
---|
26 | <primary sortas="a-Librsvg">Librsvg</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to librsvg</title>
|
---|
31 |
|
---|
32 | <para>The <application>librsvg</application> package contains
|
---|
33 | <filename class="libraryfile">librsvg</filename> libraries and tools used to
|
---|
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 |
|
---|
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 |
|
---|
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 |
|
---|
71 | -->
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required"><xref linkend="gtk2"/> and
|
---|
77 | <xref linkend="libxml2"/></para>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
80 | <para role="recommended"><xref linkend="libcroco"/> and
|
---|
81 | <xref linkend="libgsf"/></para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
84 | <para role="optional"><xref linkend="gnome-vfs"/>,
|
---|
85 | <xref linkend="libgnomeprintui"/>,
|
---|
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>
|
---|
91 |
|
---|
92 |
|
---|
93 | <para condition="html" role="usernotes">User Notes:
|
---|
94 | <ulink url="&blfs-wiki;/librsvg"/></para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of librsvg</title>
|
---|
100 |
|
---|
101 | <para>Install <application>librsvg</application> by running the following
|
---|
102 | commands:</para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=/usr \
|
---|
105 | --sysconfdir=/etc \
|
---|
106 | --disable-mozilla-plugin &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>This package does not come with a test suite.</para>
|
---|
110 |
|
---|
111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
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 |
|
---|
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 |
|
---|
125 | -->
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="commands">
|
---|
130 | <title>Command Explanations</title>
|
---|
131 |
|
---|
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 |
|
---|
136 | <para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
---|
137 | the rebuilding of documentation during the <command>make</command>
|
---|
138 | command. It will also prevent the existing documentation in the source
|
---|
139 | tree from being installed.</para>
|
---|
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>
|
---|
152 | <seg>rsvg, rsvg-convert and rsvg-view</seg>
|
---|
153 | <seg>librsvg-2.{so,a}, <application>GTK+</application> modules and
|
---|
154 | optionally a <application>Mozilla</application> plugin</seg>
|
---|
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>
|
---|
167 | <para>is a legacy wrapper interface to rsvg-convert.</para>
|
---|
168 | <indexterm zone="librsvg rsvg">
|
---|
169 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
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 |
|
---|
185 | <varlistentry id="rsvg-view">
|
---|
186 | <term><command>rsvg-view</command></term>
|
---|
187 | <listitem>
|
---|
188 | <para>is used to view an SVG file in an <application>X</application>
|
---|
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">
|
---|
197 | <term><filename class='libraryfile'>librsvg-2.{so,a}</filename></term>
|
---|
198 | <listitem>
|
---|
199 | <para> libraries provide the functions to render Scalable Vector
|
---|
200 | Graphics.</para>
|
---|
201 | <indexterm zone="librsvg librsvg-lib">
|
---|
202 | <primary sortas="c-librsvg">librsvg-2.{so,a}</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | </variablelist>
|
---|
208 |
|
---|
209 | </sect2>
|
---|
210 |
|
---|
211 | </sect1>
|
---|