source: x/lib/gtk+3-systemd.xml@ df72afb4

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

Update to pixman-0.32.8
Update to xterm-320
Update to ATK-2.18.0
Update to libjpeg-turbo-1.4.2
Update to tiff-4.0.6
Update to gdk-pixbuf-2.32.1
Update to pango-1.38.0
Update to at-spi2-core-2.18.0
Update to at-spi2-atk-2.18.0
Update to adwaita-icon-theme-3.18.0
Update to GTK+-3.18.0
LFS 7.8-systemd Tags

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

  • Property mode set to 100644
File size: 14.6 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">
9 <!ENTITY gtk3-md5sum "7bb716b637ab413bdefd773e520c474c">
10 <!ENTITY gtk3-size "18 MB">
11 <!ENTITY gtk3-buildsize "515 MB (with tests)">
12 <!ENTITY gtk3-time "7.4 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
[ce9d22a]136 <para>
[dac0ab8]137 To test the results, issue <command>make check</command>.
[ce9d22a]138 </para>
[76a07db]139
[ce9d22a]140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
[76a07db]143
144<screen role="root"><userinput>make install</userinput></screen>
[2ffe965]145
146 <note>
147 <para>
148 If you installed the package on to your system using a
[6c13e98]149 <quote>DESTDIR</quote> method, an important file was not installed and
[2ffe965]150 must be copied and/or generated. Generate it using the following
151 command as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
155 </note>
[bc9797f]156
157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
158 href="../../xincludes/gsettings-destdir.xml"/>
[76a07db]159 </sect2>
160
161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
[ce9d22a]164 <para>
[8692448]165 <parameter>--enable-broadway-backend</parameter>: This switch enables the
166 Broadway HTML5 GDK backend.
[a8e57cb]167 </para>
168
169 <para>
[8692448]170 <parameter>--enable-wayland-backend</parameter>: This switch enables the
171 Wayland GDK backend which is required for <application>GNOME</application>
172 Wayland support. Remove it if you have not installed the recommended
173 dependencies.
[ce9d22a]174 </para>
[76a07db]175
[ce9d22a]176 <para>
[8692448]177 <parameter>--enable-x11-backend</parameter>: This switch enables the
178 X11 GDK backend.
[ce9d22a]179 </para>
[2ffe965]180
[94936bac]181 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
182 href="../../xincludes/gtk-doc-rebuild.xml"/>
183
[76a07db]184 </sect2>
185
186 <sect2 role="configuration">
[a2912ff]187 <title>Configuring GTK+ 3</title>
[76a07db]188
189 <sect3 id="gtk3-config">
190 <title>Config Files</title>
[ce9d22a]191 <para>
192 <filename>~/.config/gtk-3.0/settings.ini</filename> and
193 <filename>/etc/gtk-3.0/settings.ini</filename>
194 </para>
[76a07db]195
196 <indexterm zone="gtk3 gtk3-config">
197 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
198 </indexterm>
199
200 <indexterm zone="gtk3 gtk3-config">
201 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
202 </indexterm>
203 </sect3>
204
205 <sect3><title>Configuration Information</title>
206
[ce9d22a]207 <para>
[a2912ff]208 <application>GTK+ 3</application> themes change the way a
[ac38e9dc]209 <application>GTK+ 3</application> application looks. An icon theme can
210 be used to change the icons that appear on the application's toolbar.
211 If you have installed a <application>GTK+ 3</application> theme (eg
[ce9d22a]212 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
[ac38e9dc]213 <xref linkend="adwaita-icon-theme"/>) you can set your prefences in
[ebee860]214 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
[ce9d22a]215 </para>
[76a07db]216
[4520f55]217<screen><userinput>mkdir -p ~/.config/gtk-3.0 &amp;&amp;
218cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
[76a07db]219[Settings]
220gtk-theme-name = <replaceable>Adwaita</replaceable>
[ac38e9dc]221gtk-icon-theme-name = <replaceable>Adwaita</replaceable>
[76a07db]222EOF</userinput></screen>
223
[ce9d22a]224 <para>
225 There are many more themes available at
226 <ulink url="http://gnome-look.org/"/> and other places.
227 </para>
[76a07db]228
[ce9d22a]229 <para>
230 Once you've settled on themes you like, you can (as the
231 <systemitem class="username">root</systemitem> user) make them the
232 default system wide:
233 </para>
[76a07db]234
[5bfcda01]235<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"
236[Settings]
[76a07db]237gtk-theme-name = <replaceable>Clearwaita</replaceable>
238gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
239EOF</userinput></screen>
240 </sect3>
241 </sect2>
242
243 <sect2 role="content">
244 <title>Contents</title>
245
246 <segmentedlist>
247 <segtitle>Installed Programs</segtitle>
248 <segtitle>Installed Libraries</segtitle>
249 <segtitle>Installed Directories</segtitle>
250
251 <seglistitem>
[ce9d22a]252 <seg>
[ac38e9dc]253 broadwayd, gtk3-demo, gtk3-demo-application,
[df72afb4]254 gtk3-icon-browser, gtk3-widget-factory, gtk-builder-tool,
[ac38e9dc]255 gtk-encode-symbolic-svg, gtk-launch,
256 gtk-query-immodules-3.0, and
257 gtk-update-icon-cache
[742b99e]258 </seg>
259 <seg>
[ac38e9dc]260 libgailutil-3.so, libgdk-3.so, and libgtk-3.so
[742b99e]261 </seg>
262 <seg>
[0d7900a]263 /etc/gtk-3.0,
[d356833]264 /usr/include/gail-3.0,
265 /usr/include/gtk-3.0,
[0d7900a]266 /usr/lib/gtk-3.0,
[e68334e]267 /usr/share/gtk-3.0,
268 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}, and
269 /usr/share/themes/{Default,Emacs}/gtk-3.0
[ce9d22a]270 </seg>
[76a07db]271 </seglistitem>
272 </segmentedlist>
273
274 <variablelist>
275 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
276 <?dbfo list-presentation="list"?>
277 <?dbhtml list-presentation="table"?>
278
[e68334e]279 <varlistentry id="broadwayd">
280 <term><command>broadwayd</command></term>
281 <listitem>
282 <para>
[c197636]283 provides support for displaying
[e68334e]284 <application>GTK+ 3</application> applications in a web browser,
285 using HTML5 and web sockets.
286 </para>
287 <indexterm zone="gtk3 broadwayd">
288 <primary sortas="b-broadwayd">broadwayd</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
[ac38e9dc]293 <varlistentry id="gtk-encode-symbolic-svg">
294 <term><command>gtk-encode-symbolic-svg</command></term>
295 <listitem>
296 <para>
297 converts symbolic svg icons into specially prepared png files.
298 <application>GTK+ 3</application> can load and recolor these pngs,
299 just like original svgs, but loading them is much faster.
300 </para>
301 <indexterm zone="gtk3 gtk-encode-symbolic-svg">
302 <primary sortas="b-gtk-encode-symbolic-svg">gtk-encode-symbolic-svg</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
[d356833]307 <varlistentry id="gtk-launch">
308 <term><command>gtk-launch</command></term>
309 <listitem>
310 <para>
311 launches an application using the given name. The name should match
312 application desktop file name, as residing in
[7d511f08]313 <filename class="directory">/usr/share/applications</filename>, with
[d356833]314 or without the '.desktop' suffix.
315 </para>
316 <indexterm zone="gtk3 gtk-launch">
317 <primary sortas="b-gtk-launch">gtk-launch</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
[76a07db]322 <varlistentry id="gtk-query-immodules-3.0">
323 <term><command>gtk-query-immodules-3.0</command></term>
324 <listitem>
[ce9d22a]325 <para>
326 collects information about loadable input method modules for
[a2912ff]327 <application>GTK+ 3</application> and writes it to the default cache
[ce9d22a]328 file location, or to standard output.
329 </para>
[76a07db]330 <indexterm zone="gtk3 gtk-query-immodules-3.0">
331 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="gtk-update-icon-cache3">
337 <term><command>gtk-update-icon-cache</command></term>
338 <listitem>
[ce9d22a]339 <para>
340 is an icon theme caching utility that creates mmap()able cache files
341 for icon themes.
342 </para>
[76a07db]343 <indexterm zone="gtk3 gtk-update-icon-cache3">
344 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
[35d0635]349 <varlistentry id="gtk3-demo">
350 <term><command>gtk3-demo</command></term>
351 <listitem>
352 <para>
353 is a simple program that demonstrates some of the things that can be
354 done with <application>GTK+ 3</application>
355 </para>
356 <indexterm zone="gtk3 gtk3-demo">
357 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="gtk3-demo-application">
363 <term><command>gtk3-demo-application</command></term>
364 <listitem>
365 <para>
366 is a simple <application>GTK+ 3</application> application.
367 </para>
368 <indexterm zone="gtk3 gtk3-demo-application">
369 <primary sortas="b-gtk3-demo-application">gtk3-demo-application</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
[ac38e9dc]374 <varlistentry id="gtk3-icon-browser">
375 <term><command>gtk3-icon-browser</command></term>
376 <listitem>
377 <para>
378 is a utility to explore the icons in the current icon theme. It
379 shows icons in various sizes, their symbolic variants where
380 available, as well as a description of the icon and its context.
381 </para>
382 <indexterm zone="gtk3 gtk3-icon-browser">
383 <primary sortas="b-gtk3-icon-browser">gtk3-icon-browser</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
[35d0635]388 <varlistentry id="gtk3-widget-factory">
389 <term><command>gtk3-widget-factory</command></term>
390 <listitem>
391 <para>
392 is a program to view <application>GTK+ 3</application> themes and widgets.
393 </para>
394 <indexterm zone="gtk3 gtk3-widget-factory">
395 <primary sortas="b-gtk3-widget-factory">gtk3-widget-factory</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
[d356833]400 <varlistentry id="libgailutil-3">
401 <term><filename class="libraryfile">libgailutil-3.so</filename></term>
[76a07db]402 <listitem>
[ce9d22a]403 <para>
404 contains functions that implements the accessibility interfaces
[d356833]405 defined by the <application>GNOME</application> Accessibility
406 Toolkit.
[ce9d22a]407 </para>
[d356833]408 <indexterm zone="gtk3 libgailutil-3">
409 <primary sortas="c-libgailutil-3">libgailutil-3.so</primary>
[76a07db]410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="libgdk-3">
[d356833]415 <term><filename class="libraryfile">libgdk-3.so</filename></term>
[76a07db]416 <listitem>
[ce9d22a]417 <para>
418 contains functions that act as a wrapper around the low-level
419 drawing and windowing functions provided by the underlying graphics
[742b99e]420 system.
[ce9d22a]421 </para>
[76a07db]422 <indexterm zone="gtk3 libgdk-3">
423 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="libgtk-3">
[d356833]429 <term><filename class="libraryfile">libgtk-3.so</filename></term>
[76a07db]430 <listitem>
[ce9d22a]431 <para>
432 contains functions that provide an API to implement graphical user
433 interfaces.
434 </para>
[76a07db]435 <indexterm zone="gtk3 libgtk-3">
436 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
[a2912ff]440
[76a07db]441 </variablelist>
[b84342d6]442
[76a07db]443 </sect2>
[b84342d6]444
[76a07db]445</sect1>
Note: See TracBrowser for help on using the repository browser.