[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 |
|
---|
[11193870] | 38 | &lfs91_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 \
|
---|
[2612323f] | 110 | --disable-static &&
|
---|
[13d6079] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
[7ded7e3] | 113 | <para>
|
---|
[ec2353a] | 114 | To test the results, issue: <command>make check</command>.
|
---|
| 115 | <!-- https://gitlab.gnome.org/GNOME/librsvg/issues/511 -->
|
---|
[e985e1d] | 116 | Many of the tests in 'reftests' may fail (45 failed in June 2020) because
|
---|
[ec2353a] | 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.
|
---|
[7ded7e3] | 121 | </para>
|
---|
[3148bf6] | 122 |
|
---|
[5d1cdfd] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[13d6079] | 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1b6c879] | 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 |
|
---|
[13d6079] | 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="commands">
|
---|
| 144 | <title>Command Explanations</title>
|
---|
| 145 |
|
---|
[5d1cdfd] | 146 | <para>
|
---|
[9dbbb8d] | 147 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
| 148 | building of the Vala bindings. Remove this switch if you don't have
|
---|
[2612323f] | 149 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 150 | </para>
|
---|
| 151 |
|
---|
[9dbbb8d] | 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 153 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 154 |
|
---|
[ae34f41] | 155 | <para>
|
---|
[2612323f] | 156 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 157 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 158 | </para>
|
---|
| 159 |
|
---|
[cd68ead6] | 160 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[75d341a1] | 161 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f210178] | 162 |
|
---|
[13d6079] | 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
| 169 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 170 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 171 | <segtitle>Installed Directories</segtitle>
|
---|
| 172 |
|
---|
| 173 | <seglistitem>
|
---|
[cd68ead6] | 174 | <seg>
|
---|
[a5782d1e] | 175 | rsvg-convert
|
---|
[cd68ead6] | 176 | </seg>
|
---|
| 177 | <seg>
|
---|
[7ded7e3] | 178 | librsvg-2.so and libpixbufloader-svg.so
|
---|
[cd68ead6] | 179 | </seg>
|
---|
| 180 | <seg>
|
---|
[dde790ee] | 181 | /usr/include/librsvg-2.0,
|
---|
| 182 | /usr/share/doc/librsvg, and
|
---|
[5f533962] | 183 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
[cd68ead6] | 184 | </seg>
|
---|
[13d6079] | 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 |
|
---|
[18971e0d] | 193 | <varlistentry id="rsvg-convert">
|
---|
| 194 | <term><command>rsvg-convert</command></term>
|
---|
| 195 | <listitem>
|
---|
[5d1cdfd] | 196 | <para>
|
---|
[2249a59] | 197 | is used to convert images into PNG, PDF, PS, SVG and other formats.
|
---|
[5d1cdfd] | 198 | </para>
|
---|
[18971e0d] | 199 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 200 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
[214718a] | 205 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 206 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 207 | <listitem>
|
---|
[5d1cdfd] | 208 | <para>
|
---|
| 209 | provides the functions to render Scalable Vector Graphics.
|
---|
| 210 | </para>
|
---|
[214718a] | 211 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 212 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
[75d341a1] | 217 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 218 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 219 | <listitem>
|
---|
| 220 | <para>
|
---|
[7ded7e3] | 221 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 222 | <application>GTK+</application> applications to render Scalable
|
---|
[75d341a1] | 223 | Vector Graphics images.
|
---|
[5d1cdfd] | 224 | </para>
|
---|
[75d341a1] | 225 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 226 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
[7ded7e3] | 230 |
|
---|
[13d6079] | 231 | </variablelist>
|
---|
[7ded7e3] | 232 |
|
---|
[13d6079] | 233 | </sect2>
|
---|
[7ded7e3] | 234 |
|
---|
[ad45d1a] | 235 | </sect1>
|
---|