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.46/librsvg-&librsvg-version;.tar.xz">
|
---|
8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.46/librsvg-&librsvg-version;.tar.xz">
|
---|
9 | <!ENTITY librsvg-md5sum "39303e0bf0332c970fed0543956acb70">
|
---|
10 | <!ENTITY librsvg-size "12 MB">
|
---|
11 | <!ENTITY librsvg-buildsize "845 MB (add 385 MB for tests)">
|
---|
12 | <!ENTITY librsvg-time "1.7 SBU (add 1.2 SBU for tests)">
|
---|
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>
|
---|
33 | The <application>librsvg</application> package contains
|
---|
34 | a library and tools used to manipulate, convert and view
|
---|
35 | Scalable Vector Graphic (SVG) images.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs90_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&librsvg-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&librsvg-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &librsvg-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &librsvg-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &librsvg-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &librsvg-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="gdk-pixbuf"/>,
|
---|
79 | <xref linkend="libcroco"/>,
|
---|
80 | <xref linkend="cairo"/>,
|
---|
81 | <xref linkend="pango"/>, and
|
---|
82 | <xref linkend="rust"/>
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
86 | <para role="recommended">
|
---|
87 | <xref linkend="gobject-introspection"/> and
|
---|
88 | <xref linkend="vala"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
92 | <para role="optional">
|
---|
93 | <xref linkend="gtk-doc"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para condition="html" role="usernotes">User Notes:
|
---|
97 | <ulink url="&blfs-wiki;/librsvg"/>
|
---|
98 | </para>
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="installation">
|
---|
102 | <title>Installation of librsvg</title>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Install <application>librsvg</application> by running the following
|
---|
106 | commands:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen><userinput>./configure --prefix=/usr \
|
---|
110 | --enable-vala \
|
---|
111 | --disable-static &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | To test the results, issue: <command>make check</command>.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
124 | <note>
|
---|
125 | <para>
|
---|
126 | If you installed the package on to your system using a
|
---|
127 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
128 | should be copied and/or generated. Generate it using the following
|
---|
129 | command as the <systemitem class="username">root</systemitem> user:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
133 | </note>
|
---|
134 |
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="commands">
|
---|
139 | <title>Command Explanations</title>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
143 | building of the Vala bindings. Remove this switch if you don't have
|
---|
144 | <xref linkend="vala"/> installed.
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
148 | href="../../xincludes/static-libraries.xml"/>
|
---|
149 |
|
---|
150 | <para>
|
---|
151 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
152 | not installed <application>Gobject Introspection</application>.
|
---|
153 | </para>
|
---|
154 |
|
---|
155 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
156 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | <sect2 role="content">
|
---|
161 | <title>Contents</title>
|
---|
162 |
|
---|
163 | <segmentedlist>
|
---|
164 | <segtitle>Installed Programs</segtitle>
|
---|
165 | <segtitle>Installed Library</segtitle>
|
---|
166 | <segtitle>Installed Directories</segtitle>
|
---|
167 |
|
---|
168 | <seglistitem>
|
---|
169 | <seg>
|
---|
170 | rsvg-convert
|
---|
171 | </seg>
|
---|
172 | <seg>
|
---|
173 | librsvg-2.so and libpixbufloader-svg.so
|
---|
174 | </seg>
|
---|
175 | <seg>
|
---|
176 | /usr/include/librsvg-2.0 and
|
---|
177 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
178 | </seg>
|
---|
179 | </seglistitem>
|
---|
180 | </segmentedlist>
|
---|
181 |
|
---|
182 | <variablelist>
|
---|
183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
184 | <?dbfo list-presentation="list"?>
|
---|
185 | <?dbhtml list-presentation="table"?>
|
---|
186 |
|
---|
187 | <varlistentry id="rsvg-convert">
|
---|
188 | <term><command>rsvg-convert</command></term>
|
---|
189 | <listitem>
|
---|
190 | <para>
|
---|
191 | is used to convert images into PNG, PDF, PS, SVG and other formats.
|
---|
192 | </para>
|
---|
193 | <indexterm zone="librsvg rsvg-convert">
|
---|
194 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="librsvg-2">
|
---|
200 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
201 | <listitem>
|
---|
202 | <para>
|
---|
203 | provides the functions to render Scalable Vector Graphics.
|
---|
204 | </para>
|
---|
205 | <indexterm zone="librsvg librsvg-2">
|
---|
206 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | <varlistentry id="libpixbufloader-svg">
|
---|
212 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
213 | <listitem>
|
---|
214 | <para>
|
---|
215 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
216 | <application>GTK+</application> applications to render Scalable
|
---|
217 | Vector Graphics images.
|
---|
218 | </para>
|
---|
219 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
220 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | </variablelist>
|
---|
226 |
|
---|
227 | </sect2>
|
---|
228 |
|
---|
229 | </sect1>
|
---|