SHA256
1
0
forked from pool/icu

Accepting request 445245 from X11:common:Factory

- Update to new upstream release 58.2

OBS-URL: https://build.opensuse.org/request/show/445245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icu?expand=0&rev=56
This commit is contained in:
Yuchen Lin 2017-04-14 11:30:50 +00:00 committed by Git OBS Bridge
commit ef823cd6b5
10 changed files with 90 additions and 38 deletions

View File

@ -1,4 +1,4 @@
libicu57_1
libicu58_2
libicu-devel
requires -libicu-<targettype>
requires "libicu57_1-<targettype> = <version>"
requires "libicu58_2-<targettype> = <version>"

View File

@ -11,7 +11,7 @@ Index: icu/source/tools/toolutil/package.cpp
===================================================================
--- icu.orig/source/tools/toolutil/package.cpp
+++ icu/source/tools/toolutil/package.cpp
@@ -33,6 +33,7 @@
@@ -35,6 +35,7 @@
#include "package.h"
#include "cmemory.h"
@ -19,7 +19,7 @@ Index: icu/source/tools/toolutil/package.cpp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -751,7 +752,7 @@ Package::writePackage(const char *filena
@@ -748,7 +749,7 @@ Package::writePackage(const char *filena
// create the file and write its contents
file=fopen(filename, "wb");
if(file==NULL) {
@ -28,7 +28,7 @@ Index: icu/source/tools/toolutil/package.cpp
exit(U_FILE_ACCESS_ERROR);
}
@@ -1172,7 +1173,7 @@ Package::extractItem(const char *filesPa
@@ -1169,7 +1170,7 @@ Package::extractItem(const char *filesPa
makeFullFilenameAndDirs(filesPath, outName, filename, (int32_t)sizeof(filename));
file=fopen(filename, "wb");
if(file==NULL) {
@ -41,7 +41,7 @@ Index: icu/source/tools/toolutil/writesrc.c
===================================================================
--- icu.orig/source/tools/toolutil/writesrc.c
+++ icu/source/tools/toolutil/writesrc.c
@@ -16,7 +16,9 @@
@@ -18,7 +18,9 @@
* Helper functions for writing source code for data.
*/

View File

@ -24,7 +24,7 @@ Index: icu/source/data/Makefile.in
===================================================================
--- icu.orig/source/data/Makefile.in
+++ icu/source/data/Makefile.in
@@ -196,16 +196,16 @@ endif
@@ -200,16 +200,16 @@ endif
install-local: $(PKGDATA_LIST) ./icupkg.inc packagedata $(OS390INSTALL)
$(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(ICUPKGDATA_DIR)
ifeq ($(PKGDATA_MODE),files)

View File

@ -47,7 +47,7 @@ Index: icu/source/common/icuplug.cpp
===================================================================
--- icu.orig/source/common/icuplug.cpp
+++ icu/source/common/icuplug.cpp
@@ -758,7 +758,7 @@ uplug_init(UErrorCode *status) {
@@ -760,7 +760,7 @@ uplug_init(UErrorCode *status) {
pluginFile.append(plugin_dir, *status);
pluginFile.append(U_FILE_SEP_STRING, -1, *status);
pluginFile.append("icuplugins", -1, *status);
@ -60,7 +60,7 @@ Index: icu/source/common/umapfile.c
===================================================================
--- icu.orig/source/common/umapfile.c
+++ icu/source/common/umapfile.c
@@ -61,7 +61,7 @@
@@ -63,7 +63,7 @@
# define LIB_PREFIX "lib"
# define LIB_SUFFIX ".dll"
/* This is inconvienient until we figure out what to do with U_ICUDATA_NAME in utypes.h */
@ -69,7 +69,7 @@ Index: icu/source/common/umapfile.c
# endif
#elif MAP_IMPLEMENTATION==MAP_STDIO
# include <stdio.h>
@@ -414,10 +414,10 @@
@@ -416,10 +416,10 @@
/* BUT FOR BATCH MODE IT IS AN EXCEPTION BECAUSE */
/* THE FIRST THREE LETTERS ARE PREASSIGNED TO THE */
/* PROJECT!!!!! */
@ -86,7 +86,7 @@ Index: icu/source/common/unicode/utypes.h
===================================================================
--- icu.orig/source/common/unicode/utypes.h
+++ icu/source/common/unicode/utypes.h
@@ -134,9 +134,9 @@
@@ -136,9 +136,9 @@
* ICU 1.8.x on EBCDIC, etc..
* @stable ICU 2.0
*/
@ -102,31 +102,31 @@ Index: icu/source/common/unicode/uvernum.h
===================================================================
--- icu.orig/source/common/unicode/uvernum.h
+++ icu/source/common/unicode/uvernum.h
@@ -58,6 +58,7 @@
@@ -59,6 +59,7 @@
* @stable ICU 2.4
*/
#define U_ICU_VERSION_MAJOR_NUM 57
+#define U_ICU_VERSION_MAJOR_STR "57"
#define U_ICU_VERSION_MAJOR_NUM 58
+#define U_ICU_VERSION_MAJOR_STR "58"
/** The current ICU minor version as an integer.
* This value will change in the subsequent releases of ICU
@@ -83,7 +84,9 @@
@@ -84,7 +85,9 @@
* This value will change in the subsequent releases of ICU
* @stable ICU 2.6
*/
-#define U_ICU_VERSION_SUFFIX _57
-#define U_ICU_VERSION_SUFFIX _58
+#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
@@ -124,7 +127,7 @@
@@ -125,7 +128,7 @@
* This value will change in the subsequent releases of ICU
* @stable ICU 2.6
*/
-#define U_ICU_VERSION_SHORT "57"
+#define U_ICU_VERSION_SHORT "57_1"
-#define U_ICU_VERSION_SHORT "58"
+#define U_ICU_VERSION_SHORT "58_2"
#ifndef U_HIDE_INTERNAL_API
/** Data version in ICU4C.
@ -134,7 +134,7 @@ Index: icu/source/config/mh-linux
===================================================================
--- icu.orig/source/config/mh-linux
+++ icu/source/config/mh-linux
@@ -25,7 +25,7 @@ LDFLAGSICUDT=-nodefaultlibs -nostdlib
@@ -27,7 +27,7 @@ LDFLAGSICUDT=-nodefaultlibs -nostdlib
## Compiler switch to embed a library name
# The initial tab in the next line is to prevent icu-config from reading it.
@ -147,7 +147,7 @@ Index: icu/source/config/pkgdataMakefile.in
===================================================================
--- icu.orig/source/config/pkgdataMakefile.in
+++ icu/source/config/pkgdataMakefile.in
@@ -14,6 +14,7 @@ include $(top_builddir)/icudefs.mk
@@ -16,6 +16,7 @@ include $(top_builddir)/icudefs.mk
OUTPUTFILE=pkgdata.inc
MIDDLE_SO_TARGET=
@ -159,7 +159,7 @@ Index: icu/source/data/pkgdataMakefile.in
===================================================================
--- icu.orig/source/data/pkgdataMakefile.in
+++ icu/source/data/pkgdataMakefile.in
@@ -14,6 +14,7 @@ include $(top_builddir)/icudefs.mk
@@ -16,6 +16,7 @@ include $(top_builddir)/icudefs.mk
OUTPUTFILE=icupkg.inc
MIDDLE_SO_TARGET=
@ -171,7 +171,7 @@ Index: icu/source/extra/uconv/pkgdataMakefile.in
===================================================================
--- icu.orig/source/extra/uconv/pkgdataMakefile.in
+++ icu/source/extra/uconv/pkgdataMakefile.in
@@ -13,6 +13,7 @@ top_builddir = ../..
@@ -15,6 +15,7 @@ top_builddir = ../..
include $(top_builddir)/icudefs.mk
MIDDLE_SO_TARGET=
@ -183,7 +183,7 @@ Index: icu/source/icudefs.mk.in
===================================================================
--- icu.orig/source/icudefs.mk.in
+++ icu/source/icudefs.mk.in
@@ -196,6 +196,7 @@ LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH
@@ -198,6 +198,7 @@ LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH
# Versioned target for a shared library.
FINAL_SO_TARGET = $(SO_TARGET).$(SO_TARGET_VERSION)
@ -195,7 +195,7 @@ Index: icu/source/test/testdata/pkgdataMakefile.in
===================================================================
--- icu.orig/source/test/testdata/pkgdataMakefile.in
+++ icu/source/test/testdata/pkgdataMakefile.in
@@ -13,6 +13,7 @@ top_builddir = ../..
@@ -15,6 +15,7 @@ top_builddir = ../..
include $(top_builddir)/icudefs.mk
MIDDLE_SO_TARGET=
@ -207,7 +207,7 @@ Index: icu/source/tools/pkgdata/pkgdata.cpp
===================================================================
--- icu.orig/source/tools/pkgdata/pkgdata.cpp
+++ icu/source/tools/pkgdata/pkgdata.cpp
@@ -1370,7 +1370,7 @@ static int32_t pkg_generateLibraryFile(c
@@ -1372,7 +1372,7 @@ static int32_t pkg_generateLibraryFile(c
length = 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]) +
@ -216,7 +216,7 @@ Index: icu/source/tools/pkgdata/pkgdata.cpp
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]);
@@ -1417,7 +1417,7 @@ static int32_t pkg_generateLibraryFile(c
@@ -1419,7 +1419,7 @@ static int32_t pkg_generateLibraryFile(c
#endif
objectFile,
pkgDataFlags[LD_SONAME],

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Sat Dec 10 15:15:55 UTC 2016 - idonmez@suse.com
- Update to new upstream release 58.2
* CLDR 30.0.3:
+ Fix incorrect data for number of Cantonese speakers in China.
+ Hani_Latn transform was not updated with Unihan 9.0 kMandarin
readings.
* Time zone database version 2016j
* #12815 uspoof_getSkeleton sets backwards-incompatible illegal
argument exception
* #12825 uspoof_check goes into an "infinite loop" when U+30FB
is in an input string
* #12832 GreekUpper::toUpper skips the final character on a
non-terminated UTF-8 string
* #12849 u_strToTitle returns incorrect length if destination
is NULL
-------------------------------------------------------------------
Fri Oct 21 10:05:32 UTC 2016 - jengelh@inai.de
- Update to new upstream release 58.1
* CLDR 30.0.2: For details of the many changes in CLDR, see
CLDR 30. Some things to note:
* For some combinations of numbering system (arab, arabext, latn)
and/or locale (ar, fa, he), there were changes to the
bidirectional control characters used with certain symbols
(percent, minus, plus), and changes to number patterns (currency
and/or percent, including addition of bidirectional control
characters in some cases).
* Thhe bidirectional controls used for such purposes include U+061C
ARABIC LETTER MARK (ALM), which requires use of the bidirectional
algorithm from Unicode 6.3 or later.
* The time separator for Norwegian locales (nb, nn) was changed to
be ':' throughout.
* Unicode 9.0: Version 9.0 adds exactly 7,500 characters, for a
total of 128,172 characters. These additions include six new
scripts, 19 symbols for the new 4K TV standard, and 72 new
emoji characters.
* Draft Emoji 4.0 data
* Emoji updates for word & line breaking
* UBiDiTransform/BidiTransform API for convenient transformation of
text between different Bidi layouts.
* MeasureFormat API for measurement unit display names
* Most COUNT and LIMIT enum constants have been deprecated
* SpoofChecker: Handling of "whole script confusables" has been
removed from ICU, in accordance with its removal from UTS #39
Version 9.0.0 and the removal of the corresponding Unicode data
file.
* Greek uppercasing ("el" locale ID) removes most diacritics.
* More robust locale data loading across ICU implementation code.
* Reduced heap memory usage in DateTimePatternGenerator
-------------------------------------------------------------------
Fri Mar 25 12:32:58 UTC 2016 - jengelh@inai.de

View File

@ -16,16 +16,16 @@
#
%define lname libicu57_1
%define amajor 57
%define aversion 57_1
%define lname libicu58_2
%define amajor 58
%define aversion 58_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: 57.1
Version: 58.2
Release: 0
Summary: International Components for Unicode
License: MIT
@ -297,7 +297,6 @@ fi;
%defattr(-, root, root)
%_libdir/libicu*.so
%_includedir/unicode/
%_includedir/layout/
%dir %_libdir/icu/
%dir %_libdir/icu/%version/
%_libdir/icu/%version/Makefile.inc

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01b5773e9d76de65daec348b1afd653d53ae0ecbbdc67856c4d007fc7b906436
size 7880926

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff8c67cb65949b1e7808f2359f2b80f722697048e90e7cfc382ec1fe229e9581
size 22360664

3
icu4c-58_2-docs.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc17983debc1f23f1bd1ac1ba053f2df5b07858f5af9bd48eeb3b8044c8d3146
size 6831659

3
icu4c-58_2-src.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c
size 23369902