source: general/graphlib/librsvg.xml@ b9d6b3b

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since b9d6b3b was 6d47d88, checked in by Xi Ruoyao <xry111@…>, 9 months ago

librsvg: Run test suite with LC_ALL=C

Add -k by the way to complete the test.

  • Property mode set to 100644
File size: 7.4 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 "8b700dd04c10bf65dbc6824d2780561d">
10 <!ENTITY librsvg-size "5.4 MB">
11 <!ENTITY librsvg-buildsize "1.1 GB (16 MB installed), add 673 MB for tests">
12 <!ENTITY librsvg-time "1.6 SBU (add 1.3 SBU for tests; both using parallelism=4)">
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 &lfs120_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 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of librsvg</title>
99
100 <para>
101 Install <application>librsvg</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>./configure --prefix=/usr \
106 --enable-vala \
107 --disable-static \
108 --docdir=/usr/share/doc/librsvg-&librsvg-version; &amp;&amp;
109make</userinput></screen>
110
111 <!-- With some locales (zh_CN.UTF-8) 31 tests fail. With LC_ALL=C only
112 one failure.
113 https://gitlab.gnome.org/GNOME/librsvg/-/issues/1021 -->
114 <para>
115 To test the results, issue: <command>LC_ALL=C make -k check</command>.
116 One test, <filename>tests::bugs_bug668_small_caps_svg</filename>, is
117 known to fail.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make DOC_INSTALL_DIR='$(docdir)' install</userinput></screen>
125
126 <note>
127 <para>
128 If you installed the package on to your system using a
129 <quote>DESTDIR</quote> method, an important file was not installed and
130 should be copied and/or generated. Generate it using the following
131 command as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
135 </note>
136
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <para>
144 <parameter>--enable-vala</parameter>: This switch enables
145 building of the Vala bindings. Remove this switch if you don't have
146 <xref linkend="vala"/> installed.
147 </para>
148
149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
152 <para>
153 <parameter>DOC_INSTALL_DIR='$(docdir)'</parameter>: This override
154 ensures installing the API documentation into the expected location
155 if <xref linkend='gi-docgen'/> is installed.
156 </para>
157
158 <para>
159 <option>--disable-introspection</option>: Use this switch if you have
160 not installed <application>Gobject Introspection</application>.
161 </para>
162
163 <para>
164 <option>--disable-gtk-doc</option>: This switch prevents building
165 the API documentation, even if <xref linkend="gi-docgen"/> (despite
166 the name of the option) is available.
167 </para>
168
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Programs</segtitle>
176 <segtitle>Installed Library</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>
181 rsvg-convert
182 </seg>
183 <seg>
184 librsvg-2.so and
185 libpixbufloader-svg.so (installed in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders)
186 </seg>
187 <seg>
188 /usr/include/librsvg-2.0 and
189 /usr/share/doc/librsvg-&librsvg-version;
190<!-- /usr/share/gtk-doc/html/rsvg-2.0 not built with
191 current instructions (needs gi-docgen)-->
192 </seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="rsvg-convert">
202 <term><command>rsvg-convert</command></term>
203 <listitem>
204 <para>
205 is used to convert images into PNG, PDF, PS, SVG and other formats
206 </para>
207 <indexterm zone="librsvg rsvg-convert">
208 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="librsvg-2">
214 <term><filename class="libraryfile">librsvg-2.so</filename></term>
215 <listitem>
216 <para>
217 provides the functions to render Scalable Vector Graphics
218 </para>
219 <indexterm zone="librsvg librsvg-2">
220 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="libpixbufloader-svg">
226 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
227 <listitem>
228 <para>
229 is the <application>Gdk Pixbuf</application> plugin that allows
230 <application>GTK+</application> applications to render Scalable
231 Vector Graphics images
232 </para>
233 <indexterm zone="librsvg libpixbufloader-svg">
234 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.