[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[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 |
|
---|
[ec2353a] | 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">
|
---|
[45ec863] | 9 | <!ENTITY librsvg-md5sum "420860bd1f5eb4bde7fd89764a6e82f0">
|
---|
| 10 | <!ENTITY librsvg-size "15 MB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "1.3 GB (90 MB installed), add 864 MB for tests">
|
---|
| 12 | <!ENTITY librsvg-time "2.0 SBU (on a 4-core machine), add 0.9 SBU for tests">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[ad45d1a] | 15 | <sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
|
---|
[13d6079] | 16 | <?dbhtml filename="librsvg.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[03ac97c2] | 23 | <title>librsvg-&librsvg-version;</title>
|
---|
[13d6079] | 24 |
|
---|
| 25 | <indexterm zone="librsvg">
|
---|
[7ded7e3] | 26 | <primary sortas="a-librsvg">librsvg</primary>
|
---|
[13d6079] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[03ac97c2] | 30 | <title>Introduction to librsvg</title>
|
---|
[13d6079] | 31 |
|
---|
[5d1cdfd] | 32 | <para>
|
---|
| 33 | The <application>librsvg</application> package contains
|
---|
[8c668de] | 34 | a library and tools used to manipulate, convert and view
|
---|
| 35 | Scalable Vector Graphic (SVG) images.
|
---|
[5d1cdfd] | 36 | </para>
|
---|
[13d6079] | 37 |
|
---|
[7ebcf19] | 38 | &lfs10_checked;
|
---|
[49f7d8b] | 39 |
|
---|
[13d6079] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[7ded7e3] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&librsvg-download-http;"/>
|
---|
| 45 | </para>
|
---|
[13d6079] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[7ded7e3] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&librsvg-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[13d6079] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[7ded7e3] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &librsvg-md5sum;
|
---|
| 55 | </para>
|
---|
[13d6079] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[7ded7e3] | 58 | <para>
|
---|
| 59 | Download size: &librsvg-size;
|
---|
| 60 | </para>
|
---|
[13d6079] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[7ded7e3] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &librsvg-buildsize;
|
---|
| 65 | </para>
|
---|
[13d6079] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[7ded7e3] | 68 | <para>
|
---|
| 69 | Estimated build time: &librsvg-time;
|
---|
| 70 | </para>
|
---|
[13d6079] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[03ac97c2] | 74 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
[13d6079] | 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cd68ead6] | 77 | <para role="required">
|
---|
[123166c0] | 78 | <xref linkend="gdk-pixbuf"/>,
|
---|
[e1365446] | 79 | <xref linkend="cairo"/>,
|
---|
[b93d66ac] | 80 | <xref linkend="pango"/>, and
|
---|
| 81 | <xref linkend="rust"/>
|
---|
[cd68ead6] | 82 | </para>
|
---|
[fd7e0ed6] | 83 |
|
---|
[1fc5861c] | 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[a5782d1e] | 86 | <xref linkend="gobject-introspection"/> and
|
---|
[8c668de] | 87 | <xref linkend="vala"/>
|
---|
[4c2be438] | 88 | </para>
|
---|
| 89 |
|
---|
[13d6079] | 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 91 | <para role="optional">
|
---|
| 92 | <xref linkend="gtk-doc"/>
|
---|
| 93 | </para>
|
---|
[fd7e0ed6] | 94 |
|
---|
[1039de3] | 95 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 96 | <ulink url="&blfs-wiki;/librsvg"/>
|
---|
| 97 | </para>
|
---|
[13d6079] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[03ac97c2] | 101 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 102 |
|
---|
[7ded7e3] | 103 | <para>
|
---|
| 104 | Install <application>librsvg</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
[13d6079] | 107 |
|
---|
[b93d66ac] | 108 | <screen><userinput>./configure --prefix=/usr \
|
---|
[9dbbb8d] | 109 | --enable-vala \
|
---|
[ec0f2a5] | 110 | --disable-static \
|
---|
| 111 | --docdir=/usr/share/doc/librsvg-&librsvg-version; &&
|
---|
[13d6079] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[7ded7e3] | 114 | <para>
|
---|
[ec2353a] | 115 | To test the results, issue: <command>make check</command>.
|
---|
| 116 | <!-- https://gitlab.gnome.org/GNOME/librsvg/issues/511 -->
|
---|
[e985e1d] | 117 | Many of the tests in 'reftests' may fail (45 failed in June 2020) because
|
---|
[ec2353a] | 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.
|
---|
[7ded7e3] | 122 | </para>
|
---|
[3148bf6] | 123 |
|
---|
[5d1cdfd] | 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
[13d6079] | 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1b6c879] | 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 |
|
---|
[13d6079] | 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="commands">
|
---|
| 145 | <title>Command Explanations</title>
|
---|
| 146 |
|
---|
[5d1cdfd] | 147 | <para>
|
---|
[9dbbb8d] | 148 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
| 149 | building of the Vala bindings. Remove this switch if you don't have
|
---|
[2612323f] | 150 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 151 | </para>
|
---|
| 152 |
|
---|
[9dbbb8d] | 153 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 154 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 155 |
|
---|
[ae34f41] | 156 | <para>
|
---|
[2612323f] | 157 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 158 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 159 | </para>
|
---|
| 160 |
|
---|
[cd68ead6] | 161 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[75d341a1] | 162 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f210178] | 163 |
|
---|
[13d6079] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
| 170 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 171 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 172 | <segtitle>Installed Directories</segtitle>
|
---|
| 173 |
|
---|
| 174 | <seglistitem>
|
---|
[cd68ead6] | 175 | <seg>
|
---|
[a5782d1e] | 176 | rsvg-convert
|
---|
[cd68ead6] | 177 | </seg>
|
---|
| 178 | <seg>
|
---|
[7ded7e3] | 179 | librsvg-2.so and libpixbufloader-svg.so
|
---|
[cd68ead6] | 180 | </seg>
|
---|
| 181 | <seg>
|
---|
[dde790ee] | 182 | /usr/include/librsvg-2.0,
|
---|
| 183 | /usr/share/doc/librsvg, and
|
---|
[5f533962] | 184 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
[cd68ead6] | 185 | </seg>
|
---|
[13d6079] | 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 |
|
---|
[18971e0d] | 194 | <varlistentry id="rsvg-convert">
|
---|
| 195 | <term><command>rsvg-convert</command></term>
|
---|
| 196 | <listitem>
|
---|
[5d1cdfd] | 197 | <para>
|
---|
[2249a59] | 198 | is used to convert images into PNG, PDF, PS, SVG and other formats.
|
---|
[5d1cdfd] | 199 | </para>
|
---|
[18971e0d] | 200 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 201 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
[214718a] | 206 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 207 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 208 | <listitem>
|
---|
[5d1cdfd] | 209 | <para>
|
---|
| 210 | provides the functions to render Scalable Vector Graphics.
|
---|
| 211 | </para>
|
---|
[214718a] | 212 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 213 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
[75d341a1] | 218 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 219 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 220 | <listitem>
|
---|
| 221 | <para>
|
---|
[7ded7e3] | 222 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 223 | <application>GTK+</application> applications to render Scalable
|
---|
[75d341a1] | 224 | Vector Graphics images.
|
---|
[5d1cdfd] | 225 | </para>
|
---|
[75d341a1] | 226 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 227 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
[7ded7e3] | 231 |
|
---|
[13d6079] | 232 | </variablelist>
|
---|
[7ded7e3] | 233 |
|
---|
[13d6079] | 234 | </sect2>
|
---|
[7ded7e3] | 235 |
|
---|
[ad45d1a] | 236 | </sect1>
|
---|