glfs/x/lib/gtk+.xml
Bruce Dubbs 6689ae6ee8 Test update to contents rendering
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3496 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-02-26 03:18:32 +00:00

138 lines
4.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY GTK-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-&GTK-version;.tar.gz">
<!ENTITY GTK-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-&GTK-version;.tar.gz">
<!ENTITY GTK-md5sum "4d5cb2fc7fb7830e4af9747a36bfce20">
<!ENTITY GTK-size "2.7 MB">
<!ENTITY GTK-buildsize "54 MB">
<!ENTITY GTK-time "1.96 SBU">
]>
<sect1 id="GTK" xreflabel="GTK+-&GTK-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="gtk.html" ?>
<title>GTK+-&GTK-version;</title>
<indexterm zone="GTK">
<primary sortas="a-GTK">GTK</primary>
</indexterm>
<sect2>
<title>Introduction to
<application><acronym>GTK</acronym>+</application></title>
<para>The <application>GTK+</application> package contains
<application>GTK+</application> Libraries. This is useful for
creating graphical user interfaces for applications.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink url="&GTK-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&GTK-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &GTK-md5sum;</para></listitem>
<listitem><para>Download size: &GTK-size;</para></listitem>
<listitem><para>Estimated disk space required: &GTK-buildsize;</para></listitem>
<listitem><para>Estimated build time: &GTK-time;</para></listitem>
</itemizedlist>
</sect3>
<sect3>
<title><application><acronym>GTK</acronym>+</application> dependencies</title>
<sect4>
<title>Required</title>
<para><xref linkend="GLib"/>,
<xref linkend="libtiff"/>,
<xref linkend="libjpeg"/>, and
X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)
</para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of
<application><acronym>GTK</acronym>+</application></title>
<para>Install <application><acronym>GTK</acronym>+</application> by running
the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><option>--sysconfdir=/etc</option>: This installs the
configuration files into <filename class="directory">/etc</filename>
instead of <filename class="directory">/usr/etc</filename>.</para>
<para><parameter>--with-xinput=xfree</parameter>: This configuration
flag is necessary to utilize alternative input devices.</para>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libgtk-1.2, libgdk-1.2</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgtk">
<term><filename class='libraryfile'>libgtk.{so,a}</filename></term>
<listitem>
<para>(GIMP Tool Kit) is a library for creating graphical user interfaces similar to
the Motif "look and feel".</para>
<indexterm zone="GTK libgtk">
<primary sortas="c-libgtk">libgtk.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgdk">
<term><filename class='libraryfile'>libgdk.{so,a}</filename></term>
<listitem>
<para>is designed as a wrapper library that lies on top of Xlib. It
performs many common and desired operations for a programmer instead of
the programmer having to explicitly ask for such functionality from
Xlib directly.</para>
<indexterm zone="GTK libgdk">
<primary sortas="c-libgdk">libgdk.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>