mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
39fbd20078
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4374 af4574ff-66df-0310-9fd7-8a98e5e911e0
195 lines
6.8 KiB
XML
195 lines
6.8 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 gtk2-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.6/gtk+->k2-version;.tar.bz2">
|
|
<!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+->k2-version;.tar.bz2">
|
|
<!ENTITY gtk2-md5sum "b89bf892a0dee943f98b4caa12f773c8">
|
|
<!ENTITY gtk2-size "11.4 MB">
|
|
<!ENTITY gtk2-buildsize "180 MB">
|
|
<!ENTITY gtk2-time "2.93 SBU (additional 13.36 SBU to rebuild the documentation)">
|
|
]>
|
|
|
|
<sect1 id="gtk2" xreflabel="GTK+->k2-version;">
|
|
<?dbhtml filename="gtk2.html" ?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>GTK+->k2-version;</title>
|
|
|
|
<indexterm zone="gtk2">
|
|
<primary sortas="a-GTK2">GTK2</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GTK+</title>
|
|
|
|
<para>The <application>GTK+</application> package contains
|
|
<application>GTK+</application> Libraries. These are useful
|
|
for creating graphical user interfaces for applications.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url=">k2-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url=">k2-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: >k2-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: >k2-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: >k2-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: >k2-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">GTK+ Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para>X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>),
|
|
<xref linkend="pango"/>, and
|
|
<xref linkend="atk"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para><xref linkend="libtiff"/>,
|
|
<xref linkend="libjpeg"/>,
|
|
<xref linkend="gtk-doc"/>, and
|
|
<xref linkend="docbook-utils"/></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 \
|
|
--without-libtiff --without-libjpeg &&
|
|
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</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
|
configuration files into <filename class="directory">/etc</filename>
|
|
instead of <filename class="directory">/usr/etc</filename>.</para>
|
|
|
|
<para><parameter>--without-libtiff</parameter>: Omit this switch if you
|
|
have <application>libtiff</application> installed.</para>
|
|
|
|
<para><parameter>--without-libjpeg</parameter>: Omit this switch if you
|
|
have <application>libjpeg</application> installed.</para>
|
|
|
|
<para><option>--enable-gtk-doc</option>: This switch will rebuild
|
|
the API documentation during the <command>make</command> command.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo,
|
|
gtk-query-immodules-2.0, and gtk-update-icon-cache</seg>
|
|
<seg>libgdk_pixbuf-2.0.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so,
|
|
libgdk_pixbuf_xlib-2.0.so, and numerous engine, module, and
|
|
loader plugins</seg>
|
|
<seg>/etc/gtk-2.0, /usr/include/gtk-2.0, /usr/lib/gtk-2.0,
|
|
/usr/share/gtk-2.0, /usr/share/gtk-doc/html/[gdk,gdk-pixbuf,gtk],
|
|
/usr/share/themes/Default/gtk*, and
|
|
/usr/share/themes/Emacs/gtk-2.0-key</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gdk-pixbuf-csource">
|
|
<term><command>gdk-pixbuf-csource</command></term>
|
|
<listitem>
|
|
<para>generates C code containing images, useful for compiling
|
|
images directly into programs.</para>
|
|
<indexterm zone="gtk2 gdk-pixbuf-csource">
|
|
<primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gdk-pixbuf-query-loaders">
|
|
<term><command>gdk-pixbuf-query-loaders</command></term>
|
|
<listitem>
|
|
<para>collects information about loadable modules for gdk-pixbuf
|
|
and writes it to standard output.</para>
|
|
<indexterm zone="gtk2 gdk-pixbuf-query-loaders">
|
|
<primary
|
|
sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gtk-query-immodules-2.0">
|
|
<term><command>gtk-query-immodules-2.0</command></term>
|
|
<listitem>
|
|
<para>collects information about loadable input method modules for
|
|
<application>GTK+</application> and writes it to standard output.</para>
|
|
<indexterm zone="gtk2 gtk-query-immodules-2.0">
|
|
<primary
|
|
sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gtk-update-icon-cache">
|
|
<term><command>gtk-update-icon-cache</command></term>
|
|
<listitem>
|
|
<para>creates mmap()able cache files for icon themes.</para>
|
|
<indexterm zone="gtk2 gtk-update-icon-cache">
|
|
<primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="GTK2libs">
|
|
<term>GTK+ Libraries</term>
|
|
<listitem>
|
|
<para>provide an API to implement graphical user interfaces.</para>
|
|
<indexterm zone="gtk2 GTK2libs">
|
|
<primary sortas="c-GTK2libs">GTK+ Libraries</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|