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: |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 - Run scripts/trim_data.sh : About 2.1MB data size reduction. | 98 - Run scripts/trim_data.sh : About 2.1MB data size reduction. |
99 a. Trim the locale data for Chrome's UI langauges : | 99 a. Trim the locale data for Chrome's UI langauges : |
100 locales, lang, region, currency | 100 locales, lang, region, currency |
101 b. Trim the locale data for non-UI languages to the bare minimum : | 101 b. Trim the locale data for non-UI languages to the bare minimum : |
102 ExemplarCharacters, LocaleScript, layout, and the name of the | 102 ExemplarCharacters, LocaleScript, layout, and the name of the |
103 language for a locale in its native language. | 103 language for a locale in its native language. |
104 c. Remove the legacy Chinese character set-based collation | 104 c. Remove the legacy Chinese character set-based collation |
105 (big5han/gb2312han) that don't make any sense and nobdoy uses. | 105 (big5han/gb2312han) that don't make any sense and nobdoy uses. |
106 | 106 |
107 - android/patch_locale.sh (to be run for Android build only): | 107 - android/patch_locale.sh (to be run for Android build only): |
108 Makes changes to source/data/{curr,region,lang} to exclude these data | 108 a. Makes changes to source/data/{curr,region,lang} to exclude these data |
109 except the language and script names of zh_Hans and zh_Hant. | 109 except the language and script names of zh_Hans and zh_Hant. |
| 110 b. Remove exemplar cities in timezone data (data/zone) |
| 111 c. Keep only the minimal calendar data in data/locales |
110 | 112 |
111 - Add tg.txt to source/data/locale source/data/lang to add the minimal locale | 113 - Add tg.txt to source/data/locale source/data/lang to add the minimal locale |
112 data necessary for the spellchecker. In both directories, add tg.txt to | 114 data necessary for the spellchecker. In both directories, add tg.txt to |
113 reslocal.mk | 115 reslocal.mk |
114 | 116 |
115 6. Timezone data update | 117 6. Timezone data update |
116 - Grab the latest version of the following timezone data files and | 118 - Grab the latest version of the following timezone data files and |
117 put them in source/data/misc. | 119 put them in source/data/misc. |
118 | 120 |
119 metaZones.txt | 121 metaZones.txt |
(...skipping 21 matching lines...) Expand all Loading... |
141 a. do not use WINDOWS_LOCALE_API in locmap.c | 143 a. do not use WINDOWS_LOCALE_API in locmap.c |
142 b. do not redefine stringpiece::npos | 144 b. do not redefine stringpiece::npos |
143 - patches/data.build.patch : | 145 - patches/data.build.patch : |
144 Remove unnecessary resources : invuca, unames, collator source, stringprep | 146 Remove unnecessary resources : invuca, unames, collator source, stringprep |
145 - patches/data.build.win.patch : | 147 - patches/data.build.win.patch : |
146 Windows-only data build patch. Add a new target DATALIB to makedata.mak | 148 Windows-only data build patch. Add a new target DATALIB to makedata.mak |
147 - add an empty file (stubdatabuilt.txt) to source/stubdata | 149 - add an empty file (stubdatabuilt.txt) to source/stubdata |
148 | 150 |
149 9. Pre-built data files are checked in with the following steps on Linux: | 151 9. Pre-built data files are checked in with the following steps on Linux: |
150 | 152 |
151 a. Make a icu data build directory outside the Chromium source tree. | 153 a. Make a icu data build directory outside the Chromium source tree |
152 b. Run 'runConfigureICU Linux' outside the source tree. | 154 and cd to that directory. |
| 155 b. Run |
| 156 |
| 157 ${CHROME_ICU_TREE_TOP}/source/runConfigureICU Linux --disable-layout |
| 158 |
153 c. Run 'make' | 159 c. Run 'make' |
154 d. 'make' will fail in the 1st pass. Copy source/data/in/coll/invuca.icu | 160 d. 'make' will fail in the 1st pass. Copy |
155 to {BUILD_DIR_ROOT}/data/out/build/icudt52l/coll and re-run 'make' | 161 ${CHROME_ICU_TREE_TOP}/source/data/in/coll/invuca.icu |
156 in {BUILD_DIR_ROOT}/data. | 162 to {BUILD_DIR_ROOT}/data/out/build/icudt52l/coll and re-run 'make' |
| 163 in {BUILD_DIR_ROOT}/data. |
157 | 164 |
158 e. 'make' will fail again when pkgdata looks for css3transform.res. Edit | 165 e. 'make' will fail again when pkgdata looks for css3transform.res. Edit |
159 data/out/tmp/icudata.lst to replace 'css3transform.res' with 'root.res'. | 166 data/out/tmp/icudata.lst to replace 'css3transform.res' with 'root.res'. |
160 (see http://bugs.icu-project.org/trac/ticket/10570 ) and run 'make' again. | 167 (see http://bugs.icu-project.org/trac/ticket/10570 ) and run 'make' again. |
161 | 168 |
162 | 169 |
163 - source/data/in/icudtl.dat : Built on Linux with all the patches | 170 - source/data/in/icudtl.dat : Built on Linux with all the patches |
164 above applied. icudt52l.dat is generated in | 171 above applied. icudt52l.dat is generated in |
165 {BUILD_DIR_ROOT}/data/out/tmp and copied to the above location with a | 172 {BUILD_DIR_ROOT}/data/out/tmp and copied to the above location with a |
166 version number (52) dropped. | 173 version number (52) dropped. |
(...skipping 29 matching lines...) Expand all Loading... |
196 android/brkitr.patch applied and android/patch_locale.sh executed. | 203 android/brkitr.patch applied and android/patch_locale.sh executed. |
197 '52' is dropped from the name generated in the build tree. | 204 '52' is dropped from the name generated in the build tree. |
198 | 205 |
199 - android/icudtl.dat : Generated as icudt52l.dat in | 206 - android/icudtl.dat : Generated as icudt52l.dat in |
200 {BUILD_DIR_ROOT}/data/out/tmp along with icudt52l_dat.S and | 207 {BUILD_DIR_ROOT}/data/out/tmp along with icudt52l_dat.S and |
201 copied to the above location with '52' dropped in its name. | 208 copied to the above location with '52' dropped in its name. |
202 | 209 |
203 | 210 |
204 10. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. | 211 10. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. |
205 - patches/declspec.patch | 212 - patches/declspec.patch |
OLD | NEW |