1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY gtk2-download-http "&gnome-download-http;/gtk+/2.10/gtk+->k2-version;.tar.bz2">
|
---|
8 | <!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+->k2-version;.tar.bz2">
|
---|
9 | <!ENTITY gtk2-md5sum "d0af87715f3b0f05bf38a3312a528012">
|
---|
10 | <!ENTITY gtk2-size "15.1 MB">
|
---|
11 | <!ENTITY gtk2-buildsize "240 MB (includes building the experimental backends)">
|
---|
12 | <!ENTITY gtk2-time "3.1 SBU (includes building the experimental backends)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gtk2" xreflabel="GTK+->k2-version;">
|
---|
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 role="required"><xref linkend="cairo"/>,
|
---|
62 | <xref linkend="pango"/>, and
|
---|
63 | <xref linkend="atk"/></para>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
66 | <para role="recommended"><xref linkend="libtiff"/> and
|
---|
67 | <xref linkend="libjpeg"/></para>
|
---|
68 |
|
---|
69 | <para>Though not required, the GTK developers expect
|
---|
70 | <application>libtiff</application> and <application>libjpeg</application>
|
---|
71 | to be installed. Other packages also expect
|
---|
72 | <application>GTK+</application>-2 to be built with support for these
|
---|
73 | graphics packages as well.</para>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional"><xref linkend="cups"/>,
|
---|
77 | <xref linkend="gtk-doc"/>, and
|
---|
78 | <xref linkend="docbook-utils"/></para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/gtk+2"/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of GTK+</title>
|
---|
87 |
|
---|
88 | <para>Install <application>GTK+</application> by running
|
---|
89 | the following commands:</para>
|
---|
90 |
|
---|
91 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
92 | make</userinput></screen>
|
---|
93 |
|
---|
94 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
95 | you must run the tests from a session with X Window Display capability
|
---|
96 | (i.e., not a text-based terminal/console) as the tests attempt to open an X
|
---|
97 | window.</para>
|
---|
98 |
|
---|
99 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
100 |
|
---|
101 | <screen role="root"><userinput>make install &&
|
---|
102 | install -v -m755 -d /usr/share/doc/gtk+->k2-version;/{faq,tutorial} &&
|
---|
103 | cp -v -R docs/faq/html/* /usr/share/doc/gtk+->k2-version;/faq &&
|
---|
104 | cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+->k2-version;/tutorial &&
|
---|
105 | install -v -m644 docs/*.txt /usr/share/doc/gtk+->k2-version;</userinput></screen>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="commands">
|
---|
110 | <title>Command Explanations</title>
|
---|
111 |
|
---|
112 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
113 | configuration files into <filename class="directory">/etc</filename>
|
---|
114 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
115 |
|
---|
116 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
117 | the API documentation during the <command>make</command> command. Ensure
|
---|
118 | you really want to rebuild this documentation (and end up with what is
|
---|
119 | already shipped in the source tree) as it takes a very long time.</para>
|
---|
120 |
|
---|
121 | <para><option>--without-libtiff</option>: Use this switch if you
|
---|
122 | don't have <application>libtiff</application> installed.</para>
|
---|
123 |
|
---|
124 | <para><option>--without-libjpeg</option>: Use this switch if you
|
---|
125 | don't have <application>libjpeg</application> installed.</para>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="content">
|
---|
130 | <title>Contents</title>
|
---|
131 |
|
---|
132 | <segmentedlist>
|
---|
133 | <segtitle>Installed Programs</segtitle>
|
---|
134 | <segtitle>Installed Libraries</segtitle>
|
---|
135 | <segtitle>Installed Directories</segtitle>
|
---|
136 |
|
---|
137 | <seglistitem>
|
---|
138 | <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo,
|
---|
139 | gtk-query-immodules-2.0, and gtk-update-icon-cache</seg>
|
---|
140 | <seg>libgdk_pixbuf-2.0.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so,
|
---|
141 | libgdk_pixbuf_xlib-2.0.so, and numerous engine, module, and
|
---|
142 | loader plugins</seg>
|
---|
143 | <seg>/etc/gtk-2.0, /usr/include/gtk-2.0, /usr/lib/gtk-2.0,
|
---|
144 | /usr/share/doc/gtk+->k2-version;, /usr/share/gtk-2.0,
|
---|
145 | /usr/share/gtk-doc/html/{gdk,gdk-pixbuf,gtk},
|
---|
146 | /usr/share/themes/Default/gtk*, /usr/share/themes/Emacs and
|
---|
147 | /usr/share/themes/Raleigh</seg>
|
---|
148 | </seglistitem>
|
---|
149 | </segmentedlist>
|
---|
150 |
|
---|
151 | <variablelist>
|
---|
152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
153 | <?dbfo list-presentation="list"?>
|
---|
154 | <?dbhtml list-presentation="table"?>
|
---|
155 |
|
---|
156 | <varlistentry id="gdk-pixbuf-csource">
|
---|
157 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
158 | <listitem>
|
---|
159 | <para>generates C code containing images, useful for compiling
|
---|
160 | images directly into programs.</para>
|
---|
161 | <indexterm zone="gtk2 gdk-pixbuf-csource">
|
---|
162 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
168 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>collects information about loadable modules for gdk-pixbuf
|
---|
171 | and writes it to standard output.</para>
|
---|
172 | <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
|
---|
173 | <primary
|
---|
174 | sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="gtk-query-immodules-2.0">
|
---|
180 | <term><command>gtk-query-immodules-2.0</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>collects information about loadable input method modules for
|
---|
183 | <application>GTK+</application> and writes it to standard output.</para>
|
---|
184 | <indexterm zone="gtk2 gtk-query-immodules-2.0">
|
---|
185 | <primary
|
---|
186 | sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="gtk-update-icon-cache">
|
---|
192 | <term><command>gtk-update-icon-cache</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>creates mmap()able cache files for icon themes.</para>
|
---|
195 | <indexterm zone="gtk2 gtk-update-icon-cache">
|
---|
196 | <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="GTK2libs">
|
---|
202 | <term>GTK+ Libraries</term>
|
---|
203 | <listitem>
|
---|
204 | <para>provide an API to implement graphical user interfaces.</para>
|
---|
205 | <indexterm zone="gtk2 GTK2libs">
|
---|
206 | <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | </variablelist>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | </sect1>
|
---|