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