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

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 c3ad739b was 805809d, checked in by Fernando de Oliveira <fernando@…>, 11 years ago

Update to gtk+-3.10.4.

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

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