1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
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">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gtk2" xreflabel="GTK+->k2-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 |
|
---|
21 | <?dbhtml filename="gtk2.html" ?>
|
---|
22 | <title>GTK+->k2-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="gtk2">
|
---|
25 | <primary sortas="a-GTK2">GTK2</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2>
|
---|
29 | <title>Introduction to
|
---|
30 | <application><acronym>GTK</acronym>+</application></title>
|
---|
31 |
|
---|
32 | <para>The <application><acronym>GTK</acronym>+</application> package contains
|
---|
33 | <application><acronym>GTK</acronym>+</application> Libraries. These are useful
|
---|
34 | for creating graphical user interfaces for applications.</para>
|
---|
35 |
|
---|
36 | <sect3><title>Package information</title>
|
---|
37 | <itemizedlist spacing='compact'>
|
---|
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>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
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>
|
---|
67 | </sect3>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2>
|
---|
72 | <title>Installation of <application><acronym>GTK</acronym>+</application></title>
|
---|
73 |
|
---|
74 | <para>Install <application><acronym>GTK</acronym>+</application> by running
|
---|
75 | the following commands:</para>
|
---|
76 |
|
---|
77 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
78 | --without-libtiff --without-libjpeg &&
|
---|
79 | make</command></userinput></screen>
|
---|
80 |
|
---|
81 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
82 |
|
---|
83 | <para>Now, as the root user:</para>
|
---|
84 |
|
---|
85 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2>
|
---|
90 | <title>Command explanations</title>
|
---|
91 |
|
---|
92 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
93 | configuration files into <filename class="directory">/etc</filename>
|
---|
94 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
95 |
|
---|
96 | <para><parameter>--without-libtiff</parameter>: Omit this switch if you have
|
---|
97 | <application>libtiff</application> installed.</para>
|
---|
98 |
|
---|
99 | <para><parameter>--without-libjpeg</parameter>: Omit this switch if you have
|
---|
100 | <application>libjpeg</application> installed.</para>
|
---|
101 |
|
---|
102 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
103 | the <acronym>API</acronym> documentation during the
|
---|
104 | <command>make</command> command.</para>
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2>
|
---|
108 | <title>Contents</title>
|
---|
109 |
|
---|
110 | <segmentedlist>
|
---|
111 | <segtitle>Installed Programs</segtitle>
|
---|
112 | <segtitle>Installed Libraries</segtitle>
|
---|
113 | <segtitle>Installed Directories</segtitle>
|
---|
114 |
|
---|
115 | <seglistitem>
|
---|
116 | <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo,
|
---|
117 | gtk-query-immodules-2.0, gtk-update-icon-cache</seg>
|
---|
118 | <seg>libgdk_pixbuf-2.0.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so,
|
---|
119 | libgdk_pixbuf_xlib-2.0.so and numerous engine, module and
|
---|
120 | loader plugins</seg>
|
---|
121 | <seg>/etc/gtk-2.0, /usr/include/gtk-2.0, /usr/lib/gtk-2.0,
|
---|
122 | /usr/share/gtk-2.0, /usr/share/gtk-doc/html/[gdk,gdk-pixbuf,gtk],
|
---|
123 | /usr/share/themes/Default/gtk* and
|
---|
124 | /usr/share/themes/Emacs/gtk-2.0-key</seg>
|
---|
125 | </seglistitem>
|
---|
126 | </segmentedlist>
|
---|
127 |
|
---|
128 | <variablelist>
|
---|
129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
130 | <?dbfo list-presentation="list"?>
|
---|
131 |
|
---|
132 | <varlistentry id="gdk-pixbuf-csource">
|
---|
133 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
134 | <listitem>
|
---|
135 | <para>generates C code containing images, useful for compiling images
|
---|
136 | directly into programs.</para>
|
---|
137 | <indexterm zone="gtk2 gdk-pixbuf-csource">
|
---|
138 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
139 | </indexterm>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 |
|
---|
143 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
144 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
145 | <listitem>
|
---|
146 | <para>collects information about loadable modules for gdk-pixbuf and
|
---|
147 | writes it to standard output.</para>
|
---|
148 | <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
|
---|
149 | <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | <varlistentry id="gtk-query-immodules-2.0">
|
---|
155 | <term><command>gtk-query-immodules-2.0</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para> collects information about loadable input method modules for
|
---|
158 | <application><acronym>GTK</acronym>+</application> and writes it to
|
---|
159 | standard output.</para>
|
---|
160 | <indexterm zone="gtk2 gtk-query-immodules-2.0">
|
---|
161 | <primary sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
|
---|
162 | </indexterm>
|
---|
163 | </listitem>
|
---|
164 | </varlistentry>
|
---|
165 |
|
---|
166 | <varlistentry id="gtk-update-icon-cache">
|
---|
167 | <term><command>gtk-update-icon-cache</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>creates mmap()able cache files for icon themes.</para>
|
---|
170 | <indexterm zone="gtk2 gtk-update-icon-cache">
|
---|
171 | <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="GTK2libs">
|
---|
177 | <term>GTK+ Libraries</term>
|
---|
178 | <listitem>
|
---|
179 | <para>provide an API to implement graphical user interfaces.</para>
|
---|
180 | <indexterm zone="gtk2 GTK2libs">
|
---|
181 | <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | </variablelist>
|
---|
187 | </sect2>
|
---|
188 |
|
---|
189 | </sect1>
|
---|