[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 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">
|
---|
[21f812b] | 9 | <!ENTITY GLib-md5sum "6fe30dad87c77b91b632def29dd69ef9">
|
---|
[52d29f7] | 10 | <!ENTITY GLib-size "412 KB">
|
---|
[6549833] | 11 | <!ENTITY GLib-buildsize "6.4 MB">
|
---|
| 12 | <!ENTITY GLib-time "0.19 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[d4340990] | 15 | <sect1 id="GLib" xreflabel="GLib-&GLib-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[7f72cbf] | 20 | <?dbhtml filename="glib.html"?>
|
---|
[d4340990] | 21 | <title>GLib-&GLib-version;</title>
|
---|
[6549833] | 22 | <indexterm zone="GLib">
|
---|
| 23 | <primary sortas="a-GLib-1">GLib-1</primary></indexterm>
|
---|
[d4340990] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>GLib</application></title>
|
---|
[e130cf46] | 27 |
|
---|
[52d29f7] | 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 event
|
---|
| 31 | loop, threads, dynamic loading, and an object system.</para>
|
---|
[e130cf46] | 32 |
|
---|
[52d29f7] | 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
[21f812b] | 35 | <listitem><para>Download (HTTP):
|
---|
| 36 | <ulink url="&GLib-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP):
|
---|
| 38 | <ulink url="&GLib-download-ftp;"/></para></listitem>
|
---|
| 39 | <listitem><para>Download MD5 sum: &GLib-md5sum;</para></listitem>
|
---|
[52d29f7] | 40 | <listitem><para>Download size: &GLib-size;</para></listitem>
|
---|
[21f812b] | 41 | <listitem><para>Estimated disk space required:
|
---|
| 42 | &GLib-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &GLib-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 45 | </sect3>
|
---|
[e130cf46] | 46 |
|
---|
| 47 | <sect3><title>Additional downloads</title>
|
---|
| 48 | <itemizedlist spacing='compact'>
|
---|
[44e13087] | 49 | <listitem><para>Required patch: <ulink
|
---|
[e130cf46] | 50 | url="&patch-root;/glib-&GLib-version;-gcc34-1.patch"/></para></listitem>
|
---|
| 51 | </itemizedlist></sect3>
|
---|
| 52 |
|
---|
[52d29f7] | 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2>
|
---|
| 56 | <title>Installation of <application>GLib</application></title>
|
---|
[e130cf46] | 57 |
|
---|
| 58 | <para>Install <application>glib</application> by running the following
|
---|
| 59 | commands:</para>
|
---|
| 60 |
|
---|
| 61 | <screen><userinput><command>patch -Np1 -i ../glib-&GLib-version;-gcc34-1.patch &&
|
---|
| 62 | ./configure --prefix=/usr &&
|
---|
[6549833] | 63 | make</command></userinput></screen>
|
---|
| 64 |
|
---|
[44e13087] | 65 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 66 |
|
---|
[6549833] | 67 | <para>Now, as the root user:</para>
|
---|
| 68 |
|
---|
| 69 | <screen><userinput role='root'><command>make install &&
|
---|
[efc4844c] | 70 | chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10</command></userinput></screen>
|
---|
[e130cf46] | 71 |
|
---|
[52d29f7] | 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
| 75 | <title>Contents</title>
|
---|
[e130cf46] | 76 |
|
---|
[6549833] | 77 | <segmentedlist>
|
---|
| 78 | <segtitle>Installed Programs</segtitle>
|
---|
| 79 | <segtitle>Installed Libraries</segtitle>
|
---|
| 80 | <segtitle>Installed Directories</segtitle>
|
---|
| 81 |
|
---|
| 82 | <seglistitem>
|
---|
| 83 | <seg>glib-config</seg>
|
---|
| 84 | <seg>libglib.[so,a], libgmodule.[so,a] and libgthread.[so,a]</seg>
|
---|
| 85 | <seg>/usr/include/glib-1.2 and /usr/lib/glib</seg>
|
---|
| 86 | </seglistitem>
|
---|
| 87 | </segmentedlist>
|
---|
| 88 |
|
---|
| 89 | <variablelist>
|
---|
| 90 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 91 | <?dbfo list-presentation="list"?>
|
---|
| 92 |
|
---|
| 93 | <varlistentry id="glib-config">
|
---|
| 94 | <term><command>glib-config</command></term>
|
---|
| 95 | <listitem><para>is a tool that is used by <command>configure</command> scripts
|
---|
| 96 | to determine the compiler and linker flags that should be used to compile and
|
---|
| 97 | link programs that use <application>GLib</application>.</para>
|
---|
| 98 | <indexterm zone="GLib glib-config">
|
---|
| 99 | <primary sortas="b-glib-config">glib-config</primary>
|
---|
| 100 | </indexterm></listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="libglib">
|
---|
| 104 | <term><filename class='libraryfile'>libglib.[so,a]</filename></term>
|
---|
| 105 | <listitem><para>libraries contain a low-level core library for the
|
---|
| 106 | <application><acronym>GIMP</acronym></application> Toolkit.</para>
|
---|
| 107 | <indexterm zone="GLib libglib">
|
---|
| 108 | <primary sortas="c-libglib">libglib.[so,a]</primary>
|
---|
| 109 | </indexterm></listitem>
|
---|
| 110 | </varlistentry>
|
---|
| 111 | </variablelist>
|
---|
[e130cf46] | 112 |
|
---|
[52d29f7] | 113 | </sect2>
|
---|
[d4340990] | 114 |
|
---|
| 115 | </sect1>
|
---|