source: general/graphlib/librsvg.xml@ afb71d0a

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since afb71d0a was afb71d0a, checked in by Xi Ruoyao <xry111@…>, 13 months ago

Add notes about Internet connection requirement for building or testing

  • Property mode set to 100644
File size: 7.2 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 "ee5fa3ce1653b5b313e52007c53ab190">
10 <!ENTITY librsvg-size "5.1 MB">
11 <!ENTITY librsvg-buildsize "795 MB (25 MB installed), add 421 MB for tests">
12 <!ENTITY librsvg-time "1.3 SBU (Using parallelism=4), add 2.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 &lfs113_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 &build-use-internet;
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="gobject-introspection"/> and
85 <xref linkend="vala"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="docutils"/> (for man pages),
91 <xref linkend="gi-docgen"/> (for documentation), and
92 <xref linkend="xorg7-font"/> (for tests)
93 </para>
94
95 <para condition="html" role="usernotes">User Notes:
96 <ulink url="&blfs-wiki;/librsvg"/>
97 </para>
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of librsvg</title>
102
103 <para>
104 Install <application>librsvg</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>./configure --prefix=/usr \
109 --enable-vala \
110 --disable-static \
111 --docdir=/usr/share/doc/librsvg-&librsvg-version; &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>make -k check</command>. During
116 testing some binaries are rebuilt with a different debug level, so you
117 should run <command>make</command> again after the tests are complete
118 to ensure everything is ready to be installed.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 <note>
128 <para>
129 If you installed the package on to your system using a
130 <quote>DESTDIR</quote> method, an important file was not installed and
131 should be copied and/or generated. Generate it using the following
132 command as the <systemitem class="username">root</systemitem> user:
133 </para>
134
135<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
136 </note>
137
138
139 </sect2>
140
141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <para>
145 <parameter>--enable-vala</parameter>: This switch enables
146 building of the Vala bindings. Remove this switch if you don't have
147 <xref linkend="vala"/> installed.
148 </para>
149
150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
151 href="../../xincludes/static-libraries.xml"/>
152
153 <para>
154 <option>--disable-introspection</option>: Use this switch if you have
155 not installed <application>Gobject Introspection</application>.
156 </para>
157
158 <para>
159 <option>--disable-gtk-doc</option>: This switch prevents building
160 the API documentation, even if <xref linkend="gi-docgen"/> (despite
161 the name of the option) is available.
162 </para>
163
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Programs</segtitle>
171 <segtitle>Installed Library</segtitle>
172 <segtitle>Installed Directories</segtitle>
173
174 <seglistitem>
175 <seg>
176 rsvg-convert
177 </seg>
178 <seg>
179 librsvg-2.so
180 </seg>
181 <seg>
182 /usr/include/librsvg-2.0 and
183 /usr/share/doc/librsvg-&librsvg-version;
184<!-- /usr/share/gtk-doc/html/rsvg-2.0 not built with
185 current instructions (needs gi-docgen)-->
186 </seg>
187 </seglistitem>
188 </segmentedlist>
189
190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
194
195 <varlistentry id="rsvg-convert">
196 <term><command>rsvg-convert</command></term>
197 <listitem>
198 <para>
199 is used to convert images into PNG, PDF, PS, SVG and other formats
200 </para>
201 <indexterm zone="librsvg rsvg-convert">
202 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="librsvg-2">
208 <term><filename class="libraryfile">librsvg-2.so</filename></term>
209 <listitem>
210 <para>
211 provides the functions to render Scalable Vector Graphics
212 </para>
213 <indexterm zone="librsvg librsvg-2">
214 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="libpixbufloader-svg">
220 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
221 <listitem>
222 <para>
223 is the <application>Gdk Pixbuf</application> plugin that allows
224 <application>GTK+</application> applications to render Scalable
225 Vector Graphics images
226 </para>
227 <indexterm zone="librsvg libpixbufloader-svg">
228 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 </variablelist>
234
235 </sect2>
236
237</sect1>
Note: See TracBrowser for help on using the repository browser.