source: general/graphlib/librsvg.xml@ d437f756

10.1 11.0 lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since d437f756 was d437f756, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

More library tags

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