OLD | NEW |
1 Name: icu | 1 Name: icu |
2 URL: http://site.icu-project.org/ | 2 URL: http://site.icu-project.org/ |
3 Version: 54.1 | 3 Version: 54.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 54.1 for C/C++. | 8 This directory contains the source code of ICU 54.1 for C/C++. |
9 | 9 |
10 | 10 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 for ckb to 'Kurdish (Arabic)'. | 129 for ckb to 'Kurdish (Arabic)'. |
130 | 130 |
131 - android/patch_locale.sh (to be run for Android build only): | 131 - android/patch_locale.sh (to be run for Android build only): |
132 a. Make changes to source/data/{region,lang} to exclude these data | 132 a. Make changes to source/data/{region,lang} to exclude these data |
133 except the language and script names of zh_Hans and zh_Hant. | 133 except the language and script names of zh_Hans and zh_Hant. |
134 b. Remove exemplar cities in timezone data (data/zone). | 134 b. Remove exemplar cities in timezone data (data/zone). |
135 c. Keep only the minimal calendar data in data/locales. | 135 c. Keep only the minimal calendar data in data/locales. |
136 d. Include currency display names for a smaller subset of currencies. | 136 d. Include currency display names for a smaller subset of currencies. |
137 e. Minimize the locale data for 9 locales to which Chrome on Android | 137 e. Minimize the locale data for 9 locales to which Chrome on Android |
138 is not localized. | 138 is not localized. |
| 139 f. Also apply android/brkitr.patch |
139 | 140 |
140 6. Timezone data update | 141 6. Timezone data update |
141 - Grab the latest version of the following timezone data files and | 142 - Grab the latest version of the following timezone data files and |
142 put them in source/data/misc. | 143 put them in source/data/misc using scripts/update_tz.sh |
143 | 144 |
144 metaZones.txt | 145 metaZones.txt |
145 timezoneTypes.txt | 146 timezoneTypes.txt |
146 windowsZones.txt | 147 windowsZones.txt |
147 zoneinfo64.txt | 148 zoneinfo64.txt |
148 | 149 |
149 As of January 2015, the latest version is 2015a and the above files | 150 As of April 1 2015, the latest version is 2015b and the above files |
150 are available at | 151 are available at |
151 http://source.icu-project.org/repos/icu/data/trunk/tzdata/icunew/2015a/44/ | 152 http://source.icu-project.org/repos/icu/data/trunk/tzdata/icunew/2015b/44/ |
152 | 153 |
153 7. Transliterator customization | 154 7. Transliterator customization |
154 | 155 |
155 - Also add css3transform.txt to source/data/trnslit. | 156 - Also add css3transform.txt to source/data/trnslit. |
156 - Put the following line in trnslocal.mk | 157 - Put the following line in trnslocal.mk |
157 | 158 |
158 TRANSLIT_SOURCE=css3transform.txt | 159 TRANSLIT_SOURCE=css3transform.txt |
159 | 160 |
160 8. Build-related changes | 161 8. Build-related changes |
161 | 162 |
(...skipping 17 matching lines...) Expand all Loading... |
179 http://bugs.icu-project.org/trac/ticket/10572 | 180 http://bugs.icu-project.org/trac/ticket/10572 |
180 - patches/data.build.win.patch : | 181 - patches/data.build.win.patch : |
181 Windows-only data build patch. | 182 Windows-only data build patch. |
182 - patches/data_symb.patch : | 183 - patches/data_symb.patch : |
183 Put ICU_DATA_ENTRY_POINT(icudtXX_dat) in common when we use | 184 Put ICU_DATA_ENTRY_POINT(icudtXX_dat) in common when we use |
184 the icu data file or icudt.dll | 185 the icu data file or icudt.dll |
185 | 186 |
186 9. Pre-built data files are checked in with the following steps on Linux: | 187 9. Pre-built data files are checked in with the following steps on Linux: |
187 | 188 |
188 a. Make a icu data build directory outside the Chromium source tree | 189 a. Make a icu data build directory outside the Chromium source tree |
189 and cd to that directory. | 190 and cd to that directory, $ICUBUILDIR. |
190 b. Run | 191 b. Run |
191 | 192 |
192 ${CHROME_ICU_TREE_TOP}/source/runConfigureICU Linux --disable-layout | 193 ${CHROME_ICU_TREE_TOP}/source/runConfigureICU Linux --disable-layout |
193 | 194 |
194 c. Run 'make' | 195 c. Run 'make' |
195 d. 'make' will fail when pkgdata looks for css3transform.res. Edit | 196 d. 'make' will fail when pkgdata looks for css3transform.res. |
196 data/out/tmp/icudata.lst to replace 'css3transform.res' with 'root.res'. | 197 See http://bugs.icu-project.org/trac/ticket/10570 |
197 (see http://bugs.icu-project.org/trac/ticket/10570 ) and run 'make' again. | 198 e. run |
198 | 199 |
| 200 ${CHROME_ICU_TREE_TOP}/scripts/make_n_copy_data.sh |
| 201 |
| 202 This will make and copy icudtl.dat and icudtl_dat.S for Linux and |
| 203 Mac as listed below. Renaming the data/assembly files to drop |
| 204 the ICU major version number as well as running make_mac_assembly.sh |
| 205 is done by this script. |
| 206 |
| 207 This script can be run again whenever you update the data. |
199 | 208 |
200 - source/data/in/icudtl.dat : Built on Linux with all the patches | 209 - source/data/in/icudtl.dat : Built on Linux with all the patches |
201 above applied. icudt54l.dat is generated in | 210 above applied. icudt54l.dat is generated in |
202 {BUILD_DIR_ROOT}/data/out/tmp and copied to the above location with a | 211 {BUILD_DIR_ROOT}/data/out/tmp and copied to the above location with a |
203 version number (54) dropped. | 212 version number (54) dropped. |
204 | 213 |
205 | 214 |
206 - {mac,linux}/icudtl_dat.S : Built on Linux with all the | 215 - {mac,linux}/icudtl_dat.S : Built on Linux with all the |
207 patches above (except android/brkitr.patch) applied and checked in. | 216 patches above (except android/brkitr.patch) applied and checked in. |
208 This file will be generated in {BUILD_DIR_ROOT}/data/out/tmp as | 217 This file will be generated in {BUILD_DIR_ROOT}/data/out/tmp as |
209 icudt54l_dat.S, but '54' is dropped while copying. | 218 icudt54l_dat.S, but '54' is dropped while copying. |
210 | 219 |
211 mac/icudtl_dat.S is identical to linux/icudtl_dat.S except for | 220 mac/icudtl_dat.S is identical to linux/icudtl_dat.S except for |
212 the header portion. With "linux/icudtl_dat.S" in its place, | 221 the header portion. With "linux/icudtl_dat.S" in its place, |
213 run scripts/make_mac_assembly.sh to generate it. | |
214 | 222 |
215 - android/icudtl_dat.S : Built on Linux with all the patches above and | 223 - android/icudtl_dat.S : Built on Linux with all the patches above and |
216 android/brkitr.patch applied and android/patch_locale.sh executed. | 224 android/patch_locale.sh executed. |
217 '54' is dropped from the name generated in the build tree. | 225 '54' is dropped from the name generated in the build tree. |
218 | 226 |
219 - android/icudtl.dat : Generated as icudt54l.dat in | 227 - android/icudtl.dat : Generated as icudt54l.dat in |
220 {BUILD_DIR_ROOT}/data/out/tmp along with icudt54l_dat.S and | 228 {BUILD_DIR_ROOT}/data/out/tmp along with icudt54l_dat.S and |
221 copied to the above location with '54' dropped in its name. | 229 copied to the above location with '54' dropped in its name. |
222 | 230 |
223 - windows/icudt.dll (by default, we set icu_use_icu_data_flag to 1 | 231 - windows/icudt.dll (by default, we set icu_use_icu_data_flag to 1 |
224 and don't use this file.) | 232 and don't use this file.) |
225 | 233 |
226 a. check out a clean copy of icu54 from the upstream on Windows | 234 a. check out a clean copy of icu54 from the upstream on Windows |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 13. Fix a data race in cmemory | 269 13. Fix a data race in cmemory |
262 - patches/cmemory.patch | 270 - patches/cmemory.patch |
263 - upstream bug (fixed in the upstream 55 RC) | 271 - upstream bug (fixed in the upstream 55 RC) |
264 http://www.icu-project.org/trac/ticket/11538 | 272 http://www.icu-project.org/trac/ticket/11538 |
265 | 273 |
266 14. Fix a bug found by 'stack' (static analysis tool) | 274 14. Fix a bug found by 'stack' (static analysis tool) |
267 - patches/uloc.patch | 275 - patches/uloc.patch |
268 - upstream bug | 276 - upstream bug |
269 http://www.icu-project.org/trac/ticket/11602 | 277 http://www.icu-project.org/trac/ticket/11602 |
270 | 278 |
OLD | NEW |