gtk+-3.2.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9719 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-03-16 15:42:42 +00:00
parent 8d86c672fb
commit ce9d22aa7e
3 changed files with 136 additions and 83 deletions

View File

@ -3,13 +3,13 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "15"> <!-- Always 2 digits -->
<!ENTITY day "16"> <!-- Always 2 digits -->
<!ENTITY month "03"> <!-- Always 2 digits -->
<!ENTITY year "2012">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "March 15th, &year;">
<!ENTITY releasedate "March 16th, &year;">
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
@ -608,7 +608,7 @@ $Date$
<!ENTITY gdk-pixbuf-version "2.24.0">
<!ENTITY gtk2-version "2.24.10">
<!ENTITY gtk2-libdir "2.0/2.10.0">
<!ENTITY gtk3-version "3.2.3">
<!ENTITY gtk3-version "3.2.4">
<!ENTITY gtk-engines-version "2.20.1">
<!ENTITY gtkmm-version "3.2.0">
<!ENTITY lesstif-version "0.95.2">

View File

@ -44,16 +44,19 @@
<listitem>
<para>March 16th, 2012</para>
<itemizedlist>
<listitem>
<listitem>
<para>[rthomsen] - Modified configuration for KDE4, QT4 and ConsoleKit.</para>
</listitem>
<listitem>
<para>[abenton] - Gtk+ 3.2.4.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 15th, 2012</para>
<itemizedlist>
<listitem>
<listitem>
<para>[rthomsen] - Upgrade to MPlayer svn_20120315.</para>
</listitem>
<listitem>

View File

