source: x/lib/gdk-pixbuf.xml@ 6dbc482

12.1 gimp3 ken/TL2024 lazarus trunk xry111/llvm18 xry111/spidermonkey128
Last change on this file since 6dbc482 was 1241ea19, checked in by Bruce Dubbs <bdubbs@…>, 6 months ago

Tag xfce and dependencies

  • Property mode set to 100644
File size: 9.6 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 " ">
[f8a7603]10 <!ENTITY gdk-pixbuf-md5sum "4a62f339cb1424693fba9bb7ffef8150">
11 <!ENTITY gdk-pixbuf-size "6.2 MB">
12 <!ENTITY gdk-pixbuf-buildsize "36 MB (with tests)">
13 <!ENTITY gdk-pixbuf-time "0.2 SBU (With tests; both using parallelism=4)">
[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
[a2912ff]32 <application>GTK+ 2</application> and <application>GTK+ 3</application> to
[244af838]33 load and manipulate images. In the past it was distributed as part of
[a2912ff]34 <application>GTK+ 2</application> but it was split off into a separate
35 package in preparation for the change to <application>GTK+ 3</application>.
[244af838]36 </para>
[ec41aad]37
[1241ea19]38 &lfs121_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">
[b0ae5b7]78 <xref linkend="glib2"/>,
[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
[4c2be438]92 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
93 <para role="optional">
94 <xref linkend="gobject-introspection"/>
95 </para>
96
[ec41aad]97 <bridgehead renderas="sect4">Optional</bridgehead>
[b7a80c66]98 <para role="optional">
[f56d2e7]99 <xref linkend="gi-docgen"/>
[49e37e2]100 (to generate documentation),
101 <xref role="runtime" linkend="libavif"/>
102 (runtime dependency, needed for loading AVIF images), and
103 <xref role="runtime" linkend="webp-pixbuf-loader"/>
104 (runtime dependency, needed for loading WebP images)
[b7a80c66]105 </para>
[ec41aad]106
107 </sect2>
108
109 <sect2 role="installation">
[a2912ff]110 <title>Installation of Gdk Pixbuf</title>
[ec41aad]111
[244af838]112 <para>
[a2912ff]113 Install <application>Gdk Pixbuf</application> by running the following
[244af838]114 commands:
115 </para>
[ec41aad]116
[316d2235]117<screen><userinput>mkdir build &amp;&amp;
[9a57696]118cd build &amp;&amp;
[316d2235]119
[91318eb]120meson setup .. \
121 --prefix=/usr \
122 --buildtype=release \
123 --wrap-mode=nofallback &amp;&amp;
[bacea35]124ninja</userinput></screen>
125
126 <para>
127 If you have <xref linkend='gi-docgen'/> installed and wish to build
128 the API documentation for this package, issue:
129 </para>
130
131<screen role='nodump'><userinput>sed "/docs_dir =/s@\$@ / 'gdk-pixbuf-&gdk-pixbuf-version;'@" -i ../docs/meson.build &amp;&amp;
132meson configure -Dgtk_doc=true &amp;&amp;
[316d2235]133ninja</userinput></screen>
[ec41aad]134
[244af838]135 <para>
[316d2235]136 To test the results, issue: <command>ninja test</command>. The tests
[8558044]137 make a heavy use of disk.
[244af838]138 </para>
[ec41aad]139
[74d00b79]140 <para>
[e1617c94]141 Now, as the <systemitem class="username">root</systemitem> user:
[74d00b79]142 </para>
143
[316d2235]144<screen role="root"><userinput>ninja install</userinput></screen>
[e1617c94]145
[2ffe965]146 <note>
147 <para>
[865c844]148 If you installed the package on to your system using a
149 <quote>DESTDIR</quote> method, an important file was not installed and
150 should be copied and/or generated. Generate it using the following
151 command as the <systemitem class="username">root</systemitem> user:
[2ffe965]152 </para>
153
[865c844]154<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
[2ffe965]155 </note>
[ec41aad]156 </sect2>
157
158 <sect2 role="commands">
159 <title>Command Explanations</title>
[5da4c02]160
[adf17153]161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162 href="../../xincludes/meson-buildtype-release.xml"/>
163
[a8e1b4ab]164 <!-- gi-docgen can get installed without this, if deps exist -->
165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/meson-wrap-nofallback.xml"/>
167
[a2b2af3]168 <!-- with 2.42.9, docutils must be installed to generate man pages.
169 Without this, you'll get the following output:
170 Program rst2man found: ../docs/meson.build:70:2: ERROR: Problem encountered:
171 No rst2man found, but man pages were explicitly enabled -->
[244af838]172 <para>
[a2b2af3]173 <option>-Dman=false</option>: Use this option if you do not want to
174 generate manual pages, or if you do not want to install
175 <xref linkend="docutils" role="nodep"/>.
[244af838]176 </para>
[ec41aad]177 </sect2>
178
179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Directories</segtitle>
186
187 <seglistitem>
[b8a081c]188 <seg>
[58b7101]189 gdk-pixbuf-csource,
[8558044]190 gdk-pixbuf-pixdata,
[45bdabd]191 gdk-pixbuf-query-loaders, and
[f176628]192 gdk-pixbuf-thumbnailer
[b8a081c]193 </seg>
194 <seg>
[f176628]195 libgdk_pixbuf-2.0.so
[b8a081c]196 </seg>
197 <seg>
[0df923f]198 /usr/{include,lib}/gdk-pixbuf-2.0,
[9d31900]199 /usr/libexec/installed-tests/gdk-pixbuf,
[8558044]200 /usr/share/installed-tests/gdk-pixbuf,
[0df923f]201 /usr/share/gtk-doc/html/gdk-pixbuf, and
202 /usr/share/thumbnailers
[b8a081c]203 </seg>
[ec41aad]204 </seglistitem>
205 </segmentedlist>
206
207 <variablelist>
208 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
209 <?dbfo list-presentation="list"?>
210 <?dbhtml list-presentation="table"?>
211
[bcef05b]212 <varlistentry id="gdk-pixbuf-csource">
[ec41aad]213 <term><command>gdk-pixbuf-csource</command></term>
214 <listitem>
[244af838]215 <para>
216 is a small utility that generates C code containing images, used
[4c24eb0a]217 for compiling images directly into programs
[244af838]218 </para>
[ec41aad]219 <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
220 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
[8b9ad6e]225 <varlistentry id="gdk-pixbuf-pixdata">
226 <term><command>gdk-pixbuf-pixdata</command></term>
227 <listitem>
228 <para>
[4c24eb0a]229 is a tool used to convert GdkPixbuf to GdkPixdata
[8b9ad6e]230 </para>
231 <indexterm zone="gdk-pixbuf gdk-pixbuf-pixdata">
232 <primary sortas="b-gdk-pixbuf-pixdata">gdk-pixbuf-pixdata</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
[bcef05b]237 <varlistentry id="gdk-pixbuf-query-loaders">
[ec41aad]238 <term><command>gdk-pixbuf-query-loaders</command></term>
239 <listitem>
[244af838]240 <para>
[0d7900a]241 collects information about loadable modules for
[a2912ff]242 <application>Gdk Pixbuf</application> and writes it
[4c24eb0a]243 to the default cache file location, or to stdout
[244af838]244 </para>
[ec41aad]245 <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
246 <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
[0df923f]250
251 <varlistentry id="gdk-pixbuf-thumbnailer">
252 <term><command>gdk-pixbuf-thumbnailer</command></term>
253 <listitem>
254 <para>
[4c24eb0a]255 creates thumbnails of pictures for use in other applications
[0df923f]256 </para>
257 <indexterm zone="gdk-pixbuf gdk-pixbuf-thumbnailer">
258 <primary sortas="b-gdk-pixbuf-thumbnailer">gdk-pixbuf-thumbnailer</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
[ec41aad]262
[d356833]263 <varlistentry id="libgdk_pixbuf-2">
[440d664]264 <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
[ec41aad]265 <listitem>
[244af838]266 <para>
[4c24eb0a]267 contains functions used to load and render images
[244af838]268 </para>
[d356833]269 <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
270 <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
[ec41aad]271 </indexterm>
272 </listitem>
273 </varlistentry>
274
[9d31900]275 <!-- Split off into gdk-pixbuf-xlib
[d356833]276 <varlistentry id="libgdk_pixbuf_xlib-2">
[440d664]277 <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
[ec41aad]278 <listitem>
[244af838]279 <para>
[440d664]280 contains functions used to manipulate images and interfaces with
[4c24eb0a]281 <application>Xlib</application>
[244af838]282 </para>
[d356833]283 <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
284 <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
[ec41aad]285 </indexterm>
286 </listitem>
287 </varlistentry>
[9d31900]288 -->
[ec41aad]289 </variablelist>
[a2912ff]290
[ec41aad]291 </sect2>
[a2912ff]292
[ec41aad]293</sect1>
Note: See TracBrowser for help on using the repository browser.