source: general/genlib/glib2.xml@ 7dcab6e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7dcab6e was 2d57278a, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to glib 2.52.3.
Update to reiserfsprogs-3.6.26.

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

  • Property mode set to 100644
File size: 13.3 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[6b0dd4c6]7 <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.52/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.52/glib-&glib2-version;.tar.xz">
[2d57278a]9 <!ENTITY glib2-md5sum "89265d0289a436e99cad54491eb21ef4">
[6b0dd4c6]10 <!ENTITY glib2-size "7.3 MB">
[2d57278a]11 <!ENTITY glib2-buildsize "142 MB (additional 73 MB for tests)">
12 <!ENTITY glib2-time "1.0 SBU (additional 4.5 SBU for tests)">
[52d29f7]13]>
14
[7c461b3]15<sect1 id="glib2" xreflabel="GLib-&glib2-version;">
[7c18102]16 <?dbhtml filename="glib2.html"?>
[4c3474fe]17
[7c18102]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[4c3474fe]22
[7c18102]23 <title>GLib-&glib2-version;</title>
[4c3474fe]24
[7c18102]25 <indexterm zone="glib2">
26 <primary sortas="a-GLib2">GLib2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GLib</title>
[4c3474fe]31
[b84342d6]32 <para>
[2c38e951]33 The <application>GLib</application> package contains low-level
[0d7900a]34 libraries useful for providing data structure handling for C, portability
[b84342d6]35 wrappers and interfaces for such runtime functionality as an
36 event loop, threads, dynamic loading and an object system.
37 </para>
[4c3474fe]38
[8b0eef4]39 &lfs80_checked;
[2d57278a]40 &gcc7_checked;
[08f1ff7]41
[7c18102]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[b84342d6]45 <para>
46 Download (HTTP): <ulink url="&glib2-download-http;"/>
47 </para>
[7c18102]48 </listitem>
49 <listitem>
[b84342d6]50 <para>
51 Download (FTP): <ulink url="&glib2-download-ftp;"/>
52 </para>
[7c18102]53 </listitem>
54 <listitem>
[b84342d6]55 <para>
56 Download MD5 sum: &glib2-md5sum;
57 </para>
[7c18102]58 </listitem>
59 <listitem>
[b84342d6]60 <para>
61 Download size: &glib2-size;
62 </para>
[7c18102]63 </listitem>
64 <listitem>
[b84342d6]65 <para>
66 Estimated disk space required: &glib2-buildsize;
67 </para>
[7c18102]68 </listitem>
69 <listitem>
[b84342d6]70 <para>
71 Estimated build time: &glib2-time;
72 </para>
[7c18102]73 </listitem>
74 </itemizedlist>
[4c3474fe]75
[06b397f7]76 <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
[4c3474fe]77
[08f1ff7]78 <bridgehead renderas="sect4">Required</bridgehead>
[b8a081c]79 <para role="required">
[af506b1]80 <xref linkend="libffi"/> and
[860b8f3]81 <xref linkend="python2"/> or <xref linkend="python3"/>
[0d7900a]82 </para>
[4c3474fe]83
[1b9e36e]84 <bridgehead renderas="sect4">Recommended</bridgehead>
[b8a081c]85 <para role="recommended">
[d3e019dc]86 <xref linkend="pcre"/> (built with Unicode properties)
[b8a081c]87 </para>
[1b9e36e]88
[7c18102]89 <bridgehead renderas="sect4">Optional</bridgehead>
[b8a081c]90 <para role="optional">
[2c38e951]91 <xref linkend="dbus"/> (required for some tests),
[2f0f7a0]92 <xref linkend="elfutils"/>,
[0797528]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>
[b8a081c]96 </para>
[b31b493]97
[75103a06]98 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
[86ceb63]99 <para role="recommended">
100 <xref linkend="gobject-introspection"/> (should be installed before
101 gtk+, atk, etc.)
102 </para>
[b84342d6]103 <para role="optional">
[70b674f2]104 Quoted directly from the <filename>INSTALL</filename> file:
[b84342d6]105 <quote>Some of the mimetype-related functionality in GIO requires the
106 <command>update-mime-database</command> and
[0d7900a]107 <command>update-desktop-database</command> utilities</quote>,
[b84342d6]108 which are part of
109 <xref linkend="shared-mime-info"/> and
110 <xref linkend="desktop-file-utils"/>, respectively.
111 </para>
[75103a06]112
[1039de3]113 <para condition="html" role="usernotes">User Notes:
[7ded7e3]114 <ulink url="&blfs-wiki;/glib2"/>
115 </para>
[7c18102]116 </sect2>
[4c3474fe]117
[7c18102]118 <sect2 role="installation">
119 <title>Installation of GLib</title>
120
[b84342d6]121 <para>
122 Install <application>GLib</application> by running the following
123 commands:
124 </para>
[b31b493]125
[70b674f2]126<screen><userinput>./configure --prefix=/usr --with-pcre=system &amp;&amp;
[7c18102]127make</userinput></screen>
[4c3474fe]128
[b84342d6]129 <para>
130 The <application>GLib</application> test suite requires
[2c38e951]131 <application>desktop-file-utils</application> for some tests. However,
[b84342d6]132 <application>desktop-file-utils</application> requires
133 <application>GLib</application> in order to compile; therefore, you must
134 first install <application>GLib</application> and then run the test
135 suite.
136 </para>
[4c3474fe]137
[b84342d6]138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
[4c3474fe]141
[355495ce]142<screen role="root"><userinput>make install</userinput></screen>
[4c3474fe]143
[b84342d6]144 <para>
145 You should now install <xref linkend="desktop-file-utils"/> and proceed to
146 run the test suite.
147 </para>
[c0e1d87]148
[b84342d6]149 <para>
[2c38e951]150 To test the results, after having installed the package, issue:
[9ee5ff8]151 <command>make -k check</command>.
[b84342d6]152 </para>
[c0e1d87]153
[7c18102]154 </sect2>
[4c3474fe]155
[7c18102]156 <sect2 role="commands">
157 <title>Command Explanations</title>
[864b24de]158
[b84342d6]159 <para>
[359fdb62]160 <parameter>--with-pcre=system</parameter>: This switch causes the
[b84342d6]161 build to use a system-provided version of the
162 <application>PCRE</application> library instead of an internal
163 version.
164 </para>
[7147513]165
[0913f48]166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[b84342d6]167 href="../../xincludes/gtk-doc-rebuild.xml"/>
[0913f48]168
[860b8f3]169 <para>
[96ecf052]170 <option>--with-python=/usr/bin/python3</option>: Add this switch if you
171 want GLib to use Python3 instead of Python2.
[860b8f3]172 </para>
173
[7c18102]174 </sect2>
[4c3474fe]175
[7c18102]176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
[4c3474fe]183
[7c18102]184 <seglistitem>
[0913f48]185 <seg>
[0797528]186 gapplication, gdbus, gdbus-codegen, gio, gio-querymodules,
[0913f48]187 glib-compile-resources, glib-compile-schemas,
188 glib-genmarshal, glib-gettextize, glib-mkenums,
[70b674f2]189 gobject-query, gresource, gsettings, gtester,
[0913f48]190 and gtester-report
191 </seg>
192 <seg>
193 libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
[70b674f2]194 libgobject-2.0.so, and libgthread-2.0.so
[0913f48]195 </seg>
196 <seg>
[d3e019dc]197 /usr/include/gio-unix-2.0,
[b22a6dbc]198 /usr/{include,lib,share}/glib-2.0,
199 /usr/lib/gio, and
200 /usr/share/gtk-doc/html/g{io,lib,object}
[0913f48]201 </seg>
[7c18102]202 </seglistitem>
203 </segmentedlist>
[4c3474fe]204
[7c18102]205 <variablelist>
206 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
207 <?dbfo list-presentation="list"?>
208 <?dbhtml list-presentation="table"?>
[4c3474fe]209
[837e96ed]210 <varlistentry id="gapplication">
211 <term><command>gapplication</command></term>
212 <listitem>
213 <para>
[c5ebc8ac]214 can be used to start applications and to send
[f3429309]215 messages to already-running instances of other applications.
[837e96ed]216 </para>
217 <indexterm zone="glib2 gapplication">
218 <primary sortas="b-gapplication">application</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
[b31b493]222 <varlistentry id="gdbus">
223 <term><command>gdbus</command></term>
224 <listitem>
[b84342d6]225 <para>
[d3e019dc]226 is a simple tool used for working with
227 <application>D-Bus</application> objects.
[b84342d6]228 </para>
[b31b493]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>
[b84342d6]238 <para>
[0d7900a]239 is used to generate code and/or documentation for one or
[b84342d6]240 more <application>D-Bus</application> interfaces.
241 </para>
[b31b493]242 <indexterm zone="glib2 gdbus-codegen">
243 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
[0797528]248 <varlistentry id="gio">
249 <term><command>gio</command></term>
250 <listitem>
251 <para>
252 is a utility that makes many <application>GIO</application>
253 features available from the command line.
254 </para>
255 <indexterm zone="glib2 gio">
256 <primary sortas="b-gio">gio</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
[b31b493]261 <varlistentry id="gio-querymodules">
262 <term><command>gio-querymodules</command></term>
263 <listitem>
[b84342d6]264 <para>
[c5ebc8ac]265 is used to create a <filename>giomodule.cache</filename> file in
266 the listed directories. This file lists the implemented extension
267 points for each module that has been found.
[b84342d6]268 </para>
[b31b493]269 <indexterm zone="glib2 gio-querymodules">
270 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="glib-compile-resources">
276 <term><command>glib-compile-resources</command></term>
277 <listitem>
[b84342d6]278 <para>
[0797528]279 is used to read the resource description from a file and
[0d7900a]280 the files that it references to create a binary resource
[b84342d6]281 bundle that is suitable for use with the GResource API.
282 </para>
[b31b493]283 <indexterm zone="glib2 glib-compile-resources">
284 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="glib-compile-schemas">
290 <term><command>glib-compile-schemas</command></term>
291 <listitem>
[b84342d6]292 <para>
[0d7900a]293 is used to compile all the GSettings XML schema files
[c5ebc8ac]294 in directory into a binary file with the name
295 <filename>gschemas.compiled</filename> that can be used by GSettings.
[b84342d6]296 </para>
[b31b493]297 <indexterm zone="glib2 glib-compile-schemas">
298 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
[7c18102]303 <varlistentry id="glib-genmarshal">
304 <term><command>glib-genmarshal</command></term>
305 <listitem>
[b84342d6]306 <para>
307 is a C code marshaller generation utility for GLib closures.
308 </para>
[7c18102]309 <indexterm zone="glib2 glib-genmarshal">
310 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
[4c3474fe]314
[7c18102]315 <varlistentry id="glib-gettextize">
316 <term><command>glib-gettextize</command></term>
317 <listitem>
[b84342d6]318 <para>
319 is a variant of the <application>gettext</application>
320 internationalization utility.
321 </para>
[7c18102]322 <indexterm zone="glib2 glib-gettextize">
323 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
[4c3474fe]327
[7c18102]328 <varlistentry id="glib-mkenums">
329 <term><command>glib-mkenums</command></term>
330 <listitem>
[b84342d6]331 <para>
332 is a C language enum description generation utility.
333 </para>
[7c18102]334 <indexterm zone="glib2 glib-mkenums">
335 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
[4c3474fe]339
[7c18102]340 <varlistentry id="gobject-query">
341 <term><command>gobject-query</command></term>
342 <listitem>
[b84342d6]343 <para>
344 is a small utility that draws a tree of types.
345 </para>
[7c18102]346 <indexterm zone="glib2 gobject-query">
347 <primary sortas="b-gobject-query">gobject-query</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
[4c3474fe]351
[b31b493]352 <varlistentry id="gresource">
353 <term><command>gresource</command></term>
354 <listitem>
[b84342d6]355 <para>
[0797528]356 offers a simple command line interface to GResource.
[b84342d6]357 </para>
[b31b493]358 <indexterm zone="glib2 gresource">
359 <primary sortas="b-gresource">gresource</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="gsettings">
365 <term><command>gsettings</command></term>
366 <listitem>
[b84342d6]367 <para>
[0797528]368 offers a simple command line interface to GSettings.
[b84342d6]369 </para>
[b31b493]370 <indexterm zone="glib2 gsettings">
371 <primary sortas="b-gsettings">gsettings</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
[e103708b]376 <varlistentry id="gtester">
377 <term><command>gtester</command></term>
378 <listitem>
[b84342d6]379 <para>
380 is a test running utility.
381 </para>
[e103708b]382 <indexterm zone="glib2 gtester">
383 <primary sortas="b-gtester">gtester</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="gtester-report">
389 <term><command>gtester-report</command></term>
390 <listitem>
[b84342d6]391 <para>
392 is a test report formatting utility.
393 </para>
[e103708b]394 <indexterm zone="glib2 gtester-report">
395 <primary sortas="b-gtester-report">gtester-report</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
[7c18102]400 <varlistentry id="GLib-libraries">
401 <term>GLib libraries</term>
402 <listitem>
[b84342d6]403 <para>
[2c38e951]404 contain low-level core libraries for the
[b84342d6]405 <application>GIMP</application> Toolkit.
406 </para>
[7c18102]407 <indexterm zone="glib2 GLib-libraries">
408 <primary sortas="c-GLib-libraries">Glib libraries</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
[4c3474fe]412
[7c18102]413 </variablelist>
414
415 </sect2>
[d4340990]416
417</sect1>
Note: See TracBrowser for help on using the repository browser.