source: x/lib/gtk+3.xml@ a8e57cb

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

Update to gtk+-3.10.0
Update to gdk-pixbuf-2.30.0
Update to pango-1.36.0
Update to at-spi2-{core,atk}-2.10.0

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

  • Property mode set to 100644
File size: 12.4 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 "f5148a330886b906ba0eb7842409d93f">
10 <!ENTITY gtk3-size "13 MB">
11 <!ENTITY gtk3-buildsize "342 MB">
12 <!ENTITY gtk3-time "3.2 SBU (Additional 0.5 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 &lfs74_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"/>,
93 <xref linkend="gtk-doc"/>,
94 <ulink url="http://xkbcommon.org/">libxkbcommon</ulink>, and
95 <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
96 </para>
97
98 <para condition="html" role="usernotes">
99 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of GTK+ 3</title>
105
106 <note>
107 <para>
108 <application>GTK+ 3</application> will overwrite
109 <command>gtk-update-icon-cache</command> from <xref linkend="gtk2"/> if
110 it is installed. There is nothing wrong about that assuming that both
111 programs provide same functionality. 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>
124./configure --prefix=/usr \
125 --sysconfdir=/etc \
126 --disable-wayland-backend \
127 --enable-x11-backend \
128 --enable-broadway-backend &amp;&amp;
129make</userinput></screen>
130
131 <para>
132 To test the results:
133 </para>
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-wayland-backend</option>: switch disables tests for
163 Wayland which isn't available on BLFS.
164 </para>
165
166 <para>
167 <option>--enable-x11-backend</option>: switch enables the X11 gdk backend.
168 </para>
169
170 <para>
171 <option>--enable-broadway-backend</option>: switch enables the HTML5 gdk backend.
172 </para>
173
174 </sect2>
175
176 <sect2 role="configuration">
177 <title>Configuring GTK+ 3</title>
178
179 <sect3 id="gtk3-config">
180 <title>Config Files</title>
181 <para>
182 <filename>~/.config/gtk-3.0/settings.ini</filename> and
183 <filename>/etc/gtk-3.0/settings.ini</filename>
184 </para>
185
186 <indexterm zone="gtk3 gtk3-config">
187 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
188 </indexterm>
189
190 <indexterm zone="gtk3 gtk3-config">
191 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
192 </indexterm>
193 </sect3>
194
195 <sect3><title>Configuration Information</title>
196
197 <para>
198 <application>GTK+ 3</application> themes change the way a
199 <application>GTK+ 3</application> application looks. An icon theme can be
200 used to change the icons that appear on the application's toolbar. If
201 you have installed a <application>GTK+ 3</application> theme (eg
202 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
203 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
204 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
205 </para>
206
207<screen><userinput>mkdir -p ~/.config/gtk-3.0 &amp;&amp;
208cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
209[Settings]
210gtk-theme-name = <replaceable>Adwaita</replaceable>
211gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
212EOF</userinput></screen>
213
214 <para>
215 There are many more themes available at
216 <ulink url="http://gnome-look.org/"/> and other places.
217 </para>
218
219 <para>
220 Once you've settled on themes you like, you can (as the
221 <systemitem class="username">root</systemitem> user) make them the
222 default system wide:
223 </para>
224
225<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"
226[Settings]
227gtk-theme-name = <replaceable>Clearwaita</replaceable>
228gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
229EOF</userinput></screen>
230 </sect3>
231 </sect2>
232
233 <sect2 role="content">
234 <title>Contents</title>
235
236 <segmentedlist>
237 <segtitle>Installed Programs</segtitle>
238 <segtitle>Installed Libraries</segtitle>
239 <segtitle>Installed Directories</segtitle>
240
241 <seglistitem>
242 <seg>
243 gtk-launch,
244 gtk-query-immodules-3.0,
245 gtk-update-icon-cache,
246 gtk3-demo,
247 gtk3-demo-application, and
248 gtk3-widget-factory
249 </seg>
250 <seg>
251 libgailutil.so, libgdk-3.so, and libgtk-3.so
252 </seg>
253 <seg>
254 /etc/gtk-3.0,
255 /usr/include/gail-3.0,
256 /usr/include/gtk-3.0,
257 /usr/lib/gtk-3.0,
258 /usr/share/gtk-3.0, and
259 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}
260 </seg>
261 </seglistitem>
262 </segmentedlist>
263
264 <variablelist>
265 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
266 <?dbfo list-presentation="list"?>
267 <?dbhtml list-presentation="table"?>
268
269 <varlistentry id="gtk-launch">
270 <term><command>gtk-launch</command></term>
271 <listitem>
272 <para>
273 launches an application using the given name. The name should match
274 application desktop file name, as residing in
275 <filename class="directory">/usr/share/application</filename>, with
276 or without the '.desktop' suffix.
277 </para>
278 <indexterm zone="gtk3 gtk-launch">
279 <primary sortas="b-gtk-launch">gtk-launch</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="gtk-query-immodules-3.0">
285 <term><command>gtk-query-immodules-3.0</command></term>
286 <listitem>
287 <para>
288 collects information about loadable input method modules for
289 <application>GTK+ 3</application> and writes it to the default cache
290 file location, or to standard output.
291 </para>
292 <indexterm zone="gtk3 gtk-query-immodules-3.0">
293 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="gtk-update-icon-cache3">
299 <term><command>gtk-update-icon-cache</command></term>
300 <listitem>
301 <para>
302 is an icon theme caching utility that creates mmap()able cache files
303 for icon themes.
304 </para>
305 <indexterm zone="gtk3 gtk-update-icon-cache3">
306 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="gtk3-demo">
312 <term><command>gtk3-demo</command></term>
313 <listitem>
314 <para>
315 is a simple program that demonstrates some of the things that can be
316 done with <application>GTK+ 3</application>
317 </para>
318 <indexterm zone="gtk3 gtk3-demo">
319 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="gtk3-demo-application">
325 <term><command>gtk3-demo-application</command></term>
326 <listitem>
327 <para>
328 is a simple <application>GTK+ 3</application> application.
329 </para>
330 <indexterm zone="gtk3 gtk3-demo-application">
331 <primary sortas="b-gtk3-demo-application">gtk3-demo-application</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="gtk3-widget-factory">
337 <term><command>gtk3-widget-factory</command></term>
338 <listitem>
339 <para>
340 is a program to view <application>GTK+ 3</application> themes and widgets.
341 </para>
342 <indexterm zone="gtk3 gtk3-widget-factory">
343 <primary sortas="b-gtk3-widget-factory">gtk3-widget-factory</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="libgailutil-3">
349 <term><filename class="libraryfile">libgailutil-3.so</filename></term>
350 <listitem>
351 <para>
352 contains functions that implements the accessibility interfaces
353 defined by the <application>GNOME</application> Accessibility
354 Toolkit.
355 </para>
356 <indexterm zone="gtk3 libgailutil-3">
357 <primary sortas="c-libgailutil-3">libgailutil-3.so</primary>
358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="libgdk-3">
363 <term><filename class="libraryfile">libgdk-3.so</filename></term>
364 <listitem>
365 <para>
366 contains functions that act as a wrapper around the low-level
367 drawing and windowing functions provided by the underlying graphics
368 system.
369 </para>
370 <indexterm zone="gtk3 libgdk-3">
371 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="libgtk-3">
377 <term><filename class="libraryfile">libgtk-3.so</filename></term>
378 <listitem>
379 <para>
380 contains functions that provide an API to implement graphical user
381 interfaces.
382 </para>
383 <indexterm zone="gtk3 libgtk-3">
384 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 </variablelist>
390
391 </sect2>
392
393</sect1>
Note: See TracBrowser for help on using the repository browser.