source: general/graphlib/librsvg.xml@ ec2353a

10.0 10.1 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 ec2353a was ec2353a, checked in by Ken Moffat <ken@…>, 4 years ago

rustc-1.39.0,
librsvg-2.48.0,
fix seamonkey for this version of rust.

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

  • Property mode set to 100644
File size: 7.0 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 "1f682259f2d11e786f283079e4ed02b7">
10 <!ENTITY librsvg-size "13 MB">
11 <!ENTITY librsvg-buildsize "1.3 GB (83 MB installed), add 616 MB for tests">
12 <!ENTITY librsvg-time "2.3 SBU (on a 4-core machine), add 1.0 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 (45 failed in March 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 and
182 /usr/share/gtk-doc/html/rsvg-2.0
183 </seg>
184 </seglistitem>
185 </segmentedlist>
186
187 <variablelist>
188 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
189 <?dbfo list-presentation="list"?>
190 <?dbhtml list-presentation="table"?>
191
192 <varlistentry id="rsvg-convert">
193 <term><command>rsvg-convert</command></term>
194 <listitem>
195 <para>
196 is used to convert images into PNG, PDF, PS, SVG and other formats.
197 </para>
198 <indexterm zone="librsvg rsvg-convert">
199 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="librsvg-2">
205 <term><filename class="libraryfile">librsvg-2.so</filename></term>
206 <listitem>
207 <para>
208 provides the functions to render Scalable Vector Graphics.
209 </para>
210 <indexterm zone="librsvg librsvg-2">
211 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="libpixbufloader-svg">
217 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
218 <listitem>
219 <para>
220 is the <application>Gdk Pixbuf</application> plugin that allows
221 <application>GTK+</application> applications to render Scalable
222 Vector Graphics images.
223 </para>
224 <indexterm zone="librsvg libpixbufloader-svg">
225 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 </variablelist>
231
232 </sect2>
233
234</sect1>
Note: See TracBrowser for help on using the repository browser.