source: x/lib/gtk+3.xml@ 2d67b6b

elogind
Last change on this file since 2d67b6b was 770d149f, checked in by DJ Lucas <dj@…>, 5 years ago

Fix remainder of internal/extenal dependencies and unneeded differences between SysV and systemd.

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

  • Property mode set to 100644
File size: 17.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 gtk3-download-http "&gnome-download-http;/gtk+/&gnome-minor-24;/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/&gnome-minor-24;/gtk+-&gtk3-version;.tar.xz">
9 <!ENTITY gtk3-md5sum "eeedde01856238114dcf4df3ebc942a5">
10 <!ENTITY gtk3-size "21 MB">
11 <!ENTITY gtk3-buildsize "471 MB (including tests)">
12 <!ENTITY gtk3-time "1.8 SBU (using parallelism=4, add 0.3 SBU for tests)">
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
34 libraries used for creating graphical user interfaces for
35 applications.
36 </para>
37
38 &lfs84_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="fribidi"/>,
80 <xref linkend="gdk-pixbuf"/>,
81 <xref linkend="libepoxy"/>, and
82 <xref linkend="pango"/>
83<!-- does not seem to be needed anymore
84 <xref linkend="six"/>-->
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="adwaita-icon-theme"/> (default for some gtk+3 settings
90 keys, also needed for tests),
91 <xref linkend="hicolor-icon-theme"/> (needed for tests),
92 <xref linkend="iso-codes"/>,
93 <xref linkend="libxkbcommon"/>,
94 <xref linkend="wayland"/>, and
95 <xref linkend="wayland-protocols"/>
96 </para>
97
98 <bridgehead renderas="sect4">Recommended (Required if building GNOME)</bridgehead>
99 <para role="recommended">
100 <xref linkend="gobject-introspection"/>
101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <xref linkend="colord"/>,
106 <xref linkend="cups"/>,
107 <xref linkend="docbook-utils"/>,
108 <xref linkend="gtk-doc"/>,
109 <xref linkend="json-glib"/>,
110 <xref linkend="pyatspi2"/> (for tests),
111 <xref linkend="rest"/>, and
112 <ulink url="http://icl.cs.utk.edu/papi/">PAPI</ulink>
113 </para>
114
115 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of GTK+ 3</title>
122<!--
123 <note>
124 <para>
125 <application>GTK+ 3</application> will overwrite
126 <command>gtk-update-icon-cache</command> from <xref linkend="gtk2"/> if
127 it is installed. There is nothing wrong about that assuming that both
128 programs provide same functionality. If you wish to keep one from
129 <application>GTK+ 2</application> you can add
130 <option>- -enable-gtk2-dependency</option> to the
131 <command>configure</command> command.
132 </para>
133 </note>
134-->
135 <para>
136 Install <application>GTK+ 3</application> by running the following
137 commands:
138 </para>
139
140<screen><userinput>./configure --prefix=/usr \
141 --sysconfdir=/etc \
142 --enable-broadway-backend \
143 --enable-x11-backend \
144 --enable-wayland-backend &amp;&amp;
145make</userinput></screen>
146
147 <para>
148 Some tests fail if
149 <filename>/usr/share/glib-2.0/schemas/gschemas.compiled</filename> is not
150 found. If you wish to run the test suite, create (or update) the file
151 using the following command as the
152 <systemitem class="username">root</systemitem> user:
153 <command>glib-compile-schemas /usr/share/glib-2.0/schemas</command>.
154 </para>
155
156 <para>
157 To test the results you need a graphical session, then issue
158 <command>make -k check</command>. There are several tests that
159 have subtests that are known to fail: scrolledwindow, treeview,
160 accessibility-dump, test-css-nodes, and gtk-reftest.
161 Additionally many tests will fail if the current
162 gtk theme (such as current XFCE themes) has deprecated elements.
163 </para>
164
165 <para>
166 Now, as the <systemitem class="username">root</systemitem> user:
167 </para>
168
169<screen role="root"><userinput>make install</userinput></screen>
170
171 <note>
172 <para>
173 If you installed the package on to your system using a
174 <quote>DESTDIR</quote> method, an important file was not installed and
175 must be copied and/or generated. Generate it using the following
176 command as the <systemitem class="username">root</systemitem> user:
177 </para>
178
179<screen role="root"><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
180 </note>
181
182 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
183 href="../../xincludes/gsettings-destdir.xml"/>
184 </sect2>
185
186 <sect2 role="commands">
187 <title>Command Explanations</title>
188
189 <para>
190 <parameter>--enable-broadway-backend</parameter>: This switch enables the
191 HTML5 GTK backend.
192 </para>
193
194 <para>
195 <parameter>--enable-x11-backend</parameter>: This switch enables the X11
196 GDK backend.
197 </para>
198
199 <para>
200 <parameter>--enable-wayland-backend</parameter>: This switch
201 enables the Wayland GDK backend. Replace with
202 <option>--disable-wayland-backend</option> if you do not have
203 <xref linkend="wayland"/> and <xref linkend="wayland-protocols"/>
204 or you do not wish to build <application>GNOME</application> with Wayland
205 support. Other changes may be needed to allow the build to complete
206 without the wayland backend enabled. Note that a previous installation
207 of gtk+3 built with wayland will interfere with installation without
208 wayland. If this is desired, remove /usr/lib//usr/lib/libgtk-3* before
209 installation.
210 </para>
211
212 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
213 href="../../xincludes/gtk-doc-rebuild.xml"/>
214
215 </sect2>
216
217 <sect2 role="configuration">
218 <title>Configuring GTK+ 3</title>
219
220 <sect3 id="gtk3-config">
221 <title>Config Files</title>
222 <para>
223 <filename>~/.config/gtk-3.0/settings.ini</filename> and
224 <filename>/etc/gtk-3.0/settings.ini</filename>
225 </para>
226
227 <indexterm zone="gtk3 gtk3-config">
228 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
229 </indexterm>
230
231 <indexterm zone="gtk3 gtk3-config">
232 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
233 </indexterm>
234 </sect3>
235
236 <sect3><title>Configuration Information</title>
237
238 <para>
239 <application>GTK+ 3</application> themes change the way a
240 <application>GTK+ 3</application> application looks. An icon theme can
241 be used to change the icons that appear on the application's toolbar.
242 If you have installed a <application>GTK+ 3</application> theme (e.g.
243 <xref linkend="gnome-themes-extra"/>), an icon theme (such as <xref
244 linkend="oxygen-icons5"/>) and/or a font (<xref linkend="dejavu-fonts"/>),
245 you can set your preferences in <filename>~/.config/gtk-3.0/settings.ini</filename>,
246 or the default system wide configuration file (as the <systemitem
247 class="username">root</systemitem> user), in
248 <filename>/etc/gtk-3.0/settings.ini</filename>. For the local user an
249 example is:
250 </para>
251
252<screen><userinput>mkdir -vp ~/.config/gtk-3.0
253cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
254<literal>[Settings]
255gtk-theme-name = <replaceable>Adwaita</replaceable>
256gtk-icon-theme-name = <replaceable>oxygen</replaceable>
257gtk-font-name = <replaceable>DejaVu Sans 12</replaceable>
258gtk-cursor-theme-size = <replaceable>18</replaceable>
259gtk-toolbar-style = <replaceable>GTK_TOOLBAR_BOTH_HORIZ</replaceable>
260gtk-xft-antialias = <replaceable>1</replaceable>
261gtk-xft-hinting = <replaceable>1</replaceable>
262gtk-xft-hintstyle = <replaceable>hintslight</replaceable>
263gtk-xft-rgba = <replaceable>rgb</replaceable>
264gtk-cursor-theme-name = <replaceable>Adwaita</replaceable></literal>
265EOF</userinput></screen>
266
267 <para>
268 There are many settings keys, some with default values. You can find
269 them at <ulink
270 url="https://developer.gnome.org/gtk3/stable/GtkSettings.html">Settings:
271 GTK+ 3 Reference Manual</ulink>. There are many more themes available at
272 <ulink url="http://gnome-look.org/"/> and other places.
273 </para>
274
275 </sect3>
276 </sect2>
277
278 <sect2 role="content">
279 <title>Contents</title>
280
281 <segmentedlist>
282 <segtitle>Installed Programs</segtitle>
283 <segtitle>Installed Libraries</segtitle>
284 <segtitle>Installed Directories</segtitle>
285
286 <seglistitem>
287 <seg>
288 broadwayd,
289 gtk3-demo,
290 gtk3-demo-application,
291 gtk3-icon-browser,
292 gtk3-widget-factory,
293 gtk-builder-tool,
294 gtk-encode-symbolic-svg,
295 gtk-launch,
296 gtk-query-immodules-3.0,
297 gtk-query-settings, and
298 gtk-update-icon-cache
299 </seg>
300 <seg>
301 libgailutil-3.so, libgdk-3.so, and libgtk-3.so
302 </seg>
303 <seg>
304 /etc/gtk-3.0,
305 /usr/include/{gail,gtk}-3.0,
306 /usr/{lib,share}/gtk-3.0,
307 /usr/share/gtk-doc/html/{gail-libgail-util,gdk,gtk}3, and
308 /usr/share/themes/{Default,Emacs}/gtk-3.0
309 </seg>
310 </seglistitem>
311 </segmentedlist>
312
313 <variablelist>
314 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
315 <?dbfo list-presentation="list"?>
316 <?dbhtml list-presentation="table"?>
317
318 <varlistentry id="broadwayd">
319 <term><command>broadwayd</command></term>
320 <listitem>
321 <para>
322 provides support for displaying
323 <application>GTK+ 3</application> applications in a web browser,
324 using HTML5 and web sockets.
325 </para>
326 <indexterm zone="gtk3 broadwayd">
327 <primary sortas="b-broadwayd">broadwayd</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="gtk3-demo">
333 <term><command>gtk3-demo</command></term>
334 <listitem>
335 <para>
336 is a simple program that demonstrates some of the tasks that can be
337 done with <application>GTK+ 3</application>
338 </para>
339 <indexterm zone="gtk3 gtk3-demo">
340 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry id="gtk3-demo-application">
346 <term><command>gtk3-demo-application</command></term>
347 <listitem>
348 <para>
349 is a simple <application>GTK+ 3</application> application.
350 </para>
351 <indexterm zone="gtk3 gtk3-demo-application">
352 <primary sortas="b-gtk3-demo-application">gtk3-demo-application</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="gtk3-icon-browser">
358 <term><command>gtk3-icon-browser</command></term>
359 <listitem>
360 <para>
361 is a utility to explore the icons in the current icon theme. It
362 shows icons in various sizes, their symbolic variants where
363 available, as well as a description of the icon and its context.
364 </para>
365 <indexterm zone="gtk3 gtk3-icon-browser">
366 <primary sortas="b-gtk3-icon-browser">gtk3-icon-browser</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="gtk3-widget-factory">
372 <term><command>gtk3-widget-factory</command></term>
373 <listitem>
374 <para>
375 is a program to view <application>GTK+ 3</application> themes and widgets.
376 </para>
377 <indexterm zone="gtk3 gtk3-widget-factory">
378 <primary sortas="b-gtk3-widget-factory">gtk3-widget-factory</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="gtk-builder-tool">
384 <term><command>gtk-builder-tool</command></term>
385 <listitem>
386 <para>
387 can perform various operations on GtkBuilder .ui files.
388 </para>
389 <indexterm zone="gtk3 gtk-builder-tool">
390 <primary sortas="b-gtk-builder-tool">gtk-builder-tool</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="gtk-encode-symbolic-svg">
396 <term><command>gtk-encode-symbolic-svg</command></term>
397 <listitem>
398 <para>
399 converts symbolic svg icons into specially prepared png files.
400 <application>GTK+ 3</application> can load and recolor these pngs,
401 just like original svgs, but loading them is much faster.
402 </para>
403 <indexterm zone="gtk3 gtk-encode-symbolic-svg">
404 <primary sortas="b-gtk-encode-symbolic-svg">gtk-encode-symbolic-svg</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="gtk-launch">
410 <term><command>gtk-launch</command></term>
411 <listitem>
412 <para>
413 launches an application using the given name. The name should match
414 the application desktop file name, as residing in
415 <filename class="directory">/usr/share/applications</filename>, with
416 or without the '.desktop' suffix.
417 </para>
418 <indexterm zone="gtk3 gtk-launch">
419 <primary sortas="b-gtk-launch">gtk-launch</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="gtk-query-immodules-3.0">
425 <term><command>gtk-query-immodules-3.0</command></term>
426 <listitem>
427 <para>
428 collects information about loadable input method modules for
429 <application>GTK+ 3</application> and writes it to the default cache
430 file location, or to standard output.
431 </para>
432 <indexterm zone="gtk3 gtk-query-immodules-3.0">
433 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="gtk-query-settings">
439 <term><command>gtk-query-settings</command></term>
440 <listitem>
441 <para>
442 provides a complete listing of all settings related to
443 <application>GTK+ 3</application>
444 </para>
445 <indexterm zone="gtk3 gtk-query-settings">
446 <primary sortas="b-gtk-query-settings">gtk-query-settings</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
451 <varlistentry id="gtk-update-icon-cache3">
452 <term><command>gtk-update-icon-cache</command></term>
453 <listitem>
454 <para>
455 is an icon theme caching utility that creates mmap()able cache files
456 for icon themes.
457 </para>
458 <indexterm zone="gtk3 gtk-update-icon-cache3">
459 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
460 </indexterm>
461 </listitem>
462 </varlistentry>
463
464 <varlistentry id="libgailutil-3">
465 <term><filename class="libraryfile">libgailutil-3.so</filename></term>
466 <listitem>
467 <para>
468 contains functions that implement the accessibility interfaces
469 defined by the <application>GNOME</application> Accessibility
470 Toolkit.
471 </para>
472 <indexterm zone="gtk3 libgailutil-3">
473 <primary sortas="c-libgailutil-3">libgailutil-3.so</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="libgdk-3">
479 <term><filename class="libraryfile">libgdk-3.so</filename></term>
480 <listitem>
481 <para>
482 contains functions that act as a wrapper around the low-level
483 drawing and windowing functions provided by the underlying graphics
484 system.
485 </para>
486 <indexterm zone="gtk3 libgdk-3">
487 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="libgtk-3">
493 <term><filename class="libraryfile">libgtk-3.so</filename></term>
494 <listitem>
495 <para>
496 contains functions that provide an API to implement graphical user
497 interfaces.
498 </para>
499 <indexterm zone="gtk3 libgtk-3">
500 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
501 </indexterm>
502 </listitem>
503 </varlistentry>
504
505 </variablelist>
506
507 </sect2>
508
509</sect1>
Note: See TracBrowser for help on using the repository browser.