source: general/graphlib/librsvg.xml@ 72722427

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 72722427 was 72722427, checked in by Xi Ruoyao <xry111@…>, 2 years ago

librsvg: add xorg fonts as testsuite dependency

One rsvg-convert test fails if no fonts are available.

  • Property mode set to 100644
File size: 7.3 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 "22328b7922ab04836959f669ecef1ea7">
10 <!ENTITY librsvg-size "23 MB">
11 <!ENTITY librsvg-buildsize "920 MB (28 MB installed), add 213 MB for tests">
12 <!ENTITY librsvg-time "1.2 SBU (Using parallelism=4), add 1.7 SBU for tests">
13]>
14
15<sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
16 <?dbhtml filename="librsvg.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>librsvg-&librsvg-version;</title>
23
24 <indexterm zone="librsvg">
25 <primary sortas="a-librsvg">librsvg</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to librsvg</title>
30
31 <para>
32 The <application>librsvg</application> package contains
33 a library and tools used to manipulate, convert and view
34 Scalable Vector Graphic (SVG) images.
35 </para>
36
37 &lfs111_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&librsvg-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&librsvg-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &librsvg-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &librsvg-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &librsvg-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &librsvg-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="cairo"/>,
78 <xref linkend="docutils"/>,
79 <xref linkend="gdk-pixbuf"/>,
80 <xref linkend="pango"/>, and
81 <xref linkend="rust"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="gobject-introspection"/> and
87 <xref linkend="vala"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional (for tests)</bridgehead>
91 <para role="optional">
92 <xref linkend="xorg7-font"/>
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 This package needs <command>gi-docgen</command> to be built. Set up
105 a Python virtual environment to run it:
106 </para>
107
108<screen><userinput remap="pre">python3 -m venv pyvenv &amp;&amp;
109./pyvenv/bin/pip3 install gi-docgen</userinput></screen>
110
111 <para>
112 Install <application>librsvg</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>GI_DOCGEN=$PWD/pyvenv/bin/gi-docgen \
117./configure --prefix=/usr \
118 --enable-vala \
119 --disable-static \
120 --docdir=/usr/share/doc/librsvg-&librsvg-version; &amp;&amp;
121make</userinput></screen>
122
123 <para>
124 To test the results, issue: <command>make -k check</command>. During
125 testing some binaries are rebuilt with a different debug level, so you
126 should run <command>make</command> again after the tests are complete
127 to ensure everything is ready to be installed.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make install</userinput></screen>
135
136 <note>
137 <para>
138 If you installed the package on to your system using a
139 <quote>DESTDIR</quote> method, an important file was not installed and
140 should be copied and/or generated. Generate it using the following
141 command as the <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
145 </note>
146
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <parameter>--enable-vala</parameter>: This switch enables
155 building of the Vala bindings. Remove this switch if you don't have
156 <xref linkend="vala"/> installed.
157 </para>
158
159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/static-libraries.xml"/>
161
162 <para>
163 <option>--disable-introspection</option>: Use this switch if you have
164 not installed <application>Gobject Introspection</application>.
165 </para>
166
167 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
168 href="../../xincludes/gtk-doc-rebuild.xml"/>
169
170 </sect2>
171
172 <sect2 role="content">
173 <title>Contents</title>
174
175 <segmentedlist>
176 <segtitle>Installed Programs</segtitle>
177 <segtitle>Installed Library</segtitle>
178 <segtitle>Installed Directories</segtitle>
179
180 <seglistitem>
181 <seg>
182 rsvg-convert
183 </seg>
184 <seg>
185 librsvg-2.so and libpixbufloader-svg.so
186 (in <filename class='directory'>/usr/lib/gdk-pixbuf-2.0/2.10.0/</filename>)
187 </seg>
188 <seg>
189 /usr/include/librsvg-2.0,
190 /usr/share/doc/librsvg-&librsvg-version;, and
191 /usr/share/gtk-doc/html/rsvg-2.0
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.