source: x/lib/gtk+2.xml@ a41f643

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 a41f643 was a41f643, checked in by Randy McMurchy <randy@…>, 14 years ago

Globally removed all extraneous spaces

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

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