[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 |
|
---|
[a8eba10] | 7 | <!ENTITY gtk2-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.6/gtk+->k2-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+->k2-version;.tar.bz2">
|
---|
[d0f0330] | 9 | <!ENTITY gtk2-md5sum "b89bf892a0dee943f98b4caa12f773c8">
|
---|
| 10 | <!ENTITY gtk2-size "11.4 MB">
|
---|
| 11 | <!ENTITY gtk2-buildsize "180 MB">
|
---|
| 12 | <!ENTITY gtk2-time "2.93 SBU (additional 13.36 SBU to rebuild the documentation)">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[a8eba10] | 15 | <sect1 id="gtk2" xreflabel="GTK+->k2-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[a9f41dd7] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[a9f41dd7] | 20 |
|
---|
[19aa75a] | 21 | <?dbhtml filename="gtk2.html" ?>
|
---|
[a8eba10] | 22 | <title>GTK+->k2-version;</title>
|
---|
[f45b1953] | 23 |
|
---|
[a9f41dd7] | 24 | <indexterm zone="gtk2">
|
---|
[a819181] | 25 | <primary sortas="a-GTK2">GTK2</primary>
|
---|
[a9f41dd7] | 26 | </indexterm>
|
---|
| 27 |
|
---|
[feeb99a] | 28 | <sect2>
|
---|
[668fc03] | 29 | <title>Introduction to
|
---|
| 30 | <application><acronym>GTK</acronym>+</application></title>
|
---|
[feeb99a] | 31 |
|
---|
[a8eba10] | 32 | <para>The <application><acronym>GTK</acronym>+</application> package contains
|
---|
[668fc03] | 33 | <application><acronym>GTK</acronym>+</application> Libraries. These are useful
|
---|
| 34 | for creating graphical user interfaces for applications.</para>
|
---|
[feeb99a] | 35 |
|
---|
| 36 | <sect3><title>Package information</title>
|
---|
| 37 | <itemizedlist spacing='compact'>
|
---|
[d0f0330] | 38 | <listitem><para>Download (HTTP):
|
---|
| 39 | <ulink url=">k2-download-http;"/></para></listitem>
|
---|
| 40 | <listitem><para>Download (FTP):
|
---|
| 41 | <ulink url=">k2-download-ftp;"/></para></listitem>
|
---|
[a9f41dd7] | 42 | <listitem><para>Download MD5 sum: >k2-md5sum;</para></listitem>
|
---|
| 43 | <listitem><para>Download size: >k2-size;</para></listitem>
|
---|
[d0f0330] | 44 | <listitem><para>Estimated disk space required:
|
---|
| 45 | >k2-buildsize;</para></listitem>
|
---|
[a9f41dd7] | 46 | <listitem><para>Estimated build time: >k2-time;</para></listitem>
|
---|
| 47 | </itemizedlist>
|
---|
[feeb99a] | 48 | </sect3>
|
---|
| 49 |
|
---|
[a9f41dd7] | 50 | <sect3>
|
---|
| 51 | <title><application><acronym>GTK</acronym>+</application> dependencies</title>
|
---|
| 52 | <sect4>
|
---|
| 53 | <title>Required</title>
|
---|
| 54 | <para>
|
---|
| 55 | X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>),
|
---|
| 56 | <xref linkend="pango"/>, and
|
---|
| 57 | <xref linkend="atk"/>
|
---|
| 58 | </para>
|
---|
| 59 | </sect4>
|
---|
| 60 |
|
---|
| 61 | <sect4>
|
---|
| 62 | <title>Optional</title>
|
---|
| 63 | <para>
|
---|
| 64 | <xref linkend="libtiff"/>,
|
---|
| 65 | <xref linkend="libjpeg"/>,
|
---|
| 66 | <xref linkend="gtk-doc"/>, and
|
---|
| 67 | <xref linkend="docbook-utils"/>
|
---|
| 68 | </para>
|
---|
| 69 | </sect4>
|
---|
[feeb99a] | 70 | </sect3>
|
---|
| 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
[d0f0330] | 75 | <title>Installation of
|
---|
| 76 | <application><acronym>GTK</acronym>+</application></title>
|
---|
[feeb99a] | 77 |
|
---|
[d82991f] | 78 | <para>Install <application><acronym>GTK</acronym>+</application> by running
|
---|
| 79 | the following commands:</para>
|
---|
[feeb99a] | 80 |
|
---|
[7f971cb] | 81 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
| 82 | --without-libtiff --without-libjpeg &&
|
---|
[a9f41dd7] | 83 | make</command></userinput></screen>
|
---|
| 84 |
|
---|
[1c1483d6] | 85 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 86 |
|
---|
[a9f41dd7] | 87 | <para>Now, as the root user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[feeb99a] | 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2>
|
---|
| 94 | <title>Command explanations</title>
|
---|
| 95 |
|
---|
| 96 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 97 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 98 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 99 |
|
---|
[a8eba10] | 100 | <para><parameter>--without-libtiff</parameter>: Omit this switch if you have
|
---|
[7f971cb] | 101 | <application>libtiff</application> installed.</para>
|
---|
| 102 |
|
---|
[a8eba10] | 103 | <para><parameter>--without-libjpeg</parameter>: Omit this switch if you have
|
---|
[7f971cb] | 104 | <application>libjpeg</application> installed.</para>
|
---|
| 105 |
|
---|
[feeb99a] | 106 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 107 | the <acronym>API</acronym> documentation during the
|
---|
| 108 | <command>make</command> command.</para>
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2>
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
[a9f41dd7] | 114 | <segmentedlist>
|
---|
| 115 | <segtitle>Installed Programs</segtitle>
|
---|
| 116 | <segtitle>Installed Libraries</segtitle>
|
---|
| 117 | <segtitle>Installed Directories</segtitle>
|
---|
| 118 |
|
---|
| 119 | <seglistitem>
|
---|
[668fc03] | 120 | <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo,
|
---|
| 121 | gtk-query-immodules-2.0, gtk-update-icon-cache</seg>
|
---|
| 122 | <seg>libgdk_pixbuf-2.0.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so,
|
---|
| 123 | libgdk_pixbuf_xlib-2.0.so and numerous engine, module and
|
---|
| 124 | loader plugins</seg>
|
---|
| 125 | <seg>/etc/gtk-2.0, /usr/include/gtk-2.0, /usr/lib/gtk-2.0,
|
---|
| 126 | /usr/share/gtk-2.0, /usr/share/gtk-doc/html/[gdk,gdk-pixbuf,gtk],
|
---|
| 127 | /usr/share/themes/Default/gtk* and
|
---|
| 128 | /usr/share/themes/Emacs/gtk-2.0-key</seg>
|
---|
[a9f41dd7] | 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | <variablelist>
|
---|
| 133 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 134 | <?dbfo list-presentation="list"?>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="gdk-pixbuf-csource">
|
---|
| 137 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
| 138 | <listitem>
|
---|
[668fc03] | 139 | <para>generates C code containing images, useful for compiling images
|
---|
| 140 | directly into programs.</para>
|
---|
[a9f41dd7] | 141 | <indexterm zone="gtk2 gdk-pixbuf-csource">
|
---|
| 142 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
| 148 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
| 149 | <listitem>
|
---|
[668fc03] | 150 | <para>collects information about loadable modules for gdk-pixbuf and
|
---|
| 151 | writes it to standard output.</para>
|
---|
[a9f41dd7] | 152 | <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
|
---|
[d0f0330] | 153 | <primary
|
---|
| 154 | sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
[a9f41dd7] | 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="gtk-query-immodules-2.0">
|
---|
| 160 | <term><command>gtk-query-immodules-2.0</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para> collects information about loadable input method modules for
|
---|
[668fc03] | 163 | <application><acronym>GTK</acronym>+</application> and writes it to
|
---|
| 164 | standard output.</para>
|
---|
[a9f41dd7] | 165 | <indexterm zone="gtk2 gtk-query-immodules-2.0">
|
---|
[d0f0330] | 166 | <primary
|
---|
| 167 | sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
|
---|
[a9f41dd7] | 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="gtk-update-icon-cache">
|
---|
| 173 | <term><command>gtk-update-icon-cache</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>creates mmap()able cache files for icon themes.</para>
|
---|
| 176 | <indexterm zone="gtk2 gtk-update-icon-cache">
|
---|
| 177 | <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="GTK2libs">
|
---|
| 183 | <term>GTK+ Libraries</term>
|
---|
| 184 | <listitem>
|
---|
[668fc03] | 185 | <para>provide an API to implement graphical user interfaces.</para>
|
---|
[a9f41dd7] | 186 | <indexterm zone="gtk2 GTK2libs">
|
---|
| 187 | <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
[feeb99a] | 193 | </sect2>
|
---|
[f45b1953] | 194 |
|
---|
| 195 | </sect1>
|
---|