Commit Graph

43 Commits

Author SHA1 Message Date
Hirokazu MORIKAWA 6979d0c2ac icu: bump to 75.1
Unicode® ICU 75 updates to CLDR 45 (beta blog) locale data with new locales and various additions and corrections. C++ code now requires C++17 and is being made more robust.
The CLDR MessageFormat 2.0 specification is now in technology preview, together with a corresponding update of the ICU4J (Java) tech preview and a new ICU4C (C++) tech preview.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2024-05-09 12:19:56 +09:00
Hirokazu MORIKAWA 5b05fb11e4 icu: bump to 74.2
ICU 74.2 maintenance release

Release date: 2023-12-13

ICU 74.2 updates to CLDR 44.1 locale data. These are maintenance releases for ICU 74 and CLDR 44, with limited sets of bug fixes and no API or structural changes.
* The CLDR bug fix relevant for ICU is for some formatting patterns that erroneously had two adjacent space characters. These are coalesced into one. (CLDR-17233)
* List of tickets fixed in ICU 74.2
    * Important: DateFormat.getInstanceForSkeleton() and the DateTimePatternGenerator sometimes used the wrong patterns because they failed to use/inherit certain data. (ICU-22575 — CLDR 44 had removed some redundant data that ICU relied on.)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-12-19 16:29:43 -08:00
Hirokazu MORIKAWA 80dc3ac8e2 icu: bump to 74.1
ICU 74 updates to Unicode 15.1, including new characters, emoji, security mechanisms, and corresponding APIs and implementations. It also updates to CLDR 44 (blog) locale data with new locales and various additions and corrections.

ICU 74 and CLDR 44 are major releases, including a new version of Unicode and major locale data improvements. They subsume the changes for the ICU 73.2 and CLDR 43.1 maintenance releases.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-11-10 13:46:55 +01:00
Hirokazu MORIKAWA 660556f5bf icu: bump to 73.2
ICU 73.2 updates to CLDR 43.1 locale data. These are maintenance releases for ICU 73 and CLDR 43, with limited sets of bug fixes and no API or structural changes.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-06-15 12:38:35 +02:00
Hirokazu MORIKAWA 018fcf3ccd icu: bump to 73.1
Description:
It updates to CLDR 43 locale data with various additions and corrections.
ICU 73 improves Japanese and Korean short-text line breaking, reduces C++ memory use in date formatting, and promotes the Java person name formatter from tech preview to draft.
ICU 73 and CLDR 43 are minor releases, mostly focused on bug fixes and small enhancements. (The fall CLDR/ICU releases will update to Unicode 15.1 which is planned for September.)
ICU 73 updates to the time zone data version 2023c (2023-mar). Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-04-21 11:34:15 +08:00
Hirokazu MORIKAWA aaa24530d0 icu: fix ccache issue
build error with ccache:
https://github.com/openwrt/packages/issues/20618

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-03-11 10:23:29 +08:00
Hirokazu MORIKAWA 2c16091d07 icu: bump to 72.1
It updates to Unicode 15, including new characters, scripts, emoji, and corresponding API constants. It also updates to CLDR 42 locale data with various additions and corrections.

ICU 72 adds technology preview implementations for person name formatting, as well as for a new version of message formatting based on a proposed draft Unicode specification.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-10-23 18:42:29 +02:00
Hirokazu MORIKAWA d46237f17c icu: bump to 71.1
Description:
ICU 71 updates to CLDR 41 locale data with various additions and corrections.

ICU 71 adds phrase-based line breaking for Japanese. Existing line breaking methods follow standards and conventions for body text but do not work well for short Japanese text, such as in titles and headings. This new feature is optimized for these use cases.

ICU 71 adds support for Hindi written in Latin letters (hi_Latn). The CLDR data for this increasingly popular locale has been significantly revised and expanded. Note that based on user expectations, hi_Latn incorporates a large amount of English, and can also be referred to as “Hinglish”

