source: general/graphlib/librsvg.xml@ 104ff4e

qt5new
Last change on this file since 104ff4e was c5408a2, checked in by Douglas R. Reno <renodr@…>, 19 months ago

Add an entity for the gi-docgen URL and change several packages to use
it.

This should make the different URLs we had previously consistent with
one another, and ease maintenance burden.

This is only temporary though since eventually gi-docgen will become
part of the book, when Pierre's python-modules branch is brought into
trunk.

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