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 GLib-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/glib-&GLib-version;.tar.gz">
|
---|
8 | <!ENTITY GLib-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-&GLib-version;.tar.gz">
|
---|
9 | <!ENTITY GLib-md5sum "6fe30dad87c77b91b632def29dd69ef9">
|
---|
10 | <!ENTITY GLib-size "412 KB">
|
---|
11 | <!ENTITY GLib-buildsize "6.4 MB">
|
---|
12 | <!ENTITY GLib-time "0.19 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="GLib" xreflabel="GLib-&GLib-version;">
|
---|
16 | <?dbhtml filename="Glib.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">glib-&GLib-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">glib</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>GLib-&GLib-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="GLib">
|
---|
30 | <primary sortas="a-GLib-1">GLib-1</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 event
|
---|
39 | 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="&GLib-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&GLib-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: &GLib-md5sum;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &GLib-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &GLib-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &GLib-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
64 | <itemizedlist spacing='compact'>
|
---|
65 | <listitem>
|
---|
66 | <para>Required patch: <ulink
|
---|
67 | url="&patch-root;/glib-&GLib-version;-gcc34-1.patch"/></para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <para condition="html" role="usernotes">User Notes:
|
---|
72 | <ulink url="&blfs-wiki;/glib"/></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>patch -Np1 -i ../glib-&GLib-version;-gcc34-1.patch &&
|
---|
83 | ./configure --prefix=/usr &&
|
---|
84 | make</userinput></screen>
|
---|
85 |
|
---|
86 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
87 |
|
---|
88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
89 |
|
---|
90 | <screen role="root"><userinput>make install &&
|
---|
91 | chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10</userinput></screen>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="content">
|
---|
96 | <title>Contents</title>
|
---|
97 |
|
---|
98 | <segmentedlist>
|
---|
99 | <segtitle>Installed Programs</segtitle>
|
---|
100 | <segtitle>Installed Libraries</segtitle>
|
---|
101 | <segtitle>Installed Directories</segtitle>
|
---|
102 |
|
---|
103 | <seglistitem>
|
---|
104 | <seg>glib-config</seg>
|
---|
105 | <seg>libglib.{so,a}, libgmodule.{so,a} and libgthread.{so,a}</seg>
|
---|
106 | <seg>/usr/include/glib-1.2 and /usr/lib/glib</seg>
|
---|
107 | </seglistitem>
|
---|
108 | </segmentedlist>
|
---|
109 |
|
---|
110 | <variablelist>
|
---|
111 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
112 | <?dbfo list-presentation="list"?>
|
---|
113 | <?dbhtml list-presentation="table"?>
|
---|
114 |
|
---|
115 | <varlistentry id="glib-config">
|
---|
116 | <term><command>glib-config</command></term>
|
---|
117 | <listitem>
|
---|
118 | <para>is a tool that is used by <command>configure</command> scripts
|
---|
119 | to determine the compiler and linker flags that should be used to compile and
|
---|
120 | link programs that use <application>GLib</application>.</para>
|
---|
121 | <indexterm zone="GLib glib-config">
|
---|
122 | <primary sortas="b-glib-config">glib-config</primary>
|
---|
123 | </indexterm>
|
---|
124 | </listitem>
|
---|
125 | </varlistentry>
|
---|
126 |
|
---|
127 | <varlistentry id="libglib">
|
---|
128 | <term><filename class='libraryfile'>libglib.{so,a}</filename></term>
|
---|
129 | <listitem>
|
---|
130 | <para>libraries contain a low-level core library for the
|
---|
131 | <application>GIMP</application> Toolkit.</para>
|
---|
132 | <indexterm zone="GLib libglib">
|
---|
133 | <primary sortas="c-libglib">libglib.{so,a}</primary>
|
---|
134 | </indexterm>
|
---|
135 | </listitem>
|
---|
136 | </varlistentry>
|
---|
137 |
|
---|
138 | </variablelist>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | </sect1>
|
---|