@ -4,12 +4,14 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gtk3-download-http "&gnome-download-http;/gtk+/3.2/gtk+-&gtk3-version;.tar.xz">
<!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.2/gtk+-&gtk3-version;.tar.xz">
<!ENTITY gtk3-md5sum "b4edcc69e39159dd7be17828249afb46">
<!ENTITY gtk3-download-http
"&gnome-download-http;/gtk+/3.2/gtk+-&gtk3-version;.tar.xz">
<!ENTITY gtk3-download-ftp
"&gnome-download-ftp;/gtk+/3.2/gtk+-&gtk3-version;.tar.xz">
<!ENTITY gtk3-md5sum "3fe73e4af079b7e891ca417faed71139">
<!ENTITY gtk3-size "12 MB">
<!ENTITY gtk3-buildsize "314 MB">
<!ENTITY gtk3-time "2.8 SBU">
<!ENTITY gtk3-buildsize "325 MB">
<!ENTITY gtk3-time "2.9 SBU">
]>
<sect1 id="gtk3" xreflabel="gtk+-&gtk3-version;">
@ -29,91 +31,123 @@
<sect2 role="package">
<title>Introduction to gtk+-3</title>
<para>The <application>gtk+-3</application> package contains
<application>gtk+-3</application> libraries. These are used for creating
graphical user interfaces for applications.</para>
<para>
The <application>Gtk+-3</application> package contains
<application>Gtk+-3</application> libraries. These are used for creating
graphical user interfaces for applications.
</para>
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&gtk3-download-http;"/></para>
<para>
Download (HTTP): <ulink url="&gtk3-download-http;"/>
</para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&gtk3-download-ftp;"/></para>
<para>
Download (FTP): <ulink url="&gtk3-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>Download MD5 sum: &gtk3-md5sum;</para>
<para>
Download MD5 sum: &gtk3-md5sum;
</para>
</listitem>
<listitem>
<para>Download size: &gtk3-size;</para>
<para>
Download size: &gtk3-size;
</para>
</listitem>
<listitem>
<para>Estimated disk space required: &gtk3-buildsize;</para>
<para>
Estimated disk space required: &gtk3-buildsize;
</para>
</listitem>
<listitem>
<para>Estimated build time: &gtk3-time;</para>
<para>
Estimated build time: &gtk3-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">gtk+-3 Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="cairo"/> (compiled with support for
glib and libX11), <xref linkend="atk"/>, <xref linkend="pango"/>,
<xref linkend="gdk-pixbuf"/> and <xref linkend="x-window-system"/>
(specifically, libX11, libXext, libXi and libXrender are required,
libXinerama, libXcomposite, libXrandr and libXdamage are optional)</para>
<para role="required">
<xref linkend="cairo"/> (compiled with support for glib and libX11),
<xref linkend="atk"/>,
<xref linkend="pango"/>,
<xref linkend="gdk-pixbuf"/> and
<xref linkend="x-window-system"/> (specifically,
<application>libX11</application>, <application>libXext</application>,
<application>libXi</application> and <application>libXrender</application>
are required, <application>libXinerama</application>,
<application>libXcomposite</application>,
<application>libXrandr</application> and
<application>libXdamage</application> are optional)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="cups"/>,
<xref linkend="docbook-utils"/>,
<xref linkend="colord"/>,
<xref linkend="gobject-introspection"/> (required if you want to build
<xref linkend="gnome"/>. NB, you will need to install
<application>Gobject Introspection</application> before you install
<xref linkend="atk"/>, <xref linkend="pango"/> and
<xref linkend="gdk-pixbuf"/>.) and <xref linkend="gtk-doc"/> (only needed
if you want to rebuild the documentation).</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gtk3"/></para>
<para role="optional">
<xref linkend="cups"/>,
<xref linkend="docbook-utils"/>,
<xref linkend="colord"/>,
<xref linkend="gobject-introspection"/> (required if you want to build
<xref linkend="gnome"/>. NB, you will need to install
<application>Gobject Introspection</application> before you install
<xref linkend="atk"/>, <xref linkend="pango"/> and
<xref linkend="gdk-pixbuf"/>.) and
<xref linkend="gtk-doc"/> (only needed if you want to rebuild the
documentation).
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/gtk3"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of gtk+-3</title>
<para>Install <application>gtk+-3</application> by running the following
commands:</para>
<para>
Install <application>Gtk+-3</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>To test the results:</para>
<para>
To test the results:
</para>
<screen><userinput>rm tests/css/parser/selector.css &amp;&amp;
rm tests/a11y/pickers.ui &amp;&amp;
make check</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--disable-packagekit</parameter>: This parameter disables use
of PackageKit which isn't suitable for BLFS.</para>
<para><command>rm tests/css/parser/selector.css</command> and
<command>rm tests/a11y/pickers.ui</command>: This prevents two tests
being run as they are known to fail.</para>
<para>
<parameter>--disable-packagekit</parameter>: This parameter disables use
of PackageKit which isn't suitable for BLFS.
</para>
<para>
<command>rm tests/css/parser/selector.css</command> and
<command>rm tests/a11y/pickers.ui</command>: This prevents two tests
being run as they are known to fail.
</para>
</sect2>
<sect2 role="configuration">
@ -121,8 +155,10 @@ make check</userinput></screen>
<sect3 id="gtk3-config">
<title>Config Files</title>
<para><filename>~/.config/gtk-3.0/settings.ini</filename> and
<filename>/etc/gtk-3.0/settings.ini</filename></para>
<para>
<filename>~/.config/gtk-3.0/settings.ini</filename> and
<filename>/etc/gtk-3.0/settings.ini</filename>
</para>
<indexterm zone="gtk3 gtk3-config">
<primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
@ -135,12 +171,14 @@ make check</userinput></screen>
<sect3><title>Configuration Information</title>
<para>Gtk+-3 themes change the way a gtk application looks. An icon
theme can be used to change the icons that appear on the application's
toolbar. If you have installed a Gtk+-3 theme (eg
<xref linkend="gnome-themes-standard"/> or an icon theme (such as
<xref linkend="gnome-icon-theme"/>) you can set your prefences in
<filename>~/.config/gtk-3.0/settings.ini</filename>:</para>
<para>
Gtk+-3 themes change the way a gtk application looks. An icon theme can
be used to change the icons that appear on the application's toolbar. If
you have installed a Gtk+-3 theme (eg
<xref linkend="gnome-themes-standard"/> or an icon theme (such as
<xref linkend="gnome-icon-theme"/>) you can set your prefences in
<filename>~/.config/gtk-3.0/settings.ini</filename>:
</para>
<screen><userinput>cat &gt; ~/.config/gtk-3.0/settings.ini &lt;&lt; "EOF"
[Settings]
@ -148,21 +186,22 @@ gtk-theme-name = <replaceable>Adwaita</replaceable>
gtk-fallback-icon-theme = <replaceable>gnome</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>
There are many more themes available at
<ulink url="http://gnome-look.org/"/> 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>
<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-3.0/settings.ini &lt;&lt; "EOF"[Settings]
gtk-theme-name = <replaceable>Clearwaita</replaceable>
gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
@ -176,8 +215,10 @@ EOF</userinput></screen>
<seglistitem>
<seg>gtk3-demo, gtk-query-immodules-3.0, and gtk-update-icon-cache</seg>
<seg>libgailutil.so, libgdk-3.so, and libgtk-3.so</seg>
<seg>/etc/gtk-3.0, /usr/include/gtk-3.0, /usr/include/gail-3.0,
/usr/lib/gtk-3.0 and /usr/share/gtk-3.0</seg>
<seg>
/etc/gtk-3.0, /usr/include/gtk-3.0, /usr/include/gail-3.0,
/usr/lib/gtk-3.0 and /usr/share/gtk-3.0
</seg>
</seglistitem>
</segmentedlist>
@ -189,8 +230,10 @@ EOF</userinput></screen>
<varlistentry id="gtk3-demo">
<term><command>gtk3-demo</command></term>
<listitem>
<para>is a simple program that demonstrates some of the things that
can be done with gtk+-3</para>
<para>
is a simple program that demonstrates some of the things that can be
done with <application>Gtk+-3</application>
</para>
<indexterm zone="gtk3 gtk3-demo">
<primary sortas="b-gtk3-demo">gtk3-demo</primary>
</indexterm>
@ -200,9 +243,11 @@ EOF</userinput></screen>
<varlistentry id="gtk-query-immodules-3.0">
<term><command>gtk-query-immodules-3.0</command></term>
<listitem>
<para>collects information about loadable input method modules for
<application>gtk+-3</application> and writes it to the default cache
file location, or to standard output.</para>
<para>
collects information about loadable input method modules for
<application>Gtk+-3</application> and writes it to the default cache
file location, or to standard output.
</para>
<indexterm zone="gtk3 gtk-query-immodules-3.0">
<primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
</indexterm>
@ -212,8 +257,10 @@ EOF</userinput></screen>
<varlistentry id="gtk-update-icon-cache3">
<term><command>gtk-update-icon-cache</command></term>
<listitem>
<para>is an icon theme caching utility that creates mmap()able cache
files for icon themes.</para>
<para>
is an icon theme caching utility that creates mmap()able cache files
for icon themes.
</para>
<indexterm zone="gtk3 gtk-update-icon-cache3">
<primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
</indexterm>
@ -223,8 +270,10 @@ EOF</userinput></screen>
<varlistentry id="libgailutil">
<term><filename class='libraryfile'>libgailutil.so</filename></term>
<listitem>
<para>contains functions that implements the accessibility interfaces
defined by the GNOME Accessibility Toolkit</para>
<para>
contains functions that implements the accessibility interfaces
defined by the GNOME Accessibility Toolkit
</para>
<indexterm zone="gtk3 libgailutil">
<primary sortas="c-libgailutil">libgailutil.so</primary>
</indexterm>
@ -234,9 +283,11 @@ EOF</userinput></screen>
<varlistentry id="libgdk-3">
<term><filename class='libraryfile'>libgdk-3.so</filename></term>
<listitem>
<para>contains functions that act as a wrapper around the low-level
drawing and windowing functions provided by the underlying graphics
system (libX11 for now, but maybe in the future wayland).</para>
<para>
contains functions that act as a wrapper around the low-level
drawing and windowing functions provided by the underlying graphics
system (libX11 for now, but maybe in the future Wayland).
</para>
<indexterm zone="gtk3 libgdk-3">
<primary sortas="c-libgdk-3">libgdk-3.so</primary>
</indexterm>
@ -246,16 +297,15 @@ EOF</userinput></screen>
<varlistentry id="libgtk-3">
<term><filename class='libraryfile'>libgtk-3.so</filename></term>
<listitem>
<para>contains functions that provide an API to implement graphical
user interfaces.</para>
<para>
contains functions that provide an API to implement graphical user
interfaces.
</para>
<indexterm zone="gtk3 libgtk-3">
<primary sortas="c-libgtk-3">libgtk-3.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>