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