[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>
|
---|
[d4340990] | 22 |
|
---|
[52d29f7] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>GLib</application></title>
|
---|
[54b4a3e] | 25 |
|
---|
[52d29f7] | 26 | <para>The <application>glib</application> package contains a low-level core
|
---|
| 27 | library. This is useful for providing data structure handling for C,
|
---|
| 28 | portability wrappers and interfaces for such runtime functionality as an
|
---|
| 29 | event loop, threads, dynamic loading, and an object system.</para>
|
---|
[54b4a3e] | 30 |
|
---|
[52d29f7] | 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
| 33 | <listitem><para>Download (HTTP): <ulink
|
---|
[7c461b3] | 34 | url="&glib2-download-http;"/></para></listitem>
|
---|
[52d29f7] | 35 | <listitem><para>Download (FTP): <ulink
|
---|
[7c461b3] | 36 | url="&glib2-download-ftp;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download MD5 sum: &glib2-md5sum;</para></listitem>
|
---|
| 38 | <listitem><para>Download size: &glib2-size;</para></listitem>
|
---|
[54b4a3e] | 39 | <listitem><para>Estimated disk space required:
|
---|
[7c461b3] | 40 | &glib2-buildsize;</para></listitem>
|
---|
[52d29f7] | 41 | <listitem><para>Estimated build time:
|
---|
[7c461b3] | 42 | &glib2-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 43 | </sect3>
|
---|
[54b4a3e] | 44 |
|
---|
[52d29f7] | 45 | <sect3><title><application>GLib</application> dependencies</title>
|
---|
| 46 | <sect4><title>Required</title>
|
---|
[0828208d] | 47 | <para><xref linkend="pkgconfig"/></para>
|
---|
| 48 | </sect4>
|
---|
| 49 |
|
---|
[52d29f7] | 50 | <sect4><title>Optional</title>
|
---|
[0828208d] | 51 | <para><xref linkend="gtk-doc"/></para>
|
---|
| 52 | </sect4>
|
---|
[52d29f7] | 53 | </sect3>
|
---|
[54b4a3e] | 54 |
|
---|
[52d29f7] | 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Installation of <application>GLib</application></title>
|
---|
[54b4a3e] | 59 |
|
---|
| 60 | <para>Install <application>glib</application> by running the following
|
---|
| 61 | commands:</para>
|
---|
| 62 |
|
---|
[52d29f7] | 63 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 64 | make &&
|
---|
| 65 | make install</command></userinput></screen>
|
---|
[54b4a3e] | 66 |
|
---|
[52d29f7] | 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2>
|
---|
| 70 | <title>Command explanations</title>
|
---|
[54b4a3e] | 71 |
|
---|
[52d29f7] | 72 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 73 | the <acronym>API</acronym> documentation during the
|
---|
| 74 | <command>make</command> command.</para>
|
---|
[54b4a3e] | 75 |
|
---|
[52d29f7] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2>
|
---|
| 79 | <title>Contents</title>
|
---|
[54b4a3e] | 80 |
|
---|
[52d29f7] | 81 | <para>The <application>glib</application> package contains
|
---|
[54b4a3e] | 82 | <command>glib-genmarshal</command>,
|
---|
| 83 | <command>glib-gettextize</command>,
|
---|
| 84 | <command>glib-mkenums</command>,
|
---|
| 85 | <command>gobject-query</command>,
|
---|
[52d29f7] | 86 | <filename class="libraryfile">libglib-2.0</filename>,
|
---|
| 87 | <filename class="libraryfile">libgobject-2.0</filename>,
|
---|
| 88 | <filename class="libraryfile">libgmodule-2.0</filename> and
|
---|
| 89 | <filename class="libraryfile">libgthread-2.0</filename>
|
---|
| 90 | libraries.</para>
|
---|
[54b4a3e] | 91 |
|
---|
[52d29f7] | 92 | </sect2>
|
---|
[54b4a3e] | 93 |
|
---|
[52d29f7] | 94 | <sect2><title>Description</title>
|
---|
[54b4a3e] | 95 |
|
---|
| 96 | <sect3><title>glib-genmarshal</title>
|
---|
| 97 | <para><command>glib-genmarshal</command> is a C code marshaller generation
|
---|
| 98 | utility for GLib closures.</para></sect3>
|
---|
| 99 |
|
---|
| 100 | <sect3><title>glib-gettextize</title>
|
---|
| 101 | <para><command>glib-gettextize</command> is a variant of the
|
---|
| 102 | <application>gettext</application> internationalization utility.</para></sect3>
|
---|
| 103 |
|
---|
| 104 | <sect3><title>glib-mkenums</title>
|
---|
| 105 | <para><command>glib-mkenums</command> is a C language enum description
|
---|
| 106 | generation utility.</para></sect3>
|
---|
| 107 |
|
---|
| 108 | <sect3><title>gobject-query</title>
|
---|
| 109 | <para><command>gobject-query</command> is a small utility that draws a tree
|
---|
| 110 | of types.</para></sect3>
|
---|
| 111 |
|
---|
[52d29f7] | 112 | <sect3><title>GLib libraries</title>
|
---|
| 113 | <para>GLib libraries contain a low-level core library for the
|
---|
| 114 | <application><acronym>GIMP</acronym></application> Toolkit.</para></sect3>
|
---|
[54b4a3e] | 115 |
|
---|
[52d29f7] | 116 | </sect2>
|
---|
[d4340990] | 117 |
|
---|
| 118 | </sect1>
|
---|