source: x/lib/gtk+3.xml@ 68251bd2

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 68251bd2 was 68251bd2, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Reword an explanation

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

  • Property mode set to 100644
File size: 10.0 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+/3.4/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.4/gtk+-&gtk3-version;.tar.xz">
9 <!ENTITY gtk3-md5sum "e552d52c3b0824eb99842dc9c5f4875f">
10 <!ENTITY gtk3-size "13 MB">
11 <!ENTITY gtk3-buildsize "325 MB">
12 <!ENTITY gtk3-time "2.8 SBU">
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-gtk3">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 <application>Gtk+ 3</application> libraries used for creating
35 graphical user interfaces for applications.
36 </para>
37
38 &lfs71_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="atk"/>,
79 <xref linkend="gdk-pixbuf"/> and
80 <xref linkend="pango"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
84 <para role="optional">
85 <xref linkend="gobject-introspection"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="colord"/>,
91 <xref linkend="cups"/>,
92 <xref linkend="docbook-utils"/> and
93 <xref linkend="gtk-doc"/>.
94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of Gtk+ 3</title>
103
104 <note>
105 <para>
106 <application>Gtk+ 3</application> will overwrite
107 <command>gtk-update-icon-cache</command> from
108 <xref linkend="gtk2"/> if it is installed.
109 There is nothing wrong about that assuming
110 that both programs provide same functionality.
111 If you wish to keep one from
112 <application>Gtk+ 2</application> you can add
113 <option>--enable-gtk2-dependency</option> to the
114 <command>configure</command> command.
115 </para>
116 </note>
117
118 <para>
119 Install <application>Gtk+ 3</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 To test the results:
128 </para>
129
130<screen><userinput>rm tests/css/parser/selector.css &amp;&amp;
131rm tests/a11y/pickers.ui &amp;&amp;
132make check</userinput></screen>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make install</userinput></screen>
139 </sect2>
140
141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <para>
145 <option>--disable-packagekit</option>: This parameter disables use
146 of PackageKit which isn't needed for BLFS.
147 </para>
148
149 <para>
150 <command>rm tests/css/parser/selector.css</command> and
151 <command>rm tests/a11y/pickers.ui</command>: This prevents two tests
152 being run as they are known to fail.
153 </para>
154 </sect2>
155
156 <sect2 role="configuration">
157 <title>Configuring Gtk+ 3</title>
158
159 <sect3 id="gtk3-config">
160 <title>Config Files</title>
161 <para>
162 <filename>~/.config/gtk-3.0/settings.ini</filename> and
163 <filename>/etc/gtk-3.0/settings.ini</filename>
164 </para>
165
166 <indexterm zone="gtk3 gtk3-config">
167 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
168 </indexterm>
169
170 <indexterm zone="gtk3 gtk3-config">
171 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
172 </indexterm>
173 </sect3>
174
175 <sect3><title>Configuration Information</title>
176
177 <para>
178 <application>Gtk+ 3</application> themes change the way a
179 <application>Gtk+</application> application looks. An icon theme can be
180 used to change the icons that appear on the application's toolbar. If
181 you have installed a <application>Gtk+ 3</application> theme (eg
182 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
183 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
184 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
185 </para>
186
187<screen><userinput>cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
188[Settings]
189gtk-theme-name = <replaceable>Adwaita</replaceable>
190gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
191EOF</userinput></screen>
192
193 <para>
194 There are many more themes available at
195 <ulink url="http://gnome-look.org/"/> and other places.
196 </para>
197
198 <para>
199 Once you've settled on themes you like, you can (as the
200 <systemitem class="username">root</systemitem> user) make them the
201 default system wide:
202 </para>
203
204<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"[Settings]
205gtk-theme-name = <replaceable>Clearwaita</replaceable>
206gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
207EOF</userinput></screen>
208 </sect3>
209 </sect2>
210
211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Libraries</segtitle>
217 <segtitle>Installed Directories</segtitle>
218
219 <seglistitem>
220 <seg>
221 gtk3-demo, gtk-query-immodules-3.0 and gtk-update-icon-cache
222 </seg>
223 <seg>
224 libgailutil.so, libgdk-3.so and libgtk-3.so
225 </seg>
226 <seg>
227 /etc/gtk-3.0,
228 /usr/include/{gail-3.0,gtk-3.0},
229 /usr/lib/gtk-3.0,
230 /usr/share/gtk-3.0 and
231 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}
232 </seg>
233 </seglistitem>
234 </segmentedlist>
235
236 <variablelist>
237 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
238 <?dbfo list-presentation="list"?>
239 <?dbhtml list-presentation="table"?>
240
241 <varlistentry id="gtk3-demo">
242 <term><command>gtk3-demo</command></term>
243 <listitem>
244 <para>
245 is a simple program that demonstrates some of the things that can be
246 done with <application>Gtk+ 3</application>
247 </para>
248 <indexterm zone="gtk3 gtk3-demo">
249 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="gtk-query-immodules-3.0">
255 <term><command>gtk-query-immodules-3.0</command></term>
256 <listitem>
257 <para>
258 collects information about loadable input method modules for
259 <application>Gtk+ 3</application> and writes it to the default cache
260 file location, or to standard output.
261 </para>
262 <indexterm zone="gtk3 gtk-query-immodules-3.0">
263 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="gtk-update-icon-cache3">
269 <term><command>gtk-update-icon-cache</command></term>
270 <listitem>
271 <para>
272 is an icon theme caching utility that creates mmap()able cache files
273 for icon themes.
274 </para>
275 <indexterm zone="gtk3 gtk-update-icon-cache3">
276 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="libgailutil">
282 <term><filename class='libraryfile'>libgailutil.so</filename></term>
283 <listitem>
284 <para>
285 contains functions that implements the accessibility interfaces
286 defined by the GNOME Accessibility Toolkit
287 </para>
288 <indexterm zone="gtk3 libgailutil">
289 <primary sortas="c-libgailutil">libgailutil.so</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="libgdk-3">
295 <term><filename class='libraryfile'>libgdk-3.so</filename></term>
296 <listitem>
297 <para>
298 contains functions that act as a wrapper around the low-level
299 drawing and windowing functions provided by the underlying graphics
300 system.
301 </para>
302 <indexterm zone="gtk3 libgdk-3">
303 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="libgtk-3">
309 <term><filename class='libraryfile'>libgtk-3.so</filename></term>
310 <listitem>
311 <para>
312 contains functions that provide an API to implement graphical user
313 interfaces.
314 </para>
315 <indexterm zone="gtk3 libgtk-3">
316 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320 </variablelist>
321
322 </sect2>
323
324</sect1>
Note: See TracBrowser for help on using the repository browser.