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