source: general/graphlib/librsvg.xml@ 7a81c7f

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/xf86-video-removal
Last change on this file since 7a81c7f was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.1 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='https://pypi.org/project/gi-docgen/'>gi-docgen</ulink>
91 (for documentation)
92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/librsvg"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of librsvg</title>
101
102 <para>
103 Install <application>librsvg</application> by running the following
104 commands:
105 </para>
106
107<screen><userinput>./configure --prefix=/usr \
108 --enable-vala \
109 --disable-static \
110 --docdir=/usr/share/doc/librsvg-&librsvg-version; &amp;&amp;
111make</userinput></screen>
112
113 <para>
114 To test the results, issue: <command>make -k check</command>. During
115 testing some binaries are rebuilt with a different debug level, so you
116 should run <command>make</command> again after the tests are complete
117 to ensure everything is ready to be installed.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make 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 <option>--disable-introspection</option>: Use this switch if you have
154 not installed <application>Gobject Introspection</application>.
155 </para>
156
157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
158 href="../../xincludes/gtk-doc-rebuild.xml"/>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Library</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>
172 rsvg-convert
173 </seg>
174 <seg>
175 librsvg-2.so
176 </seg>
177 <seg>
178 /usr/include/librsvg-2.0 and
179 /usr/share/doc/librsvg-&librsvg-version;
180<!-- /usr/share/gtk-doc/html/rsvg-2.0 not built with
181 current instructions (needs gi-docgen)-->
182 </seg>
183 </seglistitem>
184 </segmentedlist>
185
186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
190
191 <varlistentry id="rsvg-convert">
192 <term><command>rsvg-convert</command></term>
193 <listitem>
194 <para>
195 is used to convert images into PNG, PDF, PS, SVG and other formats
196 </para>
197 <indexterm zone="librsvg rsvg-convert">
198 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="librsvg-2">
204 <term><filename class="libraryfile">librsvg-2.so</filename></term>
205 <listitem>
206 <para>
207 provides the functions to render Scalable Vector Graphics
208 </para>
209 <indexterm zone="librsvg librsvg-2">
210 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="libpixbufloader-svg">
216 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
217 <listitem>
218 <para>
219 is the <application>Gdk Pixbuf</application> plugin that allows
220 <application>GTK+</application> applications to render Scalable
221 Vector Graphics images
222 </para>
223 <indexterm zone="librsvg libpixbufloader-svg">
224 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.