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