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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 e222e31 was ebee860, checked in by Andrew Benton <andy@…>, 12 years ago

Made the punctuation/capitalisation a little more consistent across the Gtk 2 and Gtk 3 pages

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

  • Property mode set to 100644
File size: 9.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
8 "&gnome-download-http;/gtk+/3.4/gtk+-&gtk3-version;.tar.xz">
9 <!ENTITY gtk3-download-ftp
10 "&gnome-download-ftp;/gtk+/3.4/gtk+-&gtk3-version;.tar.xz">
11 <!ENTITY gtk3-md5sum "2cbf02394c2c42cc597405eadabcac3e">
12 <!ENTITY gtk3-size "13 MB">
13 <!ENTITY gtk3-buildsize "330 MB">
14 <!ENTITY gtk3-time "2.9 SBU">
15]>
16
17<sect1 id="gtk3" xreflabel="gtk+-&gtk3-version;">
18 <?dbhtml filename="gtk3.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Gtk+-&gtk3-version;</title>
26
27 <indexterm zone="gtk3">
28 <primary sortas="a-gtk3">gtk+-3</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Gtk+ 3</title>
33
34 <para>
35 The <application>Gtk+ 3</application> package contains
36 <application>Gtk+ 3</application> libraries. These are used for creating
37 graphical user interfaces for applications.
38 </para>
39
40 &lfs71_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&gtk3-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&gtk3-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &gtk3-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &gtk3-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &gtk3-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &gtk3-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Gtk+ 3 Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="atk"/>,
81 <xref linkend="gdk-pixbuf"/> and
82 <xref linkend="pango"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
86 <para role="optional">
87 <xref linkend="gobject-introspection"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="colord"/>,
93 <xref linkend="cups"/>,
94 <xref linkend="docbook-utils"/> and
95 <xref linkend="gtk-doc"/>.
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 <para>
107 Install <application>Gtk+ 3</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results:
116 </para>
117
118<screen><userinput>rm tests/css/parser/selector.css &amp;&amp;
119rm tests/a11y/pickers.ui &amp;&amp;
120make check</userinput></screen>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para>
133 <parameter>--disable-packagekit</parameter>: This parameter disables use
134 of PackageKit which isn't suitable for BLFS.
135 </para>
136
137 <para>
138 <command>rm tests/css/parser/selector.css</command> and
139 <command>rm tests/a11y/pickers.ui</command>: This prevents two tests
140 being run as they are known to fail.
141 </para>
142 </sect2>
143
144 <sect2 role="configuration">
145 <title>Configuring Gtk+ 3</title>
146
147 <sect3 id="gtk3-config">
148 <title>Config Files</title>
149 <para>
150 <filename>~/.config/gtk-3.0/settings.ini</filename> and
151 <filename>/etc/gtk-3.0/settings.ini</filename>
152 </para>
153
154 <indexterm zone="gtk3 gtk3-config">
155 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
156 </indexterm>
157
158 <indexterm zone="gtk3 gtk3-config">
159 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
160 </indexterm>
161 </sect3>
162
163 <sect3><title>Configuration Information</title>
164
165 <para>
166 <application>Gtk+ 3</application> themes change the way a
167 <application>Gtk+</application> application looks. An icon theme can be
168 used to change the icons that appear on the application's toolbar. If
169 you have installed a <application>Gtk+ 3</application> theme (eg
170 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
171 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
172 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
173 </para>
174
175<screen><userinput>cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
176[Settings]
177gtk-theme-name = <replaceable>Adwaita</replaceable>
178gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
179EOF</userinput></screen>
180
181 <para>
182 There are many more themes available at
183 <ulink url="http://gnome-look.org/"/> and other places.
184 </para>
185
186 <para>
187 Once you've settled on themes you like, you can (as the
188 <systemitem class="username">root</systemitem> user) make them the
189 default system wide:
190 </para>
191
192<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"[Settings]
193gtk-theme-name = <replaceable>Clearwaita</replaceable>
194gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
195EOF</userinput></screen>
196 </sect3>
197 </sect2>
198
199 <sect2 role="content">
200 <title>Contents</title>
201
202 <segmentedlist>
203 <segtitle>Installed Programs</segtitle>
204 <segtitle>Installed Libraries</segtitle>
205 <segtitle>Installed Directories</segtitle>
206
207 <seglistitem>
208 <seg>
209 gtk3-demo, gtk-query-immodules-3.0 and gtk-update-icon-cache
210 </seg>
211 <seg>
212 libgailutil.so, libgdk-3.so and libgtk-3.so
213 </seg>
214 <seg>
215 /etc/gtk-3.0, /usr/include/{gail-3.0,gtk-3.0},
216 /usr/lib/gtk-3.0, /usr/share/gtk-3.0 and
217 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}
218 </seg>
219 </seglistitem>
220 </segmentedlist>
221
222 <variablelist>
223 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
224 <?dbfo list-presentation="list"?>
225 <?dbhtml list-presentation="table"?>
226
227 <varlistentry id="gtk3-demo">
228 <term><command>gtk3-demo</command></term>
229 <listitem>
230 <para>
231 is a simple program that demonstrates some of the things that can be
232 done with <application>Gtk+ 3</application>
233 </para>
234 <indexterm zone="gtk3 gtk3-demo">
235 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="gtk-query-immodules-3.0">
241 <term><command>gtk-query-immodules-3.0</command></term>
242 <listitem>
243 <para>
244 collects information about loadable input method modules for
245 <application>Gtk+ 3</application> and writes it to the default cache
246 file location, or to standard output.
247 </para>
248 <indexterm zone="gtk3 gtk-query-immodules-3.0">
249 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="gtk-update-icon-cache3">
255 <term><command>gtk-update-icon-cache</command></term>
256 <listitem>
257 <para>
258 is an icon theme caching utility that creates mmap()able cache files
259 for icon themes.
260 </para>
261 <indexterm zone="gtk3 gtk-update-icon-cache3">
262 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="libgailutil">
268 <term><filename class='libraryfile'>libgailutil.so</filename></term>
269 <listitem>
270 <para>
271 contains functions that implements the accessibility interfaces
272 defined by the GNOME Accessibility Toolkit
273 </para>
274 <indexterm zone="gtk3 libgailutil">
275 <primary sortas="c-libgailutil">libgailutil.so</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="libgdk-3">
281 <term><filename class='libraryfile'>libgdk-3.so</filename></term>
282 <listitem>
283 <para>
284 contains functions that act as a wrapper around the low-level
285 drawing and windowing functions provided by the underlying graphics
286 system.
287 </para>
288 <indexterm zone="gtk3 libgdk-3">
289 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="libgtk-3">
295 <term><filename class='libraryfile'>libgtk-3.so</filename></term>
296 <listitem>
297 <para>
298 contains functions that provide an API to implement graphical user
299 interfaces.
300 </para>
301 <indexterm zone="gtk3 libgtk-3">
302 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306 </variablelist>
307 </sect2>
308</sect1>
Note: See TracBrowser for help on using the repository browser.