source: pst/xml/itstool.xml@ 7c9f9562

10.0 10.1 11.0 11.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 7c9f9562 was 7c9f9562, checked in by DJ Lucas <dj@…>, 5 years ago

Use Python-3 for itstool.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19368 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY itstool-download-http "http://files.itstool.org/itstool/itstool-&itstool-version;.tar.bz2">
8 <!ENTITY itstool-download-ftp " ">
9 <!ENTITY itstool-md5sum "9415ddf6a12012ff688549d2ed767bc5">
10 <!ENTITY itstool-size "100 KB">
11 <!ENTITY itstool-buildsize "668 KB">
12 <!ENTITY itstool-time "less than 0.1 SBU">
13]>
14
15<sect1 id="itstool" xreflabel="itstool-&itstool-version;">
16 <?dbhtml filename="itstool.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>itstool-&itstool-version;</title>
24
25 <indexterm zone="itstool">
26 <primary sortas="a-itstool">itstool</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to itstool</title>
31
32 <para>
33 <application>Itstool</application> extracts messages from XML files
34 and outputs PO template files, then merges translations from MO files
35 to create translated XML files. It determines what to translate and how to
36 chunk it into messages using the W3C Internationalization Tag Set (ITS).
37 </para>
38
39 &lfs81_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&itstool-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&itstool-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &itstool-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &itstool-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &itstool-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &itstool-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Itstool Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="DocBook"/><!--,
80 <xref linkend="docbook-xsl"/>--> and
81 <xref linkend="python2"/>
82 </para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/itstool"/>
86 </para>
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of itstool</title>
91
92 <para>
93 Install <application>itstool</application> by running the following
94 commands:
95 </para>
96
97<screen><userinput>PYTHON=/usr/bin/python3 ./configure --prefix=/usr &amp;&amp;
98make</userinput></screen>
99
100<!--
101 <para>
102 To test the results, issue: <command>make check</command>.
103 </para>
104-->
105
106 <para>
107 This package does not come with a test suite.
108 </para>
109
110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
113
114<screen role="root"><userinput>make install</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="content">
119 <title>Contents</title>
120
121 <segmentedlist>
122 <segtitle>Installed Program</segtitle>
123 <segtitle>Installed Libraries</segtitle>
124 <segtitle>Installed Directory</segtitle>
125
126 <seglistitem>
127 <seg>
128 itstool
129 </seg>
130 <seg>
131 None
132 </seg>
133 <seg>
134 /usr/share/itstool
135 </seg>
136 </seglistitem>
137 </segmentedlist>
138
139 <variablelist>
140 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
141 <?dbfo list-presentation="list"?>
142 <?dbhtml list-presentation="table"?>
143
144 <varlistentry id="itstool-prog">
145 <term><command>itstool</command></term>
146 <listitem>
147 <para>
148 is used to create translated XML files.
149 </para>
150 <indexterm zone="itstool itstool-prog">
151 <primary sortas="b-itstool">itstool</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 </variablelist>
157
158 </sect2>
159
160</sect1>
Note: See TracBrowser for help on using the repository browser.