ICU 71 and CLDR 41 are minor releases, mostly focused on bug fixes and small enhancements. (The fall CLDR/ICU releases will update to Unicode 15 which is planned for September.) We are also working to re-establish continuous performance testing for ICU, and on development towards future versions.

ICU 71 updates to the time zone data version 2022a. Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-05-07 11:57:34 +09:00
Hirokazu MORIKAWA aa5a0ccb7d icu: bump to 70.1
ICU 70 released. It updates to Unicode 14, including new characters, scripts, emoji, and corresponding API constants. ICU 70 adds support for emoji properties of strings. It also updates to CLDR 40 locale data with many additions and corrections. ICU 70 also includes many other bug fixes and enhancements, especially for measurement unit formatting, and it can now be built and used with C++20 compilers.

This change will require minor modifications in php7 and php8.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-11-02 09:14:00 +09:00
Hirokazu MORIKAWA d79ec77385 icu: bump to 69.1
ICU 69 updates to CLDR 39 locale data with many additions and corrections. ICU 69 also includes significant improvements for measurement unit formatting and number formatting in general, as well as many other bug fixes and enhancements.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-06-20 14:14:42 +09:00
Hirokazu MORIKAWA 1eb29ddc95 icu: add ABI_VERSION
To prevent inconsistencies in the coming version (69.1).

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-04-30 02:00:26 -07:00
Liangbin Lian ceee8ba199 libs/icu: fix host compile in macOS
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2021-02-22 12:58:49 +08:00
Hirokazu MORIKAWA d6317132dd icu: update to 68.2
Maintainer: me
Compile tested: head r15324-920b692, aarch64, x86_64
Run tested: (qemu-5.2.0) aarch64

Description:
Update to 68.2

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-12-24 15:18:56 +09:00
Hirokazu MORIKAWA 4f3a8c1535 icu: update to 68.1
It updates to CLDR 38. New features including locale-dependent smart unit preferences (road distance, temperature, etc.) and locale ID canonicalization conformant with CLDR.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-11-09 12:49:56 +09:00
Rosen Penev 6255a77128
icu: fix compilation under CentOS 7
CentOS 7's GCC is quite old and does not put max_align_t under std.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-31 00:39:04 -07:00
Hirokazu MORIKAWA e3be3aadc1 icu: update to 67.1
Unicode 13 & CLDR 37. Bug fixes for date and number formatting, enhanced support for user preferences in the locale identifier. LocaleMatcher code and data improved. Number skeletons have a new “concise” form that can be used in MessageFormat strings.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-08-18 15:13:35 +09:00
Hirokazu MORIKAWA a2fec2284b icu: update to 66.1
ICU 66 updates to Unicode 13, including new characters, scripts, emoji, and corresponding API constants. It also updates to CLDR 36.1 with Unicode 13 updates and bug fixes.

Create symbolic link to current version.

FIX CVE-2020-10531
 An integer overflow, leading to a heap-based buffer overflow, exists in the UnicodeString::doAppend() function in common/unistr.cpp.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-03-19 11:41:33 +09:00
Rosen Penev 93d049951d
icu: Backport C++11 math patch
Fixes compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-19 16:03:32 -08:00
Eneas U de Queiroz 0e725be8fd
icu: Revert "icu: Deactivate uClibc"
This reverts commit db424ede2f.
It is causing recursive dependencies.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-10-08 18:10:49 -03:00
Hirokazu MORIKAWA db424ede2f icu: Deactivate uClibc
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-10-08 17:01:59 +09:00
Hirokazu MORIKAWA 23adefbb7b icu: update to 65.1
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-10-08 12:33:31 +09:00
Alexander Ryzhov 19b07c6642
icu: use our own python3 for host-compilation
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
2019-10-04 16:36:47 +03:00
Rosen Penev ba4f02b1f0
icu: Fix compilation with uClibc-ng
uClibc-ng does not define these math functions in math.h , only in
tgmath.h. Therefore the cmath header will not work.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-01 12:50:30 -07:00
Hirokazu MORIKAWA 0f1b595721 icu: update to 64.2
locale data and support for new Japanese era Reiwa

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-04-18 10:34:11 +09:00
Rosen Penev a958f49bd0
icu: Backport ARMEB support patch
This should fix php compilation on PPC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-10 18:46:59 -07:00
Hirokazu MORIKAWA 4ebcaa63a4 icu: update to 64.1
ICU 64 updates to Unicode 12 and to CLDR 35 locale data with many additions and corrections

