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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 a9d7abf was dac0ab8, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to gtk+-3.10.7, curl-7.35.0 and gtksourceview 3.10.2.

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

  • Property mode set to 100644
File size: 13.3 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
[a8e57cb]7 <!ENTITY gtk3-download-http "&gnome-download-http;/gtk+/3.10/gtk+-&gtk3-version;.tar.xz">
8 <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.10/gtk+-&gtk3-version;.tar.xz">
[dac0ab8]9 <!ENTITY gtk3-md5sum "18a81944a8506231529a76bf2b68372b">
[cc0ac6c]10 <!ENTITY gtk3-size "14 MB">
[94936bac]11 <!ENTITY gtk3-buildsize "369 MB (additional 4 MB for the test suite and
12 16 MB to rebuild the docs)">
[dac0ab8]13 <!ENTITY gtk3-time "4 SBU (additional 0.4 SBU for the test suite
14 and 2.5 SBU to rebuild the docs)">
[76a07db]15]>
16
[a2912ff]17<sect1 id="gtk3" xreflabel="GTK+-&gtk3-version;">
[76a07db]18 <?dbhtml filename="gtk3.html"?>
19
20 <sect1info>
[7e2c95d]21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
[76a07db]23 </sect1info>
24
[a2912ff]25 <title>GTK+-&gtk3-version;</title>
[76a07db]26
27 <indexterm zone="gtk3">
[d356833]28 <primary sortas="a-GTK+3">GTK+3</primary>
[76a07db]29 </indexterm>
30
31 <sect2 role="package">
[a2912ff]32 <title>Introduction to GTK+ 3</title>
[76a07db]33
[ce9d22a]34 <para>
[a2912ff]35 The <application>GTK+ 3</application> package contains the
36 libraries used for creating graphical user interfaces for
37 applications.
[ce9d22a]38 </para>
[76a07db]39
[01cecdc2]40 &lfs74_checked;
[76a07db]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[ce9d22a]45 <para>
46 Download (HTTP): <ulink url="&gtk3-download-http;"/>
47 </para>
[76a07db]48 </listitem>
49 <listitem>
[ce9d22a]50 <para>
51 Download (FTP): <ulink url="&gtk3-download-ftp;"/>
52 </para>
[76a07db]53 </listitem>
54 <listitem>
[ce9d22a]55 <para>
56 Download MD5 sum: &gtk3-md5sum;
57 </para>
[76a07db]58 </listitem>
59 <listitem>
[ce9d22a]60 <para>
61 Download size: &gtk3-size;
62 </para>
[76a07db]63 </listitem>
64 <listitem>
[ce9d22a]65 <para>
66 Estimated disk space required: &gtk3-buildsize;
67 </para>
[76a07db]68 </listitem>
69 <listitem>
[ce9d22a]70 <para>
71 Estimated build time: &gtk3-time;
72 </para>
[76a07db]73 </listitem>
74 </itemizedlist>
75
[a2912ff]76 <bridgehead renderas="sect3">GTK+ 3 Dependencies</bridgehead>
[76a07db]77
78 <bridgehead renderas="sect4">Required</bridgehead>
[ce9d22a]79 <para role="required">
[d356833]80 <xref linkend="at-spi2-atk"/>,
[d432b7a]81 <xref linkend="gdk-pixbuf"/>, and
[742b99e]82 <xref linkend="pango"/>
83 </para>
84
[4c2be438]85 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
86 <para role="optional">
87 <xref linkend="gobject-introspection"/>
88 </para>
89
[76a07db]90 <bridgehead renderas="sect4">Optional</bridgehead>
[ce9d22a]91 <para role="optional">
[b7a80c66]92 <xref linkend="colord"/>,
[ce9d22a]93 <xref linkend="cups"/>,
[7ea83d7]94 <xref linkend="docbook-utils"/>,
95 <xref linkend="gtk-doc"/>,
[d432b7a]96 <ulink url="http://xkbcommon.org/">libxkbcommon</ulink>, and
[7ea83d7]97 <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
[ce9d22a]98 </para>
99
100 <para condition="html" role="usernotes">
101 User Notes: <ulink url="&blfs-wiki;/gtk3"/>
102 </para>
[76a07db]103 </sect2>
104
105 <sect2 role="installation">
[a2912ff]106 <title>Installation of GTK+ 3</title>
[76a07db]107
[b84342d6]108 <note>
109 <para>
[a2912ff]110 <application>GTK+ 3</application> will overwrite
[d432b7a]111 <command>gtk-update-icon-cache</command> from <xref linkend="gtk2"/> if
112 it is installed. There is nothing wrong about that assuming that both
113 programs provide same functionality. If you wish to keep one from
[a2912ff]114 <application>GTK+ 2</application> you can add
[b84342d6]115 <option>--enable-gtk2-dependency</option> to the
116 <command>configure</command> command.
117 </para>
118 </note>
119
[ce9d22a]120 <para>
[a2912ff]121 Install <application>GTK+ 3</application> by running the following
[ce9d22a]122 commands:
123 </para>
[76a07db]124
[f82ac3f]125<screen><userinput>./configure --prefix=/usr \
[a8e57cb]126 --sysconfdir=/etc \
[f82ac3f]127 --enable-broadway-backend \
[a8e57cb]128 --enable-x11-backend \
[f82ac3f]129 --disable-wayland-backend &amp;&amp;
[76a07db]130make</userinput></screen>
131
[ce9d22a]132 <para>
[dac0ab8]133 To test the results, issue <command>make check</command>.
[ce9d22a]134 </para>
[76a07db]135
[ce9d22a]136 <para>
137 Now, as the <systemitem class="username">root</systemitem> user:
138 </para>
[76a07db]139
140<screen role="root"><userinput>make install</userinput></screen>
[2ffe965]141
142 <note>
143 <para>
144 If you installed the package on to your system using a
[6c13e98]145 <quote>DESTDIR</quote> method, an important file was not installed and
[2ffe965]146 must be copied and/or generated. Generate it using the following
147 command as the <systemitem class="username">root</systemitem> user:
148 </para>
149
150<screen role="root"><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
151 </note>
[bc9797f]152
153 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/gsettings-destdir.xml"/>
[76a07db]155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
[ce9d22a]160 <para>
[f82ac3f]161 <option>--enable-broadway-backend</option>: switch enables the HTML5 GTK backend.
[a8e57cb]162 </para>
163
164 <para>
[f82ac3f]165 <option>--enable-x11-backend</option>: switch enables the X11 GDK backend.
[ce9d22a]166 </para>
[76a07db]167
[ce9d22a]168 <para>
[f82ac3f]169 <option>--disable-wayland-backend</option>: switch disables the Wayland GDK backend
170 because Wayland isn't available in BLFS.
[ce9d22a]171 </para>
[2ffe965]172
[94936bac]173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
174 href="../../xincludes/gtk-doc-rebuild.xml"/>
175
[76a07db]176 </sect2>
177
178 <sect2 role="configuration">
[a2912ff]179 <title>Configuring GTK+ 3</title>
[76a07db]180
181 <sect3 id="gtk3-config">
182 <title>Config Files</title>
[ce9d22a]183 <para>
184 <filename>~/.config/gtk-3.0/settings.ini</filename> and
185 <filename>/etc/gtk-3.0/settings.ini</filename>
186 </para>
[76a07db]187
188 <indexterm zone="gtk3 gtk3-config">
189 <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
190 </indexterm>
191
192 <indexterm zone="gtk3 gtk3-config">
193 <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
194 </indexterm>
195 </sect3>
196
197 <sect3><title>Configuration Information</title>
198
[ce9d22a]199 <para>
[a2912ff]200 <application>GTK+ 3</application> themes change the way a
201 <application>GTK+ 3</application> application looks. An icon theme can be
[ebee860]202 used to change the icons that appear on the application's toolbar. If
[a2912ff]203 you have installed a <application>GTK+ 3</application> theme (eg
[ce9d22a]204 <xref linkend="gnome-themes-standard"/> or an icon theme (such as
205 <xref linkend="gnome-icon-theme"/>) you can set your prefences in
[ebee860]206 <filename>~/.config/gtk-3.0/settings.ini</filename>. Eg:
[ce9d22a]207 </para>
[76a07db]208
[4520f55]209<screen><userinput>mkdir -p ~/.config/gtk-3.0 &amp;&amp;
210cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
[76a07db]211[Settings]
212gtk-theme-name = <replaceable>Adwaita</replaceable>
213gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
214EOF</userinput></screen>
215
[ce9d22a]216 <para>
217 There are many more themes available at
218 <ulink url="http://gnome-look.org/"/> and other places.
219 </para>
[76a07db]220
[ce9d22a]221 <para>
222 Once you've settled on themes you like, you can (as the
223 <systemitem class="username">root</systemitem> user) make them the
224 default system wide:
225 </para>
[76a07db]226
[5bfcda01]227<screen role="root"><userinput>cat &gt; /etc/gtk-3.0/settings.ini &lt;&lt; "EOF"
228[Settings]
[76a07db]229gtk-theme-name = <replaceable>Clearwaita</replaceable>
230gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
231EOF</userinput></screen>
232 </sect3>
233 </sect2>
234
235 <sect2 role="content">
236 <title>Contents</title>
237
238 <segmentedlist>
239 <segtitle>Installed Programs</segtitle>
240 <segtitle>Installed Libraries</segtitle>
241 <segtitle>Installed Directories</segtitle>
242
243 <seglistitem>
[ce9d22a]244 <seg>
[e68334e]245 broadwayd,
[35d0635]246 gtk-launch,
247 gtk-query-immodules-3.0,
248 gtk-update-icon-cache,
249 gtk3-demo,
250 gtk3-demo-application, and
251 gtk3-widget-factory
[742b99e]252 </seg>
253 <seg>
[94936bac]254 libgailutil-3.so, libgdk-3.so, and libgtk-3.so, and several under
[817bc71]255 /usr/lib/gtk-3.0/3.0.0/{immodules,printbackends}
[805809d]256
[742b99e]257 </seg>
258 <seg>
[0d7900a]259 /etc/gtk-3.0,
[d356833]260 /usr/include/gail-3.0,
261 /usr/include/gtk-3.0,
[0d7900a]262 /usr/lib/gtk-3.0,
[e68334e]263 /usr/share/gtk-3.0,
264 /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}, and
265 /usr/share/themes/{Default,Emacs}/gtk-3.0
[ce9d22a]266 </seg>
[76a07db]267 </seglistitem>
268 </segmentedlist>
269
270 <variablelist>
271 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
272 <?dbfo list-presentation="list"?>
273 <?dbhtml list-presentation="table"?>
274
[e68334e]275 <varlistentry id="broadwayd">
276 <term><command>broadwayd</command></term>
277 <listitem>
278 <para>
[c197636]279 provides support for displaying
[e68334e]280 <application>GTK+ 3</application> applications in a web browser,
281 using HTML5 and web sockets.
282 </para>
283 <indexterm zone="gtk3 broadwayd">
284 <primary sortas="b-broadwayd">broadwayd</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
[d356833]289 <varlistentry id="gtk-launch">
290 <term><command>gtk-launch</command></term>
291 <listitem>
292 <para>
293 launches an application using the given name. The name should match
294 application desktop file name, as residing in
295 <filename class="directory">/usr/share/application</filename>, with
296 or without the '.desktop' suffix.
297 </para>
298 <indexterm zone="gtk3 gtk-launch">
299 <primary sortas="b-gtk-launch">gtk-launch</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
[76a07db]304 <varlistentry id="gtk-query-immodules-3.0">
305 <term><command>gtk-query-immodules-3.0</command></term>
306 <listitem>
[ce9d22a]307 <para>
308 collects information about loadable input method modules for
[a2912ff]309 <application>GTK+ 3</application> and writes it to the default cache
[ce9d22a]310 file location, or to standard output.
311 </para>
[76a07db]312 <indexterm zone="gtk3 gtk-query-immodules-3.0">
313 <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="gtk-update-icon-cache3">
319 <term><command>gtk-update-icon-cache</command></term>
320 <listitem>
[ce9d22a]321 <para>
322 is an icon theme caching utility that creates mmap()able cache files
323 for icon themes.
324 </para>
[76a07db]325 <indexterm zone="gtk3 gtk-update-icon-cache3">
326 <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
[35d0635]331 <varlistentry id="gtk3-demo">
332 <term><command>gtk3-demo</command></term>
333 <listitem>
334 <para>
335 is a simple program that demonstrates some of the things that can be
336 done with <application>GTK+ 3</application>
337 </para>
338 <indexterm zone="gtk3 gtk3-demo">
339 <primary sortas="b-gtk3-demo">gtk3-demo</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="gtk3-demo-application">
345 <term><command>gtk3-demo-application</command></term>
346 <listitem>
347 <para>
348 is a simple <application>GTK+ 3</application> application.
349 </para>
350 <indexterm zone="gtk3 gtk3-demo-application">
351 <primary sortas="b-gtk3-demo-application">gtk3-demo-application</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="gtk3-widget-factory">
357 <term><command>gtk3-widget-factory</command></term>
358 <listitem>
359 <para>
360 is a program to view <application>GTK+ 3</application> themes and widgets.
361 </para>
362 <indexterm zone="gtk3 gtk3-widget-factory">
363 <primary sortas="b-gtk3-widget-factory">gtk3-widget-factory</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
[d356833]368 <varlistentry id="libgailutil-3">
369 <term><filename class="libraryfile">libgailutil-3.so</filename></term>
[76a07db]370 <listitem>
[ce9d22a]371 <para>
372 contains functions that implements the accessibility interfaces
[d356833]373 defined by the <application>GNOME</application> Accessibility
374 Toolkit.
[ce9d22a]375 </para>
[d356833]376 <indexterm zone="gtk3 libgailutil-3">
377 <primary sortas="c-libgailutil-3">libgailutil-3.so</primary>
[76a07db]378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="libgdk-3">
[d356833]383 <term><filename class="libraryfile">libgdk-3.so</filename></term>
[76a07db]384 <listitem>
[ce9d22a]385 <para>
386 contains functions that act as a wrapper around the low-level
387 drawing and windowing functions provided by the underlying graphics
[742b99e]388 system.
[ce9d22a]389 </para>
[76a07db]390 <indexterm zone="gtk3 libgdk-3">
391 <primary sortas="c-libgdk-3">libgdk-3.so</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="libgtk-3">
[d356833]397 <term><filename class="libraryfile">libgtk-3.so</filename></term>
[76a07db]398 <listitem>
[ce9d22a]399 <para>
400 contains functions that provide an API to implement graphical user
401 interfaces.
402 </para>
[76a07db]403 <indexterm zone="gtk3 libgtk-3">
404 <primary sortas="c-libgtk-3">libgtk-3.so</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
[a2912ff]408
[76a07db]409 </variablelist>
[b84342d6]410
[76a07db]411 </sect2>
[b84342d6]412
[76a07db]413</sect1>
Note: See TracBrowser for help on using the repository browser.