Updated intltool to 0.32.1 and moved the instructions to Chapter 10 - General Utilities; added expat as a dependency of the XML::Parser Perl Module

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2904 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-11-07 03:41:33 +00:00
parent f1e6141361
commit cf3ab51815
6 changed files with 48 additions and 36 deletions

View File

@ -103,6 +103,7 @@
<!ENTITY imagemagick-version "6.0.5">
<!ENTITY hd2u-version "0.9.1">
<!ENTITY gtk-doc-version "1.2">
<!ENTITY intltool-version "0.32.1">
<!ENTITY screen-version "4.0.2">
<!ENTITY tidy-version "041005">
@ -270,7 +271,6 @@
<!-- Chapter 30 -->
<!ENTITY gnome-version "2.6">
<!ENTITY ORBit2-version "2.10.2">
<!ENTITY intltool-version "0.30">
<!ENTITY libbonobo-version "2.6.2">
<!ENTITY GConf-version "2.6.2">
<!ENTITY gnome-mime-data-version "2.4.1">

View File

@ -15,6 +15,7 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="imagemagick.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hd2u.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gtk-doc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="intltool.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="screen.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tidy.xml"/>

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
<!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
<!ENTITY intltool-size "112 KB">
<!ENTITY intltool-buildsize "1010 KB">
<!ENTITY intltool-time "0.00 SBU">
<!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/0.32/intltool-&intltool-version;.tar.bz2">
<!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/0.32/intltool-&intltool-version;.tar.bz2">
<!ENTITY intltool-md5sum "b829f3d426c6a68e09196b95ba7ffa3b">
<!ENTITY intltool-size "125 KB">
<!ENTITY intltool-buildsize "1.6 MB">
<!ENTITY intltool-time "0.01 SBU">
]>
<sect1 id="intltool" xreflabel="intltool-&intltool-version;">
@ -23,14 +23,13 @@
<sect2>
<title>Introduction to <application>intltool</application></title>
<para>The intltool package contains an internationalization tool. This
is useful for extracting translatable strings from source files,
collecting the extracted strings with messages from traditional source
files (<filename class="directory">&lt;source
directory&gt;/&lt;package&gt;/po</filename>)
and merging the translations into <filename>XML</filename>,
<filename>.desktop</filename> and <filename>OAF</filename>
files.</para>
<para>The <application>intltool</application> package contains an
internationalization tool. This is useful for extracting translatable strings
from source files, collecting the extracted strings with messages from
traditional source files (<filename class="directory">&lt;source
directory&gt;/&lt;package&gt;/po</filename>) and merging the translations into
<filename>.xml</filename>, <filename>.desktop</filename> and
<filename>.oaf</filename> files.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
@ -38,6 +37,7 @@ files.</para>
url="&intltool-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&intltool-download-ftp;"/></para></listitem>
<listitem><para>MD5 sum: &intltool-md5sum;</para></listitem>
<listitem><para>Download size: &intltool-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&intltool-buildsize;</para></listitem>
@ -45,12 +45,19 @@ url="&intltool-download-ftp;"/></para></listitem>
&intltool-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>intltool</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="perl-modules"/>: XML-Parser</para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>intltool</application></title>
<para>Install <application>intltool</application> by running the following commands:</para>
<para>Install <application>intltool</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
@ -61,37 +68,36 @@ make install</command></userinput></screen>
<sect2>
<title>Contents</title>
<para>The <application>intltool</application> package contains
<command>intltoolize</command>,
<command>intltool-update</command>,
<command>intltool-extract</command>,
<command>intltool-merge</command>,
<command>intltool-prepare</command> and
<command>xml-i18n-toolize</command>.
</para>
<para>The <application>intltool</application> package contains
<command>intltoolize</command>,
<command>intltool-update</command>,
<command>intltool-extract</command>,
<command>intltool-merge</command> and
<command>intltool-prepare</command>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>intltoolize</title>
<para><command>intltoolize</command> prepares a package to use intltool.</para></sect3>
<para><command>intltoolize</command> prepares a package to use
<application>intltool</application>.</para></sect3>
<sect3><title>intltool-update</title>
<para><command>intltool-update</command> updates the <filename>po</filename> template files
and merges them with the translations.</para></sect3>
<para><command>intltool-update</command> updates the <filename>po</filename>
template files and merges them with the translations.</para></sect3>
<sect3><title>intltool-extract</title>
<para><command>intltool-extract</command> generates header files that can be read by
<command>gettext</command>.</para></sect3>
<para><command>intltool-extract</command> generates header files that can be
read by <command>gettext</command>.</para></sect3>
<sect3><title>intltool-merge</title>
<para><command>intltool-merge</command> merges translated strings into various file
types.</para></sect3>
<para><command>intltool-merge</command> merges translated strings into various
file types.</para></sect3>
<sect3><title>intltool-prepare</title>
<para><command>intltool-prepare</command> updates pot files and merges them with
translation files.</para></sect3>
<para><command>intltool-prepare</command> updates pot files and merges them
with translation files.</para></sect3>
</sect2>

View File

@ -54,8 +54,10 @@ url="http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-&XML-Writer-version;
</para></listitem>
<listitem><para><ulink
url="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">XML-Parser-&XML-Parser-version;</ulink>
</para></listitem>
url="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">XML-Parser-&XML-Parser-version;</ulink></para><itemizedlist spacing='compact'>
<listitem><para><xref linkend="expat"/></para></listitem></itemizedlist>
</listitem>
<listitem><para><xref linkend="GTK"/></para>
</listitem></itemizedlist></listitem>

View File

@ -15,7 +15,6 @@ to display a functional desktop.</para>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pre-install-config.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="orbit2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="intltool.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libbonobo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gconf.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gnome-mime-data.xml"/>

View File

@ -22,6 +22,10 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>November 6th, 2004 [randy]: Updated intltool to 0.32.1 and
moved the instructions to Chapter 10 - General Utilities; added expat as
a dependency of the XML::Parser Perl Module.</para></listitem>
<listitem><para>November 6th, 2004 [randy]: Moved libart_lgpl to Chapter 9 -
Graphics and Font Libraries, libcroco and libIDL to Chapter 8 -
General Libraries and GTK-Doc to Chapter 10 -