source: general/genlib/glib2.xml@ 0f442884

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 0f442884 was 0f442884, checked in by Dan Nichilson <dnicholson@…>, 17 years ago

Fixed the i18n.sh profile script. Closes #2012.

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

  • Property mode set to 100644
File size: 6.6 KB
Line 
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 "ftp://ftp.gtk.org/pub/glib/2.10/glib-&glib2-version;.tar.bz2">
9 <!ENTITY glib2-md5sum "87206e721c12d185d17dd9ecd7e30369">
10 <!ENTITY glib2-size "2.7 MB">
11 <!ENTITY glib2-buildsize "48.4 MB">
12 <!ENTITY glib2-time "0.5 SBU (additional 1.4 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">Optional</bridgehead>
65 <para role="optional"><xref linkend="gtk-doc"/></para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/glib2"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of GLib</title>
74
75 <para>Install <application>GLib</application> by running the following
76 commands:</para>
77
78<screen><userinput>./configure --prefix=/usr &amp;&amp;
79make</userinput></screen>
80
81 <para>To test the results, issue: <command>make check</command>.</para>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>make install</userinput></screen>
86
87 </sect2>
88
89 <sect2 role="commands">
90 <title>Command Explanations</title>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../../xincludes/gtk-doc-rebuild.xml"/>
94
95 </sect2>
96
97 <sect2 role="configuration">
98 <title>Configuring GLib</title>
99
100 <sect3>
101 <title>Configuration Information</title>
102
103 <para>By default, <application>GLib</application> assumes that all
104 filenames are in the UTF-8 charset. See the <xref
105 linkend="locale-issues"/> page for more details on this kind of
106 issue. In order to tell GLib and applications that use it
107 that filenames are in the default locale encoding, set the variable
108 <envar>G_FILENAME_ENCODING</envar> to the value "@locale":</para>
109
110<screen><userinput>cat &gt; /etc/profile.d/glib2-locale.sh &lt;&lt; "EOF"
111<literal># Use the current locale charset for filenames
112# in applications using GLib
113export G_FILENAME_ENCODING=@locale</literal>
114EOF</userinput></screen>
115
116 </sect3>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directories</segtitle>
127
128 <seglistitem>
129 <seg>glib-genmarshal, glib-gettextize, glib-mkenums, and
130 gobject-query</seg>
131 <seg>libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so, and
132 libgthread-2.0.so</seg>
133 <seg>/usr/include/glib-2.0, /usr/lib/glib-2.0, /usr/share/glib-2.0,
134 /usr/share/gtk-doc/html/glib, and /usr/share/gtk-doc/html/gobject</seg>
135 </seglistitem>
136 </segmentedlist>
137
138 <variablelist>
139 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
140 <?dbfo list-presentation="list"?>
141 <?dbhtml list-presentation="table"?>
142
143 <varlistentry id="glib-genmarshal">
144 <term><command>glib-genmarshal</command></term>
145 <listitem>
146 <para>is a C code marshaller generation utility for GLib
147 closures.</para>
148 <indexterm zone="glib2 glib-genmarshal">
149 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="glib-gettextize">
155 <term><command>glib-gettextize</command></term>
156 <listitem>
157 <para>is a variant of the <application>gettext</application>
158 internationalization utility.</para>
159 <indexterm zone="glib2 glib-gettextize">
160 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="glib-mkenums">
166 <term><command>glib-mkenums</command></term>
167 <listitem>
168 <para>is a C language enum description generation utility.</para>
169 <indexterm zone="glib2 glib-mkenums">
170 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="gobject-query">
176 <term><command>gobject-query</command></term>
177 <listitem>
178 <para>is a small utility that draws a tree of types.</para>
179 <indexterm zone="glib2 gobject-query">
180 <primary sortas="b-gobject-query">gobject-query</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="GLib-libraries">
186 <term>GLib libraries</term>
187 <listitem>
188 <para>contain a low-level core library for the
189 <application>GIMP</application> Toolkit.</para>
190 <indexterm zone="glib2 GLib-libraries">
191 <primary sortas="c-GLib-libraries">Glib libraries</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.