[79071fa] | 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 |
|
---|
| 8 | <sect1 id="ch-system-intltool" role="wrap">
|
---|
| 9 | <?dbhtml filename="intltool.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Intltool-&intltool-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-intltool">
|
---|
| 14 | <primary sortas="a-Intltool">Intltool</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Intltool package contains internationalization tools.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Intltool</title>
|
---|
| 26 |
|
---|
[6dc0453] | 27 | <para os="p1">Apply the following patch to fix outdated syntax that is no
|
---|
| 28 | longer recognized by Perl-&perl-version;.</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="p2"><userinput>patch -Np1 -i ../&intltool-perl-patch;</userinput></screen>
|
---|
| 31 |
|
---|
[79071fa] | 32 | <para os="a">Prepare Intltool for compilation:</para>
|
---|
| 33 |
|
---|
[7cd7f99] | 34 | <screen os="b"><userinput>./configure \
|
---|
| 35 | --prefix=/usr</userinput></screen>
|
---|
[79071fa] | 36 |
|
---|
| 37 | <para os="c">Compile the package:</para>
|
---|
| 38 |
|
---|
| 39 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 40 |
|
---|
| 41 | <para os="e">To test the results, issue:</para>
|
---|
| 42 |
|
---|
| 43 | <screen os="e2"><userinput remap="test">make check</userinput></screen>
|
---|
| 44 |
|
---|
| 45 | <para os="f">Install the package:</para>
|
---|
| 46 |
|
---|
| 47 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
| 48 |
|
---|
| 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2 id="contents-intltool" role="content">
|
---|
| 52 | <title>Contents of Intltool</title>
|
---|
| 53 |
|
---|
| 54 | <segmentedlist>
|
---|
| 55 | <segtitle>Installed programs</segtitle>
|
---|
[c8a83d8] | 56 | <segtitle>Installed directories</segtitle>
|
---|
[79071fa] | 57 |
|
---|
| 58 | <seglistitem>
|
---|
[c8a83d8] | 59 | <seg>intltool-extract, intltool-merge, intltool-prepare, intltool-update, intltoolize</seg>
|
---|
| 60 | <seg>/usr/share/intltool</seg>
|
---|
[79071fa] | 61 | </seglistitem>
|
---|
| 62 | </segmentedlist>
|
---|
| 63 |
|
---|
| 64 | <variablelist>
|
---|
| 65 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 | <?dbhtml list-presentation="table"?>
|
---|
| 68 |
|
---|
| 69 | <varlistentry id="intltool-extract">
|
---|
| 70 | <term><command>intltool-extract</command></term>
|
---|
| 71 | <listitem>
|
---|
[c8a83d8] | 72 | <para>Generates header files which can be read by gettext</para>
|
---|
| 73 | <indexterm zone="ch-system-intltool intltool-extract">
|
---|
[79071fa] | 74 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
[c8a83d8] | 79 | <varlistentry id="intltool-merge">
|
---|
| 80 | <term><command>intltool-merge</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Merges translated strings into various types of files</para>
|
---|
| 83 | <indexterm zone="ch-system-intltool intltool-merge">
|
---|
| 84 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="intltool-prepare">
|
---|
| 90 | <term><command>intltool-prepare</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Prepares software to make use of intltool</para>
|
---|
| 93 | <indexterm zone="ch-system-intltool intltool-prepare">
|
---|
| 94 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="intltool-update">
|
---|
| 100 | <term><command>intltool-update</command></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>Updates PO template files and merges translations with them</para>
|
---|
| 103 | <indexterm zone="ch-system-intltool intltool-update">
|
---|
| 104 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="intltoolize">
|
---|
| 110 | <term><command>intltoolize</command></term>
|
---|
| 111 | <listitem>
|
---|
| 112 | <para>Copies intltool related files to software packages</para>
|
---|
| 113 | <indexterm zone="ch-system-intltool intltoolize">
|
---|
| 114 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
| 117 | </varlistentry>
|
---|
| 118 |
|
---|
[79071fa] | 119 | </variablelist>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | </sect1>
|
---|