[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
|
---|
| 8 | "http://download.icu-project.org/files/icu4c/&icu-version;/icu4c-49_1_1-src.tgz">
|
---|
[627a4af] | 9 | <!ENTITY icu-download-ftp " ">
|
---|
[bda3fb1] | 10 | <!ENTITY icu-md5sum "7c53f83e0327343f4060c0eb83842daf">
|
---|
[a8e7b725] | 11 | <!ENTITY icu-size "18 MB">
|
---|
[bda3fb1] | 12 | <!ENTITY icu-buildsize "271 MB">
|
---|
[2c263229] | 13 | <!ENTITY icu-time "1.3 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 |
|
---|
[bda3fb1] | 41 | &lfs71_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 |
|
---|
[236b13f] | 77 | <!--<bridgehead renderas="sect3">ICU Dependencies</bridgehead>
|
---|
[627a4af] | 78 |
|
---|
[236b13f] | 79 | Commenting this because the layout sample (only thing using these) isn't
|
---|
[a8e7b725] | 80 | built by default, the instructions in the readme.html are not correct (make
|
---|
| 81 | all doesn't build it), and running it requires non-standard fonts
|
---|
[627a4af] | 82 | <bridgehead renderas="sect4">Optional (To build the sample code)</bridgehead>
|
---|
[bda3fb1] | 83 | <para role="optional">
|
---|
| 84 | <xref linkend="cairo"/>,
|
---|
| 85 | <xref linkend="freetype2"/> and
|
---|
| 86 | <xref linkend="libgnomeui"/>
|
---|
| 87 | </para>
|
---|
| 88 | <para>
|
---|
| 89 | See readme.txt under the source/samples directory for further details.
|
---|
| 90 | </para> -->
|
---|
| 91 |
|
---|
| 92 | <para condition="html" role="usernotes">
|
---|
| 93 | User Notes: <ulink url="&blfs-wiki;/icu"/>
|
---|
| 94 | </para>
|
---|
[627a4af] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of ICU</title>
|
---|
| 99 |
|
---|
[bda3fb1] | 100 | <para>
|
---|
| 101 | Install <application>ICU</application> by running the following commands:
|
---|
| 102 | </para>
|
---|
[627a4af] | 103 |
|
---|
| 104 | <screen><userinput>cd source &&
|
---|
[bda3fb1] | 105 | ./configure --prefix=/usr &&
|
---|
[627a4af] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
[bda3fb1] | 108 | <para>
|
---|
| 109 | To test the results, issue: <command>make check</command>.
|
---|
| 110 | </para>
|
---|
[627a4af] | 111 |
|
---|
[bda3fb1] | 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
[627a4af] | 115 |
|
---|
| 116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
[bda3fb1] | 128 | <seg>
|
---|
| 129 | derb, genbrk, gencfu, gencnval, genctd, genrb, icu-config, icuinfo,
|
---|
| 130 | makeconv, pkgdata and uconv.
|
---|
| 131 | </seg>
|
---|
| 132 | <seg>
|
---|
| 133 | libicudata.so, libicui18n.so, libicuio.so, libicule.so, libiculx.so,
|
---|
| 134 | libicutest.so, libicutu.so and libicuuc.so.
|
---|
| 135 | </seg>
|
---|
| 136 | <seg>
|
---|
| 137 | /usr/include/layout, /usr/include/unicode, /usr/lib/icu and
|
---|
| 138 | /usr/share/icu.
|
---|
| 139 | </seg>
|
---|
[627a4af] | 140 | </seglistitem>
|
---|
| 141 | </segmentedlist>
|
---|
| 142 |
|
---|
| 143 | <variablelist>
|
---|
| 144 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 145 | <?dbfo list-presentation="list"?>
|
---|
| 146 | <?dbhtml list-presentation="table"?>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="derb">
|
---|
| 149 | <term><command>derb</command></term>
|
---|
| 150 | <listitem>
|
---|
[bda3fb1] | 151 | <para>
|
---|
| 152 | disassembles a resource bundle.
|
---|
| 153 | </para>
|
---|
[627a4af] | 154 | <indexterm zone="icu derb">
|
---|
| 155 | <primary sortas="b-derb">derb</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="genbrk">
|
---|
| 161 | <term><command>genbrk</command></term>
|
---|
| 162 | <listitem>
|
---|
[bda3fb1] | 163 | <para>
|
---|
| 164 | compiles ICU break iteration rules source files into binary data
|
---|
| 165 | files.
|
---|
| 166 | </para>
|
---|
[627a4af] | 167 | <indexterm zone="icu genbrk">
|
---|
| 168 | <primary sortas="b-genbrk">genbrk</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
[bda3fb1] | 173 | <varlistentry id="gencfu">
|
---|
[627a4af] | 174 | <term><command>gencfu</command></term>
|
---|
| 175 | <listitem>
|
---|
[bda3fb1] | 176 | <para>
|
---|
| 177 | reads in Unicode confusable character definitions and writes out the
|
---|
| 178 | binary data.
|
---|
| 179 | </para>
|
---|
[627a4af] | 180 | <indexterm zone="icu gencfu">
|
---|
| 181 | <primary sortas="b-gencfu">gencfu</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
[bda3fb1] | 184 | </varlistentry>
|
---|
[627a4af] | 185 |
|
---|
| 186 | <varlistentry id="gencnval">
|
---|
| 187 | <term><command>gencnval</command></term>
|
---|
| 188 | <listitem>
|
---|
[bda3fb1] | 189 | <para>
|
---|
[32bd481] | 190 | compiles the converter's aliases file.
|
---|
[bda3fb1] | 191 | </para>
|
---|
[627a4af] | 192 | <indexterm zone="icu gencnval">
|
---|
| 193 | <primary sortas="b-gencnval">gencnval</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="genctd">
|
---|
| 199 | <term><command>genctd</command></term>
|
---|
| 200 | <listitem>
|
---|
[bda3fb1] | 201 | <para>
|
---|
[32bd481] | 202 | compiles a word list into an ICU compact trie dictionary.
|
---|
[bda3fb1] | 203 | </para>
|
---|
[627a4af] | 204 | <indexterm zone="icu genctd">
|
---|
| 205 | <primary sortas="b-genctd">genctd</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="genrb">
|
---|
| 211 | <term><command>genrb</command></term>
|
---|
| 212 | <listitem>
|
---|
[bda3fb1] | 213 | <para>
|
---|
[32bd481] | 214 | compiles a resource bundle.
|
---|
[bda3fb1] | 215 | </para>
|
---|
[627a4af] | 216 | <indexterm zone="icu genrb">
|
---|
| 217 | <primary sortas="b-genrb">genrb</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="icu-config">
|
---|
| 223 | <term><command>icu-config</command></term>
|
---|
| 224 | <listitem>
|
---|
[bda3fb1] | 225 | <para>
|
---|
| 226 | outputs ICU build options.
|
---|
| 227 | </para>
|
---|
[627a4af] | 228 | <indexterm zone="icu icu-config">
|
---|
| 229 | <primary sortas="b-icu-config">icu-config</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
[bda3fb1] | 234 | <varlistentry id="icuinfo">
|
---|
| 235 | <term><command>icuinfo</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
[32bd481] | 238 | outputs configuration information about the current ICU.
|
---|
[bda3fb1] | 239 | </para>
|
---|
| 240 | <indexterm zone="icu icuinfo">
|
---|
| 241 | <primary sortas="b-icuinfo">icuinfo</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
[627a4af] | 246 | <varlistentry id="makeconv">
|
---|
| 247 | <term><command>makeconv</command></term>
|
---|
| 248 | <listitem>
|
---|
[bda3fb1] | 249 | <para>
|
---|
| 250 | compiles a converter table.
|
---|
| 251 | </para>
|
---|
[627a4af] | 252 | <indexterm zone="icu makeconv">
|
---|
| 253 | <primary sortas="b-makeconv">makeconv</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
| 258 | <varlistentry id="pkgdata">
|
---|
| 259 | <term><command>pkgdata</command></term>
|
---|
| 260 | <listitem>
|
---|
[bda3fb1] | 261 | <para>
|
---|
| 262 | packages data for use by ICU.
|
---|
| 263 | </para>
|
---|
[627a4af] | 264 | <indexterm zone="icu pkgdata">
|
---|
| 265 | <primary sortas="b-pkgdata">pkgdata</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 |
|
---|
| 270 | <varlistentry id="uconv">
|
---|
| 271 | <term><command>uconv</command></term>
|
---|
| 272 | <listitem>
|
---|
[bda3fb1] | 273 | <para>
|
---|
| 274 | converts data from one encoding to another.
|
---|
| 275 | </para>
|
---|
[627a4af] | 276 | <indexterm zone="icu uconv">
|
---|
| 277 | <primary sortas="b-uconv">uconv</primary>
|
---|
| 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
| 281 |
|
---|
| 282 | <varlistentry id="libicudata">
|
---|
[099ebaf] | 283 | <term><filename class='libraryfile'>libicudata.so</filename></term>
|
---|
[627a4af] | 284 | <listitem>
|
---|
[bda3fb1] | 285 | <para>
|
---|
| 286 | is the data library.
|
---|
| 287 | </para>
|
---|
[627a4af] | 288 | <indexterm zone="icu libicudata">
|
---|
[099ebaf] | 289 | <primary sortas="c-libicudata">libicudata.so</primary>
|
---|
[627a4af] | 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | <varlistentry id="libicui18n">
|
---|
[099ebaf] | 295 | <term><filename class='libraryfile'>libicui18n.so</filename></term>
|
---|
[627a4af] | 296 | <listitem>
|
---|
[bda3fb1] | 297 | <para>
|
---|
| 298 | is the internationalization (i18n) library.
|
---|
| 299 | </para>
|
---|
[627a4af] | 300 | <indexterm zone="icu libicui18n">
|
---|
[099ebaf] | 301 | <primary sortas="c-libicui18n">libicui18n.so</primary>
|
---|
[627a4af] | 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
| 306 | <varlistentry id="libicuio">
|
---|
[099ebaf] | 307 | <term><filename class='libraryfile'>libicuio.so</filename></term>
|
---|
[627a4af] | 308 | <listitem>
|
---|
[bda3fb1] | 309 | <para>
|
---|
| 310 | is the ICU I/O (unicode stdio) library.
|
---|
| 311 | </para>
|
---|
[627a4af] | 312 | <indexterm zone="icu libicuio">
|
---|
[099ebaf] | 313 | <primary sortas="c-libicuio">libicuio.so</primary>
|
---|
[627a4af] | 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
| 318 | <varlistentry id="libicule">
|
---|
[099ebaf] | 319 | <term><filename class='libraryfile'>libicule.so</filename></term>
|
---|
[627a4af] | 320 | <listitem>
|
---|
[bda3fb1] | 321 | <para>
|
---|
| 322 | is the layout engine.
|
---|
| 323 | </para>
|
---|
[627a4af] | 324 | <indexterm zone="icu libicule">
|
---|
[099ebaf] | 325 | <primary sortas="c-libicule">libicule.so</primary>
|
---|
[627a4af] | 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
| 330 | <varlistentry id="libiculx">
|
---|
[099ebaf] | 331 | <term><filename class='libraryfile'>libiculx.so</filename></term>
|
---|
[627a4af] | 332 | <listitem>
|
---|
[bda3fb1] | 333 | <para>
|
---|
| 334 | is the layout extensions engine.
|
---|
| 335 | </para>
|
---|
[627a4af] | 336 | <indexterm zone="icu libiculx">
|
---|
[099ebaf] | 337 | <primary sortas="c-libiculx">libiculx.so</primary>
|
---|
[627a4af] | 338 | </indexterm>
|
---|
| 339 | </listitem>
|
---|
| 340 | </varlistentry>
|
---|
| 341 |
|
---|
[bda3fb1] | 342 | <varlistentry id="libicutest">
|
---|
| 343 | <term><filename class='libraryfile'>libicutest.so</filename></term>
|
---|
| 344 | <listitem>
|
---|
| 345 | <para>
|
---|
| 346 | is the test library.
|
---|
| 347 | </para>
|
---|
| 348 | <indexterm zone="icu libicutest">
|
---|
| 349 | <primary sortas="c-libicutest">libicutest.so</primary>
|
---|
| 350 | </indexterm>
|
---|
| 351 | </listitem>
|
---|
| 352 | </varlistentry>
|
---|
| 353 |
|
---|
[627a4af] | 354 | <varlistentry id="libicutu">
|
---|
[099ebaf] | 355 | <term><filename class='libraryfile'>libicutu.so</filename></term>
|
---|
[627a4af] | 356 | <listitem>
|
---|
[bda3fb1] | 357 | <para>
|
---|
| 358 | is the tool utility library.
|
---|
| 359 | </para>
|
---|
[627a4af] | 360 | <indexterm zone="icu libicutu">
|
---|
[099ebaf] | 361 | <primary sortas="c-libicutu">libicutu.so</primary>
|
---|
[627a4af] | 362 | </indexterm>
|
---|
| 363 | </listitem>
|
---|
| 364 | </varlistentry>
|
---|
| 365 |
|
---|
| 366 | <varlistentry id="libicuuc">
|
---|
[099ebaf] | 367 | <term><filename class='libraryfile'>libicuuc.so</filename></term>
|
---|
[627a4af] | 368 | <listitem>
|
---|
[bda3fb1] | 369 | <para>
|
---|
| 370 | is the common library.
|
---|
| 371 | </para>
|
---|
[627a4af] | 372 | <indexterm zone="icu libicuuc">
|
---|
[099ebaf] | 373 | <primary sortas="c-libicuuc">libicuuc.so</primary>
|
---|
[627a4af] | 374 | </indexterm>
|
---|
| 375 | </listitem>
|
---|
| 376 | </varlistentry>
|
---|
| 377 | </variablelist>
|
---|
| 378 | </sect2>
|
---|
| 379 | </sect1>
|
---|