And Workaround for ICU-20531 : https://unicode-org.atlassian.net/browse/ICU-20531

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-04-03 09:32:49 +09:00
Hirokazu MORIKAWA 1efccb1ea1 icu: update to 63.1
ICU 63 updates to CLDR 34 locale data with many additions and corrections,
and some new languages. ICU adds API for number and currency range formatting,
and API for additional Unicode properties and for constructing custom properties.
CLDR and ICU include data for testing readiness for the upcoming Japanese calendar era.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-10-18 16:59:15 +09:00
Hirokazu MORIKAWA 38c150dfa3 icu: build additional packages / Full ICU Data package and ICU Tools package
add Full ICU DATA package & ICU DATA Tools package.
add package description.

see: https://github.com/openwrt/packages/issues/6536

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-09-05 12:30:31 +09:00
Hirokazu MORIKAWA d66f3a6ced icu: update to 62.1
Update to ICU 62 (62.1)
ICU 62 includes number format skeleton support in MessageFormat, ICU4C DecimalFormat wrapping the new NumberFormatter implementation for improved performance.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-06-25 11:19:10 +09:00
Hirokazu MORIKAWA c8bd8fae81 icu: update to 61.1
Maintainer: me
Compile tested: ar71xx, LEDE trunk r5488-893a1ed
Run tested: NONE

Description:
ICU 61 upgrades to CLDR 33 locale data, has a new Java implementation
for number and currency parsing, and includes many small API additions,
improvements, and bug fixes.
(includes security fix CVE-2017-17484,CVE-2017-15422)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-03-27 15:57:54 +09:00
Hirokazu MORIKAWA 1ae5a53f7b icu: update to 60.2
Maintainer: me
Compile tested: ar71xx, LEDE trunk r5488-893a1ed
Run tested: NONE

Description:
upstream update to 60.2
note: fix g++-4 issue

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-12-14 09:35:17 +09:00
Hirokazu MORIKAWA 37be5e57bc icu: bump to 60.1
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-11-07 10:44:57 +09:00
Hirokazu MORIKAWA f90bba4046 icu: fix CVE-2017-14952 Double-Free Vulnerability
http://www.sourcebrella.com/blog/double-free-vulnerability-international-components-unicode-icu/

https://security-tracker.debian.org/tracker/CVE-2017-14952

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-10-24 02:35:19 -05:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Hirokazu MORIKAWA 91439ec7f8 icu: Don't link icudata as a data only library
libicudata.so not build hard-float ABI

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-06-12 17:33:07 +09:00
Hirokazu MORIKAWA c0f01276b2 icu: bump to 59.1
Maintainer: me
Compile tested: ar71xx brcm2708, LEDE trunk r3972-aefa195
Run tested: NONE

Description:
upstream update to 59.1

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-04-17 09:47:25 +09:00
Hirokazu MORIKAWA 4abf8f4ae3 icu: Added icu-config installation to InstallDev
Maintainer: me
Compile tested: ar71xx, mips_24kc_gcc-6.3.0_musl, LEDE trunk r3576-ea24d87
Run tested: NONE

