1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.12/librsvg-&librsvg-version;.tar.bz2">
|
---|
8 | <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.12/librsvg-&librsvg-version;.tar.bz2">
|
---|
9 | <!ENTITY librsvg-md5sum "2113f01fbf228f3f8fc17c49966143fe">
|
---|
10 | <!ENTITY librsvg-size "387 KB">
|
---|
11 | <!ENTITY librsvg-buildsize "11.3 MB">
|
---|
12 | <!ENTITY librsvg-time "0.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="librsvg" xreflabel="librsvg-&librsvg-version;">
|
---|
16 | <?dbhtml filename="librsvg.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">librsvg-&librsvg-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">librsvg</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>librsvg-&librsvg-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="librsvg">
|
---|
30 | <primary sortas="a-Librsvg">Librsvg</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to librsvg</title>
|
---|
35 |
|
---|
36 | <para>The <application>librsvg</application> package contains
|
---|
37 | <filename class="libraryfile">librsvg</filename> libraries and tools used to
|
---|
38 | manipulate, convert and view Scalable Vector Graphic (SVG) images.</para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&librsvg-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&librsvg-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &librsvg-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &librsvg-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &librsvg-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &librsvg-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
63 | <itemizedlist spacing="compact">
|
---|
64 | <listitem>
|
---|
65 | <para>Required patch (if you have <xref linkend="nss"/> installed):
|
---|
66 | <ulink
|
---|
67 | url="&patch-root;/librsvg-&librsvg-version;-system_nspr-1.patch"/>
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">librsvg Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required"><xref linkend="gtk2"/>,
|
---|
76 | <xref linkend="libxml2"/>,
|
---|
77 | <xref linkend="libart_lgpl"/>, and
|
---|
78 | <xref linkend="popt"/></para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
81 | <para role="recommended"><xref linkend="libcroco"/> and
|
---|
82 | <xref linkend="libgsf"/></para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional"><xref linkend="gnome-vfs"/>,
|
---|
86 | <xref linkend="libgnomeprintui"/>,
|
---|
87 | <xref linkend="seamonkey"/> or <xref linkend="firefox"/>,
|
---|
88 | <xref linkend="gtk-doc"/>, and
|
---|
89 | <xref linkend="docbook-utils"/></para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of librsvg</title>
|
---|
95 |
|
---|
96 | <para>Install <application>librsvg</application> by running the following
|
---|
97 | commands:</para>
|
---|
98 |
|
---|
99 | <screen><userinput>patch -Np1 -i ../librsvg-&librsvg-version;-system_nspr-1.patch &&
|
---|
100 | ./configure --prefix=/usr --sysconfdir=/etc --disable-gtk-doc &&
|
---|
101 | make</userinput></screen>
|
---|
102 |
|
---|
103 | <para>This package does not come with a test suite.</para>
|
---|
104 |
|
---|
105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
108 |
|
---|
109 | <!-- commenting this out as BLFS installation of Firefox and SeaMonkey
|
---|
110 | have built-in SVG render capability and don't need this plugin
|
---|
111 |
|
---|
112 | <para>If you have <application>Firefox</application> installed, create
|
---|
113 | symlinks to the plugins using the following command as the
|
---|
114 | <systemitem class="username">root</systemitem> user:</para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>ln -v -s /usr/lib/mozilla/plugins/libmozsvgdec.{so,a} \
|
---|
117 | /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
|
---|
118 |
|
---|
119 | -->
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="commands">
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 | <para><parameter>--disable-gtk-doc</parameter>: This parameter prevents
|
---|
127 | the rebuilding of documentation during the <command>make</command>
|
---|
128 | command. Remove the parameter if you wish to rebuild the
|
---|
129 | documentation.</para>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="content">
|
---|
134 | <title>Contents</title>
|
---|
135 |
|
---|
136 | <segmentedlist>
|
---|
137 | <segtitle>Installed Programs</segtitle>
|
---|
138 | <segtitle>Installed Libraries</segtitle>
|
---|
139 | <segtitle>Installed Directories</segtitle>
|
---|
140 |
|
---|
141 | <seglistitem>
|
---|
142 | <seg>rsvg and rsvg-view</seg>
|
---|
143 | <seg>librsvg-2.[so,a], <application>GTK+</application> modules and
|
---|
144 | a <application>Mozilla</application> plugin</seg>
|
---|
145 | <seg>/usr/include/librsvg-2 and /usr/share/gtk-doc/html/rsvg</seg>
|
---|
146 | </seglistitem>
|
---|
147 | </segmentedlist>
|
---|
148 |
|
---|
149 | <variablelist>
|
---|
150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
151 | <?dbfo list-presentation="list"?>
|
---|
152 | <?dbhtml list-presentation="table"?>
|
---|
153 |
|
---|
154 | <varlistentry id="rsvg">
|
---|
155 | <term><command>rsvg</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>is used to covert SVG images into PNG, JPEG and
|
---|
158 | ICO raster images.</para>
|
---|
159 | <indexterm zone="librsvg rsvg">
|
---|
160 | <primary sortas="b-rsvg">rsvg</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | <varlistentry id="rsvg-view">
|
---|
166 | <term><command>rsvg-view</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>is used to view an SVG file in an <application>X</application>
|
---|
169 | window.</para>
|
---|
170 | <indexterm zone="librsvg rsvg-view">
|
---|
171 | <primary sortas="b-rsvg-view">rsvg-view</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="librsvg-lib">
|
---|
177 | <term><filename class='libraryfile'>librsvg-2.[so,a]</filename></term>
|
---|
178 | <listitem>
|
---|
179 | <para> libraries provide the functions to render Scalable Vector
|
---|
180 | Graphics.</para>
|
---|
181 | <indexterm zone="librsvg librsvg-lib">
|
---|
182 | <primary sortas="c-librsvg">librsvg-2.[so,a]</primary>
|
---|
183 | </indexterm>
|
---|
184 | </listitem>
|
---|
185 | </varlistentry>
|
---|
186 |
|
---|
187 | </variablelist>
|
---|
188 |
|
---|
189 | </sect2>
|
---|
190 |
|
---|
191 | </sect1>
|
---|