[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">
|
---|
[06eea232] | 9 | <!ENTITY librsvg-md5sum "33d5c3811c915a5e29a219824249e265">
|
---|
| 10 | <!ENTITY librsvg-size "500 KB">
|
---|
| 11 | <!ENTITY librsvg-buildsize "11 MB">
|
---|
| 12 | <!ENTITY librsvg-time "0.2 SBU">
|
---|
[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 |
|
---|
[7857007] | 38 | &lfs76_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"/>,
|
---|
| 79 | <xref linkend="libcroco"/> and
|
---|
[75d341a1] | 80 | <xref linkend="pango"/>
|
---|
[cd68ead6] | 81 | </para>
|
---|
[fd7e0ed6] | 82 |
|
---|
[1fc5861c] | 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
[e7f42de3] | 85 | <xref linkend="gtk3"/> (For the <command>rsvg-view-3</command>)
|
---|
[1fc5861c] | 86 | </para>
|
---|
| 87 |
|
---|
[4c2be438] | 88 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
[8c668de] | 90 | <xref linkend="gobject-introspection"/> and
|
---|
| 91 | <xref linkend="vala"/>
|
---|
[4c2be438] | 92 | </para>
|
---|
| 93 |
|
---|
[13d6079] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 95 | <para role="optional">
|
---|
| 96 | <xref linkend="gtk-doc"/>
|
---|
| 97 | </para>
|
---|
[fd7e0ed6] | 98 |
|
---|
[1039de3] | 99 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 100 | <ulink url="&blfs-wiki;/librsvg"/>
|
---|
| 101 | </para>
|
---|
[13d6079] | 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
[03ac97c2] | 105 | <title>Installation of librsvg</title>
|
---|
[3148bf6] | 106 |
|
---|
[7ded7e3] | 107 | <para>
|
---|
| 108 | Install <application>librsvg</application> by running the following
|
---|
| 109 | commands:
|
---|
| 110 | </para>
|
---|
[13d6079] | 111 |
|
---|
[41aad3e3] | 112 | <screen><userinput>./configure --prefix=/usr \
|
---|
[2612323f] | 113 | --enable-vala \
|
---|
| 114 | --disable-static &&
|
---|
[13d6079] | 115 | make</userinput></screen>
|
---|
| 116 |
|
---|
[7ded7e3] | 117 | <para>
|
---|
[5f533962] | 118 | To test the results, issue: <command>make check</command>.
|
---|
[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>
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
[5d1cdfd] | 131 | <para>
|
---|
[2612323f] | 132 | <option>--enable-vala</option>: This switch enables
|
---|
| 133 | building of the Vala bindings. Remove if you don't have
|
---|
| 134 | <xref linkend="vala"/> installed.
|
---|
[ae34f41] | 135 | </para>
|
---|
| 136 |
|
---|
[2612323f] | 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 138 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 139 |
|
---|
[ae34f41] | 140 | <para>
|
---|
[2612323f] | 141 | <option>--disable-introspection</option>: Use this switch if you have
|
---|
| 142 | not installed <application>Gobject Introspection</application>.
|
---|
[28b61748] | 143 | </para>
|
---|
| 144 |
|
---|
[cd68ead6] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[75d341a1] | 146 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f210178] | 147 |
|
---|
[13d6079] | 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Programs</segtitle>
|
---|
[cd68ead6] | 155 | <segtitle>Installed Library</segtitle>
|
---|
[13d6079] | 156 | <segtitle>Installed Directories</segtitle>
|
---|
| 157 |
|
---|
| 158 | <seglistitem>
|
---|
[cd68ead6] | 159 | <seg>
|
---|
[7ded7e3] | 160 | rsvg-convert and rsvg-view-3
|
---|
[cd68ead6] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
[7ded7e3] | 163 | librsvg-2.so and libpixbufloader-svg.so
|
---|
[cd68ead6] | 164 | </seg>
|
---|
| 165 | <seg>
|
---|
[5f533962] | 166 | /usr/include/librsvg-2.0 and
|
---|
| 167 | /usr/share/gtk-doc/html/rsvg-2.0
|
---|
[cd68ead6] | 168 | </seg>
|
---|
[13d6079] | 169 | </seglistitem>
|
---|
| 170 | </segmentedlist>
|
---|
| 171 |
|
---|
| 172 | <variablelist>
|
---|
| 173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 174 | <?dbfo list-presentation="list"?>
|
---|
| 175 | <?dbhtml list-presentation="table"?>
|
---|
| 176 |
|
---|
[18971e0d] | 177 | <varlistentry id="rsvg-convert">
|
---|
| 178 | <term><command>rsvg-convert</command></term>
|
---|
| 179 | <listitem>
|
---|
[5d1cdfd] | 180 | <para>
|
---|
[06eea232] | 181 | is used to convert images into PNG, PDF, PS, SVG and other formats.
|
---|
[5d1cdfd] | 182 | </para>
|
---|
[18971e0d] | 183 | <indexterm zone="librsvg rsvg-convert">
|
---|
| 184 | <primary sortas="b-rsvg-convert">rsvg-convert</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
[cd68ead6] | 189 | <varlistentry id="rsvg-view-3">
|
---|
| 190 | <term><command>rsvg-view-3</command></term>
|
---|
[13d6079] | 191 | <listitem>
|
---|
[5d1cdfd] | 192 | <para>
|
---|
[7ded7e3] | 193 | is a simple GTK+ 3 application that can be used to view an SVG file.
|
---|
[5d1cdfd] | 194 | </para>
|
---|
[cd68ead6] | 195 | <indexterm zone="librsvg rsvg-view-3">
|
---|
| 196 | <primary sortas="b-rsvg-view-3">rsvg-view-3</primary>
|
---|
[13d6079] | 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[214718a] | 201 | <varlistentry id="librsvg-2">
|
---|
[8c668de] | 202 | <term><filename class="libraryfile">librsvg-2.so</filename></term>
|
---|
[13d6079] | 203 | <listitem>
|
---|
[5d1cdfd] | 204 | <para>
|
---|
| 205 | provides the functions to render Scalable Vector Graphics.
|
---|
| 206 | </para>
|
---|
[214718a] | 207 | <indexterm zone="librsvg librsvg-2">
|
---|
[cd68ead6] | 208 | <primary sortas="c-librsvg-2">librsvg-2.so</primary>
|
---|
[13d6079] | 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[75d341a1] | 213 | <varlistentry id="libpixbufloader-svg">
|
---|
[8c668de] | 214 | <term><filename class="libraryfile">libpixbufloader-svg.so</filename></term>
|
---|
[5d1cdfd] | 215 | <listitem>
|
---|
| 216 | <para>
|
---|
[7ded7e3] | 217 | is the <application>Gdk Pixbuf</application> plugin that allows
|
---|
[0d7900a] | 218 | <application>GTK+</application> applications to render Scalable
|
---|
[75d341a1] | 219 | Vector Graphics images.
|
---|
[5d1cdfd] | 220 | </para>
|
---|
[75d341a1] | 221 | <indexterm zone="librsvg libpixbufloader-svg">
|
---|
| 222 | <primary sortas="c-libpixbufloader-svg">libpixbufloader-svg.so</primary>
|
---|
[5d1cdfd] | 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
[7ded7e3] | 226 |
|
---|
[13d6079] | 227 | </variablelist>
|
---|
[7ded7e3] | 228 |
|
---|
[13d6079] | 229 | </sect2>
|
---|
[7ded7e3] | 230 |
|
---|
[ad45d1a] | 231 | </sect1>
|
---|