1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/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 "ca717c728264fa0b3302ca00da2bcfe4">
|
---|
10 | <!ENTITY gtk2-size "11 MB">
|
---|
11 | <!ENTITY gtk2-buildsize "198 MB">
|
---|
12 | <!ENTITY gtk2-time "3.09 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 <application><acronym>GTK</acronym>+</application></title>
|
---|
30 |
|
---|
31 | <para>The <application><acronym>GTK</acronym>+</application> package contains
|
---|
32 | <application><acronym>GTK</acronym>+</application> Libraries. This is useful for
|
---|
33 | creating graphical user interfaces for applications.</para>
|
---|
34 |
|
---|
35 | <sect3><title>Package information</title>
|
---|
36 | <itemizedlist spacing='compact'>
|
---|
37 | <listitem><para>Download (HTTP): <ulink url=">k2-download-http;"/></para></listitem>
|
---|
38 | <listitem><para>Download (FTP): <ulink url=">k2-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>Download MD5 sum: >k2-md5sum;</para></listitem>
|
---|
40 | <listitem><para>Download size: >k2-size;</para></listitem>
|
---|
41 | <listitem><para>Estimated disk space required: >k2-buildsize;</para></listitem>
|
---|
42 | <listitem><para>Estimated build time: >k2-time;</para></listitem>
|
---|
43 | </itemizedlist>
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | <sect3>
|
---|
47 | <title><application><acronym>GTK</acronym>+</application> dependencies</title>
|
---|
48 | <sect4>
|
---|
49 | <title>Required</title>
|
---|
50 | <para>
|
---|
51 | X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>),
|
---|
52 | <xref linkend="pango"/>, and
|
---|
53 | <xref linkend="atk"/>
|
---|
54 | </para>
|
---|
55 | </sect4>
|
---|
56 |
|
---|
57 | <sect4>
|
---|
58 | <title>Optional</title>
|
---|
59 | <para>
|
---|
60 | <xref linkend="libtiff"/>,
|
---|
61 | <xref linkend="libjpeg"/>,
|
---|
62 | <xref linkend="gtk-doc"/>, and
|
---|
63 | <xref linkend="docbook-utils"/>
|
---|
64 | </para>
|
---|
65 | </sect4>
|
---|
66 | </sect3>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
69 |
|
---|
70 | <sect2>
|
---|
71 | <title>Installation of <application><acronym>GTK</acronym>+</application></title>
|
---|
72 |
|
---|
73 | <para>Install <application><acronym>GTK</acronym>+</application> by running
|
---|
74 | the following commands:</para>
|
---|
75 |
|
---|
76 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
77 | --without-libtiff --without-libjpeg &&
|
---|
78 | make</command></userinput></screen>
|
---|
79 |
|
---|
80 | <para>Now, as the root user:</para>
|
---|
81 |
|
---|
82 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2>
|
---|
87 | <title>Command explanations</title>
|
---|
88 |
|
---|
89 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
90 | configuration files into <filename class="directory">/etc</filename>
|
---|
91 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
92 |
|
---|
93 | <para><parameter>--without-libtiff</parameter>: Omit this switch if you have
|
---|
94 | <application>libtiff</application> installed.</para>
|
---|
95 |
|
---|
96 | <para><parameter>--without-libjpeg</parameter>: Omit this switch if you have
|
---|
97 | <application>libjpeg</application> installed.</para>
|
---|
98 |
|
---|
99 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
100 | the <acronym>API</acronym> documentation during the
|
---|
101 | <command>make</command> command.</para>
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2>
|
---|
105 | <title>Contents</title>
|
---|
106 |
|
---|
107 | <segmentedlist>
|
---|
108 | <segtitle>Installed Programs</segtitle>
|
---|
109 | <segtitle>Installed Libraries</segtitle>
|
---|
110 | <segtitle>Installed Directories</segtitle>
|
---|
111 |
|
---|
112 | <seglistitem>
|
---|
113 | <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo, gtk-query-immodules-2.0,
|
---|
114 | gtk-update-icon-cache</seg>
|
---|
115 | <seg>libgdk_pixbuf-2.0, libgdk-x11-2.0, libgtk-x11-2.0, libgdk_pixbuf_xlib-2.0</seg>
|
---|
116 | <seg>None</seg>
|
---|
117 | </seglistitem>
|
---|
118 | </segmentedlist>
|
---|
119 |
|
---|
120 | <variablelist>
|
---|
121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
122 | <?dbfo list-presentation="list"?>
|
---|
123 |
|
---|
124 | <varlistentry id="gdk-pixbuf-csource">
|
---|
125 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
126 | <listitem>
|
---|
127 | <para>generates C code containing images, useful for compiling images directly into programs.</para>
|
---|
128 | <indexterm zone="gtk2 gdk-pixbuf-csource">
|
---|
129 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
130 | </indexterm>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
135 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>collects information about loadable modules for gdk-pixbuf and writes it to standard output.</para>
|
---|
138 | <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
|
---|
139 | <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
140 | </indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | <varlistentry id="gtk-query-immodules-2.0">
|
---|
145 | <term><command>gtk-query-immodules-2.0</command></term>
|
---|
146 | <listitem>
|
---|
147 | <para> collects information about loadable input method modules for
|
---|
148 | <application><acronym>GTK</acronym>+</application> and writes it to standard output.</para>
|
---|
149 | <indexterm zone="gtk2 gtk-query-immodules-2.0">
|
---|
150 | <primary sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
|
---|
151 | </indexterm>
|
---|
152 | </listitem>
|
---|
153 | </varlistentry>
|
---|
154 |
|
---|
155 | <varlistentry id="gtk-update-icon-cache">
|
---|
156 | <term><command>gtk-update-icon-cache</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>creates mmap()able cache files for icon themes.</para>
|
---|
159 | <indexterm zone="gtk2 gtk-update-icon-cache">
|
---|
160 | <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | <varlistentry id="GTK2libs">
|
---|
166 | <term>GTK+ Libraries</term>
|
---|
167 | <listitem>
|
---|
168 | <para>provide the API to implement graphical user interfaces.</para>
|
---|
169 | <indexterm zone="gtk2 GTK2libs">
|
---|
170 | <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
|
---|
171 | </indexterm>
|
---|
172 | </listitem>
|
---|
173 | </varlistentry>
|
---|
174 |
|
---|
175 | </variablelist>
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | </sect1>
|
---|