Add itstool.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9313 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2012-02-08 01:09:20 +00:00
parent 8d4c6981dc
commit d5e0c9ec8e
4 changed files with 123 additions and 0 deletions

View File

@ -959,6 +959,7 @@ $Date$
<!ENTITY DocBook-version "4.5">
<!ENTITY docbook-xsl-version "1.76.1">
<!ENTITY xmlto-version "0.0.23">
<!ENTITY itstool-version "1.1.1">
<!-- Chapter 47 -->
<!ENTITY a2ps-version "4.14">

View File

@ -77,6 +77,9 @@
<listitem>
<para>[ken] - merge polkit-gnome-0.104 from Wayne.</para>
</listitem>
<listitem>
<para>[ken] - add itstool-1.1.1 from Wayne.</para>
</listitem>
</itemizedlist>
</listitem>

118
pst/xml/itstool.xml Normal file
View File

@ -0,0 +1,118 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY itstool-download-http "http://files.itstool.org/itstool/itstool-&itstool-version;.tar.bz2">
<!ENTITY itstool-download-ftp " ">
<!ENTITY itstool-md5sum "1ea7e89d3753e84b51efec0339a4e281">
<!ENTITY itstool-size "77 KB">
<!ENTITY itstool-buildsize "596 KB">
<!ENTITY itstool-time "less than 0.1 SBU">
]>
<sect1 id="itstool" xreflabel="itstool-&itstool-version;">
<?dbhtml filename="itstool.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>itstool-&itstool-version;</title>
<indexterm zone="itstool">
<primary sortas="a-itstool">itstool</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to itstool</title>
<para><application>Itstool</application> itstool extracts messages from XML
files and outputs PO template files, then merges translations from MO files
to create translated XML files. It determines what to translate and how to
chunk it into messages using the W3C Internationalization Tag Set (ITS).
</para>
&lfs70_built;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&itstool-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&itstool-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &itstool-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &itstool-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &itstool-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &itstool-time;</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/itstool"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of itstool</title>
<para>Install <application>itstool</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<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 Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>itstool</seg>
<seg>None</seg>
<seg>/usr/share/itstool/its</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="itstool-prog">
<term><command>itstool</command></term>
<listitem>
<para>Creates translated XML files.</para>
<indexterm zone="itstool itstool-prog">
<primary sortas="b-itstool-prog">itstool-prog</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -22,5 +22,6 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="docbook.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="docbook-xsl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xmlto.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="itstool.xml"/>
</chapter>