source: x/lib/gtk+3.xml@ 6a3d854

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

packagekit dependency removal

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