source: general/graphlib/librsvg.xml@ a8559c1

trunk
Last change on this file since a8559c1 was a8559c1, checked in by Xi Ruoyao <xry111@…>, 41 hours ago

librsvg: Use generic "MNNI" instruction

I can see no unnecessary rebuild in ninja test, nor ninja install. And
all tests pass with Rustc-1.82.0.

  • Property mode set to 100644
File size: 7.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 " ">
9 <!ENTITY librsvg-md5sum "7f4ddb27f5fbede01bf4e12eb4c682c0">
10 <!ENTITY librsvg-size "5.8 MB">
11 <!ENTITY librsvg-buildsize "1.2 GB (16 MB installed), add 491 MB for tests">
12 <!ENTITY librsvg-time "0.6 SBU (add 0.4 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 &lfs122_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="cargo-c"/>,
76 <xref linkend="gdk-pixbuf"/>,
77 <xref linkend="pango"/>, and
78 <xref linkend="rust"/>
79 </para>
80
81 &build-use-internet;
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 &gobject-introspection; and
86 <xref linkend="vala"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="docutils"/> (for man pages),
92 <xref linkend="gi-docgen"/> (for documentation), and
93 <xref linkend="xorg7-font"/> (for tests)
94 </para>
95
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>mkdir build &amp;&amp;
107cd build &amp;&amp;
108
109meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
110ninja</userinput></screen>
111
112 <!-- Be sure to unset GLIB_LOG_LEVEL. If set, it interferes with the
113 tests.
114
115 With 2.59.1 one test of 5 fails. (I cannot see any failures here,
116 but using rustc-1.82.0.)
117 -->
118
119 <para>
120 To test the results, issue:
121 </para>
122
123 <screen remap='test'><userinput>ninja test</userinput></screen>
124
125 <para>
126 Now, as the &root; user:
127 </para>
128
129<screen role="root"><userinput>ninja install</userinput></screen>
130<!--
131 <note>
132 <para>
133 If you installed the package on to your system using a
134 <quote>DESTDIR</quote> method, an important file was not installed and
135 should be copied and/or generated. Generate it using the following
136 command as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>gdk-pixbuf-query-loaders - -update-cache</userinput></screen>
140 </note>
141-->
142
143 </sect2>
144<!--
145 <sect2 role="commands">
146 <title>Command Explanations</title>
147
148 <para>
149 <parameter>- -enable-vala</parameter>: This switch enables
150 building of the Vala bindings. Remove this switch if you don't have
151 <xref linkend="vala"/> installed.
152 </para>
153
154 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
155 href="../../xincludes/static-libraries.xml"/>
156
157 <para>
158 <parameter>DOC_INSTALL_DIR='$(docdir)'</parameter>: This override
159 ensures installing the API documentation into the expected location
160 if <xref linkend='gi-docgen'/> is installed.
161 </para>
162
163 <para>
164 <command>cargo update - -precise=0.3.36 time</command>: This updates
165 the <filename>Cargo.lock</filename> file to refer to version 0.3.36
166 of the time crate for the test suite. Originally it refers to
167 version 0.3.34, which fails to build with Rustc-1.80.0 or later.
168 </para>
169
170 <para>
171 <option>- -disable-introspection</option>: Use this switch if you have
172 not installed <application>Gobject Introspection</application>.
173 </para>
174
175 <para>
176 <option>- -disable-gtk-doc</option>: This switch prevents building
177 the API documentation, even if <xref linkend="gi-docgen"/> (despite
178 the name of the option) is available.
179 </para>
180
181 </sect2>
182-->
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Library</segtitle>
189 <segtitle>Installed Directories</segtitle>
190
191 <seglistitem>
192 <seg>
193 rsvg-convert
194 </seg>
195 <seg>
196 librsvg-2.so and
197 libpixbufloader-svg.so (installed in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders)
198 </seg>
199 <seg>
200 /usr/include/librsvg-2.0 and
201 /usr/share/doc/librsvg-&librsvg-version;
202 </seg>
203 </seglistitem>
204 </segmentedlist>
205
206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
211 <varlistentry id="rsvg-convert">
212 <term><command>rsvg-convert</command></term>
213 <listitem>
214 <para>
215 is used to convert images into PNG, PDF, PS, SVG and other formats
216 </para>
217 <indexterm zone="librsvg rsvg-convert">
218 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="librsvg-2">
224 <term><filename class="libraryfile">librsvg-2.so</filename></term>
225 <listitem>
226 <para>
227 provides the functions to render Scalable Vector Graphics
228 </para>
229 <indexterm zone="librsvg librsvg-2">
230 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="libpixbufloader-svg">
236 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
237 <listitem>
238 <para>
239 is the <application>Gdk Pixbuf</application> plugin that allows
240 <application>GTK+</application> applications to render Scalable
241 Vector Graphics images
242 </para>
243 <indexterm zone="librsvg libpixbufloader-svg">
244 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 </variablelist>
250
251 </sect2>
252
253</sect1>
Note: See TracBrowser for help on using the repository browser.