source: general/genlib/glib2.xml@ bd4fda83

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bd4fda83 was bd4fda83, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Move old jpeg to archive.
Remove text generation from gperf.
LFS 7.3 tags.

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

  • Property mode set to 100644
File size: 12.0 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
[d3e019dc]7 <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.34/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.34/glib-&glib2-version;.tar.xz">
[307b4b98]9 <!ENTITY glib2-md5sum "a4ca31e258273c3761e3de2edd607661">
[d3e019dc]10 <!ENTITY glib2-size "6.1 MB">
[307b4b98]11 <!ENTITY glib2-buildsize "225 MB">
[d3e019dc]12 <!ENTITY glib2-time "1.6 SBU (additional 5.0 SBU to run the test suite)">
[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>
33 The <application>GLib</application> package contains a 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
[bd4fda83]39 &lfs73_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">
[9ef15dba]79 <xref linkend="libffi"/>,
80 <xref linkend="pkgconfig"/> and
[b8a081c]81 <xref linkend="python2"/>
[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">
91 <xref linkend="attr"/>,
[d3e019dc]92 <xref linkend="dbus"/> (required to run the tests) and
[b8a081c]93 <xref linkend="gtk-doc"/>
94 </para>
[b31b493]95
[75103a06]96 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
[b84342d6]97 <para role="optional">
[0d7900a]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
[d3e019dc]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
125 <application>desktop-file-utils</application> in order to run. However,
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>
144 To test the results, issue: <command>make check</command>.
145 </para>
[c0e1d87]146
[7c18102]147 </sect2>
[4c3474fe]148
[7c18102]149 <sect2 role="commands">
150 <title>Command Explanations</title>
[864b24de]151
[b84342d6]152 <para>
[d3e019dc]153 <parameter>--with-pcre=system</parameter>: This switch causes the
[b84342d6]154 build to use a system-provided version of the
155 <application>PCRE</application> library instead of an internal
156 version.
157 </para>
[7147513]158
[0913f48]159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[b84342d6]160 href="../../xincludes/gtk-doc-rebuild.xml"/>
[0913f48]161
[7c18102]162 </sect2>
[4c3474fe]163
[7c18102]164 <sect2 role="content">
165 <title>Contents</title>
166
167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
169 <segtitle>Installed Libraries</segtitle>
170 <segtitle>Installed Directories</segtitle>
[4c3474fe]171
[7c18102]172 <seglistitem>
[0913f48]173 <seg>
174 gdbus, gdbus-codegen, gio-querymodules,
175 glib-compile-resources, glib-compile-schemas,
176 glib-genmarshal, glib-gettextize, glib-mkenums,
[0d7900a]177 gobject-query, gresource, gsettings, gtester
[0913f48]178 and gtester-report
179 </seg>
180 <seg>
181 libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
[d3e019dc]182 libgobject-2.0.so and libgthread-2.0.so
[0913f48]183 </seg>
184 <seg>
[d3e019dc]185 /usr/include/gio-unix-2.0,
186 /usr/include/glib-2.0,
187 /usr/lib/gdbus-2.0,
188 /usr/lib/gio,
189 /usr/lib/glib-2.0,
190 /usr/share/glib-2.0,
191 /usr/share/gtk-doc/html/gio,
192 /usr/share/gtk-doc/html/glib and
193 /usr/share/gtk-doc/html/gobject
[0913f48]194 </seg>
[7c18102]195 </seglistitem>
196 </segmentedlist>
[4c3474fe]197
[7c18102]198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
[4c3474fe]202
[b31b493]203 <varlistentry id="gdbus">
204 <term><command>gdbus</command></term>
205 <listitem>
[b84342d6]206 <para>
[d3e019dc]207 is a simple tool used for working with
208 <application>D-Bus</application> objects.
[b84342d6]209 </para>
[b31b493]210 <indexterm zone="glib2 gdbus">
211 <primary sortas="b-gdbus">gdbus</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="gdbus-codegen">
217 <term><command>gdbus-codegen</command></term>
218 <listitem>
[b84342d6]219 <para>
[0d7900a]220 is used to generate code and/or documentation for one or
[b84342d6]221 more <application>D-Bus</application> interfaces.
222 </para>
[b31b493]223 <indexterm zone="glib2 gdbus-codegen">
224 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="gio-querymodules">
230 <term><command>gio-querymodules</command></term>
231 <listitem>
[b84342d6]232 <para>
[0d7900a]233 is used to create a giomodule.cache file in the listed directories.
[d3e019dc]234 This file lists the implemented extension points for each module
235 that has been found.
[b84342d6]236 </para>
[b31b493]237 <indexterm zone="glib2 gio-querymodules">
238 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="glib-compile-resources">
244 <term><command>glib-compile-resources</command></term>
245 <listitem>
[b84342d6]246 <para>
[0d7900a]247 is used to read the resource description from file and
248 the files that it references to create a binary resource
[b84342d6]249 bundle that is suitable for use with the GResource API.
250 </para>
[b31b493]251 <indexterm zone="glib2 glib-compile-resources">
252 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="glib-compile-schemas">
258 <term><command>glib-compile-schemas</command></term>
259 <listitem>
[b84342d6]260 <para>
[0d7900a]261 is used to compile all the GSettings XML schema files
262 in directory into a binary file with the name gschemas.compiled
[b84342d6]263 that can be used by GSettings.
264 </para>
[b31b493]265 <indexterm zone="glib2 glib-compile-schemas">
266 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
[7c18102]271 <varlistentry id="glib-genmarshal">
272 <term><command>glib-genmarshal</command></term>
273 <listitem>
[b84342d6]274 <para>
275 is a C code marshaller generation utility for GLib closures.
276 </para>
[7c18102]277 <indexterm zone="glib2 glib-genmarshal">
278 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
[4c3474fe]282
[7c18102]283 <varlistentry id="glib-gettextize">
284 <term><command>glib-gettextize</command></term>
285 <listitem>
[b84342d6]286 <para>
287 is a variant of the <application>gettext</application>
288 internationalization utility.
289 </para>
[7c18102]290 <indexterm zone="glib2 glib-gettextize">
291 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
[4c3474fe]295
[7c18102]296 <varlistentry id="glib-mkenums">
297 <term><command>glib-mkenums</command></term>
298 <listitem>
[b84342d6]299 <para>
300 is a C language enum description generation utility.
301 </para>
[7c18102]302 <indexterm zone="glib2 glib-mkenums">
303 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
[4c3474fe]307
[7c18102]308 <varlistentry id="gobject-query">
309 <term><command>gobject-query</command></term>
310 <listitem>
[b84342d6]311 <para>
312 is a small utility that draws a tree of types.
313 </para>
[7c18102]314 <indexterm zone="glib2 gobject-query">
315 <primary sortas="b-gobject-query">gobject-query</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
[4c3474fe]319
[b31b493]320 <varlistentry id="gresource">
321 <term><command>gresource</command></term>
322 <listitem>
[b84342d6]323 <para>
324 offers a simple commandline interface to GResource.
325 </para>
[b31b493]326 <indexterm zone="glib2 gresource">
327 <primary sortas="b-gresource">gresource</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="gsettings">
333 <term><command>gsettings</command></term>
334 <listitem>
[b84342d6]335 <para>
336 offers a simple commandline interface to GSettings.
337 </para>
[b31b493]338 <indexterm zone="glib2 gsettings">
339 <primary sortas="b-gsettings">gsettings</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
[e103708b]344 <varlistentry id="gtester">
345 <term><command>gtester</command></term>
346 <listitem>
[b84342d6]347 <para>
348 is a test running utility.
349 </para>
[e103708b]350 <indexterm zone="glib2 gtester">
351 <primary sortas="b-gtester">gtester</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="gtester-report">
357 <term><command>gtester-report</command></term>
358 <listitem>
[b84342d6]359 <para>
360 is a test report formatting utility.
361 </para>
[e103708b]362 <indexterm zone="glib2 gtester-report">
363 <primary sortas="b-gtester-report">gtester-report</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
[7c18102]368 <varlistentry id="GLib-libraries">
369 <term>GLib libraries</term>
370 <listitem>
[b84342d6]371 <para>
372 contain a low-level core libraries for the
373 <application>GIMP</application> Toolkit.
374 </para>
[7c18102]375 <indexterm zone="glib2 GLib-libraries">
376 <primary sortas="c-GLib-libraries">Glib libraries</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
[4c3474fe]380
[7c18102]381 </variablelist>
382
383 </sect2>
[d4340990]384
385</sect1>
Note: See TracBrowser for help on using the repository browser.