source: x/lib/gtk3.xml@ 288406c7

systemd-13485
Last change on this file since 288406c7 was a7e1ac8, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update the ENTIRE Part VI (X/X Libraries/Window Managers) Section.
Note that I will have to return to QT5 when I work on updating KDE5
And the same applies to WebkitGTK when I update GNOME.

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

  • Property mode set to 100644
File size: 15.2 KB
RevLine 
[76a07db]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
[df72afb4]7 <!ENTITY gtk3-download-http "&gnome-download-http;/gtk+/3.18/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.18/gtk+-&gtk3-version;.tar.xz">
[a7e1ac8]9 <!ENTITY gtk3-md5sum "e1c41ad4a6012d703a80f7423acf186e">
10 <!ENTITY gtk3-size "19 MB">
11 <!ENTITY gtk3-buildsize "515 MB (with tests)">
12 <!ENTITY gtk3-time "6.5 SBU (with tests)">
[76a07db]13]>
14
[a2912ff]15<sect1 id="gtk3" xreflabel="GTK+-&gtk3-version;">
[76a07db]16 <?dbhtml filename="gtk3.html"?>
17
18 <sect1info>
[7e2c95d]19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[76a07db]21 </sect1info>
22
[a2912ff]23 <title>GTK+-&gtk3-version;</title>
[76a07db]24
25 <indexterm zone="gtk3">
[d356833]26 <primary sortas="a-GTK+3">GTK+3</primary>
[76a07db]27 </indexterm>
28
29 <sect2 role="package">
[a2912ff]30 <title>Introduction to GTK+ 3</title>
[76a07db]31
[ce9d22a]32 <para>
[7d511f08]33 The <application>GTK+ 3</application> package contains a set of
[a2912ff]34 libraries used for creating graphical user interfaces for
35 applications.
[ce9d22a]36 </para>
[76a07db]37
[df72afb4]38 &lfs78_checked;
[76a07db]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[ce9d22a]43 <para>
44 Download (HTTP): <ulink url="&gtk3-download-http;"/>
45 </para>
[76a07db]46 </listitem>
47 <listitem>
[ce9d22a]48 <para>
49 Download (FTP): <ulink url="&gtk3-download-ftp;"/>
50 </para>
[76a07db]51 </listitem>
52 <listitem>
[ce9d22a]53 <para>
54 Download MD5 sum: &gtk3-md5sum;
55 </para>
[76a07db]56 </listitem>
57 <listitem>
[ce9d22a]58 <para>
59 Download size: &gtk3-size;
60 </para>
[76a07db]61 </listitem>
62 <listitem>
[ce9d22a]63 <para>
64 Estimated disk space required: &gtk3-buildsize;
65 </para>
[76a07db]66 </listitem>
67 <listitem>
[ce9d22a]68 <para>
69 Estimated build time: &gtk3-time;
70 </para>
[76a07db]71 </listitem>
72 </itemizedlist>
73
[a2912ff]74 <bridgehead renderas="sect3">GTK+ 3 Dependencies</bridgehead>
[76a07db]75
76 <bridgehead renderas="sect4">Required</bridgehead>
[ce9d22a]77 <para role="required">
[d356833]78 <xref linkend="at-spi2-atk"/>,
[d432b7a]79 <xref linkend="gdk-pixbuf"/>, and
[742b99e]80 <xref linkend="pango"/>
81 </para>
82
[8692448]83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
[ac38e9dc]85 <xref linkend="hicolor-icon-theme"/>,
[8692448]86 <xref linkend="libxkbcommon"/> and
87 <xref linkend="wayland"/>
88 </para>
89
[4c2be438]90 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
91 <para role="optional">
92 <xref linkend="gobject-introspection"/>
93 </para>
94
[76a07db]95 <bridgehead renderas="sect4">Optional</bridgehead>
[ce9d22a]96 <para role="optional">
[ac38e9dc]97 <xref linkend="adwaita-icon-theme"/> (needed to run some tests),
[b7a80c66]98 <xref linkend="colord"/>,
[ce9d22a]99 <xref linkend="cups"/>,
[7ea83d7]100 <xref linkend="docbook-utils"/>,
101 <xref linkend="gtk-doc"/>,
[8692448]102 <xref linkend="json-glib"/>, and
[ac38e9dc]103 <xref linkend="rest"/>
[ce9d22a]104 </para>
105
106 <para condition="html" role="usernotes">
107 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
108 </para>
[76a07db]109 </sect2>
110
111 <sect2 role="installation">
[a2912ff]112 <title>Installation of GTK+ 3</title>
[76a07db]113
[ce9d22a]114 <para>
[a2912ff]115 Install <application>GTK+ 3</application> by running the following
[ce9d22a]116 commands:
117 </para>
[76a07db]118
[f82ac3f]119<screen><userinput>./configure --prefix=/usr \
[a8e57cb]120 --sysconfdir=/etc \
[f82ac3f]121 --enable-broadway-backend \
[8692448]122 --enable-wayland-backend \
123 --enable-x11-backend &amp;&amp;
[76a07db]124make</userinput></screen>
125
[b4ec1126]126 <para>
[ac38e9dc]127 Some tests may fail if
[b4ec1126]128 <filename>/usr/share/glib-2.0/schemas/gschemas.compiled</filename> is not
129 found. If you wish to run the test suite, create (or update) the file
130 using the following command as the
131 <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>glib-compile-schemas /usr/share/glib-2.0/schemas</userinput></screen>
135
[a7e1ac8]136 <para>
137 If <filename>flipping-icons.ui</filename> test fails, remove it with
138 <command>rm -v testsuite/reftests/flipping-icons.ui</command>
139 </para>
140
[ce9d22a]141 <para>
[dac0ab8]142 To test the results, issue <command>make check</command>.
[ce9d22a]143 </para>
[76a07db]144
[ce9d22a]145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
[76a07db]148
149<screen role="root"><userinput>make install</userinput></screen>
[2ffe965]150
151 <note>
152 <para>
153 If you installed the package on to your system using a
[6c13e98]154 <quote>DESTDIR</quote> method, an important file was not installed and
[2ffe965]155 must be copied and/or generated. Generate it using the following
156 command as the <systemitem class="username">root</systemitem> user:
157 </para>
158
159<screen role="root"><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
160 </note>
[bc9797f]161
162 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
163 href="../../xincludes/gsettings-destdir.xml"/>
[76a07db]164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
[ce9d22a]169 <para>
[8692448]170 <parameter>--enable-broadway-backend</parameter>: This switch enables the
171 Broadway HTML5 GDK backend.
[a8e57cb]172 </para>
173
174 <para>
[8692448]175 <parameter>--enable-wayland-backend</parameter>: This switch enables the
176 Wayland GDK backend which is required for <application>GNOME</application>
177 Wayland support. Remove it if you have not installed the recommended
178 dependencies.
[ce9d22a]179 </para>
[76a07db]180
[ce9d22a]181 <para>
[8692448]182 <parameter>--enable-x11-backend</parameter>: This switch enables the
183 X11 GDK backend.
[ce9d22a]184 </para>
[2ffe965]185
[94936bac]186 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
187 href="../../xincludes/gtk-doc-rebuild.xml"/>
188
[76a07db]189 </sect2>
190
191 <sect2 role="configuration">
[a2912ff]192 <title>Configuring GTK+ 3</title>
[76a07db]193
194 <sect3 id="gtk3-config">
195 <title>Config Files</title>
[ce9d22a]196 <para>
197 <filename>~/.config/gtk-3.0/settings.ini</filename> and
198 <filename>/etc/gtk-3.0/settings.ini</filename>
199 </para>
[76a07db]200
201 <indexterm zone="gtk3 gtk3-config">
202 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
203 </indexterm>
204
205 <indexterm zone="gtk3 gtk3-config">
206 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
207 </indexterm>
208 </sect3>
209
210 <sect3><title>Configuration Information</title>
211
[ce9d22a]212 <para>
[a2912ff]213 <application>GTK+ 3</application> themes change the way a
[ac38e9dc]214 <application>GTK+ 3</application> application looks. An icon theme can
215 be used to change the icons that appear on the application's toolbar.
216 If you have installed a <application>GTK+ 3</application> theme (eg
[ce9d22a]217 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
[ac38e9dc]218 <xref linkend="adwaita-icon-theme"/>) you can set your prefences in
[ebee860]219 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
[ce9d22a]220 </para>
[76a07db]221
[4520f55]222<screen><userinput>mkdir -p ~/.config/gtk-3.0 &amp;&amp;
223cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
[a7e1ac8]224<literal>[Settings]
[76a07db]225gtk-theme-name = <replaceable>Adwaita</replaceable>
[ac38e9dc]226gtk-icon-theme-name = <replaceable>Adwaita</replaceable>
[a7e1ac8]227gtk-font-name = <replaceable>DejaVu Sans 12</replaceable>
228gtk-cursor-theme-size = <replaceable>18</replaceable>
229gtk-toolbar-style = <replaceable>GTK_TOOLBAR_BOTH_HORIZ</replaceable>
230gtk-xft-antialias = <replaceable>1</replaceable>
231gtk-xft-hinting = <replaceable>1</replaceable>
232gtk-xft-hintstyle = <replaceable>hintslight</replaceable>
233gtk-xft-rgba = <replaceable>rgb</replaceable>
234gtk-cursor-theme-names = <replaceable>Adwaita</replaceable></literal>
[76a07db]235EOF</userinput></screen>
236
[ce9d22a]237 <para>
238 There are many more themes available at
239 <ulink url="http://gnome-look.org/"/> and other places.
240 </para>
[76a07db]241
[ce9d22a]242 <para>
243 Once you've settled on themes you like, you can (as the
244 <systemitem class="username">root</systemitem> user) make them the
245 default system wide:
246 </para>
[76a07db]247
[5bfcda01]248<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"
249[Settings]
[76a07db]250gtk-theme-name = <replaceable>Clearwaita</replaceable>
251gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
252EOF</userinput></screen>
253 </sect3>
254 </sect2>
255
256 <sect2 role="content">
257 <title>Contents</title>
258
259 <segmentedlist>
260 <segtitle>Installed Programs</segtitle>
261 <segtitle>Installed Libraries</segtitle>
262 <segtitle>Installed Directories</segtitle>
263
264 <seglistitem>
[ce9d22a]265 <seg>
[a7e1ac8]266 broadwayd,
267 gtk3-demo,
268 gtk3-demo-application,
269 gtk3-icon-browser,
270 gtk3-widget-factory,
271 gtk-builder-tool,
272 gtk-encode-symbolic-svg,
273 gtk-launch,
274 gtk-query-immodules-3.0,
275 and gtk-update-icon-cache
[742b99e]276 </seg>
277 <seg>
[a7e1ac8]278 libgailutil-3.so,
279 libgdk-3.so,
280 and libgtk-3.so
[742b99e]281 </seg>
282 <seg>
[0d7900a]283 /etc/gtk-3.0,
[d356833]284 /usr/include/gail-3.0,
285 /usr/include/gtk-3.0,
[0d7900a]286 /usr/lib/gtk-3.0,
[e68334e]287 /usr/share/gtk-3.0,
288 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}, and
289 /usr/share/themes/{Default,Emacs}/gtk-3.0
[ce9d22a]290 </seg>
[76a07db]291 </seglistitem>
292 </segmentedlist>
293
294 <variablelist>
295 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
296 <?dbfo list-presentation="list"?>
297 <?dbhtml list-presentation="table"?>
298
[e68334e]299 <varlistentry id="broadwayd">
300 <term><command>broadwayd</command></term>
301 <listitem>
302 <para>
[c197636]303 provides support for displaying
[e68334e]304 <application>GTK+ 3</application> applications in a web browser,
305 using HTML5 and web sockets.
306 </para>
307 <indexterm zone="gtk3 broadwayd">
308 <primary sortas="b-broadwayd">broadwayd</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
[ac38e9dc]313 <varlistentry id="gtk-encode-symbolic-svg">
314 <term><command>gtk-encode-symbolic-svg</command></term>
315 <listitem>
316 <para>
317 converts symbolic svg icons into specially prepared png files.
318 <application>GTK+ 3</application> can load and recolor these pngs,
319 just like original svgs, but loading them is much faster.
320 </para>
321 <indexterm zone="gtk3 gtk-encode-symbolic-svg">
322 <primary sortas="b-gtk-encode-symbolic-svg">gtk-encode-symbolic-svg</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
[d356833]327 <varlistentry id="gtk-launch">
328 <term><command>gtk-launch</command></term>
329 <listitem>
330 <para>
331 launches an application using the given name. The name should match
332 application desktop file name, as residing in
[7d511f08]333 <filename class="directory">/usr/share/applications</filename>, with
[d356833]334 or without the '.desktop' suffix.
335 </para>
336 <indexterm zone="gtk3 gtk-launch">
337 <primary sortas="b-gtk-launch">gtk-launch</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
[76a07db]342 <varlistentry id="gtk-query-immodules-3.0">
343 <term><command>gtk-query-immodules-3.0</command></term>
344 <listitem>
[ce9d22a]345 <para>
346 collects information about loadable input method modules for
[a2912ff]347 <application>GTK+ 3</application> and writes it to the default cache
[ce9d22a]348 file location, or to standard output.
349 </para>
[76a07db]350 <indexterm zone="gtk3 gtk-query-immodules-3.0">
351 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="gtk-update-icon-cache3">
357 <term><command>gtk-update-icon-cache</command></term>
358 <listitem>
[ce9d22a]359 <para>
360 is an icon theme caching utility that creates mmap()able cache files
361 for icon themes.
362 </para>
[76a07db]363 <indexterm zone="gtk3 gtk-update-icon-cache3">
364 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
[35d0635]369 <varlistentry id="gtk3-demo">
370 <term><command>gtk3-demo</command></term>
371 <listitem>
372 <para>
373 is a simple program that demonstrates some of the things that can be
374 done with <application>GTK+ 3</application>
375 </para>
376 <indexterm zone="gtk3 gtk3-demo">
377 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="gtk3-demo-application">
383 <term><command>gtk3-demo-application</command></term>
384 <listitem>
385 <para>
386 is a simple <application>GTK+ 3</application> application.
387 </para>
388 <indexterm zone="gtk3 gtk3-demo-application">
389 <primary sortas="b-gtk3-demo-application">gtk3-demo-application</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
[ac38e9dc]394 <varlistentry id="gtk3-icon-browser">
395 <term><command>gtk3-icon-browser</command></term>
396 <listitem>
397 <para>
398 is a utility to explore the icons in the current icon theme. It
399 shows icons in various sizes, their symbolic variants where
400 available, as well as a description of the icon and its context.
401 </para>
402 <indexterm zone="gtk3 gtk3-icon-browser">
403 <primary sortas="b-gtk3-icon-browser">gtk3-icon-browser</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
[35d0635]408 <varlistentry id="gtk3-widget-factory">
409 <term><command>gtk3-widget-factory</command></term>
410 <listitem>
411 <para>
412 is a program to view <application>GTK+ 3</application> themes and widgets.
413 </para>
414 <indexterm zone="gtk3 gtk3-widget-factory">
415 <primary sortas="b-gtk3-widget-factory">gtk3-widget-factory</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
419
[d356833]420 <varlistentry id="libgailutil-3">
421 <term><filename class="libraryfile">libgailutil-3.so</filename></term>
[76a07db]422 <listitem>
[ce9d22a]423 <para>
424 contains functions that implements the accessibility interfaces
[d356833]425 defined by the <application>GNOME</application> Accessibility
426 Toolkit.
[ce9d22a]427 </para>
[d356833]428 <indexterm zone="gtk3 libgailutil-3">
429 <primary sortas="c-libgailutil-3">libgailutil-3.so</primary>
[76a07db]430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="libgdk-3">
[d356833]435 <term><filename class="libraryfile">libgdk-3.so</filename></term>
[76a07db]436 <listitem>
[ce9d22a]437 <para>
438 contains functions that act as a wrapper around the low-level
439 drawing and windowing functions provided by the underlying graphics
[742b99e]440 system.
[ce9d22a]441 </para>
[76a07db]442 <indexterm zone="gtk3 libgdk-3">
443 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="libgtk-3">
[d356833]449 <term><filename class="libraryfile">libgtk-3.so</filename></term>
[76a07db]450 <listitem>
[ce9d22a]451 <para>
452 contains functions that provide an API to implement graphical user
453 interfaces.
454 </para>
[76a07db]455 <indexterm zone="gtk3 libgtk-3">
456 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
[a2912ff]460
[76a07db]461 </variablelist>
[b84342d6]462
[76a07db]463 </sect2>
[b84342d6]464
[76a07db]465</sect1>
Note: See TracBrowser for help on using the repository browser.