source: x/lib/gtk+3.xml@ 8057fc4

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 8057fc4 was a1025cc, checked in by Krejzi <krejzi@…>, 12 years ago

GTK+ 3.4.4, GTK+ 2.24.11, Gtk VNC 0.5.1, Mx 1.4.6 and GLibmm 2.32.1.

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

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