[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 |
|
---|
[12b10249] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.46/librsvg-&librsvg-version;.tar.xz">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.46/librsvg-&librsvg-version;.tar.xz">
|
---|
[18b304df] | 9 | <!ENTITY librsvg-md5sum "aca4001b267de77924b786886a1ad64a">
|
---|
[5b5575b1] | 10 | <!ENTITY librsvg-size "12 MB">
|
---|
[18b304df] | 11 | <!ENTITY librsvg-buildsize "849 MB (add 375 MB for tests)">
|
---|
[e1c8ab7] | 12 | <!ENTITY librsvg-time "1.7 SBU (add 1.2 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 |
|
---|
[ad112fd5] | 38 | &lfs90_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"/>,
|
---|
[b93d66ac] | 79 | <xref linkend="libcroco"/>,
|
---|
[e1365446] | 80 | <xref linkend="cairo"/>,
|
---|
[b93d66ac] | 81 | <xref linkend="pango"/>, and
|
---|
| 82 | <xref linkend="rust"/>
|
---|
[cd68ead6] | 83 | </para>
|
---|
[fd7e0ed6] | 84 |
|
---|
[1fc5861c] | 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
[a5782d1e] | 87 | <xref linkend="gobject-introspection"/> and
|
---|
[8c668de] | 88 | <xref linkend="vala"/>
|
---|
[4c2be438] | 89 | </para>
|
---|
| 90 |
|
---|
[13d6079] | 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 92 | <para role="optional">
|
---|
| 93 | <xref linkend="gtk-doc"/>
|
---|
| 94 | </para>
|
---|
[fd7e0ed6] | 95 |
|
---|
[1039de3] | 96 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 97 | <ulink url="&blfs-wiki;/librsvg"/>
|
---|
| 98 | </para>
|
---|
[13d6079] | 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
[03ac97c2] | 102 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 103 |
|
---|
[7ded7e3] | 104 | <para>
|
---|
| 105 | Install <application>librsvg</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
[13d6079] | 108 |
|
---|
[b93d66ac] | 109 | <screen><userinput>./configure --prefix=/usr \
|
---|
[9dbbb8d] | 110 | --enable-vala \
|
---|
[2612323f] | 111 | --disable-static &&
|
---|
[13d6079] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[7ded7e3] | 114 | <para>
|
---|
[e3b66f3] | 115 | To test the results, issue: <command>make check</command>. Over 100 tests
|
---|
| 116 | fail as a result of problems with the test suite. These test failures
|
---|
| 117 | are primarily related to svg1.1, and are comparison problems due to
|
---|
| 118 | using a later version of Pango than what the developers created the
|
---|
| 119 | initial SVG files with.
|
---|
[7ded7e3] | 120 | </para>
|
---|
[3148bf6] | 121 |
|
---|
[5d1cdfd] | 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
[13d6079] | 125 |
|
---|
| 126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1b6c879] | 127 |
|
---|
| 128 | <note>
|
---|
| 129 | <para>
|
---|
| 130 | If you installed the package on to your system using a
|
---|
| 131 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
| 132 | should be copied and/or generated. Generate it using the following
|
---|
| 133 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
| 137 | </note>
|
---|
| 138 |
|
---|
| 139 |
|
---|
[13d6079] | 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[5d1cdfd] | 145 | <para>
|
---|
[9dbbb8d] | 146 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
| 147 | building of the Vala bindings. Remove this switch if you don't have
|
---|
[2612323f] | 148 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 149 | </para>
|
---|
| 150 |
|
---|
[9dbbb8d] | 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 153 |
|
---|
[ae34f41] | 154 | <para>
|
---|
[2612323f] | 155 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 156 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 157 | </para>
|
---|
| 158 |
|
---|
[cd68ead6] | 159 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[75d341a1] | 160 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f210178] | 161 |
|
---|
[13d6079] | 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="content">
|
---|
| 165 | <title>Contents</title>
|
---|
| 166 |
|
---|
| 167 | <segmentedlist>
|
---|
| 168 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 169 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 170 | <segtitle>Installed Directories</segtitle>
|
---|
| 171 |
|
---|
| 172 | <seglistitem>
|
---|
[cd68ead6] | 173 | <seg>
|
---|
[a5782d1e] | 174 | rsvg-convert
|
---|
[cd68ead6] | 175 | </seg>
|
---|
| 176 | <seg>
|
---|
[7ded7e3] | 177 | librsvg-2.so and libpixbufloader-svg.so
|
---|
[cd68ead6] | 178 | </seg>
|
---|
| 179 | <seg>
|
---|
[5f533962] | 180 | /usr/include/librsvg-2.0 and
|
---|
| 181 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
[cd68ead6] | 182 | </seg>
|
---|
[13d6079] | 183 | </seglistitem>
|
---|
| 184 | </segmentedlist>
|
---|
| 185 |
|
---|
| 186 | <variablelist>
|
---|
| 187 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 188 | <?dbfo list-presentation="list"?>
|
---|
| 189 | <?dbhtml list-presentation="table"?>
|
---|
| 190 |
|
---|
[18971e0d] | 191 | <varlistentry id="rsvg-convert">
|
---|
| 192 | <term><command>rsvg-convert</command></term>
|
---|
| 193 | <listitem>
|
---|
[5d1cdfd] | 194 | <para>
|
---|
[2249a59] | 195 | is used to convert images into PNG, PDF, PS, SVG and other formats.
|
---|
[5d1cdfd] | 196 | </para>
|
---|
[18971e0d] | 197 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 198 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[214718a] | 203 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 204 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 205 | <listitem>
|
---|
[5d1cdfd] | 206 | <para>
|
---|
| 207 | provides the functions to render Scalable Vector Graphics.
|
---|
| 208 | </para>
|
---|
[214718a] | 209 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 210 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
[75d341a1] | 215 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 216 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 217 | <listitem>
|
---|
| 218 | <para>
|
---|
[7ded7e3] | 219 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 220 | <application>GTK+</application> applications to render Scalable
|
---|
[75d341a1] | 221 | Vector Graphics images.
|
---|
[5d1cdfd] | 222 | </para>
|
---|
[75d341a1] | 223 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 224 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
[7ded7e3] | 228 |
|
---|
[13d6079] | 229 | </variablelist>
|
---|
[7ded7e3] | 230 |
|
---|
[13d6079] | 231 | </sect2>
|
---|
[7ded7e3] | 232 |
|
---|
[ad45d1a] | 233 | </sect1>
|
---|