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

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since adaaba2 was c5408a2, checked in by Douglas R. Reno <renodr@…>, 18 months ago

Add an entity for the gi-docgen URL and change several packages to use
it.

This should make the different URLs we had previously consistent with
one another, and ease maintenance burden.

This is only temporary though since eventually gi-docgen will become
part of the book, when Pierre's python-modules branch is brought into
trunk.

  • Property mode set to 100644
File size: 9.3 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 &lfs112_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="jasper"/> and-->
101 <!--<xref linkend="gtk-doc"/> and-->
102 <ulink url="&gi-docgen-url;">gi-docgen</ulink>
103 (to generate documentation)
104 </para>
105
106 <para condition="html" role="usernotes">
107 User Notes: <ulink url="&blfs-wiki;/gdk-pixbuf"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of Gdk Pixbuf</title>
113
114 <para>
115 Install <application>Gdk Pixbuf</application> by running the following
116 commands:
117 </para>
118
119<screen><userinput>mkdir build &amp;&amp;
120cd build &amp;&amp;
121
122meson --prefix=/usr --buildtype=release --wrap-mode=nofallback .. &amp;&amp;
123ninja</userinput></screen>
124
125 <para>
126 To test the results, issue: <command>ninja test</command>. The tests
127 make a heavy use of disk.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>ninja install</userinput></screen>
135
136 <note>
137 <para>
138 If you installed the package on to your system using a
139 <quote>DESTDIR</quote> method, an important file was not installed and
140 should be copied and/or generated. Generate it using the following
141 command as the <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
145 </note>
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/meson-buildtype-release.xml"/>
153
154 <!-- gi-docgen can get installed without this, if deps exist -->
155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
156 href="../../xincludes/meson-wrap-nofallback.xml"/>
157
158 <!-- with 2.42.9, docutils must be installed to generate man pages.
159 Without this, you'll get the following output:
160 Program rst2man found: ../docs/meson.build:70:2: ERROR: Problem encountered:
161 No rst2man found, but man pages were explicitly enabled -->
162 <para>
163 <option>-Dman=false</option>: Use this option if you do not want to
164 generate manual pages, or if you do not want to install
165 <xref linkend="docutils" role="nodep"/>.
166 </para>
167
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Programs</segtitle>
175 <segtitle>Installed Libraries</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>
180 gdk-pixbuf-csource,
181 gdk-pixbuf-pixdata,
182 gdk-pixbuf-query-loaders, and
183 gdk-pixbuf-thumbnailer
184 </seg>
185 <seg>
186 libgdk_pixbuf-2.0.so
187 </seg>
188 <seg>
189 /usr/{include,lib}/gdk-pixbuf-2.0,
190 /usr/libexec/installed-tests/gdk-pixbuf,
191 /usr/share/installed-tests/gdk-pixbuf,
192 /usr/share/gtk-doc/html/gdk-pixbuf, and
193 /usr/share/thumbnailers
194 </seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="gdk-pixbuf-csource">
204 <term><command>gdk-pixbuf-csource</command></term>
205 <listitem>
206 <para>
207 is a small utility that generates C code containing images, used
208 for compiling images directly into programs
209 </para>
210 <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
211 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="gdk-pixbuf-pixdata">
217 <term><command>gdk-pixbuf-pixdata</command></term>
218 <listitem>
219 <para>
220 is a tool used to convert GdkPixbuf to GdkPixdata
221 </para>
222 <indexterm zone="gdk-pixbuf gdk-pixbuf-pixdata">
223 <primary sortas="b-gdk-pixbuf-pixdata">gdk-pixbuf-pixdata</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="gdk-pixbuf-query-loaders">
229 <term><command>gdk-pixbuf-query-loaders</command></term>
230 <listitem>
231 <para>
232 collects information about loadable modules for
233 <application>Gdk Pixbuf</application> and writes it
234 to the default cache file location, or to stdout
235 </para>
236 <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
237 <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="gdk-pixbuf-thumbnailer">
243 <term><command>gdk-pixbuf-thumbnailer</command></term>
244 <listitem>
245 <para>
246 creates thumbnails of pictures for use in other applications
247 </para>
248 <indexterm zone="gdk-pixbuf gdk-pixbuf-thumbnailer">
249 <primary sortas="b-gdk-pixbuf-thumbnailer">gdk-pixbuf-thumbnailer</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="libgdk_pixbuf-2">
255 <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
256 <listitem>
257 <para>
258 contains functions used to load and render images
259 </para>
260 <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
261 <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <!-- Split off into gdk-pixbuf-xlib
267 <varlistentry id="libgdk_pixbuf_xlib-2">
268 <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
269 <listitem>
270 <para>
271 contains functions used to manipulate images and interfaces with
272 <application>Xlib</application>
273 </para>
274 <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
275 <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279 -->
280 </variablelist>
281
282 </sect2>
283
284</sect1>
Note: See TracBrowser for help on using the repository browser.