source: general/genlib/glib2.xml@ db2a89a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 db2a89a was db2a89a, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Fix md5sum: GLib-2.40.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12898 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.40/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.40/glib-&glib2-version;.tar.xz">
9 <!ENTITY glib2-md5sum "05fb7cb17eacbc718e90366a1eae60d9">
10 <!ENTITY glib2-size "6.5 MB">
11 <!ENTITY glib2-buildsize "161 MB (additional 54 MB to run the test suite)">
12 <!ENTITY glib2-time "0.9 SBU (additional 3.4 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 &lfs75_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"/>
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="attr"/>,
91 <xref linkend="dbus"/> (required to run the tests),
92 <xref linkend="elfutils"/>,
93 <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>, and
94 <xref linkend="gtk-doc"/>
95 </para>
96
97 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
98 <para role="optional">
99 Quoted directly from the <filename>INSTALL</filename> file:
100 <quote>Some of the mimetype-related functionality in GIO requires the
101 <command>update-mime-database</command> and
102 <command>update-desktop-database</command> utilities</quote>,
103 which are part of
104 <xref linkend="shared-mime-info"/> and
105 <xref linkend="desktop-file-utils"/>, respectively.
106 </para>
107
108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/glib2"/>
110 </para>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of GLib</title>
115
116 <para>
117 Install <application>GLib</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>./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, after installed the package, issue:
146 <command>make -k check</command>. The tests need to be run in a
147 graphical environment. Some tests may fail, for unknown reasons.
148 One test (regex) fails when using the system pcre package.
149 </para>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <parameter>--with-pcre=system</parameter>: This switch causes the
158 build to use a system-provided version of the
159 <application>PCRE</application> library instead of an internal
160 version.
161 </para>
162
163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/gtk-doc-rebuild.xml"/>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Programs</segtitle>
173 <segtitle>Installed Libraries</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>
178 gapplication, gdbus, gdbus-codegen, gio-querymodules,
179 glib-compile-resources, glib-compile-schemas,
180 glib-genmarshal, glib-gettextize, glib-mkenums,
181 gobject-query, gresource, gsettings, gtester,
182 and gtester-report
183 </seg>
184 <seg>
185 libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
186 libgobject-2.0.so, and libgthread-2.0.so
187 </seg>
188 <seg>
189 /usr/include/gio-unix-2.0,
190 /usr/include/glib-2.0,
191 /usr/lib/gio,
192 /usr/lib/glib-2.0,
193 /usr/share/glib-2.0,
194 /usr/share/gtk-doc/html/gio,
195 /usr/share/gtk-doc/html/glib, and
196 /usr/share/gtk-doc/html/gobject
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="gdbus">
207 <term><command>gdbus</command></term>
208 <listitem>
209 <para>
210 is a simple tool used for working with
211 <application>D-Bus</application> objects.
212 </para>
213 <indexterm zone="glib2 gdbus">
214 <primary sortas="b-gdbus">gdbus</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="gdbus-codegen">
220 <term><command>gdbus-codegen</command></term>
221 <listitem>
222 <para>
223 is used to generate code and/or documentation for one or
224 more <application>D-Bus</application> interfaces.
225 </para>
226 <indexterm zone="glib2 gdbus-codegen">
227 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="gio-querymodules">
233 <term><command>gio-querymodules</command></term>
234 <listitem>
235 <para>
236 is used to create a giomodule.cache file in the listed directories.
237 This file lists the implemented extension points for each module
238 that has been found.
239 </para>
240 <indexterm zone="glib2 gio-querymodules">
241 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="glib-compile-resources">
247 <term><command>glib-compile-resources</command></term>
248 <listitem>
249 <para>
250 is used to read the resource description from file and
251 the files that it references to create a binary resource
252 bundle that is suitable for use with the GResource API.
253 </para>
254 <indexterm zone="glib2 glib-compile-resources">
255 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="glib-compile-schemas">
261 <term><command>glib-compile-schemas</command></term>
262 <listitem>
263 <para>
264 is used to compile all the GSettings XML schema files
265 in directory into a binary file with the name gschemas.compiled
266 that can be used by GSettings.
267 </para>
268 <indexterm zone="glib2 glib-compile-schemas">
269 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="glib-genmarshal">
275 <term><command>glib-genmarshal</command></term>
276 <listitem>
277 <para>
278 is a C code marshaller generation utility for GLib closures.
279 </para>
280 <indexterm zone="glib2 glib-genmarshal">
281 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="glib-gettextize">
287 <term><command>glib-gettextize</command></term>
288 <listitem>
289 <para>
290 is a variant of the <application>gettext</application>
291 internationalization utility.
292 </para>
293 <indexterm zone="glib2 glib-gettextize">
294 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="glib-mkenums">
300 <term><command>glib-mkenums</command></term>
301 <listitem>
302 <para>
303 is a C language enum description generation utility.
304 </para>
305 <indexterm zone="glib2 glib-mkenums">
306 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="gobject-query">
312 <term><command>gobject-query</command></term>
313 <listitem>
314 <para>
315 is a small utility that draws a tree of types.
316 </para>
317 <indexterm zone="glib2 gobject-query">
318 <primary sortas="b-gobject-query">gobject-query</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="gresource">
324 <term><command>gresource</command></term>
325 <listitem>
326 <para>
327 offers a simple commandline interface to GResource.
328 </para>
329 <indexterm zone="glib2 gresource">
330 <primary sortas="b-gresource">gresource</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 <varlistentry id="gsettings">
336 <term><command>gsettings</command></term>
337 <listitem>
338 <para>
339 offers a simple commandline interface to GSettings.
340 </para>
341 <indexterm zone="glib2 gsettings">
342 <primary sortas="b-gsettings">gsettings</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="gtester">
348 <term><command>gtester</command></term>
349 <listitem>
350 <para>
351 is a test running utility.
352 </para>
353 <indexterm zone="glib2 gtester">
354 <primary sortas="b-gtester">gtester</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 <varlistentry id="gtester-report">
360 <term><command>gtester-report</command></term>
361 <listitem>
362 <para>
363 is a test report formatting utility.
364 </para>
365 <indexterm zone="glib2 gtester-report">
366 <primary sortas="b-gtester-report">gtester-report</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="GLib-libraries">
372 <term>GLib libraries</term>
373 <listitem>
374 <para>
375 contain a low-level core libraries for the
376 <application>GIMP</application> Toolkit.
377 </para>
378 <indexterm zone="glib2 GLib-libraries">
379 <primary sortas="c-GLib-libraries">Glib libraries</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 </variablelist>
385
386 </sect2>
387
388</sect1>
Note: See TracBrowser for help on using the repository browser.