source: general/graphlib/librsvg.xml@ 1fc5861c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1fc5861c was 1fc5861c, checked in by Andrew Benton <andy@…>, 12 years ago

Made Gtk 2 and Gtk 3 recommended for Librsvg

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10125 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY librsvg-download-http "&gnome-download-http;/librsvg/2.36/librsvg-&librsvg-version;.tar.xz">
8 <!ENTITY librsvg-download-ftp "&gnome-download-ftp;/librsvg/2.36/librsvg-&librsvg-version;.tar.xz">
9 <!ENTITY librsvg-md5sum "89d483f30a7c77245b7ee02faaea5a5a">
10 <!ENTITY librsvg-size "496 KB">
11 <!ENTITY librsvg-buildsize "15 MB">
12 <!ENTITY librsvg-time "0.5 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 </sect1info>
22
23 <title>librsvg-&librsvg-version;</title>
24
25 <indexterm zone="librsvg">
26 <primary sortas="a-Librsvg">Librsvg</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to librsvg</title>
31
32 <para>
33 The <application>librsvg</application> package contains
34 <filename class="libraryfile">librsvg</filename> libraries and tools used
35 to manipulate, convert and view Scalable Vector Graphic (SVG) images.
36 </para>
37
38 &lfs71_checked;
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">librsvg Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Required</bridgehead>
65 <para role="required">
66 <xref linkend="libcroco"/>
67 </para>
68
69 <bridgehead renderas="sect4">Recommended</bridgehead>
70 <para role="recommended">
71 <xref linkend="gtk2"/> and
72 <xref linkend="gtk3"/>.
73 </para>
74
75 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
76 <para role="optional">
77 <xref linkend="gobject-introspection"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="docbook-utils"/> and
83 <xref linkend="gtk-doc"/>
84 </para>
85
86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/librsvg"/></para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of librsvg</title>
92
93 <para>Install <application>librsvg</application> by running the following
94 commands:</para>
95
96<screen><userinput>sed -i '/_gir_CFLAGS/s#$# -I/usr/include/cairo#' Makefile.in &amp;&amp;
97./configure --prefix=/usr --disable-static &amp;&amp;
98make</userinput></screen>
99
100 <para>To test the results, issue: <command>make check</command>.</para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para>
113 <command>sed -i '/_gir_CFLAGS/s#$# -I/usr/include/cairo#'
114 Makefile.in</command>: This sed fixes a problem compiling if you have
115 Gobject-Introspection installed. It has no effect if you've not installed
116 Gobject-Introspection.
117 </para>
118
119 <para>
120 <option>--disable-introspection</option>: Add this option if you've not
121 installed Gobject Introspection.
122 </para>
123
124 <para>
125 <option>--disable-gtk-theme</option>: Add this option if you've not
126 installed Gtk+ 2.
127 </para>
128
129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
130 href="../../xincludes/static-libraries.xml"/>
131
132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
133 href="../../xincludes/gtk-doc-rebuild.xml"/>
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Library</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>
146 rsvg-convert and
147 rsvg-view-3.
148 </seg>
149 <seg>
150 librsvg-2.so and
151 libpixbufloader-svg.so.
152 </seg>
153 <seg>
154 /usr/include/librsvg-2 and
155 /usr/share/gtk-doc/html/rsvg.
156 </seg>
157 </seglistitem>
158 </segmentedlist>
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="rsvg-convert">
166 <term><command>rsvg-convert</command></term>
167 <listitem>
168 <para>
169 is used to covert SVG images into PNG, JPEG and ICO raster images.
170 </para>
171 <indexterm zone="librsvg rsvg-convert">
172 <primary sortas="b-rsvg-convert">rsvg-convert</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="rsvg-view-3">
178 <term><command>rsvg-view-3</command></term>
179 <listitem>
180 <para>
181 is a simple Gtk+ 3 application that can be used to view an SVG file.
182 </para>
183 <indexterm zone="librsvg rsvg-view-3">
184 <primary sortas="b-rsvg-view-3">rsvg-view-3</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="librsvg-2">
190 <term><filename class='libraryfile'>librsvg-2.so</filename></term>
191 <listitem>
192 <para>
193 provides the functions to render Scalable Vector Graphics.
194 </para>
195 <indexterm zone="librsvg librsvg-2">
196 <primary sortas="c-librsvg-2">librsvg-2.so</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="libpixbufloader-svg.so">
202 <term><filename class='libraryfile'>libpixbufloader-svg.so.so</filename></term>
203 <listitem>
204 <para>
205 is the Gdk Pixbuf plugin that allows Gtk+ to render Scalable Vector
206 Graphics images.
207 </para>
208 <indexterm zone="librsvg libpixbufloader-svg.so">
209 <primary sortas="c-libpixbufloader-svg.so">libpixbufloader-svg.so.so</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213 </variablelist>
214 </sect2>
215</sect1>
Note: See TracBrowser for help on using the repository browser.