[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/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;">
|
---|
[4f26c54] | 16 | <?dbhtml filename="Glib.html"?>
|
---|
[481b3e8] | 17 |
|
---|
[df040286] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[481b3e8] | 22 |
|
---|
[df040286] | 23 | <title>GLib-&GLib-version;</title>
|
---|
[481b3e8] | 24 |
|
---|
[df040286] | 25 | <indexterm zone="GLib">
|
---|
| 26 | <primary sortas="a-GLib-1">GLib-1</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 event
|
---|
| 35 | loop, threads, dynamic loading, and an object system.</para>
|
---|
[481b3e8] | 36 |
|
---|
[df040286] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&GLib-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&GLib-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &GLib-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &GLib-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &GLib-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &GLib-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
[481b3e8] | 58 |
|
---|
[df040286] | 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing='compact'>
|
---|
| 61 | <listitem>
|
---|
[481b3e8] | 62 | <para>Required patch: <ulink
|
---|
[df040286] | 63 | url="&patch-root;/glib-&GLib-version;-gcc34-1.patch"/></para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
[481b3e8] | 66 |
|
---|
[1039de3] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/glib"/></para>
|
---|
| 69 |
|
---|
[df040286] | 70 | </sect2>
|
---|
[481b3e8] | 71 |
|
---|
[df040286] | 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of GLib</title>
|
---|
| 74 |
|
---|
[481b3e8] | 75 | <para>Install <application>glib</application> by running the following
|
---|
[df040286] | 76 | commands:</para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput>patch -Np1 -i ../glib-&GLib-version;-gcc34-1.patch &&
|
---|
[e130cf46] | 79 | ./configure --prefix=/usr &&
|
---|
[df040286] | 80 | make</userinput></screen>
|
---|
[481b3e8] | 81 |
|
---|
[df040286] | 82 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[481b3e8] | 83 |
|
---|
[df040286] | 84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[481b3e8] | 85 |
|
---|
[df040286] | 86 | <screen role="root"><userinput>make install &&
|
---|
| 87 | chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10</userinput></screen>
|
---|
[481b3e8] | 88 |
|
---|
[df040286] | 89 | </sect2>
|
---|
[481b3e8] | 90 |
|
---|
[df040286] | 91 | <sect2 role="content">
|
---|
| 92 | <title>Contents</title>
|
---|
| 93 |
|
---|
| 94 | <segmentedlist>
|
---|
| 95 | <segtitle>Installed Programs</segtitle>
|
---|
| 96 | <segtitle>Installed Libraries</segtitle>
|
---|
| 97 | <segtitle>Installed Directories</segtitle>
|
---|
[481b3e8] | 98 |
|
---|
[df040286] | 99 | <seglistitem>
|
---|
| 100 | <seg>glib-config</seg>
|
---|
[1039de3] | 101 | <seg>libglib.{so,a}, libgmodule.{so,a} and libgthread.{so,a}</seg>
|
---|
[df040286] | 102 | <seg>/usr/include/glib-1.2 and /usr/lib/glib</seg>
|
---|
| 103 | </seglistitem>
|
---|
| 104 | </segmentedlist>
|
---|
[481b3e8] | 105 |
|
---|
[df040286] | 106 | <variablelist>
|
---|
| 107 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 108 | <?dbfo list-presentation="list"?>
|
---|
| 109 | <?dbhtml list-presentation="table"?>
|
---|
[481b3e8] | 110 |
|
---|
[df040286] | 111 | <varlistentry id="glib-config">
|
---|
| 112 | <term><command>glib-config</command></term>
|
---|
| 113 | <listitem>
|
---|
[481b3e8] | 114 | <para>is a tool that is used by <command>configure</command> scripts
|
---|
| 115 | to determine the compiler and linker flags that should be used to compile and
|
---|
[df040286] | 116 | link programs that use <application>GLib</application>.</para>
|
---|
| 117 | <indexterm zone="GLib glib-config">
|
---|
| 118 | <primary sortas="b-glib-config">glib-config</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
[481b3e8] | 122 |
|
---|
[df040286] | 123 | <varlistentry id="libglib">
|
---|
[1039de3] | 124 | <term><filename class='libraryfile'>libglib.{so,a}</filename></term>
|
---|
[df040286] | 125 | <listitem>
|
---|
[481b3e8] | 126 | <para>libraries contain a low-level core library for the
|
---|
| 127 | <application>GIMP</application> Toolkit.</para>
|
---|
[df040286] | 128 | <indexterm zone="GLib libglib">
|
---|
[1039de3] | 129 | <primary sortas="c-libglib">libglib.{so,a}</primary>
|
---|
[df040286] | 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
[481b3e8] | 133 |
|
---|
[df040286] | 134 | </variablelist>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
[d4340990] | 137 |
|
---|
| 138 | </sect1>
|
---|