source: general/genlib/glib2.xml@ 860b8f3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 860b8f3 was 860b8f3, checked in by Igor Živković <igor@…>, 9 years ago

glib can use python3

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

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