source: x/lib/gtk+3.xml@ 94936bac

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 94936bac was 94936bac, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to gtk+-3.10.5.

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

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