[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 |
|
---|
[e1365446] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.44/librsvg-&librsvg-version;.tar.xz">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.44/librsvg-&librsvg-version;.tar.xz">
|
---|
[95c1e0c] | 9 | <!ENTITY librsvg-md5sum "7570d139148f3554fa60fb2a0ecfc4f8">
|
---|
[5b5575b1] | 10 | <!ENTITY librsvg-size "12 MB">
|
---|
[95c1e0c] | 11 | <!ENTITY librsvg-buildsize "790 MB (add 340 MB for tests)">
|
---|
| 12 | <!ENTITY librsvg-time "0.9 SBU (add 0.8 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 |
|
---|
[38489aa0] | 38 | &lfs84_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">
|
---|
[9dbbb8d] | 87 | <xref linkend="gobject-introspection"/>,
|
---|
| 88 | <xref linkend="gtk3"/> (For the <command>rsvg-view-3</command>), and
|
---|
[8c668de] | 89 | <xref linkend="vala"/>
|
---|
[4c2be438] | 90 | </para>
|
---|
| 91 |
|
---|
[13d6079] | 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 93 | <para role="optional">
|
---|
| 94 | <xref linkend="gtk-doc"/>
|
---|
| 95 | </para>
|
---|
[fd7e0ed6] | 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 |
|
---|
[b93d66ac] | 110 | <screen><userinput>./configure --prefix=/usr \
|
---|
[9dbbb8d] | 111 | --enable-vala \
|
---|
[2612323f] | 112 | --disable-static &&
|
---|
[13d6079] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[7ded7e3] | 115 | <para>
|
---|
[5f533962] | 116 | To test the results, issue: <command>make check</command>.
|
---|
[95c1e0c] | 117 | There are a substantial number of failures in the test suite.
|
---|
[7ded7e3] | 118 | </para>
|
---|
[3148bf6] | 119 |
|
---|
[5d1cdfd] | 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
[13d6079] | 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1b6c879] | 125 |
|
---|
| 126 | <note>
|
---|
| 127 | <para>
|
---|
| 128 | If you installed the package on to your system using a
|
---|
| 129 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
| 130 | should be copied and/or generated. Generate it using the following
|
---|
| 131 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
| 135 | </note>
|
---|
| 136 |
|
---|
| 137 |
|
---|
[13d6079] | 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
| 142 |
|
---|
[5d1cdfd] | 143 | <para>
|
---|
[9dbbb8d] | 144 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
| 145 | building of the Vala bindings. Remove this switch if you don't have
|
---|
[2612323f] | 146 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 147 | </para>
|
---|
| 148 |
|
---|
[9dbbb8d] | 149 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 150 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 151 |
|
---|
[ae34f41] | 152 | <para>
|
---|
[2612323f] | 153 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 154 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 155 | </para>
|
---|
| 156 |
|
---|
[cd68ead6] | 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[75d341a1] | 158 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f210178] | 159 |
|
---|
[13d6079] | 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
| 166 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 167 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 168 | <segtitle>Installed Directories</segtitle>
|
---|
| 169 |
|
---|
| 170 | <seglistitem>
|
---|
[cd68ead6] | 171 | <seg>
|
---|
[7ded7e3] | 172 | rsvg-convert and rsvg-view-3
|
---|
[cd68ead6] | 173 | </seg>
|
---|
| 174 | <seg>
|
---|
[7ded7e3] | 175 | librsvg-2.so and libpixbufloader-svg.so
|
---|
[cd68ead6] | 176 | </seg>
|
---|
| 177 | <seg>
|
---|
[5f533962] | 178 | /usr/include/librsvg-2.0 and
|
---|
| 179 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
[cd68ead6] | 180 | </seg>
|
---|
[13d6079] | 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
[18971e0d] | 189 | <varlistentry id="rsvg-convert">
|
---|
| 190 | <term><command>rsvg-convert</command></term>
|
---|
| 191 | <listitem>
|
---|
[5d1cdfd] | 192 | <para>
|
---|
[2249a59] | 193 | is used to convert images into PNG, PDF, PS, SVG and other formats.
|
---|
[5d1cdfd] | 194 | </para>
|
---|
[18971e0d] | 195 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 196 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[cd68ead6] | 201 | <varlistentry id="rsvg-view-3">
|
---|
| 202 | <term><command>rsvg-view-3</command></term>
|
---|
[13d6079] | 203 | <listitem>
|
---|
[5d1cdfd] | 204 | <para>
|
---|
[7ded7e3] | 205 | is a simple GTK+ 3 application that can be used to view an SVG file.
|
---|
[5d1cdfd] | 206 | </para>
|
---|
[cd68ead6] | 207 | <indexterm zone="librsvg rsvg-view-3">
|
---|
| 208 | <primary sortas="b-rsvg-view-3">rsvg-view-3</primary>
|
---|
[13d6079] | 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[214718a] | 213 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 214 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 215 | <listitem>
|
---|
[5d1cdfd] | 216 | <para>
|
---|
| 217 | provides the functions to render Scalable Vector Graphics.
|
---|
| 218 | </para>
|
---|
[214718a] | 219 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 220 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
[75d341a1] | 225 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 226 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 227 | <listitem>
|
---|
| 228 | <para>
|
---|
[7ded7e3] | 229 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 230 | <application>GTK+</application> applications to render Scalable
|
---|
[75d341a1] | 231 | Vector Graphics images.
|
---|
[5d1cdfd] | 232 | </para>
|
---|
[75d341a1] | 233 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 234 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
[7ded7e3] | 238 |
|
---|
[13d6079] | 239 | </variablelist>
|
---|
[7ded7e3] | 240 |
|
---|
[13d6079] | 241 | </sect2>
|
---|
[7ded7e3] | 242 |
|
---|
[ad45d1a] | 243 | </sect1>
|
---|