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