source: x/lib/gtk+3.xml@ 742b99e

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

GTK+3 XML fixes, moved gtkmm.xml to gtkmm3.xml and some other xml fixes

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

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