source: general/genlib/glib2.xml@ f3a1cd14

10.0 10.1 11.0 11.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f3a1cd14 was f3a1cd14, checked in by Ken Moffat <ken@…>, 7 years ago

more tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15887 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.8 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 glib2-download-http "&gnome-download-http;/glib/2.44/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.44/glib-&glib2-version;.tar.xz">
9 <!ENTITY glib2-md5sum "74cf7b4ea200b76e42a4c22c8daf0f93">
10 <!ENTITY glib2-size "6.9 MB">
11 <!ENTITY glib2-buildsize "158 MB (additional 61 MB to run the test suite)">
12 <!ENTITY glib2-time "0.8 SBU (additional 3.9 SBU to run the test suite)">
13]>
14
15<sect1 id="glib2" xreflabel="GLib-&glib2-version;">
16 <?dbhtml filename="glib2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GLib-&glib2-version;</title>
24
25 <indexterm zone="glib2">
26 <primary sortas="a-GLib2">GLib2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GLib</title>
31
32 <para>
33 The <application>GLib</application> package contains low-level
34 libraries useful for providing data structure handling for C, portability
35 wrappers and interfaces for such runtime functionality as an
36 event loop, threads, dynamic loading and an object system.
37 </para>
38
39 &lfs77_checked; &gcc5_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&glib2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&glib2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &glib2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &glib2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &glib2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &glib2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="libffi"/> and
80 <xref linkend="python2"/> or <xref linkend="python3"/>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="pcre"/> (built with Unicode properties)
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="dbus"/> (required for some tests),
91 <xref linkend="elfutils"/>,
92 <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>, and
93 <xref linkend="gtk-doc"/>
94 </para>
95
96 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
97 <para role="optional">
98 Quoted directly from the <filename>INSTALL</filename> file:
99 <quote>Some of the mimetype-related functionality in GIO requires the
100 <command>update-mime-database</command> and
101 <command>update-desktop-database</command> utilities</quote>,
102 which are part of
103 <xref linkend="shared-mime-info"/> and
104 <xref linkend="desktop-file-utils"/>, respectively.
105 </para>
106
107 <para condition="html" role="usernotes">User Notes:
108 <ulink url="&blfs-wiki;/glib2"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of GLib</title>
114
115 <para>
116 Install <application>GLib</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>./configure --prefix=/usr --with-pcre=system &amp;&amp;
121make</userinput></screen>
122
123 <para>
124 The <application>GLib</application> test suite requires
125 <application>desktop-file-utils</application> for some tests. However,
126 <application>desktop-file-utils</application> requires
127 <application>GLib</application> in order to compile; therefore, you must
128 first install <application>GLib</application> and then run the test
129 suite.
130 </para>
131
132 <para>
133 Now, as the <systemitem class="username">root</systemitem> user:
134 </para>
135
136<screen role="root"><userinput>make install</userinput></screen>
137
138 <para>
139 You should now install <xref linkend="desktop-file-utils"/> and proceed to
140 run the test suite.
141 </para>
142
143 <para>
144 To test the results, after having installed the package, issue:
145 <command>make -k check</command>.
146 </para>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <parameter>--with-pcre=system</parameter>: This switch causes the
155 build to use a system-provided version of the
156 <application>PCRE</application> library instead of an internal
157 version.
158 </para>
159
160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
161 href="../../xincludes/gtk-doc-rebuild.xml"/>
162
163 <para>
164 <option>--with-python=python3</option>: Add this switch if you want GLib
165 to use Python3 instead of Python2.
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 gapplication, gdbus, gdbus-codegen, gio-querymodules,
181 glib-compile-resources, glib-compile-schemas,
182 glib-genmarshal, glib-gettextize, glib-mkenums,
183 gobject-query, gresource, gsettings, gtester,
184 and gtester-report
185 </seg>
186 <seg>
187 libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
188 libgobject-2.0.so, and libgthread-2.0.so
189 </seg>
190 <seg>
191 /usr/include/gio-unix-2.0,
192 /usr/include/glib-2.0,
193 /usr/lib/gio,
194 /usr/lib/glib-2.0,
195 /usr/share/glib-2.0,
196 /usr/share/gtk-doc/html/gio,
197 /usr/share/gtk-doc/html/glib, and
198 /usr/share/gtk-doc/html/gobject
199 </seg>
200 </seglistitem>
201 </segmentedlist>
202
203 <variablelist>
204 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
205 <?dbfo list-presentation="list"?>
206 <?dbhtml list-presentation="table"?>
207
208 <varlistentry id="gapplication">
209 <term><command>gapplication</command></term>
210 <listitem>
211 <para>
212 can be used to start applications and can be used to send
213 messages to already-running instances of other applications.
214 </para>
215 <indexterm zone="glib2 gapplication">
216 <primary sortas="b-gapplication">application</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220 <varlistentry id="gdbus">
221 <term><command>gdbus</command></term>
222 <listitem>
223 <para>
224 is a simple tool used for working with
225 <application>D-Bus</application> objects.
226 </para>
227 <indexterm zone="glib2 gdbus">
228 <primary sortas="b-gdbus">gdbus</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="gdbus-codegen">
234 <term><command>gdbus-codegen</command></term>
235 <listitem>
236 <para>
237 is used to generate code and/or documentation for one or
238 more <application>D-Bus</application> interfaces.
239 </para>
240 <indexterm zone="glib2 gdbus-codegen">
241 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="gio-querymodules">
247 <term><command>gio-querymodules</command></term>
248 <listitem>
249 <para>
250 is used to create a giomodule.cache file in the listed directories.
251 This file lists the implemented extension points for each module
252 that has been found.
253 </para>
254 <indexterm zone="glib2 gio-querymodules">
255 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="glib-compile-resources">
261 <term><command>glib-compile-resources</command></term>
262 <listitem>
263 <para>
264 is used to read the resource description from file and
265 the files that it references to create a binary resource
266 bundle that is suitable for use with the GResource API.
267 </para>
268 <indexterm zone="glib2 glib-compile-resources">
269 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="glib-compile-schemas">
275 <term><command>glib-compile-schemas</command></term>
276 <listitem>
277 <para>
278 is used to compile all the GSettings XML schema files
279 in directory into a binary file with the name gschemas.compiled
280 that can be used by GSettings.
281 </para>
282 <indexterm zone="glib2 glib-compile-schemas">
283 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="glib-genmarshal">
289 <term><command>glib-genmarshal</command></term>
290 <listitem>
291 <para>
292 is a C code marshaller generation utility for GLib closures.
293 </para>
294 <indexterm zone="glib2 glib-genmarshal">
295 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="glib-gettextize">
301 <term><command>glib-gettextize</command></term>
302 <listitem>
303 <para>
304 is a variant of the <application>gettext</application>
305 internationalization utility.
306 </para>
307 <indexterm zone="glib2 glib-gettextize">
308 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="glib-mkenums">
314 <term><command>glib-mkenums</command></term>
315 <listitem>
316 <para>
317 is a C language enum description generation utility.
318 </para>
319 <indexterm zone="glib2 glib-mkenums">
320 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="gobject-query">
326 <term><command>gobject-query</command></term>
327 <listitem>
328 <para>
329 is a small utility that draws a tree of types.
330 </para>
331 <indexterm zone="glib2 gobject-query">
332 <primary sortas="b-gobject-query">gobject-query</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="gresource">
338 <term><command>gresource</command></term>
339 <listitem>
340 <para>
341 offers a simple commandline interface to GResource.
342 </para>
343 <indexterm zone="glib2 gresource">
344 <primary sortas="b-gresource">gresource</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="gsettings">
350 <term><command>gsettings</command></term>
351 <listitem>
352 <para>
353 offers a simple commandline interface to GSettings.
354 </para>
355 <indexterm zone="glib2 gsettings">
356 <primary sortas="b-gsettings">gsettings</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="gtester">
362 <term><command>gtester</command></term>
363 <listitem>
364 <para>
365 is a test running utility.
366 </para>
367 <indexterm zone="glib2 gtester">
368 <primary sortas="b-gtester">gtester</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="gtester-report">
374 <term><command>gtester-report</command></term>
375 <listitem>
376 <para>
377 is a test report formatting utility.
378 </para>
379 <indexterm zone="glib2 gtester-report">
380 <primary sortas="b-gtester-report">gtester-report</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="GLib-libraries">
386 <term>GLib libraries</term>
387 <listitem>
388 <para>
389 contain low-level core libraries for the
390 <application>GIMP</application> Toolkit.
391 </para>
392 <indexterm zone="glib2 GLib-libraries">
393 <primary sortas="c-GLib-libraries">Glib libraries</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 </variablelist>
399
400 </sect2>
401
402</sect1>
Note: See TracBrowser for help on using the repository browser.