updated to gtk+-2.24.8

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8988 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2011-11-20 00:42:35 +00:00
parent bf0fcb218b
commit bcef05bc89
4 changed files with 112 additions and 92 deletions

View File

@ -3,7 +3,7 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "18"> <!-- Always 2 digits -->
<!ENTITY day "19"> <!-- Always 2 digits -->
<!ENTITY month "11"> <!-- Always 2 digits -->
<!ENTITY year "2011">
<!ENTITY copyrightdate "2001-&year;">
@ -555,7 +555,7 @@ $Date$
<!ENTITY pangomm-version "2.26.2">
<!ENTITY atk-version "1.30.0">
<!ENTITY gdk-pixbuf-version "2.24.0">
<!ENTITY gtk2-version "2.20.1">
<!ENTITY gtk2-version "2.24.8">
<!ENTITY gtk2-libdir "2.0/2.10.0">
<!ENTITY gtkmm-version "2.20.3">
<!ENTITY lesstif-version "0.95.2">

View File

@ -41,6 +41,15 @@
</listitem>
-->
<listitem>
<para>November 19th, 2011</para>
<itemizedlist>
<listitem>
<para>[abenton] - Updated GTK2 to 2.24.8.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>November 18th, 2011</para>
<itemizedlist>

View File

@ -141,7 +141,7 @@ make</userinput></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gdk-pixbuf-csource-prog">
<varlistentry id="gdk-pixbuf-csource">
<term><command>gdk-pixbuf-csource</command></term>
<listitem>
<para>is a small utility that generates C code containing images,
@ -152,7 +152,7 @@ make</userinput></screen>
</listitem>
</varlistentry>
<varlistentry id="gdk-pixbuf-query-loaders-prog">
<varlistentry id="gdk-pixbuf-query-loaders">
<term><command>gdk-pixbuf-query-loaders</command></term>
<listitem>
<para>collects information about loadable modules for gdk-pixbuf and

View File

