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

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

Don't recommend gobject-introspection for libnotify or librsvg.
It adds nothing but problems if you're not installing Gnome

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

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