mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
6732c09460
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 af4574ff-66df-0310-9fd7-8a98e5e911e0
162 lines
5.4 KiB
XML
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+->K-version;.tar.gz">
|
|
<!ENTITY GTK-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+->K-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+->K-version;">
|
|
<?dbhtml filename="GTK.html" ?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>GTK+->K-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=">K-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url=">K-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: >K-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: >K-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: >K-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: >K-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 &&
|
|
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 &&
|
|
install -v -m755 -d /usr/share/doc/gtk+->K-version;/{html,text} &&
|
|
install -v -m644 docs/html/* /usr/share/doc/gtk+->K-version;/html &&
|
|
install -v -m644 docs/text/* /usr/share/doc/gtk+->K-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>
|