source: x/lib/gtk+3.xml@ 35d0635

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 35d0635 was 35d0635, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to gtk+-3.8.2

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

  • Property mode set to 100644
File size: 12.2 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 gtk3-download-http "&gnome-download-http;/gtk+/3.8/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.8/gtk+-&gtk3-version;.tar.xz">
9 <!ENTITY gtk3-md5sum "8e878e18fc385f2b813419dc7b40a968">
10 <!ENTITY gtk3-size "13 MB">
11 <!ENTITY gtk3-buildsize "327 MB">
12 <!ENTITY gtk3-time "4.0 SBU (Additional 0.8 SBU for the test suite)">
13]>
14
15<sect1 id="gtk3" xreflabel="GTK+-&gtk3-version;">
16 <?dbhtml filename="gtk3.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GTK+-&gtk3-version;</title>
24
25 <indexterm zone="gtk3">
26 <primary sortas="a-GTK+3">GTK+3</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GTK+ 3</title>
31
32 <para>
33 The <application>GTK+ 3</application> package contains the
34 libraries used for creating graphical user interfaces for
35 applications.
36 </para>
37
38 &lfs73_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&gtk3-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&gtk3-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &gtk3-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &gtk3-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &gtk3-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &gtk3-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">GTK+ 3 Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="at-spi2-atk"/>,
79 <xref linkend="gdk-pixbuf"/> and
80 <xref linkend="pango"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
84 <para role="optional">
85 <xref linkend="gobject-introspection"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="colord"/>,
91 <xref linkend="cups"/>,
92 <xref linkend="docbook-utils"/> and
93 <xref linkend="gtk-doc"/>
94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of GTK+ 3</title>
103
104 <note>
105 <para>
106 <application>GTK+ 3</application> will overwrite
107 <command>gtk-update-icon-cache</command> from
108 <xref linkend="gtk2"/> if it is installed.
109 There is nothing wrong about that assuming
110 that both programs provide same functionality.
111 If you wish to keep one from
112 <application>GTK+ 2</application> you can add
113 <option>--enable-gtk2-dependency</option> to the
114 <command>configure</command> command.
115 </para>
116 </note>
117
118 <para>
119 Install <application>GTK+ 3</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 Three tests are known to fail. To test the results:
128 </para>
129
130<!-- notes: failures in
131rm tests/a11y/pickers.ui
132rm tests/reftests/image-load-from-file.ui
133one test in gtk/tests/filechooser.c -->
134
135<screen><userinput>make -k check</userinput></screen>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>make install</userinput></screen>
142
143 <note>
144 <para>
145 If you installed the package on to your system using a
146 <quote>DESTDIR</quote> method, an important file was not installed and
147 must be copied and/or generated. Generate it using the following
148 command as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
152 </note>
153
154 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
155 href="../../xincludes/gsettings-destdir.xml"/>
156 </sect2>
157
158 <sect2 role="commands">
159 <title>Command Explanations</title>
160
161 <para>
162 <option>--disable-packagekit</option>: switch disables use
163 of PackageKit which isn't needed for BLFS.
164 </para>
165
166 <para>
167 <command>rm tests/a11y/pickers.ui</command>: This prevents test
168 being run as it is known to fail.
169 </para>
170
171 </sect2>
172
173 <sect2 role="configuration">
174 <title>Configuring GTK+ 3</title>
175
176 <sect3 id="gtk3-config">
177 <title>Config Files</title>
178 <para>
179 <filename>~/.config/gtk-3.0/settings.ini</filename> and
180 <filename>/etc/gtk-3.0/settings.ini</filename>
181 </para>
182
183 <indexterm zone="gtk3 gtk3-config">
184 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
185 </indexterm>
186
187 <indexterm zone="gtk3 gtk3-config">
188 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
189 </indexterm>
190 </sect3>
191
192 <sect3><title>Configuration Information</title>
193
194 <para>
195 <application>GTK+ 3</application> themes change the way a
196 <application>GTK+ 3</application> application looks. An icon theme can be
197 used to change the icons that appear on the application's toolbar. If
198 you have installed a <application>GTK+ 3</application> theme (eg
199 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
200 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
201 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
202 </para>
203
204<screen><userinput>mkdir -p ~/.config/gtk-3.0 &amp;&amp;
205cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
206[Settings]
207gtk-theme-name = <replaceable>Adwaita</replaceable>
208gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
209EOF</userinput></screen>
210
211 <para>
212 There are many more themes available at
213 <ulink url="http://gnome-look.org/"/> and other places.
214 </para>
215
216 <para>
217 Once you've settled on themes you like, you can (as the
218 <systemitem class="username">root</systemitem> user) make them the
219 default system wide:
220 </para>
221
222<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"
223[Settings]
224gtk-theme-name = <replaceable>Clearwaita</replaceable>
225gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
226EOF</userinput></screen>
227 </sect3>
228 </sect2>
229
230 <sect2 role="content">
231 <title>Contents</title>
232
233 <segmentedlist>
234 <segtitle>Installed Programs</segtitle>
235 <segtitle>Installed Libraries</segtitle>
236 <segtitle>Installed Directories</segtitle>
237
238 <seglistitem>
239 <seg>
240 gtk-launch,
241 gtk-query-immodules-3.0,
242 gtk-update-icon-cache,
243 gtk3-demo,
244 gtk3-demo-application, and
245 gtk3-widget-factory
246 </seg>
247 <seg>
248 libgailutil.so, libgdk-3.so, and libgtk-3.so
249 </seg>
250 <seg>
251 /etc/gtk-3.0,
252 /usr/include/gail-3.0,
253 /usr/include/gtk-3.0,
254 /usr/lib/gtk-3.0,
255 /usr/share/gtk-3.0, and
256 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}
257 </seg>
258 </seglistitem>
259 </segmentedlist>
260
261 <variablelist>
262 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
263 <?dbfo list-presentation="list"?>
264 <?dbhtml list-presentation="table"?>
265
266 <varlistentry id="gtk-launch">
267 <term><command>gtk-launch</command></term>
268 <listitem>
269 <para>
270 launches an application using the given name. The name should match
271 application desktop file name, as residing in
272 <filename class="directory">/usr/share/application</filename>, with
273 or without the '.desktop' suffix.
274 </para>
275 <indexterm zone="gtk3 gtk-launch">
276 <primary sortas="b-gtk-launch">gtk-launch</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="gtk-query-immodules-3.0">
282 <term><command>gtk-query-immodules-3.0</command></term>
283 <listitem>
284 <para>
285 collects information about loadable input method modules for
286 <application>GTK+ 3</application> and writes it to the default cache
287 file location, or to standard output.
288 </para>
289 <indexterm zone="gtk3 gtk-query-immodules-3.0">
290 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="gtk-update-icon-cache3">
296 <term><command>gtk-update-icon-cache</command></term>
297 <listitem>
298 <para>
299 is an icon theme caching utility that creates mmap()able cache files
300 for icon themes.
301 </para>
302 <indexterm zone="gtk3 gtk-update-icon-cache3">
303 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="gtk3-demo">
309 <term><command>gtk3-demo</command></term>
310 <listitem>
311 <para>
312 is a simple program that demonstrates some of the things that can be
313 done with <application>GTK+ 3</application>
314 </para>
315 <indexterm zone="gtk3 gtk3-demo">
316 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="gtk3-demo-application">
322 <term><command>gtk3-demo-application</command></term>
323 <listitem>
324 <para>
325 is a simple <application>GTK+ 3</application> application.
326 </para>
327 <indexterm zone="gtk3 gtk3-demo-application">
328 <primary sortas="b-gtk3-demo-application">gtk3-demo-application</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="gtk3-widget-factory">
334 <term><command>gtk3-widget-factory</command></term>
335 <listitem>
336 <para>
337 is a program to view <application>GTK+ 3</application> themes and widgets.
338 </para>
339 <indexterm zone="gtk3 gtk3-widget-factory">
340 <primary sortas="b-gtk3-widget-factory">gtk3-widget-factory</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry id="libgailutil-3">
346 <term><filename class="libraryfile">libgailutil-3.so</filename></term>
347 <listitem>
348 <para>
349 contains functions that implements the accessibility interfaces
350 defined by the <application>GNOME</application> Accessibility
351 Toolkit.
352 </para>
353 <indexterm zone="gtk3 libgailutil-3">
354 <primary sortas="c-libgailutil-3">libgailutil-3.so</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 <varlistentry id="libgdk-3">
360 <term><filename class="libraryfile">libgdk-3.so</filename></term>
361 <listitem>
362 <para>
363 contains functions that act as a wrapper around the low-level
364 drawing and windowing functions provided by the underlying graphics
365 system.
366 </para>
367 <indexterm zone="gtk3 libgdk-3">
368 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="libgtk-3">
374 <term><filename class="libraryfile">libgtk-3.so</filename></term>
375 <listitem>
376 <para>
377 contains functions that provide an API to implement graphical user
378 interfaces.
379 </para>
380 <indexterm zone="gtk3 libgtk-3">
381 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 </variablelist>
387
388 </sect2>
389
390</sect1>
Note: See TracBrowser for help on using the repository browser.