source: general/graphlib/librsvg.xml@ 787d4f0

trunk
Last change on this file since 787d4f0 was 11e68b95, checked in by Bruce Dubbs <bdubbs@…>, 9 days ago

Update to librsvg-2.59.1

  • Property mode set to 100644
File size: 7.5 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[fdca4266]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[7b6c396]7 <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/&librsvg-minor;/librsvg-&librsvg-version;.tar.xz">
[e1e58be]8 <!ENTITY librsvg-download-ftp " ">
[11e68b95]9 <!ENTITY librsvg-md5sum "7f4ddb27f5fbede01bf4e12eb4c682c0">
10 <!ENTITY librsvg-size "5.8 MB">
11 <!ENTITY librsvg-buildsize "1.2 GB (16 MB installed), add 491 MB for tests">
12 <!ENTITY librsvg-time "0.6 SBU (add 0.4 SBU for tests; both using parallelism=4)">
[fdca4266]13]>
14
[ad45d1a]15<sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
[13d6079]16 <?dbhtml filename="librsvg.html"?>
17
18
[03ac97c2]19 <title>librsvg-&librsvg-version;</title>
[13d6079]20
21 <indexterm zone="librsvg">
[7ded7e3]22 <primary sortas="a-librsvg">librsvg</primary>
[13d6079]23 </indexterm>
24
25 <sect2 role="package">
[03ac97c2]26 <title>Introduction to librsvg</title>
[13d6079]27
[5d1cdfd]28 <para>
29 The <application>librsvg</application> package contains
[8c668de]30 a library and tools used to manipulate, convert and view
31 Scalable Vector Graphic (SVG) images.
[5d1cdfd]32 </para>
[13d6079]33
[3c9b5e9]34 &lfs122_checked;
[49f7d8b]35
[13d6079]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
[7ded7e3]39 <para>
40 Download (HTTP): <ulink url="&librsvg-download-http;"/>
41 </para>
[13d6079]42 </listitem>
43 <listitem>
[7ded7e3]44 <para>
45 Download (FTP): <ulink url="&librsvg-download-ftp;"/>
46 </para>
[13d6079]47 </listitem>
48 <listitem>
[7ded7e3]49 <para>
50 Download MD5 sum: &librsvg-md5sum;
51 </para>
[13d6079]52 </listitem>
53 <listitem>
[7ded7e3]54 <para>
55 Download size: &librsvg-size;
56 </para>
[13d6079]57 </listitem>
58 <listitem>
[7ded7e3]59 <para>
60 Estimated disk space required: &librsvg-buildsize;
61 </para>
[13d6079]62 </listitem>
63 <listitem>
[7ded7e3]64 <para>
65 Estimated build time: &librsvg-time;
66 </para>
[13d6079]67 </listitem>
68 </itemizedlist>
69
[03ac97c2]70 <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
[13d6079]71
72 <bridgehead renderas="sect4">Required</bridgehead>
[cd68ead6]73 <para role="required">
[e1365446]74 <xref linkend="cairo"/>,
[11e68b95]75 <xref linkend="cargo-c"/>,
[6783d06]76 <xref linkend="gdk-pixbuf"/>,
[8558044]77 <xref linkend="pango"/>, and
[b93d66ac]78 <xref linkend="rust"/>
[cd68ead6]79 </para>
[fd7e0ed6]80
[afb71d0a]81 &build-use-internet;
82
[1fc5861c]83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
[c0bc0a9]85 &gobject-introspection; and
[8c668de]86 <xref linkend="vala"/>
[4c2be438]87 </para>
88
[9aebeedf]89 <bridgehead renderas="sect4">Optional</bridgehead>
[72722427]90 <para role="optional">
[9aebeedf]91 <xref linkend="docutils"/> (for man pages),
[2a1abbb]92 <xref linkend="gi-docgen"/> (for documentation), and
93 <xref linkend="xorg7-font"/> (for tests)
[72722427]94 </para>
95
[13d6079]96 </sect2>
97
98 <sect2 role="installation">
[03ac97c2]99 <title>Installation of librsvg</title>
[3148bf6]100
[7ded7e3]101 <para>
102 Install <application>librsvg</application> by running the following
103 commands:
104 </para>
[13d6079]105
[11e68b95]106<screen><userinput>mkdir build &amp;&amp;
107cd build &amp;&amp;
[13d6079]108
[11e68b95]109meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
110meson compile</userinput></screen>
[3e961754]111
112 <!-- Be sure to unset GLIB_LOG_LEVEL. If set, it interferes with the
[11e68b95]113 tests.
114
115 With 2.59.1 one test of 5 fails.
116 -->
[3e961754]117
[7ded7e3]118 <para>
[6bc97f24]119 To test the results, issue:
120 </para>
121
[11e68b95]122 <screen remap='test'><userinput>meson test --print-errorlogs --no-rebuild</userinput></screen>
[6bc97f24]123
124 <para>
[11e68b95]125 One test, C API tests, is known to fail.
[7ded7e3]126 </para>
[3148bf6]127
[5d1cdfd]128 <para>
[11e68b95]129 Now, as the &root; user:
[5d1cdfd]130 </para>
[13d6079]131
[11e68b95]132<screen role="root"><userinput>meson install --no-rebuild </userinput></screen>
133<!--
[1b6c879]134 <note>
135 <para>
136 If you installed the package on to your system using a
137 <quote>DESTDIR</quote> method, an important file was not installed and
138 should be copied and/or generated. Generate it using the following
139 command as the <systemitem class="username">root</systemitem> user:
140 </para>
141
[11e68b95]142<screen role="root"><userinput>gdk-pixbuf-query-loaders - -update-cache</userinput></screen>
[1b6c879]143 </note>
[11e68b95]144-->
[1b6c879]145
[13d6079]146 </sect2>
[11e68b95]147<!--
[13d6079]148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
[5d1cdfd]151 <para>
[11e68b95]152 <parameter>- -enable-vala</parameter>: This switch enables
[9dbbb8d]153 building of the Vala bindings. Remove this switch if you don't have
[2612323f]154 <xref linkend="vala"/> installed.
[ae34f41]155 </para>
156
[9dbbb8d]157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
158 href="../../xincludes/static-libraries.xml"/>
159
[48d48bdd]160 <para>
161 <parameter>DOC_INSTALL_DIR='$(docdir)'</parameter>: This override
162 ensures installing the API documentation into the expected location
163 if <xref linkend='gi-docgen'/> is installed.
164 </para>
165
[6bc97f24]166 <para>
[11e68b95]167 <command>cargo update - -precise=0.3.36 time</command>: This updates
[770eccf4]168 the <filename>Cargo.lock</filename> file to refer to version 0.3.36
169 of the time crate for the test suite. Originally it refers to
170 version 0.3.34, which fails to build with Rustc-1.80.0 or later.
[6bc97f24]171 </para>
172
[ae34f41]173 <para>
[11e68b95]174 <option>- -disable-introspection</option>: Use this switch if you have
[2612323f]175 not installed <application>Gobject Introspection</application>.
[28b61748]176 </para>
177
[f56d2e7]178 <para>
[11e68b95]179 <option>- -disable-gtk-doc</option>: This switch prevents building
[f56d2e7]180 the API documentation, even if <xref linkend="gi-docgen"/> (despite
181 the name of the option) is available.
182 </para>
[f210178]183
[13d6079]184 </sect2>
[11e68b95]185-->
[13d6079]186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
[cd68ead6]191 <segtitle>Installed Library</segtitle>
[13d6079]192 <segtitle>Installed Directories</segtitle>
193
194 <seglistitem>
[cd68ead6]195 <seg>
[a5782d1e]196 rsvg-convert
[cd68ead6]197 </seg>
198 <seg>
[485ee94]199 librsvg-2.so and
200 libpixbufloader-svg.so (installed in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders)
[cd68ead6]201 </seg>
202 <seg>
[360f25bb]203 /usr/include/librsvg-2.0 and
204 /usr/share/doc/librsvg-&librsvg-version;
[cd68ead6]205 </seg>
[13d6079]206 </seglistitem>
207 </segmentedlist>
208
209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
213
[18971e0d]214 <varlistentry id="rsvg-convert">
215 <term><command>rsvg-convert</command></term>
216 <listitem>
[5d1cdfd]217 <para>
[4c24eb0a]218 is used to convert images into PNG, PDF, PS, SVG and other formats
[5d1cdfd]219 </para>
[18971e0d]220 <indexterm zone="librsvg rsvg-convert">
221 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
[214718a]226 <varlistentry id="librsvg-2">
[8c668de]227 <term><filename class="libraryfile">librsvg-2.so</filename></term>
[13d6079]228 <listitem>
[5d1cdfd]229 <para>
[4c24eb0a]230 provides the functions to render Scalable Vector Graphics
[5d1cdfd]231 </para>
[214718a]232 <indexterm zone="librsvg librsvg-2">
[cd68ead6]233 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
[13d6079]234 </indexterm>
235 </listitem>
236 </varlistentry>
237
[75d341a1]238 <varlistentry id="libpixbufloader-svg">
[8c668de]239 <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
[5d1cdfd]240 <listitem>
241 <para>
[7ded7e3]242 is the <application>Gdk Pixbuf</application> plugin that allows
[0d7900a]243 <application>GTK+</application> applications to render Scalable
[4c24eb0a]244 Vector Graphics images
[5d1cdfd]245 </para>
[75d341a1]246 <indexterm zone="librsvg libpixbufloader-svg">
247 <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
[5d1cdfd]248 </indexterm>
249 </listitem>
250 </varlistentry>
[7ded7e3]251
[13d6079]252 </variablelist>
[7ded7e3]253
[13d6079]254 </sect2>
[7ded7e3]255
[ad45d1a]256</sect1>
Note: See TracBrowser for help on using the repository browser.