source: x/lib/gtk+3.xml@ 4c2be438

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

fix Gnome dependencies - switch itstool with yelp-xsl (YELP_HELP_INIT requires yelp-xsl stylesheets),recommend gobject-introspection for every package in gnome/{core,add} and make Optional g-i section indicating that is required for gnome in packages that are not just required by gnome. Made some recommended (expected) deps to gstreamer plugins (codecs, input and output sinks), recommended alsa to the libcanberra, explicitly disabled oss to remove configure warning + added gnome dependencies into seperate optional section to libcanberra page. Added --disable-scrollkeeper explanation to many packages that can use rarian (for the scrollkeeper compat) and added some more rarian recommendations. Checked polkit, accountservice and consolekit deps, sorted them a bit. Finished Gnome 3.4

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

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