source: general/genlib/glib2.xml@ 5d9021ea

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5d9021ea was 5f26d66f, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

LFS-7.4 tags after building Xorg

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

  • Property mode set to 100644
File size: 12.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.36/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.36/glib-&glib2-version;.tar.xz">
9 <!ENTITY glib2-md5sum "2f4b15f7ef43d8702d067ab987bf7aba">
10 <!ENTITY glib2-size "6.3 MB">
11 <!ENTITY glib2-buildsize "167 MB">
12 <!ENTITY glib2-time "1.9 SBU (additional 4.8 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 a 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 &lfs74_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"/>,
80 <xref linkend="pkgconfig"/> and
81 <xref linkend="python2"/>
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="attr"/>,
92 <xref linkend="dbus"/> (required to run the tests) 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>touch -t 201306082300 gtk-doc.make &amp;&amp;
121./configure --prefix=/usr --with-pcre=system &amp;&amp;
122make</userinput></screen>
123
124 <para>
125 The <application>GLib</application> test suite requires
126 <application>desktop-file-utils</application> in order to run. However,
127 <application>desktop-file-utils</application> requires
128 <application>GLib</application> in order to compile; therefore, you must
129 first install <application>GLib</application> and then run the test
130 suite.
131 </para>
132
133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root"><userinput>make install</userinput></screen>
138
139 <para>
140 You should now install <xref linkend="desktop-file-utils"/> and proceed to
141 run the test suite.
142 </para>
143
144 <para>
145 To test the results, issue: <command>make -k check</command>. The
146 tests need to be run in a graphical environment.
147 </para>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para>
155 <command>touch -t 201306082300 gtk-doc.make</command>:
156 Adjust a time stamp to avoid unnecessary rebuilding of documentation.
157 </para>
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 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Programs</segtitle>
176 <segtitle>Installed Libraries</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>
181 gdbus, gdbus-codegen, gio-querymodules,
182 glib-compile-resources, glib-compile-schemas,
183 glib-genmarshal, glib-gettextize, glib-mkenums,
184 gobject-query, gresource, gsettings, gtester
185 and gtester-report
186 </seg>
187 <seg>
188 libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
189 libgobject-2.0.so and libgthread-2.0.so
190 </seg>
191 <seg>
192 /usr/include/gio-unix-2.0,
193 /usr/include/glib-2.0,
194 /usr/lib/gdbus-2.0,
195 /usr/lib/gio,
196 /usr/lib/glib-2.0,
197 /usr/share/glib-2.0,
198 /usr/share/gtk-doc/html/gio,
199 /usr/share/gtk-doc/html/glib and
200 /usr/share/gtk-doc/html/gobject
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="gdbus">
211 <term><command>gdbus</command></term>
212 <listitem>
213 <para>
214 is a simple tool used for working with
215 <application>D-Bus</application> objects.
216 </para>
217 <indexterm zone="glib2 gdbus">
218 <primary sortas="b-gdbus">gdbus</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="gdbus-codegen">
224 <term><command>gdbus-codegen</command></term>
225 <listitem>
226 <para>
227 is used to generate code and/or documentation for one or
228 more <application>D-Bus</application> interfaces.
229 </para>
230 <indexterm zone="glib2 gdbus-codegen">
231 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="gio-querymodules">
237 <term><command>gio-querymodules</command></term>
238 <listitem>
239 <para>
240 is used to create a giomodule.cache file in the listed directories.
241 This file lists the implemented extension points for each module
242 that has been found.
243 </para>
244 <indexterm zone="glib2 gio-querymodules">
245 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="glib-compile-resources">
251 <term><command>glib-compile-resources</command></term>
252 <listitem>
253 <para>
254 is used to read the resource description from file and
255 the files that it references to create a binary resource
256 bundle that is suitable for use with the GResource API.
257 </para>
258 <indexterm zone="glib2 glib-compile-resources">
259 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="glib-compile-schemas">
265 <term><command>glib-compile-schemas</command></term>
266 <listitem>
267 <para>
268 is used to compile all the GSettings XML schema files
269 in directory into a binary file with the name gschemas.compiled
270 that can be used by GSettings.
271 </para>
272 <indexterm zone="glib2 glib-compile-schemas">
273 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="glib-genmarshal">
279 <term><command>glib-genmarshal</command></term>
280 <listitem>
281 <para>
282 is a C code marshaller generation utility for GLib closures.
283 </para>
284 <indexterm zone="glib2 glib-genmarshal">
285 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="glib-gettextize">
291 <term><command>glib-gettextize</command></term>
292 <listitem>
293 <para>
294 is a variant of the <application>gettext</application>
295 internationalization utility.
296 </para>
297 <indexterm zone="glib2 glib-gettextize">
298 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="glib-mkenums">
304 <term><command>glib-mkenums</command></term>
305 <listitem>
306 <para>
307 is a C language enum description generation utility.
308 </para>
309 <indexterm zone="glib2 glib-mkenums">
310 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="gobject-query">
316 <term><command>gobject-query</command></term>
317 <listitem>
318 <para>
319 is a small utility that draws a tree of types.
320 </para>
321 <indexterm zone="glib2 gobject-query">
322 <primary sortas="b-gobject-query">gobject-query</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="gresource">
328 <term><command>gresource</command></term>
329 <listitem>
330 <para>
331 offers a simple commandline interface to GResource.
332 </para>
333 <indexterm zone="glib2 gresource">
334 <primary sortas="b-gresource">gresource</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="gsettings">
340 <term><command>gsettings</command></term>
341 <listitem>
342 <para>
343 offers a simple commandline interface to GSettings.
344 </para>
345 <indexterm zone="glib2 gsettings">
346 <primary sortas="b-gsettings">gsettings</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="gtester">
352 <term><command>gtester</command></term>
353 <listitem>
354 <para>
355 is a test running utility.
356 </para>
357 <indexterm zone="glib2 gtester">
358 <primary sortas="b-gtester">gtester</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="gtester-report">
364 <term><command>gtester-report</command></term>
365 <listitem>
366 <para>
367 is a test report formatting utility.
368 </para>
369 <indexterm zone="glib2 gtester-report">
370 <primary sortas="b-gtester-report">gtester-report</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="GLib-libraries">
376 <term>GLib libraries</term>
377 <listitem>
378 <para>
379 contain a low-level core libraries for the
380 <application>GIMP</application> Toolkit.
381 </para>
382 <indexterm zone="glib2 GLib-libraries">
383 <primary sortas="c-GLib-libraries">Glib libraries</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 </variablelist>
389
390 </sect2>
391
392</sect1>
Note: See TracBrowser for help on using the repository browser.