[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/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;">
|
---|
[76a39aa] | 15 | <?dbhtml filename="GTK.html" ?>
|
---|
[7162bb0] | 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>
|
---|
[c58da20] | 60 | <para role="required"><xref linkend="GLib"/>, and
|
---|
[e77976f] | 61 | <xref linkend="x-window-system"/></para>
|
---|
[7162bb0] | 62 |
|
---|
[c5c2654] | 63 | <para condition="html" role="usernotes">User Notes:
|
---|
| 64 | <ulink url="&blfs-wiki;/gtk+"/></para>
|
---|
| 65 |
|
---|
[7162bb0] | 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2 role="installation">
|
---|
| 69 | <title>Installation of GTK+</title>
|
---|
| 70 |
|
---|
| 71 | <para>Install <application>GTK+</application> by running
|
---|
| 72 | the following commands:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 75 | make</userinput></screen>
|
---|
| 76 |
|
---|
| 77 | <para>This package does not come with a test suite.</para>
|
---|
| 78 |
|
---|
| 79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 80 |
|
---|
[ad13c3a2] | 81 | <screen role="root"><userinput>make install &&
|
---|
| 82 | install -v -m755 -d /usr/share/doc/gtk+->K-version;/{html,text} &&
|
---|
| 83 | install -v -m644 docs/html/* /usr/share/doc/gtk+->K-version;/html &&
|
---|
| 84 | install -v -m644 docs/text/* /usr/share/doc/gtk+->K-version;/text</userinput></screen>
|
---|
[7162bb0] | 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="commands">
|
---|
| 89 | <title>Command Explanations</title>
|
---|
| 90 |
|
---|
| 91 | <para><parameter>--sysconfdir=/etc</parameter>: This installs the
|
---|
| 92 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 93 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 94 |
|
---|
| 95 | <para><option>--with-xinput=xfree</option>: This configuration
|
---|
| 96 | flag is necessary to utilize alternative input devices.</para>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="content">
|
---|
| 101 | <title>Contents</title>
|
---|
| 102 |
|
---|
| 103 | <segmentedlist>
|
---|
| 104 | <segtitle>Installed Program</segtitle>
|
---|
| 105 | <segtitle>Installed Libraries</segtitle>
|
---|
| 106 | <segtitle>Installed Directories</segtitle>
|
---|
| 107 |
|
---|
| 108 | <seglistitem>
|
---|
| 109 | <seg>gtk-config</seg>
|
---|
[c5c2654] | 110 | <seg>libgdk.{so,a} and libgtk.{so,a}</seg>
|
---|
[7162bb0] | 111 | <seg>/etc/gtk, /usr/include/gtk-1.2, and /usr/share/themes</seg>
|
---|
| 112 | </seglistitem>
|
---|
| 113 | </segmentedlist>
|
---|
| 114 |
|
---|
| 115 | <variablelist>
|
---|
| 116 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 117 | <?dbfo list-presentation="list"?>
|
---|
| 118 | <?dbhtml list-presentation="table"?>
|
---|
| 119 |
|
---|
| 120 | <varlistentry id="gtk-config">
|
---|
| 121 | <term><command>gtk-config</command></term>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>is a tool used by <command>configure</command> scripts to
|
---|
| 124 | determine the compiler and linker flags that should be used to
|
---|
| 125 | compile and link programs that use
|
---|
| 126 | <application>GTK+</application>.</para>
|
---|
| 127 | <indexterm zone="GTK gtk-config">
|
---|
| 128 | <primary sortas="b-gtk-config">gtk-config</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="libgtk">
|
---|
[c5c2654] | 134 | <term><filename class='libraryfile'>libgtk.{so,a}</filename></term>
|
---|
[7162bb0] | 135 | <listitem>
|
---|
| 136 | <para>(GIMP Tool Kit) is a library for creating graphical user
|
---|
| 137 | interfaces similar to the Motif <quote>look and feel</quote>.</para>
|
---|
| 138 | <indexterm zone="GTK libgtk">
|
---|
[c5c2654] | 139 | <primary sortas="c-libgtk">libgtk.{so,a}</primary>
|
---|
[7162bb0] | 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="libgdk">
|
---|
[c5c2654] | 145 | <term><filename class='libraryfile'>libgdk.{so,a}</filename></term>
|
---|
[7162bb0] | 146 | <listitem>
|
---|
| 147 | <para>is designed as a wrapper library that lies on top of Xlib.
|
---|
| 148 | It performs many common and desired operations for a programmer
|
---|
| 149 | instead of the programmer having to explicitly ask for such
|
---|
| 150 | functionality from Xlib directly.</para>
|
---|
| 151 | <indexterm zone="GTK libgdk">
|
---|
[c5c2654] | 152 | <primary sortas="c-libgdk">libgdk.{so,a}</primary>
|
---|
[7162bb0] | 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
[f45b1953] | 161 | </sect1>
|
---|