source: x/lib/gdk-pixbuf.xml@ 87dfe6b

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 87dfe6b was 87dfe6b, checked in by Krejzi <krejzi@…>, 11 years ago

Fixes.

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

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