source: chapter06/glib.xml@ 9879b5d

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 9879b5d was 47045599, checked in by Matthew Burgess <matthew@…>, 13 years ago

Upgrade to Pkg-config-0.26 and add PCRE and Glib as required dependencies.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9547 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.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
8<sect1 id="ch-system-glib" role="wrap">
9 <?dbhtml filename="glib.html"?>
10
11 <sect1info condition="script">
12 <productname>glib</productname>
13 <productnumber>&glib-version;</productnumber>
14 <address>&glib-url;</address>
15 </sect1info>
16
17 <title>Glib-&glib-version;</title>
18
19 <indexterm zone="ch-system-glib">
20 <primary sortas="a-Glib">Glib</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The GLib package contains a low-level core library. This is useful
27 for providing data structure handling for C, portability wrappers and
28 interfaces for such runtime functionality as an event loop, threads,
29 dynamic loading, and an object system.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&glib-ch6-sbu;</seg>
37 <seg>&glib-ch6-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Glib</title>
45
46 <para>Prepare Glib for compilation:</para>
47
48<screen><userinput remap="configure">PCRE_LIBS="-L/usr/lib -lpcre" PCRE_CFLAGS="-I/usr/include" ./configure --prefix=/usr --with-pcre=system</userinput></screen>
49
50 <variablelist>
51 <title>The meaning of the configure options:</title>
52
53 <varlistentry>
54 <term><parameter>--with-pcre=system</parameter></term>
55 <listitem>
56 <para>This parameter causes the build to use a system-provided
57 version of the PCRE library instead of an internal version.</para>
58 </listitem>
59 </varlistentry>
60 </variablelist>
61
62 <para>Compile the package:</para>
63
64<screen><userinput remap="make">make</userinput></screen>
65
66 <para>Due to dependencies on additional Perl modules and other packages not yet present
67 (e.g. desktop-file-utils and DBus), it is not possible to run Glib's test suite.</para>
68
69 <para>Install the package:</para>
70
71<screen><userinput remap="install">make install</userinput></screen>
72
73 </sect2>
74
75 <sect2 id="contents-glib" role="content">
76 <title>Contents of Glib</title>
77
78 <segmentedlist>
79 <segtitle>Installed programs</segtitle>
80 <segtitle>Installed libraries</segtitle>
81 <segtitle>Installed directories</segtitle>
82
83 <seglistitem>
84 <seg>gio-querymodules, glib-genmarshal, glib-gettextize,
85 glib-mkenums, gobject-query, gtester and gtester-report</seg>
86 <seg>libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
87 libgobject-2.0.so, and libgthread-2.0.so</seg>
88 <seg>/usr/include/{gio-unix-2.0/gio,glib-2.0/{gio,glib,gobject}},
89 /usr/lib/{gio/modules,glib-2.0/include},
90 /usr/share/{gdb/auto-load,glib-2.0/{gdb, gettext/po},gtk-doc/html/{gio,glib,gobject}}</seg>
91 </seglistitem>
92 </segmentedlist>
93
94 <variablelist>
95 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
96 <?dbfo list-presentation="list"?>
97 <?dbhtml list-presentation="table"?>
98
99 <varlistentry id="gio-querymodules">
100 <term><command>gio-querymodules</command></term>
101 <listitem>
102 <para>is a C code marshaller generation utility for GLib
103 closures.</para>
104 <indexterm zone="ch-system-glib gio-querymodules">
105 <primary sortas="b-glib">gio-querymodules</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry id="glib-gettextize">
111 <term><command>glib-gettextize</command></term>
112 <listitem>
113 <para>is a variant of the gettext internationalization
114 utility.</para>
115 <indexterm zone="ch-system-glib glib-gettextize">
116 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="glib-mkenums">
122 <term><command>glib-mkenums</command></term>
123 <listitem>
124 <para>is a C language enum description generation utility.</para>
125 <indexterm zone="ch-system-glib glib-mkenums">
126 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="gobject-query">
132 <term><command>gobject-query</command></term>
133 <listitem>
134 <para>Is a small utility that draws a tree of types.</para>
135 <indexterm zone="ch-system-glib gobject-query">
136 <primary sortas="b-gobject-query">gobject-query</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="gtester">
142 <term><command>gtester</command></term>
143 <listitem>
144 <para>Is a test running utility.</para>
145 <indexterm zone="ch-system-glib gtester">
146 <primary sortas="b-gtester">gtester</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="gtester-report">
152 <term><command>gtester-report</command></term>
153 <listitem>
154 <para>Is a test report formatting utility.</para>
155 <indexterm zone="ch-system-glib gtester-report">
156 <primary sortas="b-gtester-report">gtester-report</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="glib">
162 <term><filename class="libraryfile">Glib libraries</filename></term>
163 <listitem>
164 <para>contain a general purpose low-level core library.</para>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.