OLD | NEW |
1 Name: icu | 1 Name: icu |
2 URL: http://site.icu-project.org/ | 2 URL: http://site.icu-project.org/ |
3 Version: 52.1 | 3 Version: 52.1 |
4 License: MIT | 4 License: MIT |
5 Security Critical: yes | 5 Security Critical: yes |
6 | 6 |
7 Description: | 7 Description: |
8 This directory contains the source code of ICU 52.1 for C/C++ | 8 This directory contains the source code of ICU 52.1 for C/C++ |
9 | 9 |
10 1. It was obtained with the following: | 10 1. It was obtained with the following: |
11 | 11 |
12 $ svn export --native-eol LF http://source.icu-project.org/repos/icu/icu/tag
s/release-52-1 icu52 | 12 $ svn export --native-eol LF http://source.icu-project.org/repos/icu/icu/tag
s/release-52-1 icu52 |
13 | 13 |
14 The following directories we don't use are removed: | 14 The following directories we don't use are removed: |
15 | 15 |
16 - as_is | 16 - as_is |
17 - packaging | 17 - packaging |
18 - source/layout | 18 - source/layout |
19 - source/layoutex | 19 - source/layoutex |
20 | 20 |
21 2. Platform header files for Linux, FreeBSD, OpenBSD, Android, Mac OS X, and QNX
: | 21 patches/configure.patch is applied to get runConfigureICU work in the |
| 22 icudata generation step without layout and layoutex directory by removing the |
| 23 corresponding Makefile's from ac_config variable. |
22 | 24 |
23 - Apply platform.patch in patches directory. : It applies the upstream | 25 2. Apply the following patch for platform related headers (putilimpl.h and |
24 patch to platform.h.in (see http://bugs.icu-project.org/trac/ticket/8248) | 26 others). |
25 and change source/common/unicode/ptypes.h to refer to plinux.h and | |
26 pmac.h generated below. | |
27 | 27 |
28 - 'runConfigureICU Linux', 'runConfigureICU FreeBSD', and | 28 - patches/platform.patch for Android and QNX |
29 'runConfigureICU MacOSX' are run to generate | 29 Upstream bug for Android : http://bugs.icu-project.org/trac/ticket/10478 |
30 source/common/unicode/platform.h. | |
31 | |
32 - On OpenBSD, source/common/unicode/platform.h is being generated | |
33 by the icu4c port in the ports directory and not by runConfigureICU. | |
34 In case the file has to be updated you can do: | |
35 cd /home/ports/textproc/icu4c && make configure | |
36 | |
37 - Rename it to 'plinux.h', 'pfreebsd.h', 'popenbsd.h' and 'pmac.h' | |
38 | |
39 - Apply patches/pmach.h.patch on Mac to pmac.h | |
40 | |
41 - On Android, the pandroid.h was generated by copying plinux.h to | |
42 pandroid.h and applying the patches/pandroid.h.patch. | |
43 | |
44 - For QNX, the pqnx.h was generated by copying plinux.h to | |
45 pqnx.h and applying the patches/platform.qnx.patch. | |
46 | |
47 - For NaCl (icu_nacl.gypi), the pnacl.h was generated by copying plinux.h to | |
48 pnacl.h and applying the patches/pnacl.h.patch. | |
49 | |
50 - Apply the CL at https://codereview.chromium.org/15973007/ to plinux.h | |
51 | |
52 3. The following directories were removed because they're not used by Chromium | |
53 at the moment: | |
54 as_is | |
55 packaging | |
56 source/extra | |
57 source/sample | |
58 source/layout | |
59 source/layoutex | |
60 | 30 |
61 | 31 |
62 4. The word breaking for Chinese and Japanese were modified to use a word | 32 4. The word breaking for Chinese and Japanese were modified to use a word |
63 frequency list with the following patch and cjdict.txt. | 33 frequency list with the following patch and cjdict.txt. |
64 | 34 |
65 - patches/segmentation.patch : | 35 - patches/segmentation.patch : |
66 Adds a dictionary (word-frequency)-based word breaking for CJK | 36 Adds a dictionary (word-frequency)-based word breaking for CJK |
67 (Korean is supported in the code, but it does not do anything | 37 (Korean is supported in the code, but it does not do anything |
68 because we don't have a Korean word-list.) | 38 because we don't have a Korean word-list.) |
69 | 39 |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 25. Fix a buffer overflow in UTF-16/32 detection. | 277 25. Fix a buffer overflow in UTF-16/32 detection. |
308 - patches/csetdet.patch | 278 - patches/csetdet.patch |
309 - upstream bug: http://bugs.icu-project.org/trac/ticket/10318 | 279 - upstream bug: http://bugs.icu-project.org/trac/ticket/10318 |
310 | 280 |
311 26. Add BreakIterator::getRuleStatus | 281 26. Add BreakIterator::getRuleStatus |
312 - patches/breakiterator.patch | 282 - patches/breakiterator.patch |
313 - Copy and paste BreakIterator::getRuleStatus API from ICU 52 | 283 - Copy and paste BreakIterator::getRuleStatus API from ICU 52 |
314 | 284 |
315 27. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. | 285 27. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. |
316 - patches/declspec.patch | 286 - patches/declspec.patch |
317 | |
318 28. Add support for QNX Neutrino. | |
319 - patches/platform.qnx.patch: | |
320 See #2 about the platform header generation. | |
321 - patches/si_value.undef.patch: | |
322 Work around an all-lowercase macro defined in <signal.h>. | |
323 Upstream took a different approach: | |
324 http://bugs.icu-project.org/trac/ticket/9935 | |
325 - patches/xopen_source.patch: | |
326 Set _XOPEN_SOURCE to 600 as in the upstream changeset: | |
327 http://bugs.icu-project.org/trac/changeset/30418 | |
OLD | NEW |