source: x/lib/gdk-pixbuf.xml@ 5efdd78

12.2 lazarus trunk
Last change on this file since 5efdd78 was 3c9b5e9, checked in by Douglas R. Reno <renodr@…>, 4 weeks ago

Tag GTK+-3 and printing stack

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