From e929eb7bab86c426ffa84ed26d9b15bc7d36c3207ddcdc861df38f5ede710022 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Dec 2017 18:19:09 +0000 Subject: [PATCH] - Update to new upstream release 60.2 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=82 --- baselibs.conf | 4 ++-- icu-versioning.diff | 20 ++++++++++---------- icu.changes | 10 ++++++++++ icu.spec | 9 +++++---- icu4c-59_1-docs.zip | 3 --- icu4c-59_1-src.tgz | 3 --- icu4c-60_2-docs.zip | 3 +++ icu4c-60_2-src.tgz | 3 +++ xlocale.patch | 13 ++++++------- 9 files changed, 39 insertions(+), 29 deletions(-) delete mode 100644 icu4c-59_1-docs.zip delete mode 100644 icu4c-59_1-src.tgz create mode 100644 icu4c-60_2-docs.zip create mode 100644 icu4c-60_2-src.tgz diff --git a/baselibs.conf b/baselibs.conf index 8a9c557..12b7bbf 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ -libicu59_1 +libicu60_2 libicu-devel requires -libicu- - requires "libicu59_1- = " + requires "libicu60_2- = " diff --git a/icu-versioning.diff b/icu-versioning.diff index 6cce15c..cd827dc 100644 --- a/icu-versioning.diff +++ b/icu-versioning.diff @@ -78,8 +78,8 @@ Index: icu/source/common/unicode/uvernum.h @@ -59,6 +59,7 @@ * @stable ICU 2.4 */ - #define U_ICU_VERSION_MAJOR_NUM 59 -+#define U_ICU_VERSION_MAJOR_STR "59" + #define U_ICU_VERSION_MAJOR_NUM 60 ++#define U_ICU_VERSION_MAJOR_STR "60" /** The current ICU minor version as an integer. * This value will change in the subsequent releases of ICU @@ -87,22 +87,22 @@ Index: icu/source/common/unicode/uvernum.h * This value will change in the subsequent releases of ICU * @stable ICU 2.6 */ --#define U_ICU_VERSION_SUFFIX _59 +-#define U_ICU_VERSION_SUFFIX _60 +#define ___icu_version_expand(major, minor) _ ## major ## _ ## minor +#define ___icu_version_glue(major, minor) ___icu_version_expand(major, minor) +#define U_ICU_VERSION_SUFFIX ___icu_version_glue(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM) /** * \def U_DEF2_ICU_ENTRY_POINT_RENAME -@@ -126,7 +129,7 @@ +@@ -125,7 +128,7 @@ + * This value will change in the subsequent releases of ICU * @stable ICU 2.6 */ - #if U_PLATFORM_HAS_WINUWP_API == 0 --#define U_ICU_VERSION_SHORT "59" -+#define U_ICU_VERSION_SHORT "59_1" - #else - // U_DISABLE_RENAMING does not impact dat file name - #define U_ICU_VERSION_SHORT +-#define U_ICU_VERSION_SHORT "60" ++#define U_ICU_VERSION_SHORT "60_2" + + #ifndef U_HIDE_INTERNAL_API + /** Data version in ICU4C. Index: icu/source/config/mh-linux =================================================================== --- icu.orig/source/config/mh-linux diff --git a/icu.changes b/icu.changes index 70a66b1..ff52b55 100644 --- a/icu.changes +++ b/icu.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 14 17:56:54 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 60.2 + * ICU 60 provides full support for the Unicode 10.0 release + with many new characters and many property improvements. + Locale data is updated to CLDR 32, which adds several + languages and data improvements. A new number formatting API + has been added. + ------------------------------------------------------------------- Wed Aug 2 20:16:08 UTC 2017 - jengelh@inai.de diff --git a/icu.spec b/icu.spec index 7eed4fb..8005729 100644 --- a/icu.spec +++ b/icu.spec @@ -16,16 +16,16 @@ # -%define lname libicu59_1 -%define amajor 59 -%define aversion 59_1 +%define lname libicu60_2 +%define amajor 60 +%define aversion 60_2 %ifarch %armb hppa mips mips64 ppc ppc64 %sparc s390 s390x m68k %define be_platform 1 %else %define be_platform 0 %endif Name: icu -Version: 59.1 +Version: 60.2 Release: 0 Summary: International Components for Unicode License: ICU @@ -224,6 +224,7 @@ rm "%buildroot/%_datadir/icu/%version/install-sh" %fdupes %buildroot/%_prefix %check +# s390x see: https://ssl.icu-project.org/trac/ticket/13095 cd source %if !0%{?qemu_user_space_build:1} # Checks disabled in qemu because of races happening when we emulate diff --git a/icu4c-59_1-docs.zip b/icu4c-59_1-docs.zip deleted file mode 100644 index 0345658..0000000 --- a/icu4c-59_1-docs.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd144b7da0c4a3155da080e970b7648a1e94eb185e7ec5f61ec4a773da44f554 -size 6913759 diff --git a/icu4c-59_1-src.tgz b/icu4c-59_1-src.tgz deleted file mode 100644 index 220a8ac..0000000 --- a/icu4c-59_1-src.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe -size 22706578 diff --git a/icu4c-60_2-docs.zip b/icu4c-60_2-docs.zip new file mode 100644 index 0000000..40b215c --- /dev/null +++ b/icu4c-60_2-docs.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac652c2dc5c2c934f7419d0d013b04bb5288e346775a5dcf1c4e915330bf01eb +size 7255513 diff --git a/icu4c-60_2-src.tgz b/icu4c-60_2-src.tgz new file mode 100644 index 0000000..4cd376f --- /dev/null +++ b/icu4c-60_2-src.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f073ea8f35b926d70bb33e6577508aa642a8b316a803f11be20af384811db418 +size 23317835 diff --git a/xlocale.patch b/xlocale.patch index 2c1561c..1e396e3 100644 --- a/xlocale.patch +++ b/xlocale.patch @@ -4,23 +4,22 @@ Date: Mon, 31 Jul 2017 12:19:40 +0000 don't use obsolete --- - source/i18n/digitlst.cpp | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) + source/i18n/digitlst.cpp | 4 ---- + 1 file changed, 4 deletions(-) Index: icu/source/i18n/digitlst.cpp =================================================================== --- icu.orig/source/i18n/digitlst.cpp +++ icu/source/i18n/digitlst.cpp -@@ -61,11 +61,7 @@ +@@ -62,11 +62,7 @@ #endif #if U_USE_STRTOD_L --# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN --# include --# else +-# if U_HAVE_XLOCALE_H -# include +-# else + # include -# endif -+# include #endif // ***************************************************************************