OLD | NEW |
1 Name: icu | 1 Name: icu |
2 URL: http://site.icu-project.org/ | 2 URL: http://site.icu-project.org/ |
3 Version: 4.6 | 3 Version: 4.6 |
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 4.6 for C/C++ | 8 This directory contains the source code of ICU 4.6 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-4-6 icu46 | 12 $ svn export --native-eol LF http://source.icu-project.org/repos/icu/icu/tag
s/release-4-6 icu46 |
13 | 13 |
14 2. Platform header files for Linux, FreeBSD, OpenBSD, Android and Mac OS X: | 14 2. Platform header files for Linux, FreeBSD, OpenBSD, Android, Mac OS X, and QNX
: |
15 | 15 |
16 - Apply platform.patch in patches directory. : It applies the upstream | 16 - Apply platform.patch in patches directory. : It applies the upstream |
17 patch to platform.h.in (see http://bugs.icu-project.org/trac/ticket/8248) | 17 patch to platform.h.in (see http://bugs.icu-project.org/trac/ticket/8248) |
18 and change source/common/unicode/ptypes.h to refer to plinux.h and | 18 and change source/common/unicode/ptypes.h to refer to plinux.h and |
19 pmac.h generated below. | 19 pmac.h generated below. |
20 | 20 |
21 - 'runConfigureICU Linux', 'runConfigureICU FreeBSD', and | 21 - 'runConfigureICU Linux', 'runConfigureICU FreeBSD', and |
22 'runConfigureICU MacOSX' are run to generate | 22 'runConfigureICU MacOSX' are run to generate |
23 source/common/unicode/platform.h. | 23 source/common/unicode/platform.h. |
24 | 24 |
25 - On OpenBSD, source/common/unicode/platform.h is being generated | 25 - On OpenBSD, source/common/unicode/platform.h is being generated |
26 by the icu4c port in the ports directory and not by runConfigureICU. | 26 by the icu4c port in the ports directory and not by runConfigureICU. |
27 In case the file has to be updated you can do: | 27 In case the file has to be updated you can do: |
28 cd /home/ports/textproc/icu4c && make configure | 28 cd /home/ports/textproc/icu4c && make configure |
29 | 29 |
30 - Rename it to 'plinux.h', 'pfreebsd.h', 'popenbsd.h' and 'pmac.h' | 30 - Rename it to 'plinux.h', 'pfreebsd.h', 'popenbsd.h' and 'pmac.h' |
31 | 31 |
32 - Apply patches/pmach.h.patch on Mac to pmac.h | 32 - Apply patches/pmach.h.patch on Mac to pmac.h |
33 | 33 |
34 - On Android, the pandroid.h was generated by copying plinux.h to | 34 - On Android, the pandroid.h was generated by copying plinux.h to |
35 pandroid.h and applying the patches/pandroid.h.patch. | 35 pandroid.h and applying the patches/pandroid.h.patch. |
36 | 36 |
| 37 - For QNX, the pqnx.h was generated by copying plinux.h to |
| 38 pqnx.h and applying the patches/platform.qnx.patch. |
| 39 |
37 - For NaCl (icu_nacl.gypi), the pnacl.h was generated by copying plinux.h to | 40 - For NaCl (icu_nacl.gypi), the pnacl.h was generated by copying plinux.h to |
38 pnacl.h and applying the patches/pnacl.h.patch. | 41 pnacl.h and applying the patches/pnacl.h.patch. |
39 | 42 |
40 - Apply the CL at https://codereview.chromium.org/15973007/ to plinux.h | 43 - Apply the CL at https://codereview.chromium.org/15973007/ to plinux.h |
41 | 44 |
42 3. The following directories were removed because they're not used by Chromium | 45 3. The following directories were removed because they're not used by Chromium |
43 at the moment: | 46 at the moment: |
44 as_is | 47 as_is |
45 packaging | 48 packaging |
46 source/extra | 49 source/extra |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 | 302 |
300 26. Add BreakIterator::getRuleStatus | 303 26. Add BreakIterator::getRuleStatus |
301 - patches/breakiterator.patch | 304 - patches/breakiterator.patch |
302 - Copy and paste BreakIterator::getRuleStatus API from ICU 52 | 305 - Copy and paste BreakIterator::getRuleStatus API from ICU 52 |
303 | 306 |
304 27. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. | 307 27. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. |
305 - patches/declspec.patch | 308 - patches/declspec.patch |
306 | 309 |
307 28. Add support for QNX Neutrino. | 310 28. Add support for QNX Neutrino. |
308 - patches/platform.qnx.patch: | 311 - patches/platform.qnx.patch: |
309 Add source/common/unicode/pqnx.h. | 312 See #2 about the platform header generation. |
310 - patches/si_value.undef.patch: | 313 - patches/si_value.undef.patch: |
311 Work around an all-lowercase macro defined in <signal.h>. | 314 Work around an all-lowercase macro defined in <signal.h>. |
312 Upstream took a different approach: | 315 Upstream took a different approach: |
313 http://bugs.icu-project.org/trac/ticket/9935 | 316 http://bugs.icu-project.org/trac/ticket/9935 |
314 - patches/xopen_source.patch: | 317 - patches/xopen_source.patch: |
315 Set _XOPEN_SOURCE to 600 as in the upstream changeset: | 318 Set _XOPEN_SOURCE to 600 as in the upstream changeset: |
316 http://bugs.icu-project.org/trac/changeset/30418 | 319 http://bugs.icu-project.org/trac/changeset/30418 |
OLD | NEW |