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

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

a bunch of lfs71_checked

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

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