source: x/lib/gdk-pixbuf.xml@ 2ffe965

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 2ffe965 was 2ffe965, checked in by Krejzi <krejzi@…>, 12 years ago

Add some notes about using DESTDIR installation to gtk3, gdk-pixbuf and pango pages.

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

  • Property mode set to 100644
File size: 7.9 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 "82197921c651a81ae28178aa9adfc0e6">
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> library 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 &lfs71_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"/>. <emphasis>Many</emphasis>
92 <application>Gtk</application> applications <emphasis>require</emphasis>
93 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 to your system using a
136 <quote>DESTDIR</quote> method then important file was not installed and
137 must 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 JPEG2000
158 image loader, pass this option to configure.
159 </para>
160
161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162 href="../../xincludes/gtk-doc-rebuild.xml"/>
163 </sect2>
164
165 <sect2 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Programs</segtitle>
170 <segtitle>Installed Libraries</segtitle>
171 <segtitle>Installed Directories</segtitle>
172
173 <seglistitem>
174 <seg>
175 gdk-pixbuf-csource,
176 gdk-pixbuf-pixdata and
177 gdk-pixbuf-query-loaders.
178 </seg>
179 <seg>
180 libgdk_pixbuf-2.0.so and
181 libgdk_pixbuf_xlib-2.0.so.
182 </seg>
183 <seg>
184 /usr/include/gdk-pixbuf-2.0,
185 /usr/lib/gdk-pixbuf-2.0 and
186 /usr/share/gtk-doc/html/gdk-pixbuf.
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="gdk-pixbuf-csource">
197 <term><command>gdk-pixbuf-csource</command></term>
198 <listitem>
199 <para>
200 is a small utility that generates C code containing images, used
201 for compiling images directly into programs.
202 </para>
203 <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
204 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="gdk-pixbuf-query-loaders">
210 <term><command>gdk-pixbuf-query-loaders</command></term>
211 <listitem>
212 <para>
213 collects information about loadable modules for gdk-pixbuf and
214 writes it 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.0">
223 <term><filename class='libraryfile'>libgdk_pixbuf-2.0.so</filename></term>
224 <listitem>
225 <para>
226 contains functions that load and render images.
227 </para>
228 <indexterm zone="gdk-pixbuf libgdk_pixbuf-2.0">
229 <primary sortas="c-libgdk_pixbuf-2.0">libgdk_pixbuf-2.0.so</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libgdk_pixbuf_xlib-2.0">
235 <term><filename class='libraryfile'>libgdk_pixbuf_xlib-2.0.so</filename></term>
236 <listitem>
237 <para>
238 contains functions that manipulate images and interfaces with
239 <application>Xlib</application>.
240 </para>
241 <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2.0">
242 <primary sortas="c-libgdk_pixbuf_xlib-2.0">libgdk_pixbuf_xlib-2.0.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246 </variablelist>
247 </sect2>
248</sect1>
Note: See TracBrowser for help on using the repository browser.