source: general/genlib/glib2.xml@ 03c7ec8d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 03c7ec8d was 03c7ec8d, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

UPdate glib2 dependencies

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

  • Property mode set to 100644
File size: 13.2 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.50/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.50/glib-&glib2-version;.tar.xz">
9 <!ENTITY glib2-md5sum "0fd6d3339cd7e4714eb643c6fa4b6499">
10 <!ENTITY glib2-size "7.2 MB">
11 <!ENTITY glib2-buildsize "189 MB (additional 73 MB for tests)">
12 <!ENTITY glib2-time "1.0 SBU (additional 3.7 SBU for tests)">
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 &lfs7a_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"/>,
80 <xref linkend="pcre2"/>, and
81 <xref linkend="python2"/> or <xref linkend="python3"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="pcre"/> (built with Unicode properties)
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="dbus"/> (required for some tests),
92 <xref linkend="elfutils"/>,
93 <xref linkend="gtk-doc"/>,
94 <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>, and
95 <ulink url="https://www.gnu.org/software/indent/">GNU Indent</ulink>
96 </para>
97
98 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
99 <para role="optional">
100 Quoted directly from the <filename>INSTALL</filename> file:
101 <quote>Some of the mimetype-related functionality in GIO requires the
102 <command>update-mime-database</command> and
103 <command>update-desktop-database</command> utilities</quote>,
104 which are part of
105 <xref linkend="shared-mime-info"/> and
106 <xref linkend="desktop-file-utils"/>, respectively.
107 </para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/glib2"/>
111 </para>
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of GLib</title>
116
117 <para>
118 Install <application>GLib</application> by running the following
119 commands:
120 </para>
121
122<screen><userinput>./configure --prefix=/usr --with-pcre=system &amp;&amp;
123make</userinput></screen>
124
125 <para>
126 The <application>GLib</application> test suite requires
127 <application>desktop-file-utils</application> for some tests. However,
128 <application>desktop-file-utils</application> requires
129 <application>GLib</application> in order to compile; therefore, you must
130 first install <application>GLib</application> and then run the test
131 suite.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make install</userinput></screen>
139
140 <para>
141 You should now install <xref linkend="desktop-file-utils"/> and proceed to
142 run the test suite.
143 </para>
144
145 <para>
146 To test the results, after having installed the package, issue:
147 <command>make -k check</command>.
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=/usr/bin/python3</option>: Add this switch if you
167 want GLib 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, 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,lib,share}/glib-2.0,
195 /usr/lib/gio, and
196 /usr/share/gtk-doc/html/g{io,lib,object}
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="gapplication">
207 <term><command>gapplication</command></term>
208 <listitem>
209 <para>
210 can be used to start applications and to send
211 messages to already-running instances of other applications.
212 </para>
213 <indexterm zone="glib2 gapplication">
214 <primary sortas="b-gapplication">application</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218 <varlistentry id="gdbus">
219 <term><command>gdbus</command></term>
220 <listitem>
221 <para>
222 is a simple tool used for working with
223 <application>D-Bus</application> objects.
224 </para>
225 <indexterm zone="glib2 gdbus">
226 <primary sortas="b-gdbus">gdbus</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="gdbus-codegen">
232 <term><command>gdbus-codegen</command></term>
233 <listitem>
234 <para>
235 is used to generate code and/or documentation for one or
236 more <application>D-Bus</application> interfaces.
237 </para>
238 <indexterm zone="glib2 gdbus-codegen">
239 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="gio">
245 <term><command>gio</command></term>
246 <listitem>
247 <para>
248 is a utility that makes many <application>GIO</application>
249 features available from the command line.
250 </para>
251 <indexterm zone="glib2 gio">
252 <primary sortas="b-gio">gio</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="gio-querymodules">
258 <term><command>gio-querymodules</command></term>
259 <listitem>
260 <para>
261 is used to create a <filename>giomodule.cache</filename> file in
262 the listed directories. This file lists the implemented extension
263 points for each module that has been found.
264 </para>
265 <indexterm zone="glib2 gio-querymodules">
266 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="glib-compile-resources">
272 <term><command>glib-compile-resources</command></term>
273 <listitem>
274 <para>
275 is used to read the resource description from a file and
276 the files that it references to create a binary resource
277 bundle that is suitable for use with the GResource API.
278 </para>
279 <indexterm zone="glib2 glib-compile-resources">
280 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="glib-compile-schemas">
286 <term><command>glib-compile-schemas</command></term>
287 <listitem>
288 <para>
289 is used to compile all the GSettings XML schema files
290 in directory into a binary file with the name
291 <filename>gschemas.compiled</filename> that can be used by GSettings.
292 </para>
293 <indexterm zone="glib2 glib-compile-schemas">
294 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="glib-genmarshal">
300 <term><command>glib-genmarshal</command></term>
301 <listitem>
302 <para>
303 is a C code marshaller generation utility for GLib closures.
304 </para>
305 <indexterm zone="glib2 glib-genmarshal">
306 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="glib-gettextize">
312 <term><command>glib-gettextize</command></term>
313 <listitem>
314 <para>
315 is a variant of the <application>gettext</application>
316 internationalization utility.
317 </para>
318 <indexterm zone="glib2 glib-gettextize">
319 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="glib-mkenums">
325 <term><command>glib-mkenums</command></term>
326 <listitem>
327 <para>
328 is a C language enum description generation utility.
329 </para>
330 <indexterm zone="glib2 glib-mkenums">
331 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="gobject-query">
337 <term><command>gobject-query</command></term>
338 <listitem>
339 <para>
340 is a small utility that draws a tree of types.
341 </para>
342 <indexterm zone="glib2 gobject-query">
343 <primary sortas="b-gobject-query">gobject-query</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="gresource">
349 <term><command>gresource</command></term>
350 <listitem>
351 <para>
352 offers a simple command line interface to GResource.
353 </para>
354 <indexterm zone="glib2 gresource">
355 <primary sortas="b-gresource">gresource</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="gsettings">
361 <term><command>gsettings</command></term>
362 <listitem>
363 <para>
364 offers a simple command line interface to GSettings.
365 </para>
366 <indexterm zone="glib2 gsettings">
367 <primary sortas="b-gsettings">gsettings</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371
372 <varlistentry id="gtester">
373 <term><command>gtester</command></term>
374 <listitem>
375 <para>
376 is a test running utility.
377 </para>
378 <indexterm zone="glib2 gtester">
379 <primary sortas="b-gtester">gtester</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="gtester-report">
385 <term><command>gtester-report</command></term>
386 <listitem>
387 <para>
388 is a test report formatting utility.
389 </para>
390 <indexterm zone="glib2 gtester-report">
391 <primary sortas="b-gtester-report">gtester-report</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="GLib-libraries">
397 <term>GLib libraries</term>
398 <listitem>
399 <para>
400 contain low-level core libraries for the
401 <application>GIMP</application> Toolkit.
402 </para>
403 <indexterm zone="glib2 GLib-libraries">
404 <primary sortas="c-GLib-libraries">Glib libraries</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 </variablelist>
410
411 </sect2>
412
413</sect1>
Note: See TracBrowser for help on using the repository browser.