[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY GLib2-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.4/glib-&GLib2-version;.tar.bz2">
|
---|
| 8 | <!ENTITY GLib2-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.4/glib-&GLib2-version;.tar.bz2">
|
---|
[54b4a3e] | 9 | <!ENTITY GLib2-md5sum "eff6fec89455addf8b0dee5a19e343be">
|
---|
[a2bf27c5] | 10 | <!ENTITY GLib2-size "2.1 MB">
|
---|
[54b4a3e] | 11 | <!ENTITY GLib2-buildsize "35 MB">
|
---|
| 12 | <!ENTITY GLib2-time "1.01 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[23e6faf] | 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"?>
|
---|
[d4340990] | 21 | <title>GLib-&GLib2-version;</title>
|
---|
| 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
|
---|
| 34 | url="&GLib2-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink
|
---|
| 36 | url="&GLib2-download-ftp;"/></para></listitem>
|
---|
[54b4a3e] | 37 | <listitem><para>MD5 sum: &GLib2-md5sum;</para></listitem>
|
---|
[52d29f7] | 38 | <listitem><para>Download size: &GLib2-size;</para></listitem>
|
---|
[54b4a3e] | 39 | <listitem><para>Estimated disk space required:
|
---|
[52d29f7] | 40 | &GLib2-buildsize;</para></listitem>
|
---|
| 41 | <listitem><para>Estimated build time:
|
---|
| 42 | &GLib2-time;</para></listitem></itemizedlist>
|
---|
| 43 | </sect3>
|
---|
[54b4a3e] | 44 |
|
---|
[52d29f7] | 45 | <sect3><title><application>GLib</application> dependencies</title>
|
---|
| 46 | <sect4><title>Required</title>
|
---|
| 47 | <para><xref linkend="pkgconfig"/></para></sect4>
|
---|
| 48 | <sect4><title>Optional</title>
|
---|
| 49 | <para><xref linkend="gtk-doc"/></para></sect4>
|
---|
| 50 | </sect3>
|
---|
[54b4a3e] | 51 |
|
---|
[52d29f7] | 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 | <sect2>
|
---|
| 55 | <title>Installation of <application>GLib</application></title>
|
---|
[54b4a3e] | 56 |
|
---|
| 57 | <para>Install <application>glib</application> by running the following
|
---|
| 58 | commands:</para>
|
---|
| 59 |
|
---|
[52d29f7] | 60 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 61 | make &&
|
---|
| 62 | make install</command></userinput></screen>
|
---|
[54b4a3e] | 63 |
|
---|
[52d29f7] | 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Command explanations</title>
|
---|
[54b4a3e] | 68 |
|
---|
[52d29f7] | 69 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 70 | the <acronym>API</acronym> documentation during the
|
---|
| 71 | <command>make</command> command.</para>
|
---|
[54b4a3e] | 72 |
|
---|
[52d29f7] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Contents</title>
|
---|
[54b4a3e] | 77 |
|
---|
[52d29f7] | 78 | <para>The <application>glib</application> package contains
|
---|
[54b4a3e] | 79 | <command>glib-genmarshal</command>,
|
---|
| 80 | <command>glib-gettextize</command>,
|
---|
| 81 | <command>glib-mkenums</command>,
|
---|
| 82 | <command>gobject-query</command>,
|
---|
[52d29f7] | 83 | <filename class="libraryfile">libglib-2.0</filename>,
|
---|
| 84 | <filename class="libraryfile">libgobject-2.0</filename>,
|
---|
| 85 | <filename class="libraryfile">libgmodule-2.0</filename> and
|
---|
| 86 | <filename class="libraryfile">libgthread-2.0</filename>
|
---|
| 87 | libraries.</para>
|
---|
[54b4a3e] | 88 |
|
---|
[52d29f7] | 89 | </sect2>
|
---|
[54b4a3e] | 90 |
|
---|
[52d29f7] | 91 | <sect2><title>Description</title>
|
---|
[54b4a3e] | 92 |
|
---|
| 93 | <sect3><title>glib-genmarshal</title>
|
---|
| 94 | <para><command>glib-genmarshal</command> is a C code marshaller generation
|
---|
| 95 | utility for GLib closures.</para></sect3>
|
---|
| 96 |
|
---|
| 97 | <sect3><title>glib-gettextize</title>
|
---|
| 98 | <para><command>glib-gettextize</command> is a variant of the
|
---|
| 99 | <application>gettext</application> internationalization utility.</para></sect3>
|
---|
| 100 |
|
---|
| 101 | <sect3><title>glib-mkenums</title>
|
---|
| 102 | <para><command>glib-mkenums</command> is a C language enum description
|
---|
| 103 | generation utility.</para></sect3>
|
---|
| 104 |
|
---|
| 105 | <sect3><title>gobject-query</title>
|
---|
| 106 | <para><command>gobject-query</command> is a small utility that draws a tree
|
---|
| 107 | of types.</para></sect3>
|
---|
| 108 |
|
---|
[52d29f7] | 109 | <sect3><title>GLib libraries</title>
|
---|
| 110 | <para>GLib libraries contain a low-level core library for the
|
---|
| 111 | <application><acronym>GIMP</acronym></application> Toolkit.</para></sect3>
|
---|
[54b4a3e] | 112 |
|
---|
[52d29f7] | 113 | </sect2>
|
---|
[d4340990] | 114 |
|
---|
| 115 | </sect1>
|
---|
| 116 |
|
---|