[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 |
|
---|
[7c461b3] | 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">
|
---|
[0828208d] | 9 | <!ENTITY glib2-md5sum "8f69ad5387197114b356efc64ce88d77">
|
---|
| 10 | <!ENTITY glib2-size "2.3 MB">
|
---|
| 11 | <!ENTITY glib2-buildsize "45.2 MB">
|
---|
| 12 | <!ENTITY glib2-time "2.23 SBU (includes rebuilding documentation)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[7c461b3] | 15 | <sect1 id="glib2" xreflabel="GLib-&glib2-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[7f72cbf] | 20 | <?dbhtml filename="glib2.html"?>
|
---|
[7c461b3] | 21 | <title>GLib-&glib2-version;</title>
|
---|
[3b900300] | 22 | <indexterm zone="glib2">
|
---|
| 23 | <primary sortas="a-GLib2">GLib2</primary></indexterm>
|
---|
[d4340990] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>GLib</application></title>
|
---|
[54b4a3e] | 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
|
---|
| 31 | event loop, threads, dynamic loading, and an object system.</para>
|
---|
[54b4a3e] | 32 |
|
---|
[52d29f7] | 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
| 35 | <listitem><para>Download (HTTP): <ulink
|
---|
[7c461b3] | 36 | url="&glib2-download-http;"/></para></listitem>
|
---|
[52d29f7] | 37 | <listitem><para>Download (FTP): <ulink
|
---|
[7c461b3] | 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>
|
---|
[54b4a3e] | 41 | <listitem><para>Estimated disk space required:
|
---|
[7c461b3] | 42 | &glib2-buildsize;</para></listitem>
|
---|
[52d29f7] | 43 | <listitem><para>Estimated build time:
|
---|
[7c461b3] | 44 | &glib2-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 45 | </sect3>
|
---|
[54b4a3e] | 46 |
|
---|
[52d29f7] | 47 | <sect3><title><application>GLib</application> dependencies</title>
|
---|
| 48 | <sect4><title>Required</title>
|
---|
[0828208d] | 49 | <para><xref linkend="pkgconfig"/></para>
|
---|
| 50 | </sect4>
|
---|
| 51 |
|
---|
[52d29f7] | 52 | <sect4><title>Optional</title>
|
---|
[0828208d] | 53 | <para><xref linkend="gtk-doc"/></para>
|
---|
| 54 | </sect4>
|
---|
[52d29f7] | 55 | </sect3>
|
---|
[54b4a3e] | 56 |
|
---|
[52d29f7] | 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2>
|
---|
| 60 | <title>Installation of <application>GLib</application></title>
|
---|
[54b4a3e] | 61 |
|
---|
| 62 | <para>Install <application>glib</application> by running the following
|
---|
| 63 | commands:</para>
|
---|
| 64 |
|
---|
[52d29f7] | 65 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[3b900300] | 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>
|
---|
[54b4a3e] | 73 |
|
---|
[52d29f7] | 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2>
|
---|
| 77 | <title>Command explanations</title>
|
---|
[54b4a3e] | 78 |
|
---|
[52d29f7] | 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>
|
---|
[54b4a3e] | 82 |
|
---|
[52d29f7] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2>
|
---|
| 86 | <title>Contents</title>
|
---|
[54b4a3e] | 87 |
|
---|
[3b900300] | 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
|
---|
[a54950b] | 96 | libgthread-2.0.so</seg>
|
---|
[3b900300] | 97 | <seg>/usr/include/glib-2.0, /usr/lib/glib-2.0 and
|
---|
| 98 | /usr/share/glib-2.0</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">
|
---|
[4a7d1a4] | 111 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary></indexterm>
|
---|
[3b900300] | 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">
|
---|
[4a7d1a4] | 120 | <primary sortas="b-glib-gettextize">glib-gettextize</primary></indexterm>
|
---|
[3b900300] | 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">
|
---|
[4a7d1a4] | 128 | <primary sortas="b-glib-mkenums">glib-mkenums</primary></indexterm>
|
---|
[3b900300] | 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">
|
---|
[4a7d1a4] | 136 | <primary sortas="b-gobject-query">gobject-query</primary></indexterm>
|
---|
[3b900300] | 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">
|
---|
[4a7d1a4] | 145 | <primary sortas="c-GLib-libraries">Glib libraries</primary></indexterm>
|
---|
[3b900300] | 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | </variablelist>
|
---|
[54b4a3e] | 150 |
|
---|
[52d29f7] | 151 | </sect2>
|
---|
[d4340990] | 152 |
|
---|
| 153 | </sect1>
|
---|