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

11.0 11.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7fef166 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • 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/2.50/librsvg-&librsvg-version;.tar.xz">
8 <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.50/librsvg-&librsvg-version;.tar.xz">
9 <!ENTITY librsvg-md5sum "94764e3dfbf9392afc986a42f2af0639">
10 <!ENTITY librsvg-size "18 MB">
11 <!ENTITY librsvg-buildsize "1.2 GB (97 MB installed), add 994 MB for tests">
12 <!ENTITY librsvg-time "1.1 SBU (Using parallelism=4), add 1.4 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 &lfs101_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="gdk-pixbuf"/>,
78 <xref linkend="cairo"/>,
79 <xref linkend="pango"/>, and
80 <xref linkend="rust"/>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="gobject-introspection"/> and
86 <xref linkend="vala"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="gtk-doc"/>
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 check</command>.
115 <!-- https://gitlab.gnome.org/GNOME/librsvg/issues/511 -->
116 Many of the tests in 'reftests' may fail (44 in April 2021) because
117 they produce, and then diff, graphic files with text and the details such
118 as spacing vary when the system versions of cairo, freetype, pixman, pango
119 and perhaps harfbuzz differ from the versions on the system where the
120 reference files were created.
121 </para>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make install</userinput></screen>
128
129 <note>
130 <para>
131 If you installed the package on to your system using a
132 <quote>DESTDIR</quote> method, an important file was not installed and
133 should be copied and/or generated. Generate it using the following
134 command as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
138 </note>
139
140
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <para>
147 <parameter>--enable-vala</parameter>: This switch enables
148 building of the Vala bindings. Remove this switch if you don't have
149 <xref linkend="vala"/> installed.
150 </para>
151
152 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
153 href="../../xincludes/static-libraries.xml"/>
154
155 <para>
156 <option>--disable-introspection</option>: Use this switch if you have
157 not installed <application>Gobject Introspection</application>.
158 </para>
159
160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
161 href="../../xincludes/gtk-doc-rebuild.xml"/>
162
163 </sect2>
164
165 <sect2 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Programs</segtitle>
170 <segtitle>Installed Library</segtitle>
171 <segtitle>Installed Directories</segtitle>
172
173 <seglistitem>
174 <seg>
175 rsvg-convert
176 </seg>
177 <seg>
178 librsvg-2.so and libpixbufloader-svg.so
179 </seg>
180 <seg>
181 /usr/include/librsvg-2.0,
182 /usr/share/doc/librsvg-&librsvg-version;, and
183 /usr/share/gtk-doc/html/rsvg-2.0
184 </seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <varlistentry id="rsvg-convert">
194 <term><command>rsvg-convert</command></term>
195 <listitem>
196 <para>
197 is used to convert images into PNG, PDF, PS, SVG and other formats
198 </para>
199 <indexterm zone="librsvg rsvg-convert">
200 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="librsvg-2">
206 <term><filename class="libraryfile">librsvg-2.so</filename></term>
207 <listitem>
208 <para>
209 provides the functions to render Scalable Vector Graphics
210 </para>
211 <indexterm zone="librsvg librsvg-2">
212 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="libpixbufloader-svg">
218 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
219 <listitem>
220 <para>
221 is the <application>Gdk Pixbuf</application> plugin that allows
222 <application>GTK+</application> applications to render Scalable
223 Vector Graphics images
224 </para>
225 <indexterm zone="librsvg libpixbufloader-svg">
226 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 </variablelist>
232
233 </sect2>
234
235</sect1>
Note: See TracBrowser for help on using the repository browser.