2004-06-14 03:03:42 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 03:03:42 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2009-10-22 01:36:11 +08:00
|
|
|
<!ENTITY gtk2-download-http "&gnome-download-http;/gtk+/2.18/gtk+->k2-version;.tar.bz2">
|
|
|
|
<!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/2.18/gtk+->k2-version;.tar.bz2">
|
2010-03-08 00:10:03 +08:00
|
|
|
<!ENTITY gtk2-md5sum "e38d0b6801789b5b4c598e84b28fb215">
|
|
|
|
<!ENTITY gtk2-size "18.3 MB">
|
|
|
|
<!ENTITY gtk2-buildsize "310 MB">
|
|
|
|
<!ENTITY gtk2-time "4.1 SBU">
|
2004-06-14 03:03:42 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-06 00:56:45 +08:00
|
|
|
<sect1 id="gtk2" xreflabel="GTK+->k2-version;">
|
2005-05-20 03:49:54 +08:00
|
|
|
<?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
|
2005-12-13 09:54:27 +08:00
|
|
|
<application>GTK+</application> libraries. These are useful
|
2005-05-20 03:49:54 +08:00
|
|
|
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>
|
2005-12-08 19:41:26 +08:00
|
|
|
<para role="required"><xref linkend="cairo"/>,
|
2005-05-20 03:49:54 +08:00
|
|
|
<xref linkend="pango"/>, and
|
|
|
|
<xref linkend="atk"/></para>
|
|
|
|
|
2005-09-21 09:04:10 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2008-11-28 10:11:26 +08:00
|
|
|
<para role="recommended"><xref linkend="libtiff"/>,
|
2009-08-01 05:36:53 +08:00
|
|
|
<xref linkend="libjpeg"/>, and
|
|
|
|
<xref linkend="hicolor-icon-theme"/></para>
|
2005-09-21 09:04:10 +08:00
|
|
|
|
2009-08-01 05:36:53 +08:00
|
|
|
<!-- hicolor-icon-theme is required for the test suite -->
|
|
|
|
|
2010-03-08 04:47:42 +08:00
|
|
|
<para>Though not required, the <application>GTK+</application> developers
|
|
|
|
expect <application>libtiff</application>, and
|
|
|
|
<application>libjpeg</application> to be installed. Other packages also
|
2008-11-28 10:11:26 +08:00
|
|
|
expect <application>GTK+</application>-2 to be built with support for these
|
2005-09-21 09:04:10 +08:00
|
|
|
graphics packages as well.</para>
|
|
|
|
|
2005-05-20 03:49:54 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2007-03-19 03:43:07 +08:00
|
|
|
<para role="optional"><xref linkend="cups"/>,
|
2010-03-08 04:47:42 +08:00
|
|
|
<xref linkend="jasper"/>,
|
2010-01-01 15:04:47 +08:00
|
|
|
<xref linkend="docbook-utils"/>,
|
|
|
|
<ulink url="http://beagle-project.org/Main_Page">libbeagle</ulink>,
|
2007-03-19 03:43:07 +08:00
|
|
|
<xref linkend="gtk-doc"/>, and
|
2010-01-01 15:04:47 +08:00
|
|
|
<ulink url="http://www.tracker-project.org/">Tracker</ulink></para>
|
2005-05-20 03:49:54 +08:00
|
|
|
|
2006-04-11 02:39:30 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gtk+2"/></para>
|
|
|
|
|
2005-05-20 03:49:54 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GTK+</title>
|
|
|
|
|
|
|
|
<para>Install <application>GTK+</application> by running
|
|
|
|
the following commands:</para>
|
|
|
|
|
2010-01-02 14:54:21 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
2005-05-20 03:49:54 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2006-10-23 05:20:11 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>. Note that
|
|
|
|
you must run the tests from a session with X Window Display capability
|
|
|
|
(i.e., not a text-based terminal/console) as the tests attempt to open an X
|
2010-03-08 00:10:03 +08:00
|
|
|
window, and the tests can take an excessively long time. Using an X Window,
|
|
|
|
the tests should take less than .3 SBUs</para>
|
2005-05-20 03:49:54 +08:00
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2005-10-06 04:41:08 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2005-12-25 02:52:40 +08:00
|
|
|
install -v -m755 -d /usr/share/doc/gtk+->k2-version;/{faq,tutorial} &&
|
|
|
|
cp -v -R docs/faq/html/* /usr/share/doc/gtk+->k2-version;/faq &&
|
2007-03-19 03:43:07 +08:00
|
|
|
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+->k2-version;/tutorial &&
|
|
|
|
install -v -m644 docs/*.txt /usr/share/doc/gtk+->k2-version;</userinput></screen>
|
2005-05-20 03:49:54 +08:00
|
|
|
|
|
|
|
</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><option>--enable-gtk-doc</option>: This switch will rebuild
|
2006-05-17 02:12:42 +08:00
|
|
|
the API documentation during the <command>make</command> command. Ensure
|
|
|
|
you really want to rebuild this documentation (and end up with what is
|
|
|
|
already shipped in the source tree) as it takes a very long time.</para>
|
2005-05-20 03:49:54 +08:00
|
|
|
|
2005-09-21 09:04:10 +08:00
|
|
|
<para><option>--without-libtiff</option>: Use this switch if you
|
|
|
|
don't have <application>libtiff</application> installed.</para>
|
|
|
|
|
|
|
|
<para><option>--without-libjpeg</option>: Use this switch if you
|
|
|
|
don't have <application>libjpeg</application> installed.</para>
|
|
|
|
|
2010-03-08 04:47:42 +08:00
|
|
|
<para><option>--with-libjasper</option>: Use this option if you
|
|
|
|
have <application>libjasper</application> installed.</para>
|
2008-11-28 10:11:26 +08:00
|
|
|
|
|
|
|
<para><parameter>--disable-static</parameter>: This switch prevents the
|
|
|
|
static libraries from being built.</para>
|
|
|
|
|
2005-05-20 03:49:54 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2009-08-01 05:36:53 +08:00
|
|
|
<seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders,
|
|
|
|
gtk-builder-convert, gtk-demo, gtk-query-immodules-2.0,
|
|
|
|
and gtk-update-icon-cache</seg>
|
|
|
|
<seg>libgailutil.so, libgdk-x11-2.0.so, libgdk_pixbuf-2.0.so,
|
|
|
|
libgdk_pixbuf_xlib-2.0.so, libgtk-x11-2.0.so, and numerous engine,
|
|
|
|
module, and loader plugins</seg>
|
|
|
|
<seg>/etc/gtk-2.0, /usr/include/gail-1.0, /usr/include/gtk-2.0,
|
|
|
|
/usr/include/gtk-unix-print-2.0, /usr/lib/gtk-2.0,
|
2005-10-06 04:41:08 +08:00
|
|
|
/usr/share/doc/gtk+->k2-version;, /usr/share/gtk-2.0,
|
2009-08-01 05:36:53 +08:00
|
|
|
/usr/share/gtk-doc/html/{gail-libgail-util,gdk,gdk-pixbuf,gtk},
|
|
|
|
/usr/share/themes/Default/gtk*, /usr/share/themes/Emacs, and
|
2005-10-06 04:41:08 +08:00
|
|
|
/usr/share/themes/Raleigh</seg>
|
2005-05-20 03:49:54 +08:00
|
|
|
</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>
|
|
|
|
|
2009-08-01 05:36:53 +08:00
|
|
|
<varlistentry id="gtk-builder-convert">
|
|
|
|
<term><command>gtk-builder-convert</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>converts glade files into XML files which can be loaded with
|
|
|
|
GtkBuilder.</para>
|
|
|
|
<indexterm zone="gtk2 gtk-builder-convert">
|
|
|
|
<primary
|
|
|
|
sortas="b-gtk-builder-convert">gtk-builder-convert</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gtk-demo">
|
|
|
|
<term><command>gtk-demo</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>demonstrates <application>GTK+</application> functionality and
|
|
|
|
provides code for the examples.</para>
|
|
|
|
<indexterm zone="gtk2 gtk-demo">
|
|
|
|
<primary
|
|
|
|
sortas="b-gtk-demo">gtk-demo</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-20 03:49:54 +08:00
|
|
|
<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>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|