source: general/genlib/glib2.xml@ 2d57278a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2d57278a was 2d57278a, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to glib 2.52.3.
Update to reiserfsprogs-3.6.26.

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

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