source: x/lib/gdk-pixbuf.xml@ ba404a2

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since ba404a2 was e9f1345, checked in by Xi Ruoyao <xry111@…>, 9 months ago

Archive gdk-pixbuf-xlib

Note that "needed for loading XPM images" is wrong.

Use imlib2 instead of gdk-pixbuf-xlib for icewm (it's also the default).

  • Property mode set to 100644
File size: 9.7 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.42/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
9 <!ENTITY gdk-pixbuf-download-ftp
10 "&gnome-download-ftp;/gdk-pixbuf/2.42/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
11 <!ENTITY gdk-pixbuf-md5sum "4a62f339cb1424693fba9bb7ffef8150">
12 <!ENTITY gdk-pixbuf-size "6.2 MB">
13 <!ENTITY gdk-pixbuf-buildsize "36 MB (with tests)">
14 <!ENTITY gdk-pixbuf-time "0.2 SBU (With tests; both using parallelism=4)">
15]>
16
17<sect1 id="gdk-pixbuf" xreflabel="gdk-pixbuf-&gdk-pixbuf-version;">
18 <?dbhtml filename="gdk-pixbuf.html"?>
19
20
21 <title>gdk-pixbuf-&gdk-pixbuf-version;</title>
22
23 <indexterm zone="gdk-pixbuf">
24 <primary sortas="a-gdk-pixbuf">gdk-pixbuf</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to Gdk Pixbuf</title>
29
30 <para>
31 The <application>Gdk Pixbuf</application> package is a toolkit for image
32 loading and pixel buffer manipulation. It is used by
33 <application>GTK+ 2</application> and <application>GTK+ 3</application> to
34 load and manipulate images. In the past it was distributed as part of
35 <application>GTK+ 2</application> but it was split off into a separate
36 package in preparation for the change to <application>GTK+ 3</application>.
37 </para>
38
39 &lfs120_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&gdk-pixbuf-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&gdk-pixbuf-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &gdk-pixbuf-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &gdk-pixbuf-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &gdk-pixbuf-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &gdk-pixbuf-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Gdk Pixbuf Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="glib2"/>,
80 <xref linkend="libjpeg"/>,
81 <xref linkend="libpng"/>, and
82 <xref linkend="shared-mime-info"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="docutils"/>,
88 <xref role="runtime" linkend="librsvg"/> (runtime dependency, needed for
89 loading symbolic icons) and
90 <xref linkend="libtiff"/>
91 </para>
92
93 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
94 <para role="optional">
95 <xref linkend="gobject-introspection"/>
96 </para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
100 <xref linkend="gi-docgen"/>
101 (to generate documentation),
102 <xref role="runtime" linkend="libavif"/>
103 (runtime dependency, needed for loading AVIF images), and
104 <xref role="runtime" linkend="webp-pixbuf-loader"/>
105 (runtime dependency, needed for loading WebP images)
106 </para>
107
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of Gdk Pixbuf</title>
112
113 <para>
114 Install <application>Gdk Pixbuf</application> by running the following
115 commands:
116 </para>
117
118<screen><userinput>mkdir build &amp;&amp;
119cd build &amp;&amp;
120
121meson setup .. \
122 --prefix=/usr \
123 --buildtype=release \
124 --wrap-mode=nofallback &amp;&amp;
125ninja</userinput></screen>
126
127 <para>
128 If you have <xref linkend='gi-docgen'/> installed and wish to build
129 the API documentation for this package, issue:
130 </para>
131
132<screen role='nodump'><userinput>sed "/docs_dir =/s@\$@ / 'gdk-pixbuf-&gdk-pixbuf-version;'@" -i ../docs/meson.build &amp;&amp;
133meson configure -Dgtk_doc=true &amp;&amp;
134ninja</userinput></screen>
135
136 <para>
137 To test the results, issue: <command>ninja test</command>. The tests
138 make a heavy use of disk.
139 </para>
140
141 <para>
142 Now, as the <systemitem class="username">root</systemitem> user:
143 </para>
144
145<screen role="root"><userinput>ninja install</userinput></screen>
146
147 <note>
148 <para>
149 If you installed the package on to your system using a
150 <quote>DESTDIR</quote> method, an important file was not installed and
151 should be copied and/or generated. Generate it using the following
152 command as the <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
156 </note>
157 </sect2>
158
159 <sect2 role="commands">
160 <title>Command Explanations</title>
161
162 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
163 href="../../xincludes/meson-buildtype-release.xml"/>
164
165 <!-- gi-docgen can get installed without this, if deps exist -->
166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
167 href="../../xincludes/meson-wrap-nofallback.xml"/>
168
169 <!-- with 2.42.9, docutils must be installed to generate man pages.
170 Without this, you'll get the following output:
171 Program rst2man found: ../docs/meson.build:70:2: ERROR: Problem encountered:
172 No rst2man found, but man pages were explicitly enabled -->
173 <para>
174 <option>-Dman=false</option>: Use this option if you do not want to
175 generate manual pages, or if you do not want to install
176 <xref linkend="docutils" role="nodep"/>.
177 </para>
178 </sect2>
179
180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Programs</segtitle>
185 <segtitle>Installed Libraries</segtitle>
186 <segtitle>Installed Directories</segtitle>
187
188 <seglistitem>
189 <seg>
190 gdk-pixbuf-csource,
191 gdk-pixbuf-pixdata,
192 gdk-pixbuf-query-loaders, and
193 gdk-pixbuf-thumbnailer
194 </seg>
195 <seg>
196 libgdk_pixbuf-2.0.so
197 </seg>
198 <seg>
199 /usr/{include,lib}/gdk-pixbuf-2.0,
200 /usr/libexec/installed-tests/gdk-pixbuf,
201 /usr/share/installed-tests/gdk-pixbuf,
202 /usr/share/gtk-doc/html/gdk-pixbuf, and
203 /usr/share/thumbnailers
204 </seg>
205 </seglistitem>
206 </segmentedlist>
207
208 <variablelist>
209 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
210 <?dbfo list-presentation="list"?>
211 <?dbhtml list-presentation="table"?>
212
213 <varlistentry id="gdk-pixbuf-csource">
214 <term><command>gdk-pixbuf-csource</command></term>
215 <listitem>
216 <para>
217 is a small utility that generates C code containing images, used
218 for compiling images directly into programs
219 </para>
220 <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
221 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="gdk-pixbuf-pixdata">
227 <term><command>gdk-pixbuf-pixdata</command></term>
228 <listitem>
229 <para>
230 is a tool used to convert GdkPixbuf to GdkPixdata
231 </para>
232 <indexterm zone="gdk-pixbuf gdk-pixbuf-pixdata">
233 <primary sortas="b-gdk-pixbuf-pixdata">gdk-pixbuf-pixdata</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="gdk-pixbuf-query-loaders">
239 <term><command>gdk-pixbuf-query-loaders</command></term>
240 <listitem>
241 <para>
242 collects information about loadable modules for
243 <application>Gdk Pixbuf</application> and writes it
244 to the default cache file location, or to stdout
245 </para>
246 <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
247 <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="gdk-pixbuf-thumbnailer">
253 <term><command>gdk-pixbuf-thumbnailer</command></term>
254 <listitem>
255 <para>
256 creates thumbnails of pictures for use in other applications
257 </para>
258 <indexterm zone="gdk-pixbuf gdk-pixbuf-thumbnailer">
259 <primary sortas="b-gdk-pixbuf-thumbnailer">gdk-pixbuf-thumbnailer</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="libgdk_pixbuf-2">
265 <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
266 <listitem>
267 <para>
268 contains functions used to load and render images
269 </para>
270 <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
271 <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <!-- Split off into gdk-pixbuf-xlib
277 <varlistentry id="libgdk_pixbuf_xlib-2">
278 <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
279 <listitem>
280 <para>
281 contains functions used to manipulate images and interfaces with
282 <application>Xlib</application>
283 </para>
284 <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
285 <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289 -->
290 </variablelist>
291
292 </sect2>
293
294</sect1>
Note: See TracBrowser for help on using the repository browser.