source: x/lib/gtk+2.xml@ 1c96292

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 1c96292 was 70c255a, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to GTK+-2.18.3.

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

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