source: general/genlib/glib2.xml@ b5ed6d1

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 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 b5ed6d1 was b5ed6d1, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Update to glib-2.50.2

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

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