[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">
|
---|
[360f25bb] | 9 | <!ENTITY librsvg-md5sum "eb56ffb37a7db48491177eb9bd135cb5">
|
---|
| 10 | <!ENTITY librsvg-size "21 MB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "1 GB (24 MB installed), add 240 MB for tests">
|
---|
| 12 | <!ENTITY librsvg-time "1.7 SBU (Using parallelism=4), add 1.1 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 |
|
---|
[0942224] | 37 | &lfs112_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">
|
---|
[e1365446] | 77 | <xref linkend="cairo"/>,
|
---|
[6783d06] | 78 | <xref linkend="gdk-pixbuf"/>,
|
---|
[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 |
|
---|
[9aebeedf] | 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[72722427] | 90 | <para role="optional">
|
---|
[9aebeedf] | 91 | <xref linkend="docutils"/> (for man pages),
|
---|
| 92 | <xref linkend="xorg7-font"/> (for tests), and
|
---|
| 93 | <ulink url='https://pypi.org/project/gi-docgen/'>gi-docgen</ulink>
|
---|
| 94 | (for documentation)
|
---|
[72722427] | 95 | </para>
|
---|
| 96 |
|
---|
[1039de3] | 97 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 98 | <ulink url="&blfs-wiki;/librsvg"/>
|
---|
| 99 | </para>
|
---|
[13d6079] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
[03ac97c2] | 103 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 104 |
|
---|
[7ded7e3] | 105 | <para>
|
---|
| 106 | Install <application>librsvg</application> by running the following
|
---|
| 107 | commands:
|
---|
| 108 | </para>
|
---|
[13d6079] | 109 |
|
---|
[9aebeedf] | 110 | <screen><userinput>./configure --prefix=/usr \
|
---|
[9dbbb8d] | 111 | --enable-vala \
|
---|
[ec0f2a5] | 112 | --disable-static \
|
---|
| 113 | --docdir=/usr/share/doc/librsvg-&librsvg-version; &&
|
---|
[13d6079] | 114 | make</userinput></screen>
|
---|
| 115 |
|
---|
[7ded7e3] | 116 | <para>
|
---|
[9bd5f2d] | 117 | To test the results, issue: <command>make -k check</command>. During
|
---|
[3470d743] | 118 | testing some binaries are rebuilt with a different debug level, so you
|
---|
[9bd5f2d] | 119 | should run <command>make</command> again after the tests are complete
|
---|
| 120 | to ensure everything is ready to be installed.
|
---|
[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>
|
---|
[360f25bb] | 178 | librsvg-2.so
|
---|
[cd68ead6] | 179 | </seg>
|
---|
| 180 | <seg>
|
---|
[360f25bb] | 181 | /usr/include/librsvg-2.0 and
|
---|
| 182 | /usr/share/doc/librsvg-&librsvg-version;
|
---|
| 183 | <!-- /usr/share/gtk-doc/html/rsvg-2.0 not built with
|
---|
| 184 | current instructions (needs gi-docgen)-->
|
---|
[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>
|
---|
[4c24eb0a] | 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>
|
---|
[4c24eb0a] | 210 | provides the functions to render Scalable Vector Graphics
|
---|
[5d1cdfd] | 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
|
---|
[4c24eb0a] | 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>
|
---|