source: general/genlib/glib2.xml@ c0e1d87

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 c0e1d87 was c0e1d87, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

glib2 checked against LFS 6.5, updates to testsuite.

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

  • Property mode set to 100644
File size: 8.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.20/glib-&glib2-version;.tar.bz2">
8 <!ENTITY glib2-download-ftp "ftp://ftp.gtk.org/pub/glib/2.20/glib-&glib2-version;.tar.bz2">
9 <!ENTITY glib2-md5sum "346916673c0eab72191cf44b4afe535f">
10 <!ENTITY glib2-size "4.9 MB">
11 <!ENTITY glib2-buildsize "82 MB (additional 8MB for the test-suite)">
12 <!ENTITY glib2-time "0.6 SBU (additional 1.3 SBU to run the test suite)">
13]>
14
15<sect1 id="glib2" xreflabel="GLib-&glib2-version;">
16 <?dbhtml filename="glib2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GLib-&glib2-version;</title>
24
25 <indexterm zone="glib2">
26 <primary sortas="a-GLib2">GLib2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GLib</title>
31
32 <para>The <application>GLib</application> package contains a low-level core
33 library. This is useful for providing data structure handling for C,
34 portability wrappers and interfaces for such runtime functionality as an
35 event loop, threads, dynamic loading, and an object system.</para>
36
37 <!-- Compiled against PCRE, Python, and desktop-file-utils.
38 All 76 tests passed -->
39
40 &lfs65_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&glib2-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&glib2-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &glib2-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &glib2-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &glib2-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &glib2-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
65
66 <!-- <bridgehead renderas="sect4">Required</bridgehead>
67 <para role="required"><xref linkend="pkgconfig"/></para> -->
68
69 <bridgehead renderas="sect4">Recommended</bridgehead>
70 <para role="optional"><xref linkend="pcre"/>
71 (built with unicode properties)</para>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="gamin"/> and
75 <xref linkend="gtk-doc"/></para>
76
77 <bridgehead renderas="sect4">Optional Runtime Dependency for the
78 <command>gtester-report</command> program</bridgehead>
79 <para role="optional"><xref linkend="python"/></para>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/glib2"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of GLib</title>
88
89 <para>Install <application>GLib</application> by running the following
90 commands:</para>
91
92<screen><userinput>./configure --prefix=/usr \
93 --with-pcre=system &amp;&amp;
94make</userinput></screen>
95
96 <para>The GLib test suite requires <application>desktop-file-utils</application>
97 in order to run. However, <application>desktop-file-utils</application>
98 requires <application>GLib</application> in order to compile; therefore,
99 you must first install <application>GLib</application> and then run the test
100 suite.</para>
101
102 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
103
104<screen role="root"><userinput>make install &amp;&amp;
105chmod -v 755 /usr/bin/gtester-report</userinput></screen>
106
107 <para>You should now install <xref linkend="desktop-file-utils"/> and proceed to
108 run the test suite.</para>
109
110 <para>To test the results, issue: <command>make check</command>.</para>
111
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
118 href="../../xincludes/gtk-doc-rebuild.xml"/>
119
120 <para><parameter>--with-pcre=system</parameter>: This parameter causes the
121 build to use a system-provided version of the
122 <application>PCRE</application> library instead of an internal
123 version.</para>
124
125 <para><parameter>--disable-static</parameter>: prevent static libraries
126 being built and installed.</para>
127
128 </sect2>
129
130 <sect2 role="configuration">
131 <title>Configuring GLib</title>
132
133 <sect3>
134 <title>Configuration Information</title>
135
136 <para>By default, <application>GLib</application> assumes that all
137 filenames are in the UTF-8 charset. See the <xref
138 linkend="locale-wrong-filename-encoding"/> section of the <xref
139 linkend="locale-issues"/> page for more details on this kind of
140 issue. In order to tell <application>GLib</application> and
141 applications that use it that filenames are in the default locale
142 encoding, set the variable <envar>G_FILENAME_ENCODING</envar> to the
143 value "@locale":</para>
144
145<screen><userinput>cat &gt; /etc/profile.d/glib2-locale.sh &lt;&lt; "EOF"
146<literal># Use the current locale charset for filenames
147# in applications using GLib
148export G_FILENAME_ENCODING=@locale</literal>
149EOF</userinput></screen>
150
151 </sect3>
152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
161 <segtitle>Installed Directories</segtitle>
162
163 <seglistitem>
164 <seg>glib-genmarshal, glib-gettextize, glib-mkenums,
165 gobject-query, gtester and gtester-report</seg>
166 <seg>libgio-2.0.so, libglib-2.0.so, libgobject-2.0.so,
167 libgmodule-2.0.so, and libgthread-2.0.so</seg>
168 <seg>/usr/include/gio-unix-2.0, /usr/include/glib-2.0,
169 /usr/lib/gio, /usr/lib/glib-2.0, /usr/share/glib-2.0,
170 /usr/share/gtk-doc/html/gio, /usr/share/gtk-doc/html/glib,
171 and /usr/share/gtk-doc/html/gobject</seg>
172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="glib-genmarshal">
181 <term><command>glib-genmarshal</command></term>
182 <listitem>
183 <para>is a C code marshaller generation utility for GLib
184 closures.</para>
185 <indexterm zone="glib2 glib-genmarshal">
186 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="glib-gettextize">
192 <term><command>glib-gettextize</command></term>
193 <listitem>
194 <para>is a variant of the <application>gettext</application>
195 internationalization utility.</para>
196 <indexterm zone="glib2 glib-gettextize">
197 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="glib-mkenums">
203 <term><command>glib-mkenums</command></term>
204 <listitem>
205 <para>is a C language enum description generation utility.</para>
206 <indexterm zone="glib2 glib-mkenums">
207 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="gobject-query">
213 <term><command>gobject-query</command></term>
214 <listitem>
215 <para>is a small utility that draws a tree of types.</para>
216 <indexterm zone="glib2 gobject-query">
217 <primary sortas="b-gobject-query">gobject-query</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="GLib-libraries">
223 <term>GLib libraries</term>
224 <listitem>
225 <para>contain a low-level core library for the
226 <application>GIMP</application> Toolkit.</para>
227 <indexterm zone="glib2 GLib-libraries">
228 <primary sortas="c-GLib-libraries">Glib libraries</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 </variablelist>
234
235 </sect2>
236
237</sect1>
Note: See TracBrowser for help on using the repository browser.