[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">
|
---|
[eff86d9] | 9 | <!ENTITY librsvg-md5sum "ee5fa3ce1653b5b313e52007c53ab190">
|
---|
| 10 | <!ENTITY librsvg-size "5.1 MB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "795 MB (25 MB installed), add 421 MB for tests">
|
---|
| 12 | <!ENTITY librsvg-time "1.3 SBU (Using parallelism=4), add 2.1 SBU for tests">
|
---|
[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 |
|
---|
[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 |
|
---|
[9aebeedf] | 108 | <screen><userinput>./configure --prefix=/usr \
|
---|
[9dbbb8d] | 109 | --enable-vala \
|
---|
[ec0f2a5] | 110 | --disable-static \
|
---|
| 111 | --docdir=/usr/share/doc/librsvg-&librsvg-version; &&
|
---|
[13d6079] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[7ded7e3] | 114 | <para>
|
---|
[9bd5f2d] | 115 | To test the results, issue: <command>make -k check</command>. During
|
---|
[3470d743] | 116 | testing some binaries are rebuilt with a different debug level, so you
|
---|
[9bd5f2d] | 117 | should run <command>make</command> again after the tests are complete
|
---|
| 118 | to ensure everything is ready to be installed.
|
---|
[7ded7e3] | 119 | </para>
|
---|
[3148bf6] | 120 |
|
---|
[5d1cdfd] | 121 | <para>
|
---|
| 122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
[13d6079] | 124 |
|
---|
| 125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1b6c879] | 126 |
|
---|
| 127 | <note>
|
---|
| 128 | <para>
|
---|
| 129 | If you installed the package on to your system using a
|
---|
| 130 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
| 131 | should be copied and/or generated. Generate it using the following
|
---|
| 132 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
| 136 | </note>
|
---|
| 137 |
|
---|
| 138 |
|
---|
[13d6079] | 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
[5d1cdfd] | 144 | <para>
|
---|
[9dbbb8d] | 145 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
| 146 | building of the Vala bindings. Remove this switch if you don't have
|
---|
[2612323f] | 147 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 148 | </para>
|
---|
| 149 |
|
---|
[9dbbb8d] | 150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 151 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 152 |
|
---|
[ae34f41] | 153 | <para>
|
---|
[2612323f] | 154 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 155 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 156 | </para>
|
---|
| 157 |
|
---|
[f56d2e7] | 158 | <para>
|
---|
| 159 | <option>--disable-gtk-doc</option>: This switch prevents building
|
---|
| 160 | the API documentation, even if <xref linkend="gi-docgen"/> (despite
|
---|
| 161 | the name of the option) is available.
|
---|
| 162 | </para>
|
---|
[f210178] | 163 |
|
---|
[13d6079] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
| 170 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 171 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 172 | <segtitle>Installed Directories</segtitle>
|
---|
| 173 |
|
---|
| 174 | <seglistitem>
|
---|
[cd68ead6] | 175 | <seg>
|
---|
[a5782d1e] | 176 | rsvg-convert
|
---|
[cd68ead6] | 177 | </seg>
|
---|
| 178 | <seg>
|
---|
[360f25bb] | 179 | librsvg-2.so
|
---|
[cd68ead6] | 180 | </seg>
|
---|
| 181 | <seg>
|
---|
[360f25bb] | 182 | /usr/include/librsvg-2.0 and
|
---|
| 183 | /usr/share/doc/librsvg-&librsvg-version;
|
---|
| 184 | <!-- /usr/share/gtk-doc/html/rsvg-2.0 not built with
|
---|
| 185 | current instructions (needs gi-docgen)-->
|
---|
[cd68ead6] | 186 | </seg>
|
---|
[13d6079] | 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
| 189 |
|
---|
| 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
[18971e0d] | 195 | <varlistentry id="rsvg-convert">
|
---|
| 196 | <term><command>rsvg-convert</command></term>
|
---|
| 197 | <listitem>
|
---|
[5d1cdfd] | 198 | <para>
|
---|
[4c24eb0a] | 199 | is used to convert images into PNG, PDF, PS, SVG and other formats
|
---|
[5d1cdfd] | 200 | </para>
|
---|
[18971e0d] | 201 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 202 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
[214718a] | 207 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 208 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 209 | <listitem>
|
---|
[5d1cdfd] | 210 | <para>
|
---|
[4c24eb0a] | 211 | provides the functions to render Scalable Vector Graphics
|
---|
[5d1cdfd] | 212 | </para>
|
---|
[214718a] | 213 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 214 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
[75d341a1] | 219 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 220 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 221 | <listitem>
|
---|
| 222 | <para>
|
---|
[7ded7e3] | 223 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 224 | <application>GTK+</application> applications to render Scalable
|
---|
[4c24eb0a] | 225 | Vector Graphics images
|
---|
[5d1cdfd] | 226 | </para>
|
---|
[75d341a1] | 227 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 228 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
[7ded7e3] | 232 |
|
---|
[13d6079] | 233 | </variablelist>
|
---|
[7ded7e3] | 234 |
|
---|
[13d6079] | 235 | </sect2>
|
---|
[7ded7e3] | 236 |
|
---|
[ad45d1a] | 237 | </sect1>
|
---|