source: x/lib/gtk+2.xml@ dd9e0c3

systemd-13485
Last change on this file since dd9e0c3 was cf4247e, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Merge to trunk r17126

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17322 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.3 KB
RevLine 
[feeb99a]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[feeb99a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[a2912ff]7 <!ENTITY gtk2-download-http "&gnome-download-http;/gtk+/2.24/gtk+-&gtk2-version;.tar.xz">
8 <!ENTITY gtk2-download-ftp "&gnome-download-ftp;/gtk+/2.24/gtk+-&gtk2-version;.tar.xz">
[cf4247e]9 <!ENTITY gtk2-md5sum "04568ba5c58b75e3c7543e45628ad789">
[ac38e9dc]10 <!ENTITY gtk2-size "13 MB">
[cf4247e]11 <!ENTITY gtk2-buildsize "368 MB">
12 <!ENTITY gtk2-time "2.7 SBU (plus 0.2 SBU for tests)">
[feeb99a]13]>
14
[a2912ff]15<sect1 id="gtk2" xreflabel="GTK+-&gtk2-version;">
[39fbd200]16 <?dbhtml filename="gtk2.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[a2912ff]23 <title>GTK+-&gtk2-version;</title>
[39fbd200]24
25 <indexterm zone="gtk2">
[d356833]26 <primary sortas="a-GTK+2">GTK+2</primary>
[39fbd200]27 </indexterm>
28
29 <sect2 role="package">
[a2912ff]30 <title>Introduction to GTK+ 2</title>
[39fbd200]31
[b04a049]32 <para>
[a2912ff]33 The <application>GTK+ 2</application> package contains
34 libraries used for creating graphical user interfaces
35 for applications.
[b04a049]36 </para>
[39fbd200]37
[383a1cd0]38 &lfs79_checked;
[a10f4a7]39
[39fbd200]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[b04a049]43 <para>
44 Download (HTTP): <ulink url="&gtk2-download-http;"/>
45 </para>
[39fbd200]46 </listitem>
47 <listitem>
[b04a049]48 <para>
49 Download (FTP): <ulink url="&gtk2-download-ftp;"/>
50 </para>
[39fbd200]51 </listitem>
52 <listitem>
[b04a049]53 <para>
54 Download MD5 sum: &gtk2-md5sum;
55 </para>
[39fbd200]56 </listitem>
57 <listitem>
[b04a049]58 <para>
59 Download size: &gtk2-size;
60 </para>
[39fbd200]61 </listitem>
62 <listitem>
[b04a049]63 <para>
64 Estimated disk space required: &gtk2-buildsize;
65 </para>
[39fbd200]66 </listitem>
67 <listitem>
[b04a049]68 <para>
69 Estimated build time: &gtk2-time;
70 </para>
[39fbd200]71 </listitem>
72 </itemizedlist>
73
[a2912ff]74 <bridgehead renderas="sect3">GTK+ 2 Dependencies</bridgehead>
[39fbd200]75
76 <bridgehead renderas="sect4">Required</bridgehead>
[b04a049]77 <para role="required">
[a2912ff]78 <xref linkend="atk"/>,
[90d2c306]79 <xref linkend="gdk-pixbuf"/> and
80 <xref linkend="pango"/>
[b04a049]81 </para>
[39fbd200]82
[f6deaf77]83 <bridgehead renderas="sect4">Recommended</bridgehead>
[b04a049]84 <para role="recommended">
85 <xref linkend="hicolor-icon-theme"/>
86 </para>
[f6deaf77]87
[39fbd200]88 <bridgehead renderas="sect4">Optional</bridgehead>
[b04a049]89 <para role="optional">
90 <xref linkend="cups"/>,
91 <xref linkend="docbook-utils"/>,
[ac38e9dc]92 <xref linkend="DocBook"/>,
93 <xref linkend="docbook-xsl"/> and
94 <xref linkend="libxslt"/> (to build the manual pages),
[b04a049]95 <xref linkend="gobject-introspection"/> and
[a2912ff]96 <xref linkend="gtk-doc"/>
[b04a049]97 </para>
98
99 <para condition="html" role="usernotes">
100 User Notes: <ulink url="&blfs-wiki;/gtk+2"/>
101 </para>
[39fbd200]102 </sect2>
103
104 <sect2 role="installation">
[a2912ff]105 <title>Installation of GTK+ 2</title>
[e08a501]106
[b04a049]107 <para>
[a2912ff]108 Install <application>GTK+ 2</application> by running the following
[b04a049]109 commands:
110 </para>
[e08a501]111
[ac38e9dc]112<screen><userinput>sed -i "s#l \(gtk-.*\).sgml#&amp; -o \1#" docs/{faq,tutorial}/Makefile.in &amp;&amp;
[b04a049]113./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[39fbd200]114make</userinput></screen>
115
[b04a049]116 <para>
[ac38e9dc]117 To test the results, issue: <command>make check</command> from an
118 X terminal emulator.
[b04a049]119 </para>
[39fbd200]120
[b04a049]121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
[39fbd200]124
[c1f0df84]125<screen role="root"><userinput>make install</userinput></screen>
[39fbd200]126
[b04a049]127 <note>
128 <para>
129 If you installed the package on to your system using a
[6c13e98]130 <quote>DESTDIR</quote> method, an important file was not installed and
[2ffe965]131 must be copied and/or generated. Generate it using the following
132 command as the <systemitem class="username">root</systemitem> user:
[b04a049]133 </para>
[8013fbe3]134
[f7033437]135<screen role="root"><userinput>gtk-query-immodules-2.0 --update-cache</userinput></screen>
[b04a049]136 </note>
[f7033437]137
[39fbd200]138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
[b04a049]143 <para>
[ac38e9dc]144 <command>sed -e "s#l \(gtk-.*\).sgml#&amp; -o \1#"
145 -i docs/{faq,tutorial}/Makefile.in</command>: If you have
[b04a049]146 <xref linkend="docbook-utils"/> installed (specifically, if configure
[601a838]147 finds <command>db2html</command>) then it will try to use it to rebuild
148 some of its HTML documentation and fail due to bugs in some of the
149 <filename>Makefile</filename>s. This <command>sed</command> fixes the
150 <filename>Makefile</filename>s.
[b04a049]151 </para>
152
[ac38e9dc]153 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/gtk-doc-rebuild.xml"/>
[b04a049]155
[216791a]156 <para>
[ac38e9dc]157 <option>--enable-man</option>: Use this switch if you have installed
158 <xref linkend="DocBook"/>, <xref linkend="docbook-xsl"/> and
159 <xref linkend="libxslt"/> and want to build and install manual pages
160 for the programs provided by this package.
[216791a]161 </para>
162
[bcef05b]163 </sect2>
164
165 <sect2 role="configuration">
[a2912ff]166 <title>Configuring GTK+ 2</title>
[bcef05b]167
168 <sect3 id="gtk2-config">
169 <title>Config Files</title>
[b04a049]170 <para>
[64cac4c]171 <filename>~/.gtkrc-2.0</filename>,
172 <filename>/etc/gtk-2.0/gtkrc</filename>, and
173 <filename>/usr/share/gtk-2.0/gtkrc</filename>
[b04a049]174 </para>
[f6deaf77]175
[bcef05b]176 <indexterm zone="gtk2 gtk2-config">
177 <primary sortas="e-AA.gtkrc-2.0">~/.gtkrc-2.0</primary>
178 </indexterm>
[f6deaf77]179
[bcef05b]180 <indexterm zone="gtk2 gtk2-config">
[64cac4c]181 <primary sortas="e-etc-gtk-2.0-gtkrc">/etc/gtk-2.0/gtkrc</primary>
182 </indexterm>
183
184 <indexterm zone="gtk2 gtk2-config">
185 <primary sortas="e-usr-share-gtk-2.0-gtkrc">/usr/share/gtk-2.0/gtkrc</primary>
[bcef05b]186 </indexterm>
187 </sect3>
[1b9e36e]188
[ac38e9dc]189 <sect3>
190 <title>Configuration Information</title>
[bcef05b]191
[b04a049]192 <para>
[a2912ff]193 <application>GTK+ 2</application> themes change the way a
194 <application>GTK+ 2</application> application looks. A
195 <application>GTK+ 2</application> icon theme can be used to change the
[ebee860]196 icons that appear on the application's toolbar. If you have installed a
[13832d9]197 <application>GTK+ 2</application> theme (such as <xref
198 linkend="gnome-themes-standard"/>) or a
[a2912ff]199 <application>GTK+ 2</application> icon theme (such as
[ac38e9dc]200 <xref linkend="adwaita-icon-theme"/>) you can set your preferences in
[b04a049]201 <filename>~/.gtkrc-2.0</filename>:
202 </para>
[bcef05b]203
[05d91c4]204<screen><userinput>cat &gt; ~/.gtkrc-2.0 &lt;&lt; "EOF"
[13832d9]205include "/usr/share/themes/<replaceable>Adwaita</replaceable>/gtk-2.0/gtkrc"
[ac38e9dc]206gtk-icon-theme-name = "<replaceable>Adwaita</replaceable>"
[bcef05b]207EOF</userinput></screen>
208
[b04a049]209 <para>
210 There are many more themes available at
211 <ulink url="http://gnome-look.org/">Gnome-Look.org</ulink> and other
212 places.
213 </para>
[352d95c]214
[b04a049]215 <para>
216 Once you've settled on themes you like, you can (as the
217 <systemitem class="username">root</systemitem> user) make them the
218 default system wide:
219 </para>
[bcef05b]220
221<screen role="root"><userinput>cat &gt; /etc/gtk-2.0/gtkrc &lt;&lt; "EOF"
222include "/usr/share/themes/<replaceable>Clearlooks</replaceable>/gtk-2.0/gtkrc"
223gtk-icon-theme-name = "<replaceable>elementary</replaceable>"
224EOF</userinput></screen>
225
[352d95c]226 <para>
[6988b80]227 <xref linkend="lxappearance"/> is a <application>GTK+ 2</application>
228 application that can help you choose the themes you like.
[b04a049]229 </para>
[bcef05b]230 </sect3>
[39fbd200]231 </sect2>
232
233 <sect2 role="content">
234 <title>Contents</title>
235
236 <segmentedlist>
237 <segtitle>Installed Programs</segtitle>
238 <segtitle>Installed Libraries</segtitle>
239 <segtitle>Installed Directories</segtitle>
240
241 <seglistitem>
[b04a049]242 <seg>
[d8fe3e58]243 gtk-builder-convert, gtk-demo, gtk-query-immodules-2.0, and
[b04a049]244 gtk-update-icon-cache
245 </seg>
246 <seg>
[ac38e9dc]247 libgailutil.so, libgdk-x11-2.0.so, and libgtk-x11-2.0.so
[b04a049]248 </seg>
249 <seg>
[a2912ff]250 /etc/gtk-2.0,
[d8fe3e58]251 /usr/include/{gail-1.0,gtk-2.0,gtk-unix-print-2.0},
[a2912ff]252 /usr/lib/gtk-2.0,
[d8fe3e58]253 /usr/share/doc/gtk+-&gtk2-version;,
[ac38e9dc]254 /usr/share/gtk-2.0,
[d8fe3e58]255 /usr/share/gtk-doc/html/{gail-libgail-util,gdk2,gtk2}, and
256 /usr/share/themes/{Default,Emacs,Raleigh}
[b04a049]257 </seg>
[39fbd200]258 </seglistitem>
259 </segmentedlist>
260
261 <variablelist>
262 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
263 <?dbfo list-presentation="list"?>
264 <?dbhtml list-presentation="table"?>
265
[49f7d8b]266 <varlistentry id="gtk-builder-convert">
267 <term><command>gtk-builder-convert</command></term>
268 <listitem>
[b04a049]269 <para>
270 converts glade files into XML files which can be loaded with
271 GtkBuilder.
272 </para>
[49f7d8b]273 <indexterm zone="gtk2 gtk-builder-convert">
274 <primary
275 sortas="b-gtk-builder-convert">gtk-builder-convert</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="gtk-demo">
281 <term><command>gtk-demo</command></term>
282 <listitem>
[b04a049]283 <para>
[a2912ff]284 demonstrates <application>GTK+ 2</application> functionality and
[b04a049]285 provides code for the examples.
286 </para>
[49f7d8b]287 <indexterm zone="gtk2 gtk-demo">
288 <primary
289 sortas="b-gtk-demo">gtk-demo</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
[39fbd200]294 <varlistentry id="gtk-query-immodules-2.0">
295 <term><command>gtk-query-immodules-2.0</command></term>
296 <listitem>
[b04a049]297 <para>
298 collects information about loadable input method modules for
[a2912ff]299 <application>GTK+ 2</application> and writes it to standard output.
[b04a049]300 </para>
[39fbd200]301 <indexterm zone="gtk2 gtk-query-immodules-2.0">
302 <primary
303 sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="gtk-update-icon-cache">
309 <term><command>gtk-update-icon-cache</command></term>
310 <listitem>
[b04a049]311 <para>
[90b5e47]312 creates mmap()able cache files for icon themes. Starting with
313 <application>gtk+-2.24.24</application>, add the flag
314 <quote>--include-image-data</quote> to this command, if you wish
315 previous behavior, with image data in the cache.
[b04a049]316 </para>
[39fbd200]317 <indexterm zone="gtk2 gtk-update-icon-cache">
318 <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
[c1f0df84]323 <varlistentry id="libgdk-x11-2">
324 <term><filename class="libraryfile">libgdk-x11-2.0.so</filename></term>
[39fbd200]325 <listitem>
[b04a049]326 <para>
[c1f0df84]327 contains functions that act as a wrapper around the low-level
328 drawing and windowing functions provided by the underlying graphics
329 system.
[b04a049]330 </para>
[c1f0df84]331 <indexterm zone="gtk2 libgdk-x11-2">
332 <primary sortas="c-libgdk-x11-2">libgdk-x11-2.0.so</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="libgtk-x11-2">
338 <term><filename class="libraryfile">libgtk-x11-2.0.so</filename></term>
339 <listitem>
340 <para>
341 contains functions that provide an API to implement graphical user
342 interfaces.
343 </para>
344 <indexterm zone="gtk2 libgtk-x11-2">
345 <primary sortas="c-libgtk-x11-2">libgtk-x11-2.0.so</primary>
[39fbd200]346 </indexterm>
347 </listitem>
348 </varlistentry>
[a2912ff]349
[39fbd200]350 </variablelist>
[a2912ff]351
[39fbd200]352 </sect2>
[a2912ff]353
[f45b1953]354</sect1>
Note: See TracBrowser for help on using the repository browser.