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

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

Add some notes about using DESTDIR installation to gtk3, gdk-pixbuf and pango pages.

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

  • Property mode set to 100644
File size: 10.4 KB
RevLine 
[76a07db]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
[b84342d6]7 <!ENTITY gtk3-download-http "&gnome-download-http;/gtk+/3.4/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.4/gtk+-&gtk3-version;.tar.xz">
[7ded7e3]9 <!ENTITY gtk3-md5sum "e552d52c3b0824eb99842dc9c5f4875f">
[b314b388]10 <!ENTITY gtk3-size "13 MB">
[b84342d6]11 <!ENTITY gtk3-buildsize "325 MB">
12 <!ENTITY gtk3-time "2.8 SBU">
[76a07db]13]>
14
[b84342d6]15<sect1 id="gtk3" xreflabel="Gtk+-&gtk3-version;">
[76a07db]16 <?dbhtml filename="gtk3.html"?>
17
18 <sect1info>
[7e2c95d]19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[76a07db]21 </sect1info>
22
[ebee860]23 <title>Gtk+-&gtk3-version;</title>
[76a07db]24
25 <indexterm zone="gtk3">
[89488b4]26 <primary sortas="a-gtk3">gtk+-3</primary>
[76a07db]27 </indexterm>
28
29 <sect2 role="package">
[ebee860]30 <title>Introduction to Gtk+ 3</title>
[76a07db]31
[ce9d22a]32 <para>
[ebee860]33 The <application>Gtk+ 3</application> package contains
[b84342d6]34 <application>Gtk+ 3</application> libraries used for creating
[ce9d22a]35 graphical user interfaces for applications.
36 </para>
[76a07db]37
[4c77a949]38 &lfs71_checked;
[76a07db]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[ce9d22a]43 <para>
44 Download (HTTP): <ulink url="&gtk3-download-http;"/>
45 </para>
[76a07db]46 </listitem>
47 <listitem>
[ce9d22a]48 <para>
49 Download (FTP): <ulink url="&gtk3-download-ftp;"/>
50 </para>
[76a07db]51 </listitem>
52 <listitem>
[ce9d22a]53 <para>
54 Download MD5 sum: &gtk3-md5sum;
55 </para>
[76a07db]56 </listitem>
57 <listitem>
[ce9d22a]58 <para>
59 Download size: &gtk3-size;
60 </para>
[76a07db]61 </listitem>
62 <listitem>
[ce9d22a]63 <para>
64 Estimated disk space required: &gtk3-buildsize;
65 </para>
[76a07db]66 </listitem>
67 <listitem>
[ce9d22a]68 <para>
69 Estimated build time: &gtk3-time;
70 </para>
[76a07db]71 </listitem>
72 </itemizedlist>
73
[ebee860]74 <bridgehead renderas="sect3">Gtk+ 3 Dependencies</bridgehead>
[76a07db]75
76 <bridgehead renderas="sect4">Required</bridgehead>
[ce9d22a]77 <para role="required">
78 <xref linkend="atk"/>,
79 <xref linkend="gdk-pixbuf"/> and
[742b99e]80 <xref linkend="pango"/>
81 </para>
82
[4c2be438]83 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
84 <para role="optional">
85 <xref linkend="gobject-introspection"/>
86 </para>
87
[76a07db]88 <bridgehead renderas="sect4">Optional</bridgehead>
[ce9d22a]89 <para role="optional">
[b7a80c66]90 <xref linkend="colord"/>,
[ce9d22a]91 <xref linkend="cups"/>,
[4c2be438]92 <xref linkend="docbook-utils"/> and
[b7a80c66]93 <xref linkend="gtk-doc"/>.
[ce9d22a]94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
98 </para>
[76a07db]99 </sect2>
100
101 <sect2 role="installation">
[ebee860]102 <title>Installation of Gtk+ 3</title>
[76a07db]103
[b84342d6]104 <note>
105 <para>
106 <application>Gtk+ 3</application> will overwrite
107 <command>gtk-update-icon-cache</command> from
108 <xref linkend="gtk2"/> if it is installed.
109 There is nothing wrong about that assuming
110 that both programs provide same functionality.
111 If you wish to keep one from
112 <application>Gtk+ 2</application> you can add
113 <option>--enable-gtk2-dependency</option> to the
114 <command>configure</command> command.
115 </para>
116 </note>
117
[ce9d22a]118 <para>
[ebee860]119 Install <application>Gtk+ 3</application> by running the following
[ce9d22a]120 commands:
121 </para>
[76a07db]122
[60ba44f]123<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[76a07db]124make</userinput></screen>
125
[ce9d22a]126 <para>
127 To test the results:
128 </para>
[76a07db]129
130<screen><userinput>rm tests/css/parser/selector.css &amp;&amp;
131rm tests/a11y/pickers.ui &amp;&amp;
132make check</userinput></screen>
133
[ce9d22a]134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
[76a07db]137
138<screen role="root"><userinput>make install</userinput></screen>
[2ffe965]139
140 <note>
141 <para>
142 If you installed the package on to your system using a
143 <quote>DESTDIR</quote> method then important file was not installed and
144 must be copied and/or generated. Generate it using the following
145 command as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
149 </note>
[76a07db]150 </sect2>
151
152 <sect2 role="commands">
153 <title>Command Explanations</title>
154
[ce9d22a]155 <para>
[b84342d6]156 <option>--disable-packagekit</option>: This parameter disables use
[68251bd2]157 of PackageKit which isn't needed for BLFS.
[ce9d22a]158 </para>
[76a07db]159
[ce9d22a]160 <para>
161 <command>rm tests/css/parser/selector.css</command> and
162 <command>rm tests/a11y/pickers.ui</command>: This prevents two tests
163 being run as they are known to fail.
164 </para>
[2ffe965]165
[76a07db]166 </sect2>
167
168 <sect2 role="configuration">
[ebee860]169 <title>Configuring Gtk+ 3</title>
[76a07db]170
171 <sect3 id="gtk3-config">
172 <title>Config Files</title>
[ce9d22a]173 <para>
174 <filename>~/.config/gtk-3.0/settings.ini</filename> and
175 <filename>/etc/gtk-3.0/settings.ini</filename>
176 </para>
[76a07db]177
178 <indexterm zone="gtk3 gtk3-config">
179 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
180 </indexterm>
181
182 <indexterm zone="gtk3 gtk3-config">
183 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
184 </indexterm>
185 </sect3>
186
187 <sect3><title>Configuration Information</title>
188
[ce9d22a]189 <para>
[ebee860]190 <application>Gtk+ 3</application> themes change the way a
191 <application>Gtk+</application> application looks. An icon theme can be
192 used to change the icons that appear on the application's toolbar. If
193 you have installed a <application>Gtk+ 3</application> theme (eg
[ce9d22a]194 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
195 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
[ebee860]196 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
[ce9d22a]197 </para>
[76a07db]198
199<screen><userinput>cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
200[Settings]
201gtk-theme-name = <replaceable>Adwaita</replaceable>
202gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
203EOF</userinput></screen>
204
[ce9d22a]205 <para>
206 There are many more themes available at
207 <ulink url="http://gnome-look.org/"/> and other places.
208 </para>
[76a07db]209
[ce9d22a]210 <para>
211 Once you've settled on themes you like, you can (as the
212 <systemitem class="username">root</systemitem> user) make them the
213 default system wide:
214 </para>
[76a07db]215
216<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"[Settings]
217gtk-theme-name = <replaceable>Clearwaita</replaceable>
218gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
219EOF</userinput></screen>
220 </sect3>
221 </sect2>
222
223 <sect2 role="content">
224 <title>Contents</title>
225
226 <segmentedlist>
227 <segtitle>Installed Programs</segtitle>
228 <segtitle>Installed Libraries</segtitle>
229 <segtitle>Installed Directories</segtitle>
230
231 <seglistitem>
[ce9d22a]232 <seg>
[742b99e]233 gtk3-demo, gtk-query-immodules-3.0 and gtk-update-icon-cache
234 </seg>
235 <seg>
236 libgailutil.so, libgdk-3.so and libgtk-3.so
237 </seg>
238 <seg>
[b84342d6]239 /etc/gtk-3.0,
240 /usr/include/{gail-3.0,gtk-3.0},
241 /usr/lib/gtk-3.0,
242 /usr/share/gtk-3.0 and
[742b99e]243 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}
[ce9d22a]244 </seg>
[76a07db]245 </seglistitem>
246 </segmentedlist>
247
248 <variablelist>
249 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
250 <?dbfo list-presentation="list"?>
251 <?dbhtml list-presentation="table"?>
252
253 <varlistentry id="gtk3-demo">
254 <term><command>gtk3-demo</command></term>
255 <listitem>
[ce9d22a]256 <para>
257 is a simple program that demonstrates some of the things that can be
[ebee860]258 done with <application>Gtk+ 3</application>
[ce9d22a]259 </para>
[76a07db]260 <indexterm zone="gtk3 gtk3-demo">
261 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="gtk-query-immodules-3.0">
267 <term><command>gtk-query-immodules-3.0</command></term>
268 <listitem>
[ce9d22a]269 <para>
270 collects information about loadable input method modules for
[ebee860]271 <application>Gtk+ 3</application> and writes it to the default cache
[ce9d22a]272 file location, or to standard output.
273 </para>
[76a07db]274 <indexterm zone="gtk3 gtk-query-immodules-3.0">
275 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="gtk-update-icon-cache3">
281 <term><command>gtk-update-icon-cache</command></term>
282 <listitem>
[ce9d22a]283 <para>
284 is an icon theme caching utility that creates mmap()able cache files
285 for icon themes.
286 </para>
[76a07db]287 <indexterm zone="gtk3 gtk-update-icon-cache3">
288 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="libgailutil">
294 <term><filename class='libraryfile'>libgailutil.so</filename></term>
295 <listitem>
[ce9d22a]296 <para>
297 contains functions that implements the accessibility interfaces
298 defined by the GNOME Accessibility Toolkit
299 </para>
[76a07db]300 <indexterm zone="gtk3 libgailutil">
301 <primary sortas="c-libgailutil">libgailutil.so</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="libgdk-3">
307 <term><filename class='libraryfile'>libgdk-3.so</filename></term>
308 <listitem>
[ce9d22a]309 <para>
310 contains functions that act as a wrapper around the low-level
311 drawing and windowing functions provided by the underlying graphics
[742b99e]312 system.
[ce9d22a]313 </para>
[76a07db]314 <indexterm zone="gtk3 libgdk-3">
315 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="libgtk-3">
321 <term><filename class='libraryfile'>libgtk-3.so</filename></term>
322 <listitem>
[ce9d22a]323 <para>
324 contains functions that provide an API to implement graphical user
325 interfaces.
326 </para>
[76a07db]327 <indexterm zone="gtk3 libgtk-3">
328 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332 </variablelist>
[b84342d6]333
[76a07db]334 </sect2>
[b84342d6]335
[76a07db]336</sect1>
Note: See TracBrowser for help on using the repository browser.