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

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 ce9d22a was ce9d22a, checked in by Andrew Benton <andy@…>, 12 years ago

gtk+-3.2.4

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

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