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