[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY GTK-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+->K-version;.tar.gz">
|
---|
| 8 | <!ENTITY GTK-download-ftp "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+->K-version;.tar.gz">
|
---|
[6944128] | 9 | <!ENTITY GTK-md5sum "4d5cb2fc7fb7830e4af9747a36bfce20">
|
---|
[0d25b6c5] | 10 | <!ENTITY GTK-size "2.8 MB">
|
---|
| 11 | <!ENTITY GTK-buildsize "51.1 MB">
|
---|
| 12 | <!ENTITY GTK-time "1.01 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
[f45b1953] | 14 | <sect1 id="GTK" xreflabel="GTK+->K-version;">
|
---|
[7162bb0] | 15 | <?dbhtml filename="gtk.html" ?>
|
---|
| 16 |
|
---|
| 17 | <sect1info>
|
---|
| 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>GTK+->K-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="GTK">
|
---|
| 25 | <primary sortas="a-GTK">GTK</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to GTK+</title>
|
---|
| 30 |
|
---|
| 31 | <para>The <application>GTK+</application> package contains
|
---|
| 32 | <application>GTK+</application> Libraries. This is useful for
|
---|
| 33 | creating graphical user interfaces for applications.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url=">K-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url=">K-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: >K-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: >K-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: >K-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: >K-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">GTK+ Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 60 | <para><xref linkend="GLib"/>,
|
---|
| 61 | <xref linkend="libtiff"/>,
|
---|
| 62 | <xref linkend="libjpeg"/>, and
|
---|
| 63 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
| 64 |
|
---|
| 65 | </sect2>
|
---|
| 66 |
|
---|
| 67 | <sect2 role="installation">
|
---|
| 68 | <title>Installation of GTK+</title>
|
---|
| 69 |
|
---|
| 70 | <para>Install <application>GTK+</application> by running
|
---|
| 71 | the following commands:</para>
|
---|
| 72 |
|
---|
| 73 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 74 | make</userinput></screen>
|
---|
| 75 |
|
---|
| 76 | <para>This package does not come with a test suite.</para>
|
---|
| 77 |
|
---|
| 78 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 79 |
|
---|
[ad13c3a2] | 80 | <screen role="root"><userinput>make install &&
|
---|
| 81 | install -v -m755 -d /usr/share/doc/gtk+->K-version;/{html,text} &&
|
---|
| 82 | install -v -m644 docs/html/* /usr/share/doc/gtk+->K-version;/html &&
|
---|
| 83 | install -v -m644 docs/text/* /usr/share/doc/gtk+->K-version;/text</userinput></screen>
|
---|
[7162bb0] | 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="commands">
|
---|
| 88 | <title>Command Explanations</title>
|
---|
| 89 |
|
---|
| 90 | <para><parameter>--sysconfdir=/etc</parameter>: This installs the
|
---|
| 91 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 92 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 93 |
|
---|
| 94 | <para><option>--with-xinput=xfree</option>: This configuration
|
---|
| 95 | flag is necessary to utilize alternative input devices.</para>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Program</segtitle>
|
---|
| 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
| 108 | <seg>gtk-config</seg>
|
---|
| 109 | <seg>libgdk.[so,a] and libgtk.[so,a]</seg>
|
---|
| 110 | <seg>/etc/gtk, /usr/include/gtk-1.2, and /usr/share/themes</seg>
|
---|
| 111 | </seglistitem>
|
---|
| 112 | </segmentedlist>
|
---|
| 113 |
|
---|
| 114 | <variablelist>
|
---|
| 115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 116 | <?dbfo list-presentation="list"?>
|
---|
| 117 | <?dbhtml list-presentation="table"?>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="gtk-config">
|
---|
| 120 | <term><command>gtk-config</command></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>is a tool used by <command>configure</command> scripts to
|
---|
| 123 | determine the compiler and linker flags that should be used to
|
---|
| 124 | compile and link programs that use
|
---|
| 125 | <application>GTK+</application>.</para>
|
---|
| 126 | <indexterm zone="GTK gtk-config">
|
---|
| 127 | <primary sortas="b-gtk-config">gtk-config</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="libgtk">
|
---|
| 133 | <term><filename class='libraryfile'>libgtk.[so,a]</filename></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>(GIMP Tool Kit) is a library for creating graphical user
|
---|
| 136 | interfaces similar to the Motif <quote>look and feel</quote>.</para>
|
---|
| 137 | <indexterm zone="GTK libgtk">
|
---|
| 138 | <primary sortas="c-libgtk">libgtk.[so,a]</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="libgdk">
|
---|
| 144 | <term><filename class='libraryfile'>libgdk.[so,a]</filename></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>is designed as a wrapper library that lies on top of Xlib.
|
---|
| 147 | It performs many common and desired operations for a programmer
|
---|
| 148 | instead of the programmer having to explicitly ask for such
|
---|
| 149 | functionality from Xlib directly.</para>
|
---|
| 150 | <indexterm zone="GTK libgdk">
|
---|
| 151 | <primary sortas="c-libgdk">libgdk.[so,a]</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | </variablelist>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
[f45b1953] | 160 | </sect1>
|
---|