[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 |
|
---|
[7b6c396] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/&librsvg-minor;/librsvg-&librsvg-version;.tar.xz">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/&librsvg-minor;/librsvg-&librsvg-version;.tar.xz">
|
---|
[5998e22c] | 9 | <!ENTITY librsvg-md5sum "3a73cf8b41be9c231885801f2ad49cd6">
|
---|
[ffef0bb] | 10 | <!ENTITY librsvg-size "5.4 MB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "747 MB (25 MB installed), add 378 MB for tests">
|
---|
| 12 | <!ENTITY librsvg-time "0.7 SBU (Add 0.8 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 |
|
---|
[b474dfa] | 34 | &lfs113_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"/>,
|
---|
[6783d06] | 75 | <xref linkend="gdk-pixbuf"/>,
|
---|
[8558044] | 76 | <xref linkend="pango"/>, and
|
---|
[b93d66ac] | 77 | <xref linkend="rust"/>
|
---|
[cd68ead6] | 78 | </para>
|
---|
[fd7e0ed6] | 79 |
|
---|
[afb71d0a] | 80 | &build-use-internet;
|
---|
| 81 |
|
---|
[1fc5861c] | 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
[a5782d1e] | 84 | <xref linkend="gobject-introspection"/> and
|
---|
[8c668de] | 85 | <xref linkend="vala"/>
|
---|
[4c2be438] | 86 | </para>
|
---|
| 87 |
|
---|
[9aebeedf] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[72722427] | 89 | <para role="optional">
|
---|
[9aebeedf] | 90 | <xref linkend="docutils"/> (for man pages),
|
---|
[2a1abbb] | 91 | <xref linkend="gi-docgen"/> (for documentation), and
|
---|
| 92 | <xref linkend="xorg7-font"/> (for tests)
|
---|
[72722427] | 93 | </para>
|
---|
| 94 |
|
---|
[13d6079] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
[03ac97c2] | 98 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 99 |
|
---|
[7ded7e3] | 100 | <para>
|
---|
| 101 | Install <application>librsvg</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
[13d6079] | 104 |
|
---|
[9aebeedf] | 105 | <screen><userinput>./configure --prefix=/usr \
|
---|
[9dbbb8d] | 106 | --enable-vala \
|
---|
[ec0f2a5] | 107 | --disable-static \
|
---|
| 108 | --docdir=/usr/share/doc/librsvg-&librsvg-version; &&
|
---|
[13d6079] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[7ded7e3] | 111 | <para>
|
---|
[5998e22c] | 112 | To test the results, issue:
|
---|
[7ded7e3] | 113 | </para>
|
---|
[3148bf6] | 114 |
|
---|
[5998e22c] | 115 | <screen remap='test'><userinput>sed 's/-Z unstable-options//' -i Makefile &&
|
---|
| 116 | make check</userinput></screen>
|
---|
| 117 |
|
---|
[5d1cdfd] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
[13d6079] | 121 |
|
---|
[48d48bdd] | 122 | <screen role="root"><userinput>make DOC_INSTALL_DIR='$(docdir)' install</userinput></screen>
|
---|
[1b6c879] | 123 |
|
---|
| 124 | <note>
|
---|
| 125 | <para>
|
---|
| 126 | If you installed the package on to your system using a
|
---|
| 127 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
| 128 | should be copied and/or generated. Generate it using the following
|
---|
| 129 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
| 133 | </note>
|
---|
| 134 |
|
---|
| 135 |
|
---|
[13d6079] | 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[5d1cdfd] | 141 | <para>
|
---|
[9dbbb8d] | 142 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
| 143 | building of the Vala bindings. Remove this switch if you don't have
|
---|
[2612323f] | 144 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 145 | </para>
|
---|
| 146 |
|
---|
[9dbbb8d] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 149 |
|
---|
[48d48bdd] | 150 | <para>
|
---|
| 151 | <parameter>DOC_INSTALL_DIR='$(docdir)'</parameter>: This override
|
---|
| 152 | ensures installing the API documentation into the expected location
|
---|
| 153 | if <xref linkend='gi-docgen'/> is installed.
|
---|
| 154 | </para>
|
---|
| 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 |
|
---|
[f56d2e7] | 161 | <para>
|
---|
| 162 | <option>--disable-gtk-doc</option>: This switch prevents building
|
---|
| 163 | the API documentation, even if <xref linkend="gi-docgen"/> (despite
|
---|
| 164 | the name of the option) is available.
|
---|
| 165 | </para>
|
---|
[f210178] | 166 |
|
---|
[13d6079] | 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | <sect2 role="content">
|
---|
| 170 | <title>Contents</title>
|
---|
| 171 |
|
---|
| 172 | <segmentedlist>
|
---|
| 173 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 174 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 175 | <segtitle>Installed Directories</segtitle>
|
---|
| 176 |
|
---|
| 177 | <seglistitem>
|
---|
[cd68ead6] | 178 | <seg>
|
---|
[a5782d1e] | 179 | rsvg-convert
|
---|
[cd68ead6] | 180 | </seg>
|
---|
| 181 | <seg>
|
---|
[360f25bb] | 182 | librsvg-2.so
|
---|
[cd68ead6] | 183 | </seg>
|
---|
| 184 | <seg>
|
---|
[360f25bb] | 185 | /usr/include/librsvg-2.0 and
|
---|
| 186 | /usr/share/doc/librsvg-&librsvg-version;
|
---|
| 187 | <!-- /usr/share/gtk-doc/html/rsvg-2.0 not built with
|
---|
| 188 | current instructions (needs gi-docgen)-->
|
---|
[cd68ead6] | 189 | </seg>
|
---|
[13d6079] | 190 | </seglistitem>
|
---|
| 191 | </segmentedlist>
|
---|
| 192 |
|
---|
| 193 | <variablelist>
|
---|
| 194 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 195 | <?dbfo list-presentation="list"?>
|
---|
| 196 | <?dbhtml list-presentation="table"?>
|
---|
| 197 |
|
---|
[18971e0d] | 198 | <varlistentry id="rsvg-convert">
|
---|
| 199 | <term><command>rsvg-convert</command></term>
|
---|
| 200 | <listitem>
|
---|
[5d1cdfd] | 201 | <para>
|
---|
[4c24eb0a] | 202 | is used to convert images into PNG, PDF, PS, SVG and other formats
|
---|
[5d1cdfd] | 203 | </para>
|
---|
[18971e0d] | 204 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 205 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
[214718a] | 210 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 211 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 212 | <listitem>
|
---|
[5d1cdfd] | 213 | <para>
|
---|
[4c24eb0a] | 214 | provides the functions to render Scalable Vector Graphics
|
---|
[5d1cdfd] | 215 | </para>
|
---|
[214718a] | 216 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 217 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
[75d341a1] | 222 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 223 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 224 | <listitem>
|
---|
| 225 | <para>
|
---|
[7ded7e3] | 226 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 227 | <application>GTK+</application> applications to render Scalable
|
---|
[4c24eb0a] | 228 | Vector Graphics images
|
---|
[5d1cdfd] | 229 | </para>
|
---|
[75d341a1] | 230 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 231 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
[7ded7e3] | 235 |
|
---|
[13d6079] | 236 | </variablelist>
|
---|
[7ded7e3] | 237 |
|
---|
[13d6079] | 238 | </sect2>
|
---|
[7ded7e3] | 239 |
|
---|
[ad45d1a] | 240 | </sect1>
|
---|