source: general/genlib/glib2.xml@ 572553b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 572553b was 572553b, checked in by Pierre Labastie <pieere@…>, 7 years ago

role="runtime|nodep" in general

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