mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
6732c09460
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 af4574ff-66df-0310-9fd7-8a98e5e911e0
139 lines
4.5 KiB
XML
139 lines
4.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/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;">
|
|
<?dbhtml filename="Glib.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>GLib-&GLib-version;</title>
|
|
|
|
<indexterm zone="GLib">
|
|
<primary sortas="a-GLib-1">GLib-1</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GLib</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>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<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>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/glib-&GLib-version;-gcc34-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/glib"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GLib</title>
|
|
|
|
<para>Install <application>glib</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../glib-&GLib-version;-gcc34-1.patch &&
|
|
./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<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"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<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>GIMP</application> Toolkit.</para>
|
|
<indexterm zone="GLib libglib">
|
|
<primary sortas="c-libglib">libglib.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|