source: general/genlib/glib2.xml@ 56605b9

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 56605b9 was 56605b9, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Remove XML::Parser from perl modules
Archive acl, attr, intltool, expat, gperf
Synchronize libcap with LFS.

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