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 icu-download-http
|
---|
8 | "http://download.icu-project.org/files/icu4c/&icu-version;/icu4c-&icu-dl-version;-src.tgz">
|
---|
9 | <!ENTITY icu-download-ftp " ">
|
---|
10 | <!ENTITY icu-md5sum "54923fa9fab5b2b83f235fb72523de37">
|
---|
11 | <!ENTITY icu-size "22 MB">
|
---|
12 | <!ENTITY icu-buildsize "285 MB (add 32 MB for tests)">
|
---|
13 | <!ENTITY icu-time "1.3 SBU (add 1.3 SBU for tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="icu" xreflabel="ICU-&icu-version;">
|
---|
17 | <?dbhtml filename="icu.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>ICU-&icu-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="icu">
|
---|
27 | <primary sortas="a-ICU">ICU</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to ICU</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>International Components for Unicode</application> (ICU)
|
---|
35 | package is a mature, widely used set of C/C++ libraries providing Unicode
|
---|
36 | and Globalization support for software applications.
|
---|
37 | <application>ICU</application> is widely portable and gives applications
|
---|
38 | the same results on all platforms.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs81_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&icu-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&icu-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &icu-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &icu-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &icu-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &icu-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 | <!--
|
---|
77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
78 | <itemizedlist spacing="compact">
|
---|
79 | <listitem>
|
---|
80 | <para>
|
---|
81 | Required patch:
|
---|
82 | <ulink url="&patch-root;/icu4c-&icu-version;-fix_enumeration-1.patch"/>
|
---|
83 | </para>
|
---|
84 | </listitem>
|
---|
85 | </itemizedlist>
|
---|
86 | -->
|
---|
87 | <bridgehead renderas="sect3">ICU Dependencies</bridgehead>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
90 | <para role="optional">
|
---|
91 | <xref linkend="llvm"/> (with Clang), and
|
---|
92 | <xref linkend="doxygen"/> (for documentation)
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <para condition="html" role="usernotes">
|
---|
96 | User Notes: <ulink url="&blfs-wiki;/icu"/>
|
---|
97 | </para>
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of ICU</title>
|
---|
102 | <!--
|
---|
103 | <para>
|
---|
104 | First, fix a regression in version 58.1:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>patch -p1 -i ../icu4c-&icu-version;-fix_enumeration-1.patch</userinput></screen>
|
---|
108 | -->
|
---|
109 | <para>
|
---|
110 | Install <application>ICU</application> by running the following commands:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen><userinput>cd source &&
|
---|
114 | sed -i 's/xlocale/locale/' i18n/digitlst.cpp &&
|
---|
115 | ./configure --prefix=/usr &&
|
---|
116 | make</userinput></screen>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | To test the results, issue: <command>make check</command>.
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="content">
|
---|
130 | <title>Contents</title>
|
---|
131 |
|
---|
132 | <segmentedlist>
|
---|
133 | <segtitle>Installed Programs</segtitle>
|
---|
134 | <segtitle>Installed Libraries</segtitle>
|
---|
135 | <segtitle>Installed Directories</segtitle>
|
---|
136 |
|
---|
137 | <seglistitem>
|
---|
138 | <seg>
|
---|
139 | derb, genbrk, genccode, gencfu, gencmn, gencnval, gendict, gennorm2,
|
---|
140 | genrb, gensprep, icu-config, icuinfo, icupkg, makeconv, pkgdata, and
|
---|
141 | uconv
|
---|
142 | </seg>
|
---|
143 | <seg>
|
---|
144 | libicudata.so, libicui18n.so, libicuio.so, libicule.so, libiculx.so,
|
---|
145 | libicutest.so, libicutu.so, and libicuuc.so
|
---|
146 | </seg>
|
---|
147 | <seg>
|
---|
148 | /usr/include/layout,
|
---|
149 | /usr/include/unicode,
|
---|
150 | /usr/lib/icu, and
|
---|
151 | /usr/share/icu
|
---|
152 | </seg>
|
---|
153 | </seglistitem>
|
---|
154 | </segmentedlist>
|
---|
155 |
|
---|
156 | <variablelist>
|
---|
157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
158 | <?dbfo list-presentation="list"?>
|
---|
159 | <?dbhtml list-presentation="table"?>
|
---|
160 |
|
---|
161 | <varlistentry id="derb">
|
---|
162 | <term><command>derb</command></term>
|
---|
163 | <listitem>
|
---|
164 | <para>
|
---|
165 | disassembles a resource bundle.
|
---|
166 | </para>
|
---|
167 | <indexterm zone="icu derb">
|
---|
168 | <primary sortas="b-derb">derb</primary>
|
---|
169 | </indexterm>
|
---|
170 | </listitem>
|
---|
171 | </varlistentry>
|
---|
172 |
|
---|
173 | <varlistentry id="genbrk">
|
---|
174 | <term><command>genbrk</command></term>
|
---|
175 | <listitem>
|
---|
176 | <para>
|
---|
177 | compiles ICU break iteration rules source files into binary data
|
---|
178 | files.
|
---|
179 | </para>
|
---|
180 | <indexterm zone="icu genbrk">
|
---|
181 | <primary sortas="b-genbrk">genbrk</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | <varlistentry id="genccode">
|
---|
187 | <term><command>genccode</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | generates C or platform specific assembly code from an ICU data
|
---|
191 | file.
|
---|
192 | </para>
|
---|
193 | <indexterm zone="icu genccode">
|
---|
194 | <primary sortas="b-genccode">genccode</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="gencfu">
|
---|
200 | <term><command>gencfu</command></term>
|
---|
201 | <listitem>
|
---|
202 | <para>
|
---|
203 | reads in Unicode confusable character definitions and writes out the
|
---|
204 | binary data.
|
---|
205 | </para>
|
---|
206 | <indexterm zone="icu gencfu">
|
---|
207 | <primary sortas="b-gencfu">gencfu</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="gencmn">
|
---|
213 | <term><command>gencmn</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | generates an ICU memory-mappable data file.
|
---|
217 | </para>
|
---|
218 | <indexterm zone="icu gencmn">
|
---|
219 | <primary sortas="b-gencmn">gencmn</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="gencnval">
|
---|
225 | <term><command>gencnval</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | compiles the converter's aliases file.
|
---|
229 | </para>
|
---|
230 | <indexterm zone="icu gencnval">
|
---|
231 | <primary sortas="b-gencnval">gencnval</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | <varlistentry id="gendict">
|
---|
237 | <term><command>gendict</command></term>
|
---|
238 | <listitem>
|
---|
239 | <para>
|
---|
240 | compiles word lists into ICU string trie dictionaries.
|
---|
241 | </para>
|
---|
242 | <indexterm zone="icu gendict">
|
---|
243 | <primary sortas="b-gendict">gendict</primary>
|
---|
244 | </indexterm>
|
---|
245 | </listitem>
|
---|
246 | </varlistentry>
|
---|
247 |
|
---|
248 | <varlistentry id="gennorm2">
|
---|
249 | <term><command>gennorm2</command></term>
|
---|
250 | <listitem>
|
---|
251 | <para>
|
---|
252 | builds binary data files with Unicode normalization data.
|
---|
253 | </para>
|
---|
254 | <indexterm zone="icu gennorm2">
|
---|
255 | <primary sortas="b-gennorm2">gennorm2</primary>
|
---|
256 | </indexterm>
|
---|
257 | </listitem>
|
---|
258 | </varlistentry>
|
---|
259 |
|
---|
260 | <varlistentry id="genrb">
|
---|
261 | <term><command>genrb</command></term>
|
---|
262 | <listitem>
|
---|
263 | <para>
|
---|
264 | compiles a resource bundle.
|
---|
265 | </para>
|
---|
266 | <indexterm zone="icu genrb">
|
---|
267 | <primary sortas="b-genrb">genrb</primary>
|
---|
268 | </indexterm>
|
---|
269 | </listitem>
|
---|
270 | </varlistentry>
|
---|
271 |
|
---|
272 | <varlistentry id="gensprep">
|
---|
273 | <term><command>gensprep</command></term>
|
---|
274 | <listitem>
|
---|
275 | <para>
|
---|
276 | compiles StringPrep data from filtered RFC 3454 files.
|
---|
277 | </para>
|
---|
278 | <indexterm zone="icu gensprep">
|
---|
279 | <primary sortas="b-gensprep">gensprep</primary>
|
---|
280 | </indexterm>
|
---|
281 | </listitem>
|
---|
282 | </varlistentry>
|
---|
283 |
|
---|
284 | <varlistentry id="icu-config">
|
---|
285 | <term><command>icu-config</command></term>
|
---|
286 | <listitem>
|
---|
287 | <para>
|
---|
288 | outputs ICU build options.
|
---|
289 | </para>
|
---|
290 | <indexterm zone="icu icu-config">
|
---|
291 | <primary sortas="b-icu-config">icu-config</primary>
|
---|
292 | </indexterm>
|
---|
293 | </listitem>
|
---|
294 | </varlistentry>
|
---|
295 |
|
---|
296 | <varlistentry id="icuinfo">
|
---|
297 | <term><command>icuinfo</command></term>
|
---|
298 | <listitem>
|
---|
299 | <para>
|
---|
300 | outputs configuration information about the current ICU.
|
---|
301 | </para>
|
---|
302 | <indexterm zone="icu icuinfo">
|
---|
303 | <primary sortas="b-icuinfo">icuinfo</primary>
|
---|
304 | </indexterm>
|
---|
305 | </listitem>
|
---|
306 | </varlistentry>
|
---|
307 |
|
---|
308 | <varlistentry id="icupkg">
|
---|
309 | <term><command>icupkg</command></term>
|
---|
310 | <listitem>
|
---|
311 | <para>
|
---|
312 | extracts or modifies an ICU .dat archive.
|
---|
313 | </para>
|
---|
314 | <indexterm zone="icu icupkg">
|
---|
315 | <primary sortas="b-icupkg">icupkg</primary>
|
---|
316 | </indexterm>
|
---|
317 | </listitem>
|
---|
318 | </varlistentry>
|
---|
319 |
|
---|
320 | <varlistentry id="makeconv">
|
---|
321 | <term><command>makeconv</command></term>
|
---|
322 | <listitem>
|
---|
323 | <para>
|
---|
324 | compiles a converter table.
|
---|
325 | </para>
|
---|
326 | <indexterm zone="icu makeconv">
|
---|
327 | <primary sortas="b-makeconv">makeconv</primary>
|
---|
328 | </indexterm>
|
---|
329 | </listitem>
|
---|
330 | </varlistentry>
|
---|
331 |
|
---|
332 | <varlistentry id="pkgdata">
|
---|
333 | <term><command>pkgdata</command></term>
|
---|
334 | <listitem>
|
---|
335 | <para>
|
---|
336 | packages data for use by ICU.
|
---|
337 | </para>
|
---|
338 | <indexterm zone="icu pkgdata">
|
---|
339 | <primary sortas="b-pkgdata">pkgdata</primary>
|
---|
340 | </indexterm>
|
---|
341 | </listitem>
|
---|
342 | </varlistentry>
|
---|
343 |
|
---|
344 | <varlistentry id="uconv">
|
---|
345 | <term><command>uconv</command></term>
|
---|
346 | <listitem>
|
---|
347 | <para>
|
---|
348 | converts data from one encoding to another.
|
---|
349 | </para>
|
---|
350 | <indexterm zone="icu uconv">
|
---|
351 | <primary sortas="b-uconv">uconv</primary>
|
---|
352 | </indexterm>
|
---|
353 | </listitem>
|
---|
354 | </varlistentry>
|
---|
355 |
|
---|
356 | <varlistentry id="libicudata">
|
---|
357 | <term><filename class="libraryfile">libicudata.so</filename></term>
|
---|
358 | <listitem>
|
---|
359 | <para>
|
---|
360 | is the data library.
|
---|
361 | </para>
|
---|
362 | <indexterm zone="icu libicudata">
|
---|
363 | <primary sortas="c-libicudata">libicudata.so</primary>
|
---|
364 | </indexterm>
|
---|
365 | </listitem>
|
---|
366 | </varlistentry>
|
---|
367 |
|
---|
368 | <varlistentry id="libicui18n">
|
---|
369 | <term><filename class="libraryfile">libicui18n.so</filename></term>
|
---|
370 | <listitem>
|
---|
371 | <para>
|
---|
372 | is the internationalization (i18n) library.
|
---|
373 | </para>
|
---|
374 | <indexterm zone="icu libicui18n">
|
---|
375 | <primary sortas="c-libicui18n">libicui18n.so</primary>
|
---|
376 | </indexterm>
|
---|
377 | </listitem>
|
---|
378 | </varlistentry>
|
---|
379 |
|
---|
380 | <varlistentry id="libicuio">
|
---|
381 | <term><filename class="libraryfile">libicuio.so</filename></term>
|
---|
382 | <listitem>
|
---|
383 | <para>
|
---|
384 | is the ICU I/O (unicode stdio) library.
|
---|
385 | </para>
|
---|
386 | <indexterm zone="icu libicuio">
|
---|
387 | <primary sortas="c-libicuio">libicuio.so</primary>
|
---|
388 | </indexterm>
|
---|
389 | </listitem>
|
---|
390 | </varlistentry>
|
---|
391 |
|
---|
392 | <varlistentry id="libicule">
|
---|
393 | <term><filename class="libraryfile">libicule.so</filename></term>
|
---|
394 | <listitem>
|
---|
395 | <para>
|
---|
396 | is the layout engine.
|
---|
397 | </para>
|
---|
398 | <indexterm zone="icu libicule">
|
---|
399 | <primary sortas="c-libicule">libicule.so</primary>
|
---|
400 | </indexterm>
|
---|
401 | </listitem>
|
---|
402 | </varlistentry>
|
---|
403 |
|
---|
404 | <varlistentry id="libiculx">
|
---|
405 | <term><filename class="libraryfile">libiculx.so</filename></term>
|
---|
406 | <listitem>
|
---|
407 | <para>
|
---|
408 | is the layout extensions engine.
|
---|
409 | </para>
|
---|
410 | <indexterm zone="icu libiculx">
|
---|
411 | <primary sortas="c-libiculx">libiculx.so</primary>
|
---|
412 | </indexterm>
|
---|
413 | </listitem>
|
---|
414 | </varlistentry>
|
---|
415 |
|
---|
416 | <varlistentry id="libicutest">
|
---|
417 | <term><filename class="libraryfile">libicutest.so</filename></term>
|
---|
418 | <listitem>
|
---|
419 | <para>
|
---|
420 | is the test library.
|
---|
421 | </para>
|
---|
422 | <indexterm zone="icu libicutest">
|
---|
423 | <primary sortas="c-libicutest">libicutest.so</primary>
|
---|
424 | </indexterm>
|
---|
425 | </listitem>
|
---|
426 | </varlistentry>
|
---|
427 |
|
---|
428 | <varlistentry id="libicutu">
|
---|
429 | <term><filename class="libraryfile">libicutu.so</filename></term>
|
---|
430 | <listitem>
|
---|
431 | <para>
|
---|
432 | is the tool utility library.
|
---|
433 | </para>
|
---|
434 | <indexterm zone="icu libicutu">
|
---|
435 | <primary sortas="c-libicutu">libicutu.so</primary>
|
---|
436 | </indexterm>
|
---|
437 | </listitem>
|
---|
438 | </varlistentry>
|
---|
439 |
|
---|
440 | <varlistentry id="libicuuc">
|
---|
441 | <term><filename class="libraryfile">libicuuc.so</filename></term>
|
---|
442 | <listitem>
|
---|
443 | <para>
|
---|
444 | is the common library.
|
---|
445 | </para>
|
---|
446 | <indexterm zone="icu libicuuc">
|
---|
447 | <primary sortas="c-libicuuc">libicuuc.so</primary>
|
---|
448 | </indexterm>
|
---|
449 | </listitem>
|
---|
450 | </varlistentry>
|
---|
451 |
|
---|
452 | </variablelist>
|
---|
453 |
|
---|
454 | </sect2>
|
---|
455 |
|
---|
456 | </sect1>
|
---|