Description:
"php7-mod-intl" build fail, because of lacking icu-config.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-02-24 17:31:24 +09:00
Hirokazu MORIKAWA dd7c14081b icu: support OpenWrt trunk host-build.mk issue
Maintainer: me
Compile tested: ar71xx, mips_34kc_gcc-5.3.0_musl, OpenWrt trunk 50104
                ar71xx, mips_24kc_gcc-5.4.0_musl, LEDE trunk r3503-a112435
Run tested: NONE

Description:
openwrt buildbot report build fail

```
./runConfigureICU CC="gcc" CFLAGS="-O2 -I/home/builder/trunk/openwrt/staging_dir/host/include -I/home/builder/trunk/openwrt/staging_dir/host/usr/include -I/home/builder/trunk/openwrt/staging_dir/target-i386_pentium4_glibc-2.22/host/include" CPPFLAGS="-I/home/builder/trunk/openwrt/staging_dir/host/include -I/home/builder/trunk/openwrt/staging_dir/host/usr/include -I/home/builder/trunk/openwrt/staging_dir/target-i386_pentium4_glibc-2.22/host/include" LDFLAGS="-L/home/builder/trunk/openwrt/staging_dir/host/lib -L/home/builder/trunk/openwrt/staging_dir/host/usr/lib -L/home/builder/trunk/openwrt/staging_dir/target-i386_pentium4_glibc-2.22/host/lib" SHELL="/usr/bin/env bash" Linux/gcc CC="gcc" CXX="g++" --disable-debug --enable-release --enable-shared --enable-static --enable-draft --enable-renaming --disable-tracing --disable-extras --enable-dyload --prefix=/home/builder/trunk/openwrt/staging_dir/target-i386_pentium4_glibc-2.22/host ; fi )
runConfigureICU: unrecognized platform "CC=gcc" (use --help for help)
```

"host-build.mk" is differs between OpenWrt and LEDE.

https://github.com/openwrt/packages/pull/3993

83b6bfc235

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-02-16 11:43:21 +09:00
Hirokazu MORIKAWA 1afed3f13a icu: fix fail situation of CONFIG_CCACHE=y
Maintainer: me
Compile tested: brcm2708 ,aarch64_cortex-a53+neon-vfpv4_musl, LEDE head r3426-4c09f99
Run tested: NONE

Description:
buildbots fail situation of CONFIG_CCACHE=y

`Running ./configure  CC=ccache gcc CXX=ccache g++ ....`

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-02-13 19:42:01 +09:00
Hirokazu MORIKAWA a406800bc9 icu: specify cross compile variables
Maintainer: me
Compile tested: brcm2708
                aarch64_cortex-a53+neon-vfpv4_musl
                LEDE head r3426-4c09f99
Run tested: NONE

Description:
buildbots fail on link ARM object.

   error: xxxxxx.o uses VFP register arguments,

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-02-13 14:43:12 +09:00
Hirokazu MORIKAWA 9a1b666cf7 icu: move necessary files to STAGING_DIR_HOSTPKG
Maintainer: me
Compile tested: ar71xx mips_24kc_musl LEDE r3346-9eacb9d
Run tested: NONE

Description:
buildbots fail at accessing files under HOST_BUILD_DIR.

http://downloads.lede-project.org/snapshots/faillogs/mips_24kc/packages/icu/compile.txt

Move necessary files to STAGING_DIR_HOSTPKG.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-02-10 16:28:51 +09:00
Hirokazu MORIKAWA 67b5e98f5b icu: Bumped to v58.2
Maintainer: @nxhack
Compile tested: ar71xx mips_24kc_musl-1.1.15 LEDE r2610-324bdf3
Run tested: NONE

Description:
icu: Bumped to v58.2
for emoji handling

previous PR #2817

add patches/001-disable-strtod_l.patch
missing xlocale.h in case of using musl.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-01-11 11:13:35 +09:00
Mirko Vogt 2b09917ed2 adding package 'icu'
Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2015-12-06 23:26:36 +01:00