[a33e5398] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[a33e5398] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[7ba8507] | 7 | <!ENTITY recode-download-http "http://ftp.de.debian.org/debian/pool/main/r/recode/recode_3.6.orig.tar.gz">
|
---|
| 8 | <!-- <!ENTITY recode-download-ftp "ftp://ftp.gnu.org/gnu/recode/recode-&recode-version;.tar.gz"> -->
|
---|
| 9 | <!ENTITY recode-download-ftp " ">
|
---|
[a33e5398] | 10 | <!ENTITY recode-md5sum "be3f40ad2e93dae5cd5f628264bf1877">
|
---|
| 11 | <!ENTITY recode-size "1.7 MB">
|
---|
| 12 | <!ENTITY recode-buildsize "24 MB">
|
---|
[844c916] | 13 | <!ENTITY recode-time "0.1 SBU">
|
---|
[a33e5398] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="recode" xreflabel="Recode-&recode-version;">
|
---|
| 17 | <?dbhtml filename="recode.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
[98b103c] | 20 | <date>$Date$</date>
|
---|
[a33e5398] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Recode-&recode-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="recode">
|
---|
| 26 | <primary sortas="a-Recode">Recode</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <!--Required section-->
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Recode</title>
|
---|
| 32 |
|
---|
[e10b7ba] | 33 | <para>The <application>Recode</application> package contains a program for
|
---|
[a33e5398] | 34 | converting text between character sets, and a library that exposes
|
---|
| 35 | this functionality to other applications. Note that the same functionality
|
---|
| 36 | (but with different API) is provided by <command>iconv</command>, which is
|
---|
| 37 | installed in LFS as a part of <application>Glibc</application>.</para>
|
---|
[fd7e0ed6] | 38 |
|
---|
[98b103c] | 39 | <!-- This is not the case any longer. Apparently a new group has taken
|
---|
| 40 | interest in Recode and is planning future releases. See:
|
---|
| 41 | http://recode.progiciels-bpi.ca/
|
---|
[844c916] | 42 | <note>
|
---|
| 43 | <para>The <application>Recode</application> package is no longer
|
---|
| 44 | maintained upstream. Wishlist bugs such as
|
---|
| 45 | <ulink url="http://bugs.debian.org/94966"/> will never be fixed.</para>
|
---|
| 46 | </note>
|
---|
[98b103c] | 47 | -->
|
---|
[a33e5398] | 48 |
|
---|
| 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download (HTTP): <ulink url="&recode-download-http;"/></para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (FTP): <ulink url="&recode-download-ftp;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download MD5 sum: &recode-md5sum;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download size: &recode-size;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Estimated disk space required: &recode-buildsize;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Estimated build time: &recode-time;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing="compact">
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>Required patch: <ulink
|
---|
[98b103c] | 75 | url="&patch-root;/recode-&recode-version;-fixes-2.patch"/></para>
|
---|
[a33e5398] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect3">Recode Dependencies</bridgehead>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4716d52] | 82 | <para role="optional"><xref linkend="python2"/>
|
---|
[844c916] | 83 | (for the <quote>bigauto</quote> test) and
|
---|
[a33e5398] | 84 | <ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/recode"/></para>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of Recode</title>
|
---|
| 93 |
|
---|
| 94 | <para>Install <application>Recode</application> by running the following
|
---|
| 95 | commands:</para>
|
---|
| 96 |
|
---|
[98b103c] | 97 | <screen><userinput>patch -Np1 -i ../recode-&recode-version;-fixes-2.patch &&
|
---|
[a33e5398] | 98 | ./configure --prefix=/usr --without-included-gettext &&
|
---|
| 99 | make</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | <para>To test the results, issue: <command>make check</command>. The
|
---|
| 102 | testsuite will warn about the <quote>bigauto</quote> test being
|
---|
| 103 | skipped. The editors did not attempt to run this test to the end, because
|
---|
| 104 | it uses obsolete Python constructions.</para>
|
---|
| 105 |
|
---|
| 106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 | <para><parameter>--without-included-gettext</parameter>: This parameter
|
---|
| 116 | forces the use of <function>gettext</function> implementation provided
|
---|
| 117 | by <application>Glibc</application> instead of the very old internal copy.
|
---|
[844c916] | 118 | The internal copy produces incorrect output in UTF-8 locales.</para>
|
---|
[a33e5398] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Program</segtitle>
|
---|
| 127 | <segtitle>Installed Library</segtitle>
|
---|
[844c916] | 128 | <segtitle>Installed Directories</segtitle>
|
---|
[a33e5398] | 129 |
|
---|
| 130 | <seglistitem>
|
---|
| 131 | <seg>recode</seg>
|
---|
| 132 | <seg>librecode.{so,a}</seg>
|
---|
[844c916] | 133 | <seg>None</seg>
|
---|
[a33e5398] | 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="recode-prog">
|
---|
| 143 | <term><command>recode</command></term>
|
---|
| 144 | <listitem>
|
---|
[844c916] | 145 | <para>converts text between character sets.</para>
|
---|
[a33e5398] | 146 | <indexterm zone="recode recode-prog">
|
---|
| 147 | <primary sortas="b-recode">recode</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="librecode">
|
---|
| 153 | <term><filename class='libraryfile'>librecode.{so,a}</filename></term>
|
---|
| 154 | <listitem>
|
---|
[844c916] | 155 | <para>contains functions for character set conversion.</para>
|
---|
[a33e5398] | 156 | <indexterm zone="recode librecode">
|
---|
| 157 | <primary sortas="c-librecode">librecode.{so,a}</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | </variablelist>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | </sect1>
|
---|