glfs/general/genlib/glib.xml
Manuel Canales Esparcia ff769b8c61 Updated the XML sources to use DocBook XML DTD-4.4.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3656 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-04-03 20:52:42 +00:00

115 lines
3.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY GLib-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/glib-&GLib-version;.tar.gz">
<!ENTITY GLib-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-&GLib-version;.tar.gz">
<!ENTITY GLib-md5sum "6fe30dad87c77b91b632def29dd69ef9">
<!ENTITY GLib-size "412 KB">
<!ENTITY GLib-buildsize "6.4 MB">
<!ENTITY GLib-time "0.19 SBU">
]>
<sect1 id="GLib" xreflabel="GLib-&GLib-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="glib.html"?>
<title>GLib-&GLib-version;</title>
<indexterm zone="GLib">
<primary sortas="a-GLib-1">GLib-1</primary></indexterm>
<sect2>
<title>Introduction to <application>GLib</application></title>
<para>The <application>glib</application> package contains a low-level core
library. This is useful for providing data structure handling for C,
portability wrappers and interfaces for such runtime functionality as an event
loop, threads, dynamic loading, and an object system.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP):
<ulink url="&GLib-download-http;"/></para></listitem>
<listitem><para>Download (FTP):
<ulink url="&GLib-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &GLib-md5sum;</para></listitem>
<listitem><para>Download size: &GLib-size;</para></listitem>
<listitem><para>Estimated disk space required:
&GLib-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&GLib-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch: <ulink
url="&patch-root;/glib-&GLib-version;-gcc34-1.patch"/></para></listitem>
</itemizedlist></sect3>
</sect2>
<sect2>
<title>Installation of <application>GLib</application></title>
<para>Install <application>glib</application> by running the following
commands:</para>
<screen><userinput><command>patch -Np1 -i ../glib-&GLib-version;-gcc34-1.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install &amp;&amp;
chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10</command></userinput></screen>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>glib-config</seg>
<seg>libglib.[so,a], libgmodule.[so,a] and libgthread.[so,a]</seg>
<seg>/usr/include/glib-1.2 and /usr/lib/glib</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="glib-config">
<term><command>glib-config</command></term>
<listitem><para>is a tool that is used by <command>configure</command> scripts
to determine the compiler and linker flags that should be used to compile and
link programs that use <application>GLib</application>.</para>
<indexterm zone="GLib glib-config">
<primary sortas="b-glib-config">glib-config</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="libglib">
<term><filename class='libraryfile'>libglib.[so,a]</filename></term>
<listitem><para>libraries contain a low-level core library for the
<application><acronym>GIMP</acronym></application> Toolkit.</para>
<indexterm zone="GLib libglib">
<primary sortas="c-libglib">libglib.[so,a]</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>