[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 |
|
---|
[72de95a] | 7 | <!ENTITY gtk2-download-http "&gnome-download-http;/gtk+/2.20/gtk+->k2-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/2.20/gtk+->k2-version;.tar.bz2">
|
---|
| 9 | <!ENTITY gtk2-md5sum "53e6f3a93bd22934878fc4a4a34c68aa">
|
---|
| 10 | <!ENTITY gtk2-size "18.2 MB">
|
---|
| 11 | <!ENTITY gtk2-buildsize "331 MB">
|
---|
| 12 | <!ENTITY gtk2-time "7.0 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[a8eba10] | 15 | <sect1 id="gtk2" xreflabel="GTK+->k2-version;">
|
---|
[39fbd200] | 16 | <?dbhtml filename="gtk2.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GTK+->k2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gtk2">
|
---|
| 26 | <primary sortas="a-GTK2">GTK2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GTK+</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>GTK+</application> package contains
|
---|
[b74ee079] | 33 | <application>GTK+</application> libraries. These are useful
|
---|
[39fbd200] | 34 | for creating graphical user interfaces for applications.</para>
|
---|
| 35 |
|
---|
[a10f4a7] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[39fbd200] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url=">k2-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url=">k2-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: >k2-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: >k2-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: >k2-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: >k2-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">GTK+ Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[76a39aa] | 63 | <para role="required"><xref linkend="cairo"/>,
|
---|
[39fbd200] | 64 | <xref linkend="pango"/>, and
|
---|
| 65 | <xref linkend="atk"/></para>
|
---|
| 66 |
|
---|
[f6deaf77] | 67 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[1b9e36e] | 68 | <para role="recommended"><xref linkend="libtiff"/>,
|
---|
[49f7d8b] | 69 | <xref linkend="libjpeg"/>, and
|
---|
| 70 | <xref linkend="hicolor-icon-theme"/></para>
|
---|
[f6deaf77] | 71 |
|
---|
[49f7d8b] | 72 | <!-- hicolor-icon-theme is required for the test suite -->
|
---|
| 73 |
|
---|
[0a673cd2] | 74 | <para>Though not required, the <application>GTK+</application> developers
|
---|
| 75 | expect <application>libtiff</application>, and
|
---|
| 76 | <application>libjpeg</application> to be installed. Other packages also
|
---|
[1b9e36e] | 77 | expect <application>GTK+</application>-2 to be built with support for these
|
---|
[f6deaf77] | 78 | graphics packages as well.</para>
|
---|
| 79 |
|
---|
[39fbd200] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[5d4e5c7] | 81 | <para role="optional"><xref linkend="cups"/>,
|
---|
[0a673cd2] | 82 | <xref linkend="jasper"/>,
|
---|
[74cfec8] | 83 | <xref linkend="docbook-utils"/>,
|
---|
| 84 | <ulink url="http://beagle-project.org/Main_Page">libbeagle</ulink>,
|
---|
[72de95a] | 85 | <xref linkend="gobject-introspection"/>,
|
---|
[5d4e5c7] | 86 | <xref linkend="gtk-doc"/>, and
|
---|
[74cfec8] | 87 | <ulink url="http://www.tracker-project.org/">Tracker</ulink></para>
|
---|
[39fbd200] | 88 |
|
---|
[c5c2654] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
| 90 | <ulink url="&blfs-wiki;/gtk+2"/></para>
|
---|
| 91 |
|
---|
[39fbd200] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of GTK+</title>
|
---|
| 96 |
|
---|
| 97 | <para>Install <application>GTK+</application> by running
|
---|
| 98 | the following commands:</para>
|
---|
| 99 |
|
---|
[38637c1b] | 100 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[39fbd200] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
[c9786f06] | 103 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
| 104 | you must run the tests from a session with X Window Display capability
|
---|
| 105 | (i.e., not a text-based terminal/console) as the tests attempt to open an X
|
---|
[12c3430] | 106 | window, and the tests can take an excessively long time. Using an X Window,
|
---|
| 107 | the tests should take less than .3 SBUs</para>
|
---|
[39fbd200] | 108 |
|
---|
| 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 110 |
|
---|
[0011bd6] | 111 | <screen role="root"><userinput>make install &&
|
---|
[4dffff6] | 112 | install -v -m755 -d /usr/share/doc/gtk+->k2-version;/{faq,tutorial} &&
|
---|
| 113 | cp -v -R docs/faq/html/* /usr/share/doc/gtk+->k2-version;/faq &&
|
---|
[5d4e5c7] | 114 | cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+->k2-version;/tutorial &&
|
---|
| 115 | install -v -m644 docs/*.txt /usr/share/doc/gtk+->k2-version;</userinput></screen>
|
---|
[39fbd200] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
| 122 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 123 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 124 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 125 |
|
---|
| 126 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
[0d35663] | 127 | the API documentation during the <command>make</command> command. Ensure
|
---|
| 128 | you really want to rebuild this documentation (and end up with what is
|
---|
| 129 | already shipped in the source tree) as it takes a very long time.</para>
|
---|
[39fbd200] | 130 |
|
---|
[f6deaf77] | 131 | <para><option>--without-libtiff</option>: Use this switch if you
|
---|
| 132 | don't have <application>libtiff</application> installed.</para>
|
---|
| 133 |
|
---|
| 134 | <para><option>--without-libjpeg</option>: Use this switch if you
|
---|
| 135 | don't have <application>libjpeg</application> installed.</para>
|
---|
| 136 |
|
---|
[0a673cd2] | 137 | <para><option>--with-libjasper</option>: Use this option if you
|
---|
| 138 | have <application>libjasper</application> installed.</para>
|
---|
[1b9e36e] | 139 |
|
---|
| 140 | <para><parameter>--disable-static</parameter>: This switch prevents the
|
---|
| 141 | static libraries from being built.</para>
|
---|
| 142 |
|
---|
[39fbd200] | 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Programs</segtitle>
|
---|
| 150 | <segtitle>Installed Libraries</segtitle>
|
---|
| 151 | <segtitle>Installed Directories</segtitle>
|
---|
| 152 |
|
---|
| 153 | <seglistitem>
|
---|
[72de95a] | 154 | <seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-builder-convert,
|
---|
| 155 | gtk-demo, gtk-query-immodules-2.0, and gtk-update-icon-cache</seg>
|
---|
| 156 | <seg>libpixmap.so, im-am-et.so, im-cedilla.so, im-cyrillic-translit.so,
|
---|
| 157 | im-inuktitut.so, im-ipa.so, im-multipress.so, im-thai.so, im-ti-er.so,
|
---|
| 158 | im-ti-et.so, im-viqr.so, im-xim.so, libpixbufloader-ani.so,
|
---|
| 159 | libpixbufloader-bmp.so, libpixbufloader-gif.so, libpixbufloader-icns.so,
|
---|
| 160 | libpixbufloader-ico.so, libpixbufloader-jpeg.so, libpixbufloader-pcx.so,
|
---|
| 161 | libpixbufloader-png.so, libpixbufloader-pnm.so, libpixbufloader-qtif.so,
|
---|
| 162 | libpixbufloader-ras.so, libpixbufloader-tga.so, libpixbufloader-tiff.so,
|
---|
| 163 | libpixbufloader-wbmp.so, libpixbufloader-xbm.so, libpixbufloader-xpm.so,
|
---|
| 164 | libprintbackend-file.so, libprintbackend-lpr.so,
|
---|
| 165 | libferret.so, libgail.so, libgailutil.so, libgdk-x11-2.0.so,
|
---|
| 166 | libgdk_pixbuf-2.0.so, libgdk_pixbuf_xlib-2.0.so, and
|
---|
| 167 | libgtk-x11-2.0.so</seg>
|
---|
| 168 | <seg>/etc/gtk-2.0, /usr/{include/{gail-1.0/{gail,libgail-util},
|
---|
| 169 | gtk-2.0/{gdk-pixbuf-xlib,gtk},gtk-unix-print-2.0/gtk},
|
---|
| 170 | lib/gtk-2.0/{2.10.0/{engines,immodules,loaders,printbackends},include,
|
---|
| 171 | modules},share/{doc/gtk+->k2-version;/{faq/stylesheet-images,
|
---|
| 172 | tutorial/{images,stylesheet-images}},gtk-2.0/demo,
|
---|
| 173 | gtk-doc/html/{gail-libgail-util,gdk-pixbuf,gtk},
|
---|
| 174 | themes/{Default/gtk-2.0-key,Emacs/gtk-2.0-key,Raleigh/gtk-2.0}}}</seg>
|
---|
[39fbd200] | 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="gdk-pixbuf-csource">
|
---|
| 184 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>generates C code containing images, useful for compiling
|
---|
| 187 | images directly into programs.</para>
|
---|
| 188 | <indexterm zone="gtk2 gdk-pixbuf-csource">
|
---|
| 189 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
| 195 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>collects information about loadable modules for gdk-pixbuf
|
---|
| 198 | and writes it to standard output.</para>
|
---|
| 199 | <indexterm zone="gtk2 gdk-pixbuf-query-loaders">
|
---|
| 200 | <primary
|
---|
| 201 | sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
[49f7d8b] | 206 | <varlistentry id="gtk-builder-convert">
|
---|
| 207 | <term><command>gtk-builder-convert</command></term>
|
---|
| 208 | <listitem>
|
---|
[a41f643] | 209 | <para>converts glade files into XML files which can be loaded with
|
---|
[49f7d8b] | 210 | GtkBuilder.</para>
|
---|
| 211 | <indexterm zone="gtk2 gtk-builder-convert">
|
---|
| 212 | <primary
|
---|
| 213 | sortas="b-gtk-builder-convert">gtk-builder-convert</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="gtk-demo">
|
---|
| 219 | <term><command>gtk-demo</command></term>
|
---|
| 220 | <listitem>
|
---|
[a41f643] | 221 | <para>demonstrates <application>GTK+</application> functionality and
|
---|
[49f7d8b] | 222 | provides code for the examples.</para>
|
---|
| 223 | <indexterm zone="gtk2 gtk-demo">
|
---|
| 224 | <primary
|
---|
| 225 | sortas="b-gtk-demo">gtk-demo</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
[39fbd200] | 230 | <varlistentry id="gtk-query-immodules-2.0">
|
---|
| 231 | <term><command>gtk-query-immodules-2.0</command></term>
|
---|
| 232 | <listitem>
|
---|
| 233 | <para>collects information about loadable input method modules for
|
---|
| 234 | <application>GTK+</application> and writes it to standard output.</para>
|
---|
| 235 | <indexterm zone="gtk2 gtk-query-immodules-2.0">
|
---|
| 236 | <primary
|
---|
| 237 | sortas="b-gtk-query-immodules-2.0">gtk-query-immodules-2.0</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="gtk-update-icon-cache">
|
---|
| 243 | <term><command>gtk-update-icon-cache</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>creates mmap()able cache files for icon themes.</para>
|
---|
| 246 | <indexterm zone="gtk2 gtk-update-icon-cache">
|
---|
| 247 | <primary sortas="b-gtk-update-icon-cache">gtk-update-icon-cache</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="GTK2libs">
|
---|
| 253 | <term>GTK+ Libraries</term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>provide an API to implement graphical user interfaces.</para>
|
---|
| 256 | <indexterm zone="gtk2 GTK2libs">
|
---|
| 257 | <primary sortas="c-GTK2libs">GTK+ Libraries</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
| 262 | </variablelist>
|
---|
| 263 |
|
---|
| 264 | </sect2>
|
---|
[f45b1953] | 265 |
|
---|
| 266 | </sect1>
|
---|