source: general/genlib/glib2.xml@ fd968dd

systemd-11177
Last change on this file since fd968dd was fd968dd, checked in by Krejzi <krejzi@…>, 11 years ago

Drop pkg-config from systemd branch.

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

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