glfs/x/lib/gtk+.xml
Randy McMurchy 6732c09460 Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-04-04 19:42:53 +00:00

162 lines
5.4 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 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.8 MB">
<!ENTITY GTK-buildsize "51.1 MB">
<!ENTITY GTK-time "1.01 SBU">
]>
<sect1 id="GTK" xreflabel="GTK+-&GTK-version;">
<?dbhtml filename="GTK.html" ?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>GTK+-&GTK-version;</title>
<indexterm zone="GTK">
<primary sortas="a-GTK">GTK</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to GTK+</title>
<para>The <application>GTK+</application> package contains
<application>GTK+</application> Libraries. This is useful for
creating graphical user interfaces for applications.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<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>
<bridgehead renderas="sect3">GTK+ Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="GLib"/>, and
<xref linkend="x-window-system"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gtk+"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of GTK+</title>
<para>Install <application>GTK+</application> by running
the following commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/gtk+-&GTK-version;/{html,text} &amp;&amp;
install -v -m644 docs/html/* /usr/share/doc/gtk+-&GTK-version;/html &amp;&amp;
install -v -m644 docs/text/* /usr/share/doc/gtk+-&GTK-version;/text</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--sysconfdir=/etc</parameter>: This installs the
configuration files into <filename class="directory">/etc</filename>
instead of <filename class="directory">/usr/etc</filename>.</para>
<para><option>--with-xinput=xfree</option>: This configuration
flag is necessary to utilize alternative input devices.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>gtk-config</seg>
<seg>libgdk.{so,a} and libgtk.{so,a}</seg>
<seg>/etc/gtk, /usr/include/gtk-1.2, and /usr/share/themes</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gtk-config">
<term><command>gtk-config</command></term>
<listitem>
<para>is a tool 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>GTK+</application>.</para>
<indexterm zone="GTK gtk-config">
<primary sortas="b-gtk-config">gtk-config</primary>
</indexterm>
</listitem>
</varlistentry>
<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 <quote>look and feel</quote>.</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>