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

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 ae6001ee was ae6001ee, checked in by Guy Dalziel <gdalziel@…>, 14 years ago

Added command to GTK+2 for applying patch.

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

  • Property mode set to 100644
File size: 9.7 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>patch -Np1 -i ../gtk+-&gtk2-version;-jpeg7compatibility-1.patch &amp;&amp;
104./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
105make</userinput></screen>
106
107 <para>To test the results, issue: <command>make check</command>. Note that
108 you must run the tests from a session with X Window Display capability
109 (i.e., not a text-based terminal/console) as the tests attempt to open an X
110 window, and the tests can take an excessively long time.</para>
111
112 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
113
114<screen role="root"><userinput>make install &amp;&amp;
115install -v -m755 -d /usr/share/doc/gtk+-&gtk2-version;/{faq,tutorial} &amp;&amp;
116cp -v -R docs/faq/html/* /usr/share/doc/gtk+-&gtk2-version;/faq &amp;&amp;
117cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-&gtk2-version;/tutorial &amp;&amp;
118install -v -m644 docs/*.txt /usr/share/doc/gtk+-&gtk2-version;</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
126 configuration files into <filename class="directory">/etc</filename>
127 instead of <filename class="directory">/usr/etc</filename>.</para>
128
129 <para><option>--enable-gtk-doc</option>: This switch will rebuild
130 the API documentation during the <command>make</command> command. Ensure
131 you really want to rebuild this documentation (and end up with what is
132 already shipped in the source tree) as it takes a very long time.</para>
133
134 <para><option>--without-libtiff</option>: Use this switch if you
135 don't have <application>libtiff</application> installed.</para>
136
137 <para><option>--without-libjpeg</option>: Use this switch if you
138 don't have <application>libjpeg</application> installed.</para>
139
140 <para><option>--without-libjasper</option>: Use this switch if you
141 don't have <application>libjasper</application> installed.</para>
142
143 <para><parameter>--disable-static</parameter>: This switch prevents the
144 static libraries from being built.</para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders,
158 gtk-builder-convert, gtk-demo, gtk-query-immodules-2.0,
159 and gtk-update-icon-cache</seg>
160 <seg>libgailutil.so, libgdk-x11-2.0.so, libgdk_pixbuf-2.0.so,
161 libgdk_pixbuf_xlib-2.0.so, libgtk-x11-2.0.so, and numerous engine,
162 module, and loader plugins</seg>
163 <seg>/etc/gtk-2.0, /usr/include/gail-1.0, /usr/include/gtk-2.0,
164 /usr/include/gtk-unix-print-2.0, /usr/lib/gtk-2.0,
165 /usr/share/doc/gtk+-&gtk2-version;, /usr/share/gtk-2.0,
166 /usr/share/gtk-doc/html/{gail-libgail-util,gdk,gdk-pixbuf,gtk},
167 /usr/share/themes/Default/gtk*, /usr/share/themes/Emacs, and
168 /usr/share/themes/Raleigh</seg>
169 </seglistitem>
170 </segmentedlist>
171
172 <variablelist>
173 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
174 <?dbfo list-presentation="list"?>
175 <?dbhtml list-presentation="table"?>
176
177 <varlistentry id="gdk-pixbuf-csource">
178 <term><command>gdk-pixbuf-csource</command></term>
179 <listitem>
180 <para>generates C code containing images, useful for compiling
181 images directly into programs.</para>
182 <indexterm zone="gtk2 gdk-pixbuf-csource">
183 <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="gdk-pixbuf-query-loaders">
189 <term><command>gdk-pixbuf-query-loaders</command></term>
190 <listitem>
191 <para>collects information about loadable modules for gdk-pixbuf
192 and writes it to standard output.</para>
193 <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
194 <primary
195 sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="gtk-builder-convert">
201 <term><command>gtk-builder-convert</command></term>
202 <listitem>
203 <para>converts glade files into XML files which can be loaded with
204 GtkBuilder.</para>
205 <indexterm zone="gtk2 gtk-builder-convert">
206 <primary
207 sortas="b-gtk-builder-convert">gtk-builder-convert</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="gtk-demo">
213 <term><command>gtk-demo</command></term>
214 <listitem>
215 <para>demonstrates <application>GTK+</application> functionality and
216 provides code for the examples.</para>
217 <indexterm zone="gtk2 gtk-demo">
218 <primary
219 sortas="b-gtk-demo">gtk-demo</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="gtk-query-immodules-2.0">
225 <term><command>gtk-query-immodules-2.0</command></term>
226 <listitem>
227 <para>collects information about loadable input method modules for
228 <application>GTK+</application> and writes it to standard output.</para>
229 <indexterm zone="gtk2 gtk-query-immodules-2.0">
230 <primary
231 sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="gtk-update-icon-cache">
237 <term><command>gtk-update-icon-cache</command></term>
238 <listitem>
239 <para>creates mmap()able cache files for icon themes.</para>
240 <indexterm zone="gtk2 gtk-update-icon-cache">
241 <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="GTK2libs">
247 <term>GTK+ Libraries</term>
248 <listitem>
249 <para>provide an API to implement graphical user interfaces.</para>
250 <indexterm zone="gtk2 GTK2libs">
251 <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 </variablelist>
257
258 </sect2>
259
260</sect1>
Note: See TracBrowser for help on using the repository browser.