source: x/lib/gdk-pixbuf.xml@ 31970bc3

11.3 12.0 12.1 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 31970bc3 was 9bb1bd7e, checked in by Xi Ruoyao <xry111@…>, 19 months ago

gdk-pixbuf: Clarify where to inject the sed to fix docdir

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