source: x/lib/gtk+3.xml@ 4686e08

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 4686e08 was 4686e08, checked in by Ken Moffat <ken@…>, 12 years ago

per Wayne, gtk+3 should reference the internal colord page now that is in the book.

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

  • Property mode set to 100644
File size: 9.0 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.2/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.2/gtk+-&gtk3-version;.tar.xz">
9 <!ENTITY gtk3-md5sum "b4edcc69e39159dd7be17828249afb46">
10 <!ENTITY gtk3-size "12 MB">
11 <!ENTITY gtk3-buildsize "314 MB">
12 <!ENTITY gtk3-time "2.8 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">gtk+-3</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to gtk+-3</title>
31
32 <para>The <application>gtk+-3</application> package contains
33 <application>gtk+-3</application> libraries. These are used for creating
34 graphical user interfaces for applications.</para>
35
36 &lfs70_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&gtk3-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&gtk3-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &gtk3-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &gtk3-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &gtk3-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &gtk3-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">gtk+-3 Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="cairo"/> (compiled with support for
64 glib and libX11), <xref linkend="atk"/>, <xref linkend="pango"/>,
65 <xref linkend="gdk-pixbuf"/> and <xref linkend="x-window-system"/>
66 (specifically, libX11, libXext, libXi and libXrender are required,
67 libXinerama, libXcomposite, libXrandr and libXdamage are optional)</para>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
70 <para role="optional"><xref linkend="cups"/>,
71 <xref linkend="docbook-utils"/>,
72 <xref linkend="colord"/>,
73 <xref linkend="gobject-introspection"/> and <xref linkend="gtk-doc"/> (only
74 needed if you want to rebuild the documentation).</para>
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/gtk3"/></para>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of gtk+-3</title>
83
84 <para>Install <application>gtk+-3</application> by running the following
85 commands:</para>
86
87<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
88make</userinput></screen>
89
90 <para>To test the results:</para>
91
92<screen><userinput>rm tests/css/parser/selector.css &amp;&amp;
93rm tests/a11y/pickers.ui &amp;&amp;
94make check</userinput></screen>
95
96
97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>make install</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="commands">
104 <title>Command Explanations</title>
105
106 <para><command>rm tests/css/parser/selector.css</command> and
107 <command>rm tests/a11y/pickers.ui</command>: This prevents two tests
108 being run as they are known to fail.</para>
109
110 </sect2>
111
112 <sect2 role="configuration">
113 <title>Configuring gtk+-3</title>
114
115 <sect3 id="gtk3-config">
116 <title>Config Files</title>
117 <para><filename>~/.config/gtk-3.0/settings.ini</filename> and
118 <filename>/etc/gtk-3.0/settings.ini</filename></para>
119
120 <indexterm zone="gtk3 gtk3-config">
121 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
122 </indexterm>
123
124 <indexterm zone="gtk3 gtk3-config">
125 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
126 </indexterm>
127 </sect3>
128
129 <sect3><title>Configuration Information</title>
130
131 <para>Gtk+-3 themes change the way a gtk application looks. An icon
132 theme can be used to change the icons that appear on the application's
133 toolbar. If you have installed a Gtk+-3 theme (eg
134 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gnome-themes-standard/3.2/">gnome-themes-standard</ulink>) or an icon theme (such as
135 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
136 <filename>~/.config/gtk-3.0/settings.ini</filename>:</para>
137
138<screen><userinput>cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
139[Settings]
140gtk-theme-name = <replaceable>Adwaita</replaceable>
141gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
142EOF</userinput></screen>
143
144 <para>There are many more themes available at
145 <ulink url="http://gnome-look.org/">Gnome-Look.org</ulink> and other
146 places.</para>
147
148 <para>Once you've settled on themes you like, you can (as the
149 <systemitem class="username">root</systemitem> user) make them the
150 default system wide:</para>
151
152<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"[Settings]
153gtk-theme-name = <replaceable>Clearwaita</replaceable>
154gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
155EOF</userinput></screen>
156
157 </sect3>
158
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>gtk3-demo, gtk-query-immodules-3.0, and gtk-update-icon-cache</seg>
171 <seg>libgailutil.so, libgdk-3.so, and libgtk-3.so</seg>
172 <seg>/etc/gtk-3.0, /usr/include/gtk-3.0, /usr/include/gail-3.0,
173 /usr/lib/gtk-3.0 and /usr/share/gtk-3.0</seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="gtk3-demo">
183 <term><command>gtk3-demo</command></term>
184 <listitem>
185 <para>is a simple program that demonstrates some of the things that
186 can be done with gtk+-3</para>
187 <indexterm zone="gtk3 gtk3-demo">
188 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="gtk-query-immodules-3.0">
194 <term><command>gtk-query-immodules-3.0</command></term>
195 <listitem>
196 <para>collects information about loadable input method modules for
197 <application>gtk+-3</application> and writes it to the default cache
198 file location, or to standard output.</para>
199 <indexterm zone="gtk3 gtk-query-immodules-3.0">
200 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="gtk-update-icon-cache3">
206 <term><command>gtk-update-icon-cache</command></term>
207 <listitem>
208 <para>is an icon theme caching utility that creates mmap()able cache
209 files for icon themes.</para>
210 <indexterm zone="gtk3 gtk-update-icon-cache3">
211 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="libgailutil">
217 <term><filename class='libraryfile'>libgailutil.so</filename></term>
218 <listitem>
219 <para>contains functions that implements the accessibility interfaces
220 defined by the GNOME Accessibility Toolkit</para>
221 <indexterm zone="gtk3 libgailutil">
222 <primary sortas="c-libgailutil">libgailutil.so</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libgdk-3">
228 <term><filename class='libraryfile'>libgdk-3.so</filename></term>
229 <listitem>
230 <para>contains functions that act as a wrapper around the low-level
231 drawing and windowing functions provided by the underlying graphics
232 system (libX11 for now, but maybe in the future wayland).</para>
233 <indexterm zone="gtk3 libgdk-3">
234 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="libgtk-3">
240 <term><filename class='libraryfile'>libgtk-3.so</filename></term>
241 <listitem>
242 <para>contains functions that provide an API to implement graphical
243 user interfaces.</para>
244 <indexterm zone="gtk3 libgtk-3">
245 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 </variablelist>
251
252 </sect2>
253
254</sect1>
Note: See TracBrowser for help on using the repository browser.