source: general/genlib/glib2.xml@ 8fc023d2

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

Updated to GLib-2.20.4.

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

  • Property mode set to 100644
File size: 7.6 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 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&glib2-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&glib2-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &glib2-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &glib2-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &glib2-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &glib2-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
60
61 <!-- <bridgehead renderas="sect4">Required</bridgehead>
62 <para role="required"><xref linkend="pkgconfig"/></para> -->
63
64 <bridgehead renderas="sect4">Recommended</bridgehead>
65 <para role="optional"><xref linkend="pcre"/>
66 (built with unicode properties)</para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional"><xref linkend="gamin"/> and
70 <xref linkend="gtk-doc"/></para>
71
72 <bridgehead renderas="sect4">Optional Runtime Dependency for the
73 <command>gtester-report</command> program</bridgehead>
74 <para role="optional"><xref linkend="python"/></para>
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/glib2"/></para>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of GLib</title>
83
84 <para>Install <application>GLib</application> by running the following
85 commands:</para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --with-pcre=system &amp;&amp;
89make</userinput></screen>
90
91 <para>To test the results, issue: <command>make check</command>.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>make install &amp;&amp;
96chmod -v 755 /usr/bin/gtester-report</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../../xincludes/gtk-doc-rebuild.xml"/>
105
106 <para><parameter>--with-pcre=system</parameter>: This parameter causes the
107 build to use a system-provided version of the
108 <application>PCRE</application> library instead of an internal
109 version.</para>
110
111 <para><parameter>--disable-static</parameter>: prevent static libraries
112 being built and installed.</para>
113
114 </sect2>
115
116 <sect2 role="configuration">
117 <title>Configuring GLib</title>
118
119 <sect3>
120 <title>Configuration Information</title>
121
122 <para>By default, <application>GLib</application> assumes that all
123 filenames are in the UTF-8 charset. See the <xref
124 linkend="locale-wrong-filename-encoding"/> section of the <xref
125 linkend="locale-issues"/> page for more details on this kind of
126 issue. In order to tell <application>GLib</application> and
127 applications that use it that filenames are in the default locale
128 encoding, set the variable <envar>G_FILENAME_ENCODING</envar> to the
129 value "@locale":</para>
130
131<screen><userinput>cat &gt; /etc/profile.d/glib2-locale.sh &lt;&lt; "EOF"
132<literal># Use the current locale charset for filenames
133# in applications using GLib
134export G_FILENAME_ENCODING=@locale</literal>
135EOF</userinput></screen>
136
137 </sect3>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Programs</segtitle>
146 <segtitle>Installed Libraries</segtitle>
147 <segtitle>Installed Directories</segtitle>
148
149 <seglistitem>
150 <seg>glib-genmarshal, glib-gettextize, glib-mkenums,
151 gobject-query, gtester and gtester-report</seg>
152 <seg>libgio-2.0.so, libglib-2.0.so, libgobject-2.0.so,
153 libgmodule-2.0.so, and libgthread-2.0.so</seg>
154 <seg>/usr/include/gio-unix-2.0, /usr/include/glib-2.0,
155 /usr/lib/gio, /usr/lib/glib-2.0, /usr/share/glib-2.0,
156 /usr/share/gtk-doc/html/gio, /usr/share/gtk-doc/html/glib,
157 and /usr/share/gtk-doc/html/gobject</seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
166 <varlistentry id="glib-genmarshal">
167 <term><command>glib-genmarshal</command></term>
168 <listitem>
169 <para>is a C code marshaller generation utility for GLib
170 closures.</para>
171 <indexterm zone="glib2 glib-genmarshal">
172 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="glib-gettextize">
178 <term><command>glib-gettextize</command></term>
179 <listitem>
180 <para>is a variant of the <application>gettext</application>
181 internationalization utility.</para>
182 <indexterm zone="glib2 glib-gettextize">
183 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="glib-mkenums">
189 <term><command>glib-mkenums</command></term>
190 <listitem>
191 <para>is a C language enum description generation utility.</para>
192 <indexterm zone="glib2 glib-mkenums">
193 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="gobject-query">
199 <term><command>gobject-query</command></term>
200 <listitem>
201 <para>is a small utility that draws a tree of types.</para>
202 <indexterm zone="glib2 gobject-query">
203 <primary sortas="b-gobject-query">gobject-query</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="GLib-libraries">
209 <term>GLib libraries</term>
210 <listitem>
211 <para>contain a low-level core library for the
212 <application>GIMP</application> Toolkit.</para>
213 <indexterm zone="glib2 GLib-libraries">
214 <primary sortas="c-GLib-libraries">Glib libraries</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 </variablelist>
220
221 </sect2>
222
223</sect1>
Note: See TracBrowser for help on using the repository browser.