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