Hello community, here is the log from the commit of package icu for openSUSE:Leap:15.2 checked in at 2020-03-06 12:35:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/icu (Old) and /work/SRC/openSUSE:Leap:15.2/.icu.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icu" Fri Mar 6 12:35:51 2020 rev:17 rq:760041 version:65.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/icu/icu.changes 2020-01-15 15:12:00.466126711 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.icu.new.26092/icu.changes 2020-03-06 12:35:52.678560275 +0100 @@ -1,0 +2,113 @@ +Sat Oct 5 11:19:23 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to release 65.1 (jsc#SLE-11118). + * Updated to CLDR 36 locale data with many additions and + corrections, and some new measurement units. + * The Java LocaleMatcher API is improved, and ported to C++. +- Drop 075cefb2e21f57f4cac1bc2868e93dd1b8c077cc.patch + (merged) + +------------------------------------------------------------------- +Wed Aug 21 08:31:23 CEST 2019 - [email protected] + +- Remove old obsoletes/provides for migration from very old + products, as they break our shared library policy (bsc#1146907). + +------------------------------------------------------------------- +Tue May 14 13:05:59 UTC 2019 - Ismail Dönmez <[email protected]> + +- Add 075cefb2e21f57f4cac1bc2868e93dd1b8c077cc.patch to fix a + regression with the C.UTF-8 locale + https://unicode-org.atlassian.net/browse/ICU-20575 + +------------------------------------------------------------------- +Thu Apr 18 11:53:24 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 64.2 + * This maintenance update for ICU 64 includes draft Unicode + 12.1 update, CLDR 35.1 locale data and support for the new + Japanese era Reiwa (令和). (boo#1112183, bnc#1103893, + FATE#325570) + +------------------------------------------------------------------- +Mon Apr 1 08:22:59 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 64.1 + * Updates to Unicode 12 and to CLDR 35 locale data with many + additions and corrections, and some new languages. ICU adds a + data filtering/subsetting mechanism, improved formatting API, + and a C++ LocaleBuilder. +- New python3 dependency to build intermediate file + test/testdata/rules.mk. + +------------------------------------------------------------------- +Wed Oct 17 09:39:24 UTC 2018 - Ismail Dönmez <[email protected]> + +- Update to new upstream release 63.1 + * CLDR 34 + + Segmentation rules and emoji sort order adjusted for + Unicode 11 + + Somali and Javanese data now up to moderate level + (document content) + + Tongan, Konkani, Maori, Dzongkha, Tatar, Kurdish (ku), + and Xhosa data now up to basic level + + Many data additions and corrections in many other + languages + + The following languages have been added to ICU: Sindhi, + Maori, Turkmen, Javanese, Interlingua, Kurdish (ku), Xhosa + * New currency: Venezuela's Bolívar Soberano (VES) + * New Japanese calendar era from 2019: CLDR and ICU include + data for testing that can be enabled. + (ICU #12973, CLDR #10750) + * To enable CLDR new Japanese era placeholder name, set + environment variable (and Java system property for ICU4J) + ICU_ENABLE_TENTATIVE_ERA=true. + * New API for number and currency range formatting + (class NumberRangeFormatter, #11276) + * Support for additional Unicode properties: + Indic_Positional_Category & Indic_Syllabic_Category (#8966) + and Vertical_Orientation (#12850) + * New API for code point maps and tries, mapping Unicode + code points (U+0000..U+10FFFF) to integer values. (#13530) + * Java classes CodePointMap, CodePointTrie, MutableCodePointTrie + * C types UCPMap, UCPTrie, UMutableCPTrie + * New API for getting a UnicodeSet per binary property and a code + point map per enumerated/int-value property. (#20086) + * Full conformance with UAX #14 Line Breaking + (required BreakIterator feature work). (#7270) + * C++ Locale class + + Additional functions forLanguageTag()/toLanguageTag(), + and functions that are easier and safer to use by using + StringPiece and ByteSink rather than raw buffers. (#13417) + + Move semantics. (#13645) + * Various Out-Of-Memory (OOM) issues have been fixed. +- Refresh icu-versioning.diff + +------------------------------------------------------------------- +Sun Jul 29 09:20:28 UTC 2018 - [email protected] + +- Update to new upstream release 62.1 + * Unicode 11: 684 new characters, including 7 new scripts, + Mtavruli Georgian capital letters, 5 new Han characters, and + 66 new emoji characters. + * CLDR 33.1 + * Under-the-hood overhaul of number parsing. Behavior is mostly + compatible with previous versions, but there are some known + differences. +- Remove xlocale.patch (code to patch is gone), + icu-number-grouping.diff (merged upstream) + +------------------------------------------------------------------- +Mon Jun 4 07:53:56 UTC 2018 - [email protected] + +- Add icu-susevers.diff and disable UTF-8 assumption + [boo#1095425] + +------------------------------------------------------------------- +Wed Apr 4 20:22:42 UTC 2018 - [email protected] + +- Update to new upstream release 61.1 + * ICU 61 upgrades to CLDR 33 locale data. +- Add icu-number-grouping.diff + +------------------------------------------------------------------- Old: ---- icu4c-60_2-docs.zip icu4c-60_2-src.tgz xlocale.patch New: ---- icu-susevers.diff icu.keyring icu4c-65_1-docs.zip icu4c-65_1-docs.zip.asc icu4c-65_1-src.tgz icu4c-65_1-src.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icu.spec ++++++ --- /var/tmp/diff_new_pack.biqLhf/_old 2020-03-06 12:35:55.186561799 +0100 +++ /var/tmp/diff_new_pack.biqLhf/_new 2020-03-06 12:35:55.186561799 +0100 @@ -1,7 +1,7 @@ # # spec file for package icu # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,36 +12,43 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define lname libicu60_2 -%define amajor 60 -%define aversion 60_2 +%define lname libicu-suse65_1 +%define amajor 65 +%define aversion 65_1 %ifarch %armb hppa mips mips64 ppc ppc64 %sparc s390 s390x m68k %define be_platform 1 %else %define be_platform 0 %endif +# icu-versioning.diff needs update for new Version too Name: icu -Version: 60.2 +Version: 65.1 Release: 0 Summary: International Components for Unicode License: ICU Group: Development/Libraries/C and C++ -Url: http://icu-project.org/ -Source: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz -Source2: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-docs.zip +URL: http://icu-project.org/ + +#Git-Clone: https://github.com/unicode-org/icu.git +Source: https://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-src.tgz +Source2: https://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-src.tgz.asc +Source3: https://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-docs.zip +Source4: https://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-docs.zip.asc +Source5: %name.keyring Source100: baselibs.conf -Patch3: icu-versioning.diff +Patch2: icu-versioning.diff +Patch3: icu-susevers.diff Patch4: icu-fix-install-mode-files.diff Patch6: icu-error-reporting.diff Patch7: icu-avoid-x87-excess-precision.diff -Patch8: xlocale.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkg-config +BuildRequires: python3-base BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -59,9 +66,6 @@ Summary: International Components for Unicode Group: System/Libraries Requires: timezone -# Following O/P added in timeframe for 12.2 -Provides: libicu = %version -Obsoletes: libicu < %version %if %be_platform Requires: libicu%aversion-bedata = %version %else @@ -79,11 +83,6 @@ %if 0%{?suse_version} >= 1210 BuildArch: noarch %endif -%if %be_platform -# Added for 13.2 -Obsoletes: libicu%aversion-data < %version -Provides: libicu%aversion-data = %version -%endif %description -n libicu%aversion-bedata ICU is a set of C and C++ libraries that provide extensive Unicode @@ -101,11 +100,6 @@ %if 0%{?suse_version} >= 1210 BuildArch: noarch %endif -%if !%be_platform -# Added for 13.2 -Obsoletes: libicu%aversion-data < %version -Provides: libicu%aversion-data = %version -%endif %description -n libicu%aversion-ledata ICU is a set of C and C++ libraries that provide extensive Unicode @@ -137,16 +131,17 @@ This package contains the HTML documentation. %prep -%setup -q -n icu -%patch -P 3 -P 4 -P 6 -P 7 -P 8 -p1 +%setup -qn icu +%autopatch -p1 # docs are special mkdir html pushd html/ -unzip %SOURCE2 +unzip %SOURCE3 popd %build cd source +mkdir -p data/out/tmp # build procedure forgets to do this on its own export CXXFLAGS="%optflags -DICU_DATA_DIR=\\\"%_datadir/icu/%version/\\\"" export CFLAGS="$CXXFLAGS" %configure \ ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.biqLhf/_old 2020-03-06 12:35:55.234561828 +0100 +++ /var/tmp/diff_new_pack.biqLhf/_new 2020-03-06 12:35:55.234561828 +0100 @@ -1,4 +1,4 @@ -libicu60_2 +libicu-suse65_1 libicu-devel requires -libicu-<targettype> - requires "libicu60_2-<targettype> = <version>" + requires "libicu-suse65_1-<targettype> = <version>" ++++++ icu-avoid-x87-excess-precision.diff ++++++ --- /var/tmp/diff_new_pack.biqLhf/_old 2020-03-06 12:35:55.242561833 +0100 +++ /var/tmp/diff_new_pack.biqLhf/_new 2020-03-06 12:35:55.242561833 +0100 @@ -1,17 +1,33 @@ +From: [email protected] +References: http://bugzilla.opensuse.org/1030253 + +Avoid FixedPrecision::initVisibleDigits failure on i586 with GCC 7. + --- - source/i18n/precision.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + source/test/intltest/dcfmapts.cpp | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) -Index: icu/source/i18n/precision.cpp +Index: icu/source/test/intltest/dcfmapts.cpp =================================================================== ---- icu.orig/source/i18n/precision.cpp -+++ icu/source/i18n/precision.cpp -@@ -227,7 +227,7 @@ FixedPrecision::initVisibleDigits( - } - // Try to find n such that value * 10^n is an integer - int32_t n = -1; -- double scaled; -+ volatile double scaled; // make sure scaled is in memory to avoid excess precision with x87 math - for (int32_t i = 0; i < UPRV_LENGTHOF(gPower10); ++i) { - scaled = value * gPower10[i]; - if (scaled > MAX_INT64_IN_DOUBLE || scaled < -MAX_INT64_IN_DOUBLE) { +--- icu.orig/source/test/intltest/dcfmapts.cpp ++++ icu/source/test/intltest/dcfmapts.cpp +@@ -869,7 +869,8 @@ void IntlTestDecimalFormatAPI::TestFixed + ASSERT_EQUAL(22, fd.getPluralOperand(PLURAL_OPERAND_V)); + ASSERT_EQUAL(1234567890123456789LL, fd.getPluralOperand(PLURAL_OPERAND_F)); + ASSERT_EQUAL(1234567890123456789LL, fd.getPluralOperand(PLURAL_OPERAND_T)); +- ASSERT_EQUAL(345678901234567890LL, fd.getPluralOperand(PLURAL_OPERAND_I)); ++ volatile double xxa = fd.getPluralOperand(PLURAL_OPERAND_I); ++ ASSERT_EQUAL(345678901234567890LL, xxa); + ASSERT_EQUAL(FALSE, fd.hasIntegerValue()); + ASSERT_EQUAL(FALSE, fd.isNegative()); + +@@ -964,7 +965,8 @@ void IntlTestDecimalFormatAPI::TestFixed + ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_T)); + // note: going through DigitList path to FixedDecimal, which is trimming + // int64_t fields to 18 digits. See ticket Ticket #10374 +- ASSERT_EQUAL(223372036854775807LL, fd.getPluralOperand(PLURAL_OPERAND_I)); ++ volatile double xxb = fd.getPluralOperand(PLURAL_OPERAND_I); ++ ASSERT_EQUAL(223372036854775807LL, xxb); + ASSERT_EQUAL(TRUE, fd.hasIntegerValue()); + ASSERT_EQUAL(FALSE, fd.isNegative()); + ++++++ icu-susevers.diff ++++++ From: Jan Engelhardt <[email protected]> Date: 2018-06-04 09:47:12.535168981 +0200 References: http://bugzilla.suse.com/show_bug.cgi?id=1095425 Because of bug #1095425, IS_UTF8=0 is wanted. Since that changes the C++ABI of class UnicodeString, the library would become incompatible to a default build that 3rd party programs might expect, and so we need to change the SO identifier to something unique. --- source/common/unicode/platform.h | 2 +- source/icudefs.mk.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: icu/source/common/unicode/platform.h =================================================================== --- icu.orig/source/common/unicode/platform.h +++ icu/source/common/unicode/platform.h @@ -649,7 +649,7 @@ namespace std { /* Use the predefined value. */ #elif U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED || \ U_PLATFORM == U_PF_EMSCRIPTEN -# define U_CHARSET_IS_UTF8 1 +# define U_CHARSET_IS_UTF8 0 #else # define U_CHARSET_IS_UTF8 0 #endif Index: icu/source/icudefs.mk.in =================================================================== --- icu.orig/source/icudefs.mk.in +++ icu/source/icudefs.mk.in @@ -44,7 +44,7 @@ PACKAGE_ICU_URL = "http://icu-project.or PACKAGE = @PACKAGE@ VERSION = @VERSION@ UNICODE_VERSION = @UNICODE_VERSION@ -SO_TARGET_VERSION = @LIB_VERSION@ +SO_TARGET_VERSION = suse@LIB_VERSION@ SO_TARGET_VERSION_MAJOR = @LIB_VERSION_MAJOR@ # The ICU data external name is usually icudata; the entry point name is ++++++ icu-versioning.diff ++++++ --- /var/tmp/diff_new_pack.biqLhf/_old 2020-03-06 12:35:55.262561846 +0100 +++ /var/tmp/diff_new_pack.biqLhf/_new 2020-03-06 12:35:55.262561846 +0100 @@ -3,10 +3,9 @@ References: http://bugzilla.novell.com/824262 Directions: drop patch if unable to forward-port -ICU sometimes changing their ABI without updating the SO numbers. -They did that before, and they did it again with 51.1->51.2. In part, -this is owed to how C++ is compiled on the contemporary -implementations. +ICU sometimes changes their ABI without updating the SO numbers. They +did that before, and they did it again with 51.1->51.2. In part, this +is owed to how C++ is compiled on the contemporary implementations. Thus, we will use the full version as the SO identifier in openSUSE. @@ -75,31 +74,31 @@ =================================================================== --- icu.orig/source/common/unicode/uvernum.h +++ icu/source/common/unicode/uvernum.h -@@ -59,6 +59,7 @@ +@@ -61,6 +61,7 @@ * @stable ICU 2.4 */ - #define U_ICU_VERSION_MAJOR_NUM 60 -+#define U_ICU_VERSION_MAJOR_STR "60" + #define U_ICU_VERSION_MAJOR_NUM 65 ++#define U_ICU_VERSION_MAJOR_STR "65" /** The current ICU minor version as an integer. * This value will change in the subsequent releases of ICU -@@ -84,7 +85,9 @@ +@@ -86,7 +87,9 @@ * This value will change in the subsequent releases of ICU * @stable ICU 2.6 */ --#define U_ICU_VERSION_SUFFIX _60 +-#define U_ICU_VERSION_SUFFIX _65 +#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 -@@ -125,7 +128,7 @@ - * This value will change in the subsequent releases of ICU - * @stable ICU 2.6 +@@ -152,7 +155,7 @@ + * + * @stable ICU 2.6 */ --#define U_ICU_VERSION_SHORT "60" -+#define U_ICU_VERSION_SHORT "60_2" +-#define U_ICU_VERSION_SHORT "65" ++#define U_ICU_VERSION_SHORT "65_1" #ifndef U_HIDE_INTERNAL_API /** Data version in ICU4C. @@ -125,9 +124,9 @@ OUTPUTFILE=pkgdata.inc MIDDLE_SO_TARGET= +FULL_SO_TARGET= + PKGDATA_TRAILING_SPACE=" " all : clean - @echo GENCCODE_ASSEMBLY_TYPE=$(GENCCODE_ASSEMBLY) >> $(OUTPUTFILE) Index: icu/source/data/pkgdataMakefile.in =================================================================== --- icu.orig/source/data/pkgdataMakefile.in @@ -137,26 +136,26 @@ OUTPUTFILE=icupkg.inc MIDDLE_SO_TARGET= +FULL_SO_TARGET= + PKGDATA_TRAILING_SPACE=" " all : clean - @echo GENCCODE_ASSEMBLY_TYPE=$(GENCCODE_ASSEMBLY) >> $(OUTPUTFILE) Index: icu/source/extra/uconv/pkgdataMakefile.in =================================================================== --- icu.orig/source/extra/uconv/pkgdataMakefile.in +++ icu/source/extra/uconv/pkgdataMakefile.in -@@ -15,6 +15,7 @@ top_builddir = ../.. - include $(top_builddir)/icudefs.mk +@@ -16,6 +16,7 @@ include $(top_builddir)/icudefs.mk + OUTPUTFILE=pkgdata.inc MIDDLE_SO_TARGET= +FULL_SO_TARGET= + PKGDATA_TRAILING_SPACE=" " - OUTPUTFILE=pkgdata.inc - + all : clean Index: icu/source/icudefs.mk.in =================================================================== --- icu.orig/source/icudefs.mk.in +++ icu/source/icudefs.mk.in -@@ -199,6 +199,7 @@ LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH +@@ -202,6 +202,7 @@ LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH # Versioned target for a shared library. FINAL_SO_TARGET = $(SO_TARGET).$(SO_TARGET_VERSION) @@ -168,28 +167,28 @@ =================================================================== --- icu.orig/source/test/testdata/pkgdataMakefile.in +++ icu/source/test/testdata/pkgdataMakefile.in -@@ -15,6 +15,7 @@ top_builddir = ../.. - include $(top_builddir)/icudefs.mk +@@ -16,6 +16,7 @@ include $(top_builddir)/icudefs.mk + OUTPUTFILE=pkgdata.inc MIDDLE_SO_TARGET= +FULL_SO_TARGET= + PKGDATA_TRAILING_SPACE=" " - OUTPUTFILE=pkgdata.inc - + all : clean Index: icu/source/tools/pkgdata/pkgdata.cpp =================================================================== --- icu.orig/source/tools/pkgdata/pkgdata.cpp +++ icu/source/tools/pkgdata/pkgdata.cpp -@@ -1378,7 +1378,7 @@ static int32_t pkg_generateLibraryFile(c - length = uprv_strlen(pkgDataFlags[GENLIB]) + uprv_strlen(pkgDataFlags[LDICUDTFLAGS]) + +@@ -1379,7 +1379,7 @@ static int32_t pkg_generateLibraryFile(c + length = static_cast<int32_t>(uprv_strlen(pkgDataFlags[GENLIB]) + uprv_strlen(pkgDataFlags[LDICUDTFLAGS]) + ((uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_VERSION_TMP])) * 2) + uprv_strlen(objectFile) + uprv_strlen(pkgDataFlags[LD_SONAME]) + - uprv_strlen(pkgDataFlags[LD_SONAME][0] == 0 ? "" : libFileNames[LIB_FILE_VERSION_MAJOR]) + + uprv_strlen(pkgDataFlags[LD_SONAME][0] == 0 ? "" : libFileNames[LIB_FILE_VERSION]) + - uprv_strlen(pkgDataFlags[RPATH_FLAGS]) + uprv_strlen(pkgDataFlags[BIR_FLAGS]) + BUFFER_PADDING_SIZE; + uprv_strlen(pkgDataFlags[RPATH_FLAGS]) + uprv_strlen(pkgDataFlags[BIR_FLAGS]) + BUFFER_PADDING_SIZE); #if U_PLATFORM == U_PF_CYGWIN - length += uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_CYGWIN_VERSION]); -@@ -1425,7 +1425,7 @@ static int32_t pkg_generateLibraryFile(c + length += static_cast<int32_t>(uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_CYGWIN_VERSION])); +@@ -1426,7 +1426,7 @@ static int32_t pkg_generateLibraryFile(c #endif objectFile, pkgDataFlags[LD_SONAME], ++++++ icu4c-60_2-src.tgz -> icu4c-65_1-src.tgz ++++++ /work/SRC/openSUSE:Leap:15.2/icu/icu4c-60_2-src.tgz /work/SRC/openSUSE:Leap:15.2/.icu.new.26092/icu4c-65_1-src.tgz differ: char 5, line 1
