mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
0eecea5eae
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3932 af4574ff-66df-0310-9fd7-8a98e5e911e0
164 lines
5.6 KiB
XML
164 lines
5.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!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-md5sum "7d3b6d421b0fb9beee7faf97daab45e6">
|
|
<!ENTITY intltool-size "126 KB">
|
|
<!ENTITY intltool-buildsize "1.5 MB">
|
|
<!ENTITY intltool-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
|
<?dbhtml filename="intltool.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Intltool-&intltool-version;</title>
|
|
|
|
<indexterm zone="intltool">
|
|
<primary sortas="a-Intltool">Intltool</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Intltool</title>
|
|
|
|
<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"><source
|
|
directory>/<package>/po</filename>) and merging the translations into
|
|
<filename>.xml</filename>, <filename>.desktop</filename> and
|
|
<filename>.oaf</filename> files.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&intltool-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&intltool-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &intltool-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &intltool-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &intltool-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &intltool-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Intltool Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para><xref linkend="perl-modules"/>: XML-Parser</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Intltool</title>
|
|
|
|
<para>Install <application>intltool</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
|
intltool-update</seg>
|
|
<seg>None</seg>
|
|
<seg>/usr/share/intltool</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="intltoolize">
|
|
<term><command>intltoolize</command></term>
|
|
<listitem>
|
|
<para>prepares a package to use
|
|
<application>intltool</application>.</para>
|
|
<indexterm zone="intltool intltoolize">
|
|
<primary sortas="b-intltoolize">intltoolize</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="intltool-extract">
|
|
<term><command>intltool-extract</command></term>
|
|
<listitem>
|
|
<para>generates header files that can be read by
|
|
<command>gettext</command>.</para>
|
|
<indexterm zone="intltool intltool-extract">
|
|
<primary sortas="b-intltool-extract">intltool-extract</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="intltool-merge">
|
|
<term><command>intltool-merge</command></term>
|
|
<listitem>
|
|
<para> merges translated strings into various file types.</para>
|
|
<indexterm zone="intltool intltool-merge">
|
|
<primary sortas="b-intltool-merge">intltool-merge</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="intltool-prepare">
|
|
<term><command>intltool-prepare</command></term>
|
|
<listitem>
|
|
<para>updates pot files and merges them with translation files.</para>
|
|
<indexterm zone="intltool intltool-prepare">
|
|
<primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="intltool-update">
|
|
<term><command>intltool-update</command></term>
|
|
<listitem>
|
|
<para>updates the <filename>po</filename> template files and merges
|
|
them with the translations.</para>
|
|
<indexterm zone="intltool intltool-update">
|
|
<primary sortas="b-intltool-update">intltool-update</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|