source: general/graphlib/librsvg.xml@ 597d3c9b

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 597d3c9b was 597d3c9b, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Update to librsvg-2.48.6.
Update to git-2.27.0.
Update to audacious-4.0.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23234 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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.48/librsvg-&librsvg-version;.tar.xz">
8 <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.48/librsvg-&librsvg-version;.tar.xz">
9 <!ENTITY librsvg-md5sum "9e12b3560609cf66302f0b0d14a73f9f">
10 <!ENTITY librsvg-size "15 MB">
11 <!ENTITY librsvg-buildsize "1.3 GB (90 MB installed), add 851 MB for tests">
12 <!ENTITY librsvg-time "2.4 SBU (on a 4-core machine), add 0.6 SBU for tests">
13]>
14
15<sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
16 <?dbhtml filename="librsvg.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>librsvg-&librsvg-version;</title>
24
25 <indexterm zone="librsvg">
26 <primary sortas="a-librsvg">librsvg</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to librsvg</title>
31
32 <para>
33 The <application>librsvg</application> package contains
34 a library and tools used to manipulate, convert and view
35 Scalable Vector Graphic (SVG) images.
36 </para>
37
38 &lfs91_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&librsvg-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&librsvg-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &librsvg-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &librsvg-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &librsvg-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &librsvg-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="gdk-pixbuf"/>,
79 <xref linkend="cairo"/>,
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</bridgehead>
91 <para role="optional">
92 <xref linkend="gtk-doc"/>
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 Install <application>librsvg</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>./configure --prefix=/usr \
109 --enable-vala \
110 --disable-static &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 (48 failed in June 2020) 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, 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.