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