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 "http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.6/glib-&glib2-version;.tar.bz2">
|
---|
8 | <!ENTITY glib2-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.6/glib-&glib2-version;.tar.bz2">
|
---|
9 | <!ENTITY glib2-md5sum "af7eeb8aae764ff763418471ed6eb93d">
|
---|
10 | <!ENTITY glib2-size "2.3 MB">
|
---|
11 | <!ENTITY glib2-buildsize "40.9 MB">
|
---|
12 | <!ENTITY glib2-time "2.82 SBU (includes rebuilding documentation)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="glib2" xreflabel="GLib-&glib2-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="glib2.html"?>
|
---|
21 | <title>GLib-&glib2-version;</title>
|
---|
22 | <indexterm zone="glib2">
|
---|
23 | <primary sortas="a-GLib2">GLib2</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>GLib</application></title>
|
---|
27 |
|
---|
28 | <para>The <application>glib</application> package contains a low-level core
|
---|
29 | library. This is useful for providing data structure handling for C,
|
---|
30 | portability wrappers and interfaces for such runtime functionality as an
|
---|
31 | event loop, threads, dynamic loading, and an object system.</para>
|
---|
32 |
|
---|
33 | <sect3><title>Package information</title>
|
---|
34 | <itemizedlist spacing='compact'>
|
---|
35 | <listitem><para>Download (HTTP): <ulink
|
---|
36 | url="&glib2-download-http;"/></para></listitem>
|
---|
37 | <listitem><para>Download (FTP): <ulink
|
---|
38 | url="&glib2-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>Download MD5 sum: &glib2-md5sum;</para></listitem>
|
---|
40 | <listitem><para>Download size: &glib2-size;</para></listitem>
|
---|
41 | <listitem><para>Estimated disk space required:
|
---|
42 | &glib2-buildsize;</para></listitem>
|
---|
43 | <listitem><para>Estimated build time:
|
---|
44 | &glib2-time;</para></listitem></itemizedlist>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
47 | <sect3><title><application>GLib</application> dependencies</title>
|
---|
48 | <sect4><title>Required</title>
|
---|
49 | <para><xref linkend="pkgconfig"/></para>
|
---|
50 | </sect4>
|
---|
51 |
|
---|
52 | <sect4><title>Optional</title>
|
---|
53 | <para><xref linkend="gtk-doc"/></para>
|
---|
54 | </sect4>
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 | <sect2>
|
---|
60 | <title>Installation of <application>GLib</application></title>
|
---|
61 |
|
---|
62 | <para>Install <application>glib</application> by running the following
|
---|
63 | commands:</para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
66 | make</command></userinput></screen>
|
---|
67 |
|
---|
68 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
69 |
|
---|
70 | <para>Now, as the root user:</para>
|
---|
71 |
|
---|
72 | <screen><userinput role="root"><command>make install</command></userinput></screen>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2>
|
---|
77 | <title>Command explanations</title>
|
---|
78 |
|
---|
79 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
80 | the <acronym>API</acronym> documentation during the
|
---|
81 | <command>make</command> command.</para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2>
|
---|
86 | <title>Contents</title>
|
---|
87 |
|
---|
88 | <segmentedlist>
|
---|
89 | <segtitle>Installed Programs</segtitle>
|
---|
90 | <segtitle>Installed Libraries</segtitle>
|
---|
91 | <segtitle>Installed Directories</segtitle>
|
---|
92 | <seglistitem>
|
---|
93 | <seg>glib-genmarshal, glib-gettextize, glib-mkenums and
|
---|
94 | gobject-query</seg>
|
---|
95 | <seg>libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so and
|
---|
96 | libgthread-2.0.so</seg>
|
---|
97 | <seg>/usr/include/glib-2.0, /usr/lib/glib-2.0, /usr/share/glib-2.0,
|
---|
98 | /usr/share/gtk-doc/html/glib and /usr/share/gtk-doc/html/gobject</seg>
|
---|
99 | </seglistitem>
|
---|
100 | </segmentedlist>
|
---|
101 |
|
---|
102 | <variablelist>
|
---|
103 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
104 | <?dbfo list-presentation="list"?>
|
---|
105 |
|
---|
106 | <varlistentry id="glib-genmarshal">
|
---|
107 | <term><command>glib-genmarshal</command></term>
|
---|
108 | <listitem><para>is a C code marshaller generation utility for GLib
|
---|
109 | closures.</para>
|
---|
110 | <indexterm zone="glib2 glib-genmarshal">
|
---|
111 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary></indexterm>
|
---|
112 | </listitem>
|
---|
113 | </varlistentry>
|
---|
114 |
|
---|
115 | <varlistentry id="glib-gettextize">
|
---|
116 | <term><command>glib-gettextize</command></term>
|
---|
117 | <listitem><para>is a variant of the <application>gettext</application>
|
---|
118 | internationalization utility.</para>
|
---|
119 | <indexterm zone="glib2 glib-gettextize">
|
---|
120 | <primary sortas="b-glib-gettextize">glib-gettextize</primary></indexterm>
|
---|
121 | </listitem>
|
---|
122 | </varlistentry>
|
---|
123 |
|
---|
124 | <varlistentry id="glib-mkenums">
|
---|
125 | <term><command>glib-mkenums</command></term>
|
---|
126 | <listitem><para>is a C language enum description generation utility.</para>
|
---|
127 | <indexterm zone="glib2 glib-mkenums">
|
---|
128 | <primary sortas="b-glib-mkenums">glib-mkenums</primary></indexterm>
|
---|
129 | </listitem>
|
---|
130 | </varlistentry>
|
---|
131 |
|
---|
132 | <varlistentry id="gobject-query">
|
---|
133 | <term><command>gobject-query</command></term>
|
---|
134 | <listitem><para>is a small utility that draws a tree of types.</para>
|
---|
135 | <indexterm zone="glib2 gobject-query">
|
---|
136 | <primary sortas="b-gobject-query">gobject-query</primary></indexterm>
|
---|
137 | </listitem>
|
---|
138 | </varlistentry>
|
---|
139 |
|
---|
140 | <varlistentry id="GLib-libraries">
|
---|
141 | <term>GLib libraries</term>
|
---|
142 | <listitem><para>contain a low-level core library for the
|
---|
143 | <application><acronym>GIMP</acronym></application> Toolkit.</para>
|
---|
144 | <indexterm zone="glib2 GLib-libraries">
|
---|
145 | <primary sortas="c-GLib-libraries">Glib libraries</primary></indexterm>
|
---|
146 | </listitem>
|
---|
147 | </varlistentry>
|
---|
148 | </variablelist>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | </sect1>
|
---|