1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.10/glib-&glib2-version;.tar.bz2">
|
---|
8 | <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.10/glib-&glib2-version;.tar.bz2">
|
---|
9 | <!ENTITY glib2-md5sum "718961161ee1692c216a2d542196a04a">
|
---|
10 | <!ENTITY glib2-size "2.7 MB">
|
---|
11 | <!ENTITY glib2-buildsize "43.6 MB">
|
---|
12 | <!ENTITY glib2-time "0.5 SBU (additional 2.7 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 | <keywordset>
|
---|
22 | <keyword role="package">glib-&glib2-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">glib</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>GLib-&glib2-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="glib2">
|
---|
30 | <primary sortas="a-GLib2">GLib2</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to GLib</title>
|
---|
35 |
|
---|
36 | <para>The <application>GLib</application> package contains a low-level core
|
---|
37 | library. This is useful for providing data structure handling for C,
|
---|
38 | portability wrappers and interfaces for such runtime functionality as an
|
---|
39 | event loop, threads, dynamic loading, and an object system.</para>
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url="&glib2-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&glib2-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: &glib2-md5sum;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &glib2-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &glib2-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &glib2-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
66 | <para role="required"><xref linkend="pkgconfig"/></para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
69 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
70 |
|
---|
71 | <para condition="html" role="usernotes">User Notes:
|
---|
72 | <ulink url="&blfs-wiki;/glib2"/></para>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2 role="installation">
|
---|
77 | <title>Installation of GLib</title>
|
---|
78 |
|
---|
79 | <para>Install <application>GLib</application> by running the following
|
---|
80 | commands:</para>
|
---|
81 |
|
---|
82 | <screen><userinput>sed -i -e "/g_assert (test_count_threads () == limit);/d" \
|
---|
83 | tests/threadpool-test.c &&
|
---|
84 | ./configure --prefix=/usr &&
|
---|
85 | make</userinput></screen>
|
---|
86 |
|
---|
87 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
88 |
|
---|
89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
90 |
|
---|
91 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="commands">
|
---|
96 | <title>Command Explanations</title>
|
---|
97 |
|
---|
98 | <para><command>sed -i -e "/g_assert (test_count_threads () == limit);/d"
|
---|
99 | tests/threadpool-test.c</command>: This command eliminates an unneeded
|
---|
100 | assertion in the test suite. The <command>make check</command> will
|
---|
101 | fail without this command.</para>
|
---|
102 |
|
---|
103 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
104 | the API documentation during the <command>make</command> command.</para>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="content">
|
---|
109 | <title>Contents</title>
|
---|
110 |
|
---|
111 | <segmentedlist>
|
---|
112 | <segtitle>Installed Programs</segtitle>
|
---|
113 | <segtitle>Installed Libraries</segtitle>
|
---|
114 | <segtitle>Installed Directories</segtitle>
|
---|
115 |
|
---|
116 | <seglistitem>
|
---|
117 | <seg>glib-genmarshal, glib-gettextize, glib-mkenums, and
|
---|
118 | gobject-query</seg>
|
---|
119 | <seg>libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so, and
|
---|
120 | libgthread-2.0.so</seg>
|
---|
121 | <seg>/usr/include/glib-2.0, /usr/lib/glib-2.0, /usr/share/glib-2.0,
|
---|
122 | /usr/share/gtk-doc/html/glib, and /usr/share/gtk-doc/html/gobject</seg>
|
---|
123 | </seglistitem>
|
---|
124 | </segmentedlist>
|
---|
125 |
|
---|
126 | <variablelist>
|
---|
127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
128 | <?dbfo list-presentation="list"?>
|
---|
129 | <?dbhtml list-presentation="table"?>
|
---|
130 |
|
---|
131 | <varlistentry id="glib-genmarshal">
|
---|
132 | <term><command>glib-genmarshal</command></term>
|
---|
133 | <listitem>
|
---|
134 | <para>is a C code marshaller generation utility for GLib
|
---|
135 | closures.</para>
|
---|
136 | <indexterm zone="glib2 glib-genmarshal">
|
---|
137 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
|
---|
138 | </indexterm>
|
---|
139 | </listitem>
|
---|
140 | </varlistentry>
|
---|
141 |
|
---|
142 | <varlistentry id="glib-gettextize">
|
---|
143 | <term><command>glib-gettextize</command></term>
|
---|
144 | <listitem>
|
---|
145 | <para>is a variant of the <application>gettext</application>
|
---|
146 | internationalization utility.</para>
|
---|
147 | <indexterm zone="glib2 glib-gettextize">
|
---|
148 | <primary sortas="b-glib-gettextize">glib-gettextize</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | <varlistentry id="glib-mkenums">
|
---|
154 | <term><command>glib-mkenums</command></term>
|
---|
155 | <listitem>
|
---|
156 | <para>is a C language enum description generation utility.</para>
|
---|
157 | <indexterm zone="glib2 glib-mkenums">
|
---|
158 | <primary sortas="b-glib-mkenums">glib-mkenums</primary>
|
---|
159 | </indexterm>
|
---|
160 | </listitem>
|
---|
161 | </varlistentry>
|
---|
162 |
|
---|
163 | <varlistentry id="gobject-query">
|
---|
164 | <term><command>gobject-query</command></term>
|
---|
165 | <listitem>
|
---|
166 | <para>is a small utility that draws a tree of types.</para>
|
---|
167 | <indexterm zone="glib2 gobject-query">
|
---|
168 | <primary sortas="b-gobject-query">gobject-query</primary>
|
---|
169 | </indexterm>
|
---|
170 | </listitem>
|
---|
171 | </varlistentry>
|
---|
172 |
|
---|
173 | <varlistentry id="GLib-libraries">
|
---|
174 | <term>GLib libraries</term>
|
---|
175 | <listitem>
|
---|
176 | <para>contain a low-level core library for the
|
---|
177 | <application>GIMP</application> Toolkit.</para>
|
---|
178 | <indexterm zone="glib2 GLib-libraries">
|
---|
179 | <primary sortas="c-GLib-libraries">Glib libraries</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | </variablelist>
|
---|
185 |
|
---|
186 | </sect2>
|
---|
187 |
|
---|
188 | </sect1>
|
---|