@ -4,8 +4,8 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gtk2-download-http "&gnome-download-http;/gtk+/2.20/gtk+-&gtk2-version;.tar.bz2">
<!ENTITY gtk2-download-ftp "ftp://ftp.gtk.org/pub/gtk/2.20/gtk+-&gtk2-version;.tar.bz2">
<!ENTITY gtk2-download-http "&gnome-download-http;/gtk+/2.24/gtk+-&gtk2-version;.tar.xz">
<!ENTITY gtk2-download-ftp "&gnome-download-ftp;/gtk+/2.24/gtk+-&gtk2-version;.tar.xz">
<!ENTITY gtk2-md5sum "53e6f3a93bd22934878fc4a4a34c68aa">
<!ENTITY gtk2-size "18.2 MB">
<!ENTITY gtk2-buildsize "331 MB">
@ -33,7 +33,7 @@
<application>GTK+</application> libraries. These are useful
for creating graphical user interfaces for applications.</para>
&lfs65_checked;
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -60,31 +60,27 @@
<bridgehead renderas="sect3">GTK+ Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="cairo"/>,
<xref linkend="pango"/>, and
<xref linkend="atk"/></para>
<para role="required"><xref linkend="cairo"/> (compiled with libX11
support), <xref linkend="gdk-pixbuf"/>, the
<xref linkend="x-window-system"/> (specifically, libX11, libXext and
libXrender), <xref linkend="pango"/> and <xref linkend="atk"/></para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"><xref linkend="libtiff"/>,
<xref linkend="libjpeg"/>, and
<xref linkend="hicolor-icon-theme"/></para>
<para role="recommended"><xref linkend="hicolor-icon-theme"/></para>
<!-- hicolor-icon-theme is required for the test suite -->
<para>Though not required, the <application>GTK+</application> developers
expect <application>libtiff</application>, and
<application>libjpeg</application> to be installed. Other packages also
expect <application>GTK+</application>-2 to be built with support for these
graphics packages as well.</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="cups"/>,
<xref linkend="jasper"/>,
<xref linkend="docbook-utils"/>,
<ulink url="http://beagle-project.org/Main_Page">libbeagle</ulink>,
<xref linkend="gobject-introspection"/>,
<xref linkend="gtk-doc"/>, and
<ulink url="http://www.tracker-project.org/">Tracker</ulink></para>
<!-- <ulink url="http://beagle-project.org/Main_Page">libbeagle</ulink>,
This beagle page appears to be just adverts -->
<!-- <ulink url="http://sourceforge.net/projects/openprinting/">papi</ulink>,
I think papi is just for solaris. It was a bugger to compile... -->
<!-- <ulink url="http://www.tracker-project.org/">Tracker</ulink>
This tracker page is a dead link -->
<xref linkend="gobject-introspection"/> and
<xref linkend="gtk-doc"/>.</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gtk+2"/></para>
@ -92,12 +88,16 @@
</sect2>
<sect2 role="installation">
<title>Installation of GTK+</title>
<title>Installation of GTK+-2</title>
<para>Install <application>GTK+</application> by running
<para>Install <application>GTK+-2</application> by running
the following commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
<screen><userinput>sed -i '/db2html/i@HAVE_DOCBOOK_TRUE@\t mkdir gtk-tut; \\' \
docs/tutorial/Makefile.in &amp;&amp;
sed -i '/db2html/i@HAVE_DOCBOOK_TRUE@\t mkdir gtk-faq; \\' \
docs/faq/Makefile.in &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>. Note that
@ -109,31 +109,25 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
sed -i 's/#man_MANS/man_MANS/' docs/reference/gtk/Makefile &amp;&amp;
make -C docs/reference/gtk install-man &amp;&amp;
install -v -m755 -d /usr/share/doc/gtk+-&gtk2-version;/{faq,tutorial} &amp;&amp;
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-&gtk2-version;/faq &amp;&amp;
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-&gtk2-version;/tutorial &amp;&amp;
cp -v docs/faq/*.html /usr/share/doc/gtk+-&gtk2-version;/faq &amp;&amp;
cp -v docs/tutorial/*.html /usr/share/doc/gtk+-&gtk2-version;/tutorial &amp;&amp;
cp -v -R docs/tutorial/images /usr/share/doc/gtk+-&gtk2-version;/tutorial &amp;&amp;
install -v -m644 docs/*.txt /usr/share/doc/gtk+-&gtk2-version;</userinput></screen>
<warning>
<para>If you installed the package on to your system using a
<quote>DESTDIR</quote> method, important files were not installed and
must be copied and/or generated. First generate two files using the
following commands as the <systemitem class="username">root</systemitem>
<quote>DESTDIR</quote> method two important files were not installed and
must be copied and/or generated. Generate them using the following
commands as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>gdk-pixbuf-query-loaders >/etc/gtk-2.0/gdk-pixbuf.loaders &amp;&amp;
gtk-query-immodules-2.0 >/etc/gtk-2.0/gtk.immodules</userinput></screen>
<screen role="root"><userinput>gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders &amp;&amp;
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules</userinput></screen>
<para>There is a bug in the <filename>Makefile</filename> that skips the
installation of the <filename class="extension">.1</filename> man files.
Install them using the following commands as the
<systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -m644 -v gdk-pixbuf/gdk-pixbuf-csource.1 \
docs/reference/gdk-pixbuf/gdk-pixbuf-query-loaders.1 \
docs/reference/gtk/gtk-builder-convert.1 \
docs/reference/gtk/gtk-query-immodules-2.0.1 \
docs/reference/gtk/gtk-update-icon-cache.1 \
/usr/share/man/man1</userinput></screen>
</warning>
</sect2>
@ -141,26 +135,72 @@ gtk-query-immodules-2.0 >/etc/gtk-2.0/gtk.immodules</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i '/db2html/i@HAVE_DOCBOOK...</command>: If you have
<xref linkend="docbook-utils"/> installed (specifically, if configure finds
db2html) then it will try to use it to rebuild some of it's html
documentation and fail due to bugs in some of the Makefiles. These seds fix
the Makefiles.</para>
<para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
configuration files into <filename class="directory">/etc</filename>
instead of <filename class="directory">/usr/etc</filename>.</para>
<para><command>sed -i 's/#man_MANS...</command> and
<command>make -C docs...install-man</command> these commands install the
man pages for gtk-builder-convert, gtk-query-immodules-2.0 and
gtk-update-icon-cache.</para>
<para><option>--enable-gtk-doc</option>: This switch will rebuild
the API documentation during the <command>make</command> command. Ensure
you really want to rebuild this documentation (and end up with what is
already shipped in the source tree) as it takes a very long time.</para>
<para><option>--without-libtiff</option>: Use this switch if you
don't have <application>libtiff</application> installed.</para>
</sect2>
<para><option>--without-libjpeg</option>: Use this switch if you
don't have <application>libjpeg</application> installed.</para>
<sect2 role="configuration">
<title>Configuring GTK+-2</title>
<para><option>--with-libjasper</option>: Use this option if you
have <application>libjasper</application> installed.</para>
<sect3 id="gtk2-config">
<title>Config Files</title>
<para><filename>~/.gtkrc-2.0</filename> and
<filename>/etc/gtk-2.0/gtkrc</filename></para>
<para><parameter>--disable-static</parameter>: This switch prevents the
static libraries from being built.</para>
<indexterm zone="gtk2 gtk2-config">
<primary sortas="e-AA.gtkrc-2.0">~/.gtkrc-2.0</primary>
</indexterm>
<indexterm zone="gtk2 gtk2-config">
<primary sortas="e-etc-path-gtkrc">/etc/gtk-2.0/gtkrc</primary>
</indexterm>
</sect3>
<sect3><title>Configuration Information</title>
<para>Gtk themes change the way a gtk application looks. A Gtk icon theme
can be used to change the icons that appear on the application's
toolbar. If you have installed a Gtk theme (eg
<xref linkend="gnome-themes"/>) or a Gtk icon theme (such as
<xref linkend="gnome-icon-theme"/>) you can set your prefences in
<filename>~/.gtkrc-2.0</filename>:</para>
<screen><userinput>cat &gt; ~/gtkrc-2.0 &lt;&lt; "EOF"
include "/usr/share/themes/<replaceable>Glider</replaceable>/gtk-2.0/gtkrc"
gtk-icon-theme-name = "<replaceable>hicolor</replaceable>"
EOF</userinput></screen>
<para>There are many more themes available at
<ulink url="http://gnome-look.org/">Gnome-Look.org</ulink> and other
places.</para>
<para>Once you've settled on themes you like, you can (as the
<systemitem class="username">root</systemitem> user) make them the
default system wide:</para>
<screen role="root"><userinput>cat &gt; /etc/gtk-2.0/gtkrc &lt;&lt; "EOF"
include "/usr/share/themes/<replaceable>Clearlooks</replaceable>/gtk-2.0/gtkrc"
gtk-icon-theme-name = "<replaceable>elementary</replaceable>"
EOF</userinput></screen>
</sect3>
</sect2>
@ -173,27 +213,21 @@ gtk-query-immodules-2.0 >/etc/gtk-2.0/gtk.immodules</userinput></screen>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-builder-convert,
gtk-demo, gtk-query-immodules-2.0, and gtk-update-icon-cache</seg>
<seg>gtk-builder-convert, gtk-demo, gtk-query-immodules-2.0, and
gtk-update-icon-cache</seg>
<seg>libpixmap.so, im-am-et.so, im-cedilla.so, im-cyrillic-translit.so,
im-inuktitut.so, im-ipa.so, im-multipress.so, im-thai.so, im-ti-er.so,
im-ti-et.so, im-viqr.so, im-xim.so, libpixbufloader-ani.so,
libpixbufloader-bmp.so, libpixbufloader-gif.so, libpixbufloader-icns.so,
libpixbufloader-ico.so, libpixbufloader-jpeg.so, libpixbufloader-pcx.so,
libpixbufloader-png.so, libpixbufloader-pnm.so, libpixbufloader-qtif.so,
libpixbufloader-ras.so, libpixbufloader-tga.so, libpixbufloader-tiff.so,
libpixbufloader-wbmp.so, libpixbufloader-xbm.so, libpixbufloader-xpm.so,
im-ti-et.so, im-viqr.so, im-xim.so, libprintbackend-cups.so
libprintbackend-file.so, libprintbackend-lpr.so,
libferret.so, libgail.so, libgailutil.so, libgdk-x11-2.0.so,
libgdk_pixbuf-2.0.so, libgdk_pixbuf_xlib-2.0.so, and
libferret.so, libgail.so, libgailutil.so, libgdk-x11-2.0.so and
libgtk-x11-2.0.so</seg>
<seg>/etc/gtk-2.0, /usr/{include/{gail-1.0/{gail,libgail-util},
gtk-2.0/{gdk-pixbuf-xlib,gtk},gtk-unix-print-2.0/gtk},
lib/gtk-2.0/{2.10.0/{engines,immodules,loaders,printbackends},include,
modules},share/{doc/gtk+-&gtk2-version;/{faq/stylesheet-images,
tutorial/{images,stylesheet-images}},gtk-2.0/demo,
gtk-doc/html/{gail-libgail-util,gdk-pixbuf,gtk},
themes/{Default/gtk-2.0-key,Emacs/gtk-2.0-key,Raleigh/gtk-2.0}}}</seg>
<seg>/etc/gtk-2.0, /usr/include/gail-1.0,
/usr/include/gtk-2.0, /usr/include/gtk-unix-print-2.0},
/usr/lib/gtk-2.0, /usr/share/doc/gtk+-&gtk2-version;,
/usr/share/gtk-doc/html/gail-libgail-util,
/usr/share/gtk-doc/html/gdk-pixbuf, /usr/share/gtk-doc/html/gtk,
/usr/share/themes/Default, /usr/share/themes/Emacs and
/usr/share/themes/Raleigh</seg>
</seglistitem>
</segmentedlist>
@ -202,29 +236,6 @@ gtk-query-immodules-2.0 >/etc/gtk-2.0/gtk.immodules</userinput></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gdk-pixbuf-csource">
<term><command>gdk-pixbuf-csource</command></term>
<listitem>
<para>generates C code containing images, useful for compiling
images directly into programs.</para>
<indexterm zone="gtk2 gdk-pixbuf-csource">
<primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gdk-pixbuf-query-loaders">
<term><command>gdk-pixbuf-query-loaders</command></term>
<listitem>
<para>collects information about loadable modules for gdk-pixbuf
and writes it to standard output.</para>
<indexterm zone="gtk2 gdk-pixbuf-query-loaders">
<primary
sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gtk-builder-convert">
<term><command>gtk-builder-convert</command></term>
<listitem>