[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 |
|
---|
| 7 | <!ENTITY recode-download-http "http://ftp.gnu.org/gnu/recode/recode-&recode-version;.tar.gz">
|
---|
| 8 | <!ENTITY recode-download-ftp "ftp://ftp.gnu.org/gnu/recode/recode-&recode-version;.tar.gz">
|
---|
| 9 | <!ENTITY recode-md5sum "be3f40ad2e93dae5cd5f628264bf1877">
|
---|
| 10 | <!ENTITY recode-size "1.7 MB">
|
---|
| 11 | <!ENTITY recode-buildsize "24 MB">
|
---|
| 12 | <!ENTITY recode-time "0.16 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="recode" xreflabel="Recode-&recode-version;">
|
---|
| 16 | <?dbhtml filename="recode.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy: randy $</othername>
|
---|
| 20 | <date>$Date: 2007-01-19 00:38:19 +0500 (Птн, 19 Янв 2007) $</date>
|
---|
| 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>
|
---|
| 38 |
|
---|
| 39 | <caution><para>The <application>Recode</application> package is no longer
|
---|
| 40 | maintained upstream. Wishlist bugs such as
|
---|
| 41 | <ulink url="http://bugs.debian.org/94966"/> will never be fixed.</para></caution>
|
---|
| 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&recode-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&recode-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &recode-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &recode-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &recode-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &recode-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 66 | <itemizedlist spacing="compact">
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Required patch: <ulink
|
---|
| 69 | url="&patch-root;/recode-&recode-version;-fixes-1.patch"/></para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Recode Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional"><xref linkend="python"/>
|
---|
| 77 | (for the <quote>bigauto</quote> test), and
|
---|
| 78 | <ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
|
---|
| 79 |
|
---|
| 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/recode"/></para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Recode</title>
|
---|
| 87 |
|
---|
| 88 | <para>Install <application>Recode</application> by running the following
|
---|
| 89 | commands:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>patch -Np1 -i ../recode-&recode-version;-fixes-1.patch &&
|
---|
| 92 | ./configure --prefix=/usr --without-included-gettext &&
|
---|
| 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>To test the results, issue: <command>make check</command>. The
|
---|
| 96 | testsuite will warn about the <quote>bigauto</quote> test being
|
---|
| 97 | skipped. The editors did not attempt to run this test to the end, because
|
---|
| 98 | it uses obsolete Python constructions.</para>
|
---|
| 99 |
|
---|
| 100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 101 |
|
---|
| 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
| 109 | <para><parameter>--without-included-gettext</parameter>: This parameter
|
---|
| 110 | forces the use of <function>gettext</function> implementation provided
|
---|
| 111 | by <application>Glibc</application> instead of the very old internal copy.
|
---|
| 112 | The internal copy produces wrong output in UTF-8 locales.</para>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <segmentedlist>
|
---|
| 120 | <segtitle>Installed Program</segtitle>
|
---|
| 121 | <segtitle>Installed Library</segtitle>
|
---|
| 122 |
|
---|
| 123 | <seglistitem>
|
---|
| 124 | <seg>recode</seg>
|
---|
| 125 | <seg>librecode.{so,a}</seg>
|
---|
| 126 | </seglistitem>
|
---|
| 127 | </segmentedlist>
|
---|
| 128 |
|
---|
| 129 | <variablelist>
|
---|
| 130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 131 | <?dbfo list-presentation="list"?>
|
---|
| 132 | <?dbhtml list-presentation="table"?>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="recode-prog">
|
---|
| 135 | <term><command>recode</command></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>Converts text between character sets</para>
|
---|
| 138 | <indexterm zone="recode recode-prog">
|
---|
| 139 | <primary sortas="b-recode">recode</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="librecode">
|
---|
| 145 | <term><filename class='libraryfile'>librecode.{so,a}</filename></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>contains functions for character set conversion</para>
|
---|
| 148 | <indexterm zone="recode librecode">
|
---|
| 149 | <primary sortas="c-librecode">librecode.{so,a}</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | </variablelist>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | </sect1>
|
---|