[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 |
|
---|
[5f533962] | 7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.40/librsvg-&librsvg-version;.tar.xz">
|
---|
| 8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.40/librsvg-&librsvg-version;.tar.xz">
|
---|
[241105b] | 9 | <!ENTITY librsvg-md5sum "a31eb5d66c3fe94d888a6b17a287ea42">
|
---|
[5f533962] | 10 | <!ENTITY librsvg-size "496 KB">
|
---|
[241105b] | 11 | <!ENTITY librsvg-buildsize "11 MB (additional 1 MB to rebuild and install
|
---|
| 12 | the API documentation)">
|
---|
| 13 | <!ENTITY librsvg-time "0.3 SBU (additional 0.3 SBU for the tests)">
|
---|
[fdca4266] | 14 | ]>
|
---|
| 15 |
|
---|
[ad45d1a] | 16 | <sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
|
---|
[13d6079] | 17 | <?dbhtml filename="librsvg.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[03ac97c2] | 24 | <title>librsvg-&librsvg-version;</title>
|
---|
[13d6079] | 25 |
|
---|
| 26 | <indexterm zone="librsvg">
|
---|
[7ded7e3] | 27 | <primary sortas="a-librsvg">librsvg</primary>
|
---|
[13d6079] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[03ac97c2] | 31 | <title>Introduction to librsvg</title>
|
---|
[13d6079] | 32 |
|
---|
[5d1cdfd] | 33 | <para>
|
---|
| 34 | The <application>librsvg</application> package contains
|
---|
[8c668de] | 35 | a library and tools used to manipulate, convert and view
|
---|
| 36 | Scalable Vector Graphic (SVG) images.
|
---|
[5d1cdfd] | 37 | </para>
|
---|
[13d6079] | 38 |
|
---|
[6392ac9] | 39 | &lfs75_checked;
|
---|
[49f7d8b] | 40 |
|
---|
[13d6079] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[7ded7e3] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&librsvg-download-http;"/>
|
---|
| 46 | </para>
|
---|
[13d6079] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[7ded7e3] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&librsvg-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[13d6079] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[7ded7e3] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &librsvg-md5sum;
|
---|
| 56 | </para>
|
---|
[13d6079] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[7ded7e3] | 59 | <para>
|
---|
| 60 | Download size: &librsvg-size;
|
---|
| 61 | </para>
|
---|
[13d6079] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[7ded7e3] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &librsvg-buildsize;
|
---|
| 66 | </para>
|
---|
[13d6079] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[7ded7e3] | 69 | <para>
|
---|
| 70 | Estimated build time: &librsvg-time;
|
---|
| 71 | </para>
|
---|
[13d6079] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[03ac97c2] | 75 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
[13d6079] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cd68ead6] | 78 | <para role="required">
|
---|
[123166c0] | 79 | <xref linkend="gdk-pixbuf"/>,
|
---|
| 80 | <xref linkend="libcroco"/> and
|
---|
[75d341a1] | 81 | <xref linkend="pango"/>
|
---|
[cd68ead6] | 82 | </para>
|
---|
[fd7e0ed6] | 83 |
|
---|
[1fc5861c] | 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[e7f42de3] | 86 | <xref linkend="gtk3"/> (For the <command>rsvg-view-3</command>)
|
---|
[1fc5861c] | 87 | </para>
|
---|
| 88 |
|
---|
[4c2be438] | 89 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
[8c668de] | 91 | <xref linkend="gobject-introspection"/> and
|
---|
| 92 | <xref linkend="vala"/>
|
---|
[4c2be438] | 93 | </para>
|
---|
| 94 |
|
---|
[13d6079] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 96 | <para role="optional">
|
---|
| 97 | <xref linkend="gtk-doc"/>
|
---|
| 98 | </para>
|
---|
[fd7e0ed6] | 99 |
|
---|
[1039de3] | 100 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 101 | <ulink url="&blfs-wiki;/librsvg"/>
|
---|
| 102 | </para>
|
---|
[13d6079] | 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
[03ac97c2] | 106 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 107 |
|
---|
[7ded7e3] | 108 | <para>
|
---|
| 109 | Install <application>librsvg</application> by running the following
|
---|
| 110 | commands:
|
---|
| 111 | </para>
|
---|
[13d6079] | 112 |
|
---|
[41aad3e3] | 113 | <screen><userinput>./configure --prefix=/usr \
|
---|
[2612323f] | 114 | --enable-vala \
|
---|
| 115 | --disable-static &&
|
---|
[13d6079] | 116 | make</userinput></screen>
|
---|
| 117 |
|
---|
[7ded7e3] | 118 | <para>
|
---|
[5f533962] | 119 | To test the results, issue: <command>make check</command>.
|
---|
[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>
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
[5d1cdfd] | 132 | <para>
|
---|
[2612323f] | 133 | <option>--enable-vala</option>: This switch enables
|
---|
| 134 | building of the Vala bindings. Remove if you don't have
|
---|
| 135 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 136 | </para>
|
---|
| 137 |
|
---|
[2612323f] | 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 139 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 140 |
|
---|
[ae34f41] | 141 | <para>
|
---|
[2612323f] | 142 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 143 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 144 | </para>
|
---|
| 145 |
|
---|
[cd68ead6] | 146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[75d341a1] | 147 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f210178] | 148 |
|
---|
[13d6079] | 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 156 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
[cd68ead6] | 160 | <seg>
|
---|
[7ded7e3] | 161 | rsvg-convert and rsvg-view-3
|
---|
[cd68ead6] | 162 | </seg>
|
---|
| 163 | <seg>
|
---|
[7ded7e3] | 164 | librsvg-2.so and libpixbufloader-svg.so
|
---|
[cd68ead6] | 165 | </seg>
|
---|
| 166 | <seg>
|
---|
[5f533962] | 167 | /usr/include/librsvg-2.0 and
|
---|
| 168 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
[cd68ead6] | 169 | </seg>
|
---|
[13d6079] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
[18971e0d] | 178 | <varlistentry id="rsvg-convert">
|
---|
| 179 | <term><command>rsvg-convert</command></term>
|
---|
| 180 | <listitem>
|
---|
[5d1cdfd] | 181 | <para>
|
---|
| 182 | is used to covert SVG images into PNG, JPEG and ICO raster images.
|
---|
| 183 | </para>
|
---|
[18971e0d] | 184 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 185 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
[cd68ead6] | 190 | <varlistentry id="rsvg-view-3">
|
---|
| 191 | <term><command>rsvg-view-3</command></term>
|
---|
[13d6079] | 192 | <listitem>
|
---|
[5d1cdfd] | 193 | <para>
|
---|
[7ded7e3] | 194 | is a simple GTK+ 3 application that can be used to view an SVG file.
|
---|
[5d1cdfd] | 195 | </para>
|
---|
[cd68ead6] | 196 | <indexterm zone="librsvg rsvg-view-3">
|
---|
| 197 | <primary sortas="b-rsvg-view-3">rsvg-view-3</primary>
|
---|
[13d6079] | 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
[214718a] | 202 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 203 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 204 | <listitem>
|
---|
[5d1cdfd] | 205 | <para>
|
---|
| 206 | provides the functions to render Scalable Vector Graphics.
|
---|
| 207 | </para>
|
---|
[214718a] | 208 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 209 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
[75d341a1] | 214 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 215 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 216 | <listitem>
|
---|
| 217 | <para>
|
---|
[7ded7e3] | 218 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 219 | <application>GTK+</application> applications to render Scalable
|
---|
[75d341a1] | 220 | Vector Graphics images.
|
---|
[5d1cdfd] | 221 | </para>
|
---|
[75d341a1] | 222 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 223 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
[7ded7e3] | 227 |
|
---|
[13d6079] | 228 | </variablelist>
|
---|
[7ded7e3] | 229 |
|
---|
[13d6079] | 230 | </sect2>
|
---|
[7ded7e3] | 231 |
|
---|
[ad45d1a] | 232 | </sect1>
|
---|