source: general/genlib/glib2.xml@ b22a6dbc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 b22a6dbc was b22a6dbc, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Fix again the Change Log.
  • Update to audacious-3.7 and audacious-plugins-3.7.
  • Update to at-spi2-core-2.18.2.
  • Update to qpdf-5.2.0.
  • Update to glib-2.46.2.

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

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