source: x/lib/gtk+2.xml@ 8e4e046

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8e4e046 was 49f7d8b, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to GTK+-2.16.5.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7915 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.3 KB
Line 
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.16/gtk+-&gtk2-version;.tar.bz2">
8 <!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/2.16/gtk+-&gtk2-version;.tar.bz2">
9 <!ENTITY gtk2-md5sum "8d1ea0b9b0400224d25b0cc2750b438d">
10 <!ENTITY gtk2-size "18 MB">
11 <!ENTITY gtk2-buildsize "288 MB">
12 <!ENTITY gtk2-time "3.4 SBU">
13]>
14
15<sect1 id="gtk2" xreflabel="GTK+-&gtk2-version;">
16 <?dbhtml filename="gtk2.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GTK+-&gtk2-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="&gtk2-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&gtk2-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &gtk2-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &gtk2-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &gtk2-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &gtk2-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"/>,
67 <xref linkend="jasper"/>,
68 <xref linkend="libjpeg"/>, and
69 <xref linkend="hicolor-icon-theme"/></para>
70
71 <!-- hicolor-icon-theme is required for the test suite -->
72
73 <para>Though not required, the <application>GTK+</application> developers expect
74 <application>libtiff</application>, <application>libjasper</application>
75 and <application>libjpeg</application> to be installed. Other packages also
76 expect <application>GTK+</application>-2 to be built with support for these
77 graphics packages as well.</para>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional"><xref linkend="cups"/>,
81 <xref linkend="gtk-doc"/>, and
82 <xref linkend="docbook-utils"/></para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/gtk+2"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of GTK+</title>
91
92 <para>Install <application>GTK+</application> by running
93 the following commands:</para>
94
95<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
96make</userinput></screen>
97
98 <para>To test the results, issue: <command>make check</command>. Note that
99 you must run the tests from a session with X Window Display capability
100 (i.e., not a text-based terminal/console) as the tests attempt to open an X
101 window, and the tests can take an excessively long time.</para>
102
103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>make install &amp;&amp;
106install -v -m755 -d /usr/share/doc/gtk+-&gtk2-version;/{faq,tutorial} &amp;&amp;
107cp -v -R docs/faq/html/* /usr/share/doc/gtk+-&gtk2-version;/faq &amp;&amp;
108cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-&gtk2-version;/tutorial &amp;&amp;
109install -v -m644 docs/*.txt /usr/share/doc/gtk+-&gtk2-version;</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
117 configuration files into <filename class="directory">/etc</filename>
118 instead of <filename class="directory">/usr/etc</filename>.</para>
119
120 <para><option>--enable-gtk-doc</option>: This switch will rebuild
121 the API documentation during the <command>make</command> command. Ensure
122 you really want to rebuild this documentation (and end up with what is
123 already shipped in the source tree) as it takes a very long time.</para>
124
125 <para><option>--without-libtiff</option>: Use this switch if you
126 don't have <application>libtiff</application> installed.</para>
127
128 <para><option>--without-libjpeg</option>: Use this switch if you
129 don't have <application>libjpeg</application> installed.</para>
130
131 <para><option>--without-libjasper</option>: Use this switch if you
132 don't have <application>libjasper</application> installed.</para>
133
134 <para><parameter>--disable-static</parameter>: This switch prevents the
135 static libraries from being built.</para>
136
137 </sect2>
138
139 <sect2 role="content">
140 <title>Contents</title>
141
142 <segmentedlist>
143 <segtitle>Installed Programs</segtitle>
144 <segtitle>Installed Libraries</segtitle>
145 <segtitle>Installed Directories</segtitle>
146
147 <seglistitem>
148 <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders,
149 gtk-builder-convert, gtk-demo, gtk-query-immodules-2.0,
150 and gtk-update-icon-cache</seg>
151 <seg>libgailutil.so, libgdk-x11-2.0.so, libgdk_pixbuf-2.0.so,
152 libgdk_pixbuf_xlib-2.0.so, libgtk-x11-2.0.so, and numerous engine,
153 module, and loader plugins</seg>
154 <seg>/etc/gtk-2.0, /usr/include/gail-1.0, /usr/include/gtk-2.0,
155 /usr/include/gtk-unix-print-2.0, /usr/lib/gtk-2.0,
156 /usr/share/doc/gtk+-&gtk2-version;, /usr/share/gtk-2.0,
157 /usr/share/gtk-doc/html/{gail-libgail-util,gdk,gdk-pixbuf,gtk},
158 /usr/share/themes/Default/gtk*, /usr/share/themes/Emacs, and
159 /usr/share/themes/Raleigh</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="gdk-pixbuf-csource">
169 <term><command>gdk-pixbuf-csource</command></term>
170 <listitem>
171 <para>generates C code containing images, useful for compiling
172 images directly into programs.</para>
173 <indexterm zone="gtk2 gdk-pixbuf-csource">
174 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="gdk-pixbuf-query-loaders">
180 <term><command>gdk-pixbuf-query-loaders</command></term>
181 <listitem>
182 <para>collects information about loadable modules for gdk-pixbuf
183 and writes it to standard output.</para>
184 <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
185 <primary
186 sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="gtk-builder-convert">
192 <term><command>gtk-builder-convert</command></term>
193 <listitem>
194 <para>converts glade files into XML files which can be loaded with
195 GtkBuilder.</para>
196 <indexterm zone="gtk2 gtk-builder-convert">
197 <primary
198 sortas="b-gtk-builder-convert">gtk-builder-convert</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="gtk-demo">
204 <term><command>gtk-demo</command></term>
205 <listitem>
206 <para>demonstrates <application>GTK+</application> functionality and
207 provides code for the examples.</para>
208 <indexterm zone="gtk2 gtk-demo">
209 <primary
210 sortas="b-gtk-demo">gtk-demo</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="gtk-query-immodules-2.0">
216 <term><command>gtk-query-immodules-2.0</command></term>
217 <listitem>
218 <para>collects information about loadable input method modules for
219 <application>GTK+</application> and writes it to standard output.</para>
220 <indexterm zone="gtk2 gtk-query-immodules-2.0">
221 <primary
222 sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="gtk-update-icon-cache">
228 <term><command>gtk-update-icon-cache</command></term>
229 <listitem>
230 <para>creates mmap()able cache files for icon themes.</para>
231 <indexterm zone="gtk2 gtk-update-icon-cache">
232 <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="GTK2libs">
238 <term>GTK+ Libraries</term>
239 <listitem>
240 <para>provide an API to implement graphical user interfaces.</para>
241 <indexterm zone="gtk2 GTK2libs">
242 <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.