source: general/genlib/glib2.xml@ a3394a71

systemd-13485
Last change on this file since a3394a71 was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.7 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 "83efba4722a9674b97437d1d99af79db">
10 <!ENTITY glib2-size "6.9 MB">
11 <!ENTITY glib2-buildsize "187 MB (additional 72 MB to run the test suite)">
12 <!ENTITY glib2-time "0.8 SBU (additional 3.1 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;
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 <xref linkend="gtk-doc"/>, and
93 <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>
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, issue: <command>make -k check</command>.
145 </para>
146
147 </sect2>
148
149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
152 <para>
153 <parameter>--with-pcre=system</parameter>: This switch causes the
154 build to use a system-provided version of the
155 <application>PCRE</application> library instead of an internal
156 version.
157 </para>
158
159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/gtk-doc-rebuild.xml"/>
161
162 <para>
163 <option>--with-python=python3</option>: Add this switch if you want GLib
164 to use Python3 instead of Python2.
165 </para>
166
167 </sect2>
168
169 <sect2 role="content">
170 <title>Contents</title>
171
172 <segmentedlist>
173 <segtitle>Installed Programs</segtitle>
174 <segtitle>Installed Libraries</segtitle>
175 <segtitle>Installed Directories</segtitle>
176
177 <seglistitem>
178 <seg>
179 gapplication, gdbus, gdbus-codegen, gio-querymodules,
180 glib-compile-resources, glib-compile-schemas,
181 glib-genmarshal, glib-gettextize, glib-mkenums,
182 gobject-query, gresource, gsettings, gtester,
183 and gtester-report
184 </seg>
185 <seg>
186 libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
187 libgobject-2.0.so, and libgthread-2.0.so
188 </seg>
189 <seg>
190 /usr/include/gio-unix-2.0,
191 /usr/include/glib-2.0,
192 /usr/lib/gio,
193 /usr/lib/glib-2.0,
194 /usr/share/glib-2.0,
195 /usr/share/gtk-doc/html/gio,
196 /usr/share/gtk-doc/html/glib, and
197 /usr/share/gtk-doc/html/gobject
198 </seg>
199 </seglistitem>
200 </segmentedlist>
201
202 <variablelist>
203 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
204 <?dbfo list-presentation="list"?>
205 <?dbhtml list-presentation="table"?>
206
207 <varlistentry id="gapplication">
208 <term><command>gapplication</command></term>
209 <listitem>
210 <para>
211 can be used to start applications and can be used to send
212 messages to already-running instances of other applications.
213 </para>
214 <indexterm zone="glib2 gapplication">
215 <primary sortas="b-gapplication">application</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219 <varlistentry id="gdbus">
220 <term><command>gdbus</command></term>
221 <listitem>
222 <para>
223 is a simple tool used for working with
224 <application>D-Bus</application> objects.
225 </para>
226 <indexterm zone="glib2 gdbus">
227 <primary sortas="b-gdbus">gdbus</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="gdbus-codegen">
233 <term><command>gdbus-codegen</command></term>
234 <listitem>
235 <para>
236 is used to generate code and/or documentation for one or
237 more <application>D-Bus</application> interfaces.
238 </para>
239 <indexterm zone="glib2 gdbus-codegen">
240 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="gio-querymodules">
246 <term><command>gio-querymodules</command></term>
247 <listitem>
248 <para>
249 is used to create a giomodule.cache file in the listed directories.
250 This file lists the implemented extension points for each module
251 that has been found.
252 </para>
253 <indexterm zone="glib2 gio-querymodules">
254 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="glib-compile-resources">
260 <term><command>glib-compile-resources</command></term>
261 <listitem>
262 <para>
263 is used to read the resource description from file and
264 the files that it references to create a binary resource
265 bundle that is suitable for use with the GResource API.
266 </para>
267 <indexterm zone="glib2 glib-compile-resources">
268 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="glib-compile-schemas">
274 <term><command>glib-compile-schemas</command></term>
275 <listitem>
276 <para>
277 is used to compile all the GSettings XML schema files
278 in directory into a binary file with the name gschemas.compiled
279 that can be used by GSettings.
280 </para>
281 <indexterm zone="glib2 glib-compile-schemas">
282 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="glib-genmarshal">
288 <term><command>glib-genmarshal</command></term>
289 <listitem>
290 <para>
291 is a C code marshaller generation utility for GLib closures.
292 </para>
293 <indexterm zone="glib2 glib-genmarshal">
294 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="glib-gettextize">
300 <term><command>glib-gettextize</command></term>
301 <listitem>
302 <para>
303 is a variant of the <application>gettext</application>
304 internationalization utility.
305 </para>
306 <indexterm zone="glib2 glib-gettextize">
307 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="glib-mkenums">
313 <term><command>glib-mkenums</command></term>
314 <listitem>
315 <para>
316 is a C language enum description generation utility.
317 </para>
318 <indexterm zone="glib2 glib-mkenums">
319 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="gobject-query">
325 <term><command>gobject-query</command></term>
326 <listitem>
327 <para>
328 is a small utility that draws a tree of types.
329 </para>
330 <indexterm zone="glib2 gobject-query">
331 <primary sortas="b-gobject-query">gobject-query</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="gresource">
337 <term><command>gresource</command></term>
338 <listitem>
339 <para>
340 offers a simple commandline interface to GResource.
341 </para>
342 <indexterm zone="glib2 gresource">
343 <primary sortas="b-gresource">gresource</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="gsettings">
349 <term><command>gsettings</command></term>
350 <listitem>
351 <para>
352 offers a simple commandline interface to GSettings.
353 </para>
354 <indexterm zone="glib2 gsettings">
355 <primary sortas="b-gsettings">gsettings</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="gtester">
361 <term><command>gtester</command></term>
362 <listitem>
363 <para>
364 is a test running utility.
365 </para>
366 <indexterm zone="glib2 gtester">
367 <primary sortas="b-gtester">gtester</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371
372 <varlistentry id="gtester-report">
373 <term><command>gtester-report</command></term>
374 <listitem>
375 <para>
376 is a test report formatting utility.
377 </para>
378 <indexterm zone="glib2 gtester-report">
379 <primary sortas="b-gtester-report">gtester-report</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="GLib-libraries">
385 <term>GLib libraries</term>
386 <listitem>
387 <para>
388 contain low-level core libraries for the
389 <application>GIMP</application> Toolkit.
390 </para>
391 <indexterm zone="glib2 GLib-libraries">
392 <primary sortas="c-GLib-libraries">Glib libraries</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 </variablelist>
398
399 </sect2>
400
401</sect1>
Note: See TracBrowser for help on using the repository browser.