source: general/genlib/glib2.xml@ 4df7c20

systemd-13485
Last change on this file since 4df7c20 was 4df7c20, checked in by Douglas R. Reno <renodr@…>, 8 years ago

(systemd) Update to ImageMagick-7.0.3. Merged from trunk r17351. NOT TESTED.
(systemd) LFS79 Tags
(both) Lots of GCC6 Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17388 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.7 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.48/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.48/glib-&glib2-version;.tar.xz">
9 <!ENTITY glib2-md5sum "093a586f37d2853bdb129231e1b350e0">
10 <!ENTITY glib2-size "7.1 MB">
11 <!ENTITY glib2-buildsize "143 MB (additional 71 MB for tests)">
12 <!ENTITY glib2-time "1.1 SBU (additional 4.4 SBU for tests)">
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>
33 The <application>GLib</application> package contains low-level
34 libraries useful for providing data structure handling for C, portability
35 wrappers and interfaces for such runtime functionality as an
36 event loop, threads, dynamic loading and an object system.
37 </para>
38
39 &lfs79_checked;&gcc6_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&glib2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&glib2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &glib2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &glib2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &glib2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &glib2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="libffi"/> and
80 <xref linkend="python2"/> or <xref linkend="python3"/>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="pcre"/> (built with Unicode properties)
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="elfutils"/>,
91 <xref linkend="gtk-doc"/>, and
92 <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>
93 </para>
94
95 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
96 <para role="optional">
97 Quoted directly from the <filename>INSTALL</filename> file:
98 <quote>Some of the mimetype-related functionality in GIO requires the
99 <command>update-mime-database</command> and
100 <command>update-desktop-database</command> utilities</quote>,
101 which are part of
102 <xref linkend="shared-mime-info"/> and
103 <xref linkend="desktop-file-utils"/>, respectively.
104 </para>
105
106 <para condition="html" role="usernotes">User Notes:
107 <ulink url="&blfs-wiki;/glib2"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of GLib</title>
113
114 <para>
115 Install <application>GLib</application> by running the following
116 commands:
117 </para>
118
119<screen><userinput>./configure --prefix=/usr --with-pcre=system &amp;&amp;
120make</userinput></screen>
121
122 <para>
123 The <application>GLib</application> test suite requires
124 <application>desktop-file-utils</application> for some tests. However,
125 <application>desktop-file-utils</application> requires
126 <application>GLib</application> in order to compile; therefore, you must
127 first install <application>GLib</application> and then run the test
128 suite.
129 </para>
130
131 <para>
132 Now, as the <systemitem class="username">root</systemitem> user:
133 </para>
134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 <para>
138 You should now install <xref linkend="desktop-file-utils"/> and proceed to
139 run the test suite.
140 </para>
141
142 <para>
143 To test the results, after having installed the package, issue:
144 <command>make -k check</command>.
145 </para>
146
147 </sect2>
148
149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
152 <para>
153 <parameter>--with-pcre=system</parameter>: This switch causes the
154 build to use a system-provided version of the
155 <application>PCRE</application> library instead of an internal
156 version.
157 </para>
158
159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/gtk-doc-rebuild.xml"/>
161
162 <para>
163 <option>--with-python=/usr/bin/python3</option>: Add this switch if you
164 want GLib to use Python3 instead of Python2.
165 </para>
166
167 </sect2>
168
169 <sect2 role="content">
170 <title>Contents</title>
171
172 <segmentedlist>
173 <segtitle>Installed Programs</segtitle>
174 <segtitle>Installed Libraries</segtitle>
175 <segtitle>Installed Directories</segtitle>
176
177 <seglistitem>
178 <seg>
179 gapplication,
180 gdbus,
181 gdbus-codegen,
182 gio-querymodules,
183 glib-compile-resources,
184 glib-compile-schemas,
185 glib-genmarshal,
186 glib-gettextize,
187 glib-mkenums,
188 gobject-query,
189 gresource,
190 gsettings,
191 gtester,
192 and gtester-report
193 </seg>
194 <seg>
195 libgio-2.0.so,
196 libglib-2.0.so,
197 libgmodule-2.0.so,
198 libgobject-2.0.so,
199 and libgthread-2.0.so
200 </seg>
201 <seg>
202 /usr/include/gio-unix-2.0,
203 /usr/{include,lib,share}/glib-2.0
204 /usr/lib/gio, and
205 /usr/share/gtk-doc/html/{gio,glib,gobject}
206 </seg>
207 </seglistitem>
208 </segmentedlist>
209
210 <variablelist>
211 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
212 <?dbfo list-presentation="list"?>
213 <?dbhtml list-presentation="table"?>
214
215 <varlistentry id="gapplication">
216 <term><command>gapplication</command></term>
217 <listitem>
218 <para>
219 can be used to start applications and can be used to send
220 messages to existing instances of other applications.
221 </para>
222 <indexterm zone="glib2 gapplication">
223 <primary sortas="b-gapplication">application</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227 <varlistentry id="gdbus">
228 <term><command>gdbus</command></term>
229 <listitem>
230 <para>
231 is a simple tool used for working with
232 <application>D-Bus</application> objects.
233 </para>
234 <indexterm zone="glib2 gdbus">
235 <primary sortas="b-gdbus">gdbus</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="gdbus-codegen">
241 <term><command>gdbus-codegen</command></term>
242 <listitem>
243 <para>
244 is used to generate code and/or documentation for one or
245 more <application>D-Bus</application> interfaces.
246 </para>
247 <indexterm zone="glib2 gdbus-codegen">
248 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="gio-querymodules">
254 <term><command>gio-querymodules</command></term>
255 <listitem>
256 <para>
257 is used to create a giomodule.cache file in the listed directories.
258 This file lists the implemented extension points for each module
259 that has been found.
260 </para>
261 <indexterm zone="glib2 gio-querymodules">
262 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="glib-compile-resources">
268 <term><command>glib-compile-resources</command></term>
269 <listitem>
270 <para>
271 is used to read the resource description from file and
272 the files that it references to create a binary resource
273 bundle that is suitable for use with the GResource API.
274 </para>
275 <indexterm zone="glib2 glib-compile-resources">
276 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="glib-compile-schemas">
282 <term><command>glib-compile-schemas</command></term>
283 <listitem>
284 <para>
285 is used to compile all the GSettings XML schema files
286 in directory into a binary file with the name gschemas.compiled
287 that can be used by GSettings.
288 </para>
289 <indexterm zone="glib2 glib-compile-schemas">
290 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="glib-genmarshal">
296 <term><command>glib-genmarshal</command></term>
297 <listitem>
298 <para>
299 is a C code marshaller generation utility for GLib closures.
300 </para>
301 <indexterm zone="glib2 glib-genmarshal">
302 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="glib-gettextize">
308 <term><command>glib-gettextize</command></term>
309 <listitem>
310 <para>
311 is a variant of the <application>gettext</application>
312 internationalization utility.
313 </para>
314 <indexterm zone="glib2 glib-gettextize">
315 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="glib-mkenums">
321 <term><command>glib-mkenums</command></term>
322 <listitem>
323 <para>
324 is a C language enum description generation utility.
325 </para>
326 <indexterm zone="glib2 glib-mkenums">
327 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="gobject-query">
333 <term><command>gobject-query</command></term>
334 <listitem>
335 <para>
336 is a small utility that draws a tree of types.
337 </para>
338 <indexterm zone="glib2 gobject-query">
339 <primary sortas="b-gobject-query">gobject-query</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="gresource">
345 <term><command>gresource</command></term>
346 <listitem>
347 <para>
348 offers a simple commandline interface to GResource.
349 </para>
350 <indexterm zone="glib2 gresource">
351 <primary sortas="b-gresource">gresource</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="gsettings">
357 <term><command>gsettings</command></term>
358 <listitem>
359 <para>
360 offers a simple commandline interface to GSettings.
361 </para>
362 <indexterm zone="glib2 gsettings">
363 <primary sortas="b-gsettings">gsettings</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="gtester">
369 <term><command>gtester</command></term>
370 <listitem>
371 <para>
372 is a test running utility.
373 </para>
374 <indexterm zone="glib2 gtester">
375 <primary sortas="b-gtester">gtester</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="gtester-report">
381 <term><command>gtester-report</command></term>
382 <listitem>
383 <para>
384 is a test report formatting utility.
385 </para>
386 <indexterm zone="glib2 gtester-report">
387 <primary sortas="b-gtester-report">gtester-report</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="GLib-libraries">
393 <term>GLib libraries</term>
394 <listitem>
395 <para>
396 contain low-level core libraries for the
397 <application>GIMP</application> Toolkit.
398 </para>
399 <indexterm zone="glib2 GLib-libraries">
400 <primary sortas="c-GLib-libraries">Glib libraries</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 </variablelist>
406
407 </sect2>
408
409</sect1>
Note: See TracBrowser for help on using the repository browser.