source: x/lib/gdk-pixbuf.xml@ 41d7532

10.0 10.1 11.0 11.1 11.2 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 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 41d7532 was 41d7532, checked in by Randy McMurchy <randy@…>, 10 years ago

Updated the Gdk-Pixbuf instructions to correct a broken command

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

  • Property mode set to 100644
File size: 8.0 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 gdk-pixbuf-download-http
8 "&gnome-download-http;/gdk-pixbuf/2.26/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
9 <!ENTITY gdk-pixbuf-download-ftp
10 "&gnome-download-ftp;/gdk-pixbuf/2.26/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
11 <!ENTITY gdk-pixbuf-md5sum "339329e6d619ee3e1cb93979111b04c0">
12 <!ENTITY gdk-pixbuf-size "1.2 MB">
13 <!ENTITY gdk-pixbuf-buildsize "25 MB">
14 <!ENTITY gdk-pixbuf-time "0.2 SBU">
15]>
16
17<sect1 id="gdk-pixbuf" xreflabel="gdk-pixbuf-&gdk-pixbuf-version;">
18 <?dbhtml filename="gdk-pixbuf.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>gdk-pixbuf-&gdk-pixbuf-version;</title>
26
27 <indexterm zone="gdk-pixbuf">
28 <primary sortas="a-gdk-pixbuf">gdk-pixbuf</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Gdk Pixbuf</title>
33
34 <para>
35 The <application>Gdk Pixbuf</application> is a toolkit for image
36 loading and pixel buffer manipulation. It is used by
37 <application>GTK+ 2</application> and <application>GTK+ 3</application> to
38 load and manipulate images. In the past it was distributed as part of
39 <application>GTK+ 2</application> but it was split off into a separate
40 package in preparation for the change to <application>GTK+ 3</application>.
41 </para>
42
43 &lfs72_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&gdk-pixbuf-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&gdk-pixbuf-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &gdk-pixbuf-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &gdk-pixbuf-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &gdk-pixbuf-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &gdk-pixbuf-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Gdk Pixbuf Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="glib2"/>,
84 <xref linkend="libjpeg"/>,
85 <xref linkend="libpng"/> and
86 <xref linkend="libtiff"/>
87 </para>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="xorg7-lib"/>
92 (<emphasis>Many</emphasis> <application>GTK+</application>
93 applications <emphasis>require</emphasis> gdk-pixbuf-xlib).
94 </para>
95
96 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
97 <para role="optional">
98 <xref linkend="gobject-introspection"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="jasper"/> and
104 <xref linkend="gtk-doc"/>
105 </para>
106
107 <para condition="html" role="usernotes">
108 User Notes: <ulink url="&blfs-wiki;/gdk-pixbuf"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of Gdk Pixbuf</title>
114
115 <para>
116 Install <application>Gdk Pixbuf</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>./configure --prefix=/usr --with-x11 &amp;&amp;
121make</userinput></screen>
122
123 <para>
124 To test the results, issue: <command>make check</command>.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132
133 <note>
134 <para>
135 If you installed the package on your system using a
136 <quote><envar>DESTDIR</envar></quote> method, an important file was not
137 installed and should be generated. Generate it using the following
138 commands as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>install -v -m755 -d /etc/gtk-2.0 &amp;&amp;
142gdk-pixbuf-query-loaders --update-cache > /etc/gtk-2.0/gdk-pixbuf.loaders</userinput></screen>
143 </note>
144 </sect2>
145
146 <sect2 role="commands">
147 <title>Command Explanations</title>
148
149 <para>
150 <option>--with-x11</option>: This switch enables building of the
151 <application>Gdk Pixbuf</application> <application>X11</application>
152 library which is needed for <emphasis>many</emphasis> packages.
153 </para>
154
155 <para>
156 <option>--with-libjasper</option>: If you've installed
157 <xref linkend="jasper"/> and you want
158 <application>Gdk Pixbuf</application> to use it to compile a
159 JPEG2000 image loader, pass this switch to <command>configure</command>.
160 </para>
161
162 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
163 href="../../xincludes/gtk-doc-rebuild.xml"/>
164
165 </sect2>
166
167 <sect2 role="content">
168 <title>Contents</title>
169
170 <segmentedlist>
171 <segtitle>Installed Programs</segtitle>
172 <segtitle>Installed Libraries</segtitle>
173 <segtitle>Installed Directories</segtitle>
174
175 <seglistitem>
176 <seg>
177 gdk-pixbuf-csource, gdk-pixbuf-pixdata and gdk-pixbuf-query-loaders
178 </seg>
179 <seg>
180 libgdk_pixbuf-2.0.so and libgdk_pixbuf_xlib-2.0.so
181 </seg>
182 <seg>
183 /usr/include/gdk-pixbuf-2.0,
184 /usr/lib/gdk-pixbuf-2.0 and
185 /usr/share/gtk-doc/html/gdk-pixbuf
186 </seg>
187 </seglistitem>
188 </segmentedlist>
189
190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
194
195 <varlistentry id="gdk-pixbuf-csource">
196 <term><command>gdk-pixbuf-csource</command></term>
197 <listitem>
198 <para>
199 is a small utility that generates C code containing images, used
200 for compiling images directly into programs.
201 </para>
202 <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
203 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="gdk-pixbuf-query-loaders">
209 <term><command>gdk-pixbuf-query-loaders</command></term>
210 <listitem>
211 <para>
212 collects information about loadable modules for
213 <application>Gdk Pixbuf</application> and writes it
214 to the default cache file location, or to stdout.
215 </para>
216 <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
217 <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="libgdk_pixbuf-2">
223 <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
224 <listitem>
225 <para>
226 contains functions used to load and render images.
227 </para>
228 <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
229 <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libgdk_pixbuf_xlib-2">
235 <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
236 <listitem>
237 <para>
238 contains functions used to manipulate images and interfaces with
239 <application>Xlib</application>.
240 </para>
241 <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
242 <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.