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 &&
|
---|
121 | make</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 to your system using a
|
---|
136 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
137 | should be copied and/or generated. Generate it using the following
|
---|
138 | command as the <systemitem class="username">root</systemitem> user:
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
142 | </note>
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="commands">
|
---|
146 | <title>Command Explanations</title>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | <option>--with-x11</option>: This switch enables building of the
|
---|
150 | <application>Gdk Pixbuf</application> <application>X11</application>
|
---|
151 | library which is needed for <emphasis>many</emphasis> packages.
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | <option>--with-libjasper</option>: If you've installed
|
---|
156 | <xref linkend="jasper"/> and you want
|
---|
157 | <application>Gdk Pixbuf</application> to use it to compile a
|
---|
158 | JPEG2000 image loader, pass this switch to configure.
|
---|
159 | </para>
|
---|
160 |
|
---|
161 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
162 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | <sect2 role="content">
|
---|
167 | <title>Contents</title>
|
---|
168 |
|
---|
169 | <segmentedlist>
|
---|
170 | <segtitle>Installed Programs</segtitle>
|
---|
171 | <segtitle>Installed Libraries</segtitle>
|
---|
172 | <segtitle>Installed Directories</segtitle>
|
---|
173 |
|
---|
174 | <seglistitem>
|
---|
175 | <seg>
|
---|
176 | gdk-pixbuf-csource, gdk-pixbuf-pixdata and gdk-pixbuf-query-loaders
|
---|
177 | </seg>
|
---|
178 | <seg>
|
---|
179 | libgdk_pixbuf-2.0.so and libgdk_pixbuf_xlib-2.0.so
|
---|
180 | </seg>
|
---|
181 | <seg>
|
---|
182 | /usr/include/gdk-pixbuf-2.0,
|
---|
183 | /usr/lib/gdk-pixbuf-2.0 and
|
---|
184 | /usr/share/gtk-doc/html/gdk-pixbuf
|
---|
185 | </seg>
|
---|
186 | </seglistitem>
|
---|
187 | </segmentedlist>
|
---|
188 |
|
---|
189 | <variablelist>
|
---|
190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
191 | <?dbfo list-presentation="list"?>
|
---|
192 | <?dbhtml list-presentation="table"?>
|
---|
193 |
|
---|
194 | <varlistentry id="gdk-pixbuf-csource">
|
---|
195 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>
|
---|
198 | is a small utility that generates C code containing images, used
|
---|
199 | for compiling images directly into programs.
|
---|
200 | </para>
|
---|
201 | <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
|
---|
202 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
208 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
209 | <listitem>
|
---|
210 | <para>
|
---|
211 | collects information about loadable modules for
|
---|
212 | <application>Gdk Pixbuf</application> and writes it
|
---|
213 | to the default cache file location, or to stdout.
|
---|
214 | </para>
|
---|
215 | <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
|
---|
216 | <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | <varlistentry id="libgdk_pixbuf-2">
|
---|
222 | <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
|
---|
223 | <listitem>
|
---|
224 | <para>
|
---|
225 | contains functions used to load and render images.
|
---|
226 | </para>
|
---|
227 | <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
|
---|
228 | <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | <varlistentry id="libgdk_pixbuf_xlib-2">
|
---|
234 | <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
|
---|
235 | <listitem>
|
---|
236 | <para>
|
---|
237 | contains functions used to manipulate images and interfaces with
|
---|
238 | <application>Xlib</application>.
|
---|
239 | </para>
|
---|
240 | <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
|
---|
241 | <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
|
---|
242 | </indexterm>
|
---|
243 | </listitem>
|
---|
244 | </varlistentry>
|
---|
245 |
|
---|
246 | </variablelist>
|
---|
247 |
|
---|
248 | </sect2>
|
---|
249 |
|
---|
250 | </sect1>
|
---|