pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/icu
Module Name: pkgsrc
Committed By: ryoon
Date: Wed Apr 3 00:13:00 UTC 2019
Modified Files:
pkgsrc/textproc/icu: Makefile PLIST buildlink3.mk distinfo
pkgsrc/textproc/icu/patches: patch-common_umutex.h patch-configure
patch-configure.ac
Removed Files:
pkgsrc/textproc/icu/patches: patch-CVE-2018-18928
patch-common_unicode_urename.h patch-i18n_double-conversion-utils.h
patch-i18n_uspoof.cpp
Log Message:
Update to 64.1
Changelog:
Common Changes
Unicode 12: 554 new characters, including 4 new scripts and 61 new emoji characters.
CLDR 35
Somali and Javanese data now up to modern level
Cebuano, Hausa, Igbo, and Yoruba data now up to basic level
23 additional measurement units
Many data additions and corrections in many other languages
The following language has been added to ICU: Cebuano
This version of ICU does not yet implement the Indic Grapheme Cluster improvements from CLDR 35.
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 (This was added in ICU 63).
Support added for Gannen year numbering (using 元 for the first year of an era) in the Japanese locale Japanese-calendar full, long, and medium formats. Gannen year support is also
automatically added for other non-numeric formats (those containing other kanji characters such as 年) derived from pattern skeletons unless specifically overridden. (ICU #20441, CLDR #11843, CLDR
#11819)
We are planning for an ICU 64.2 update in 2019-April which will add the new Japanese era with its real name.
ICU 64 now uses "rearguard" TZ data. (Recent versions have used "vanguard" data with certain overrides.) (ICU-20398)
ICU data filtering: The ICU4C build accepts an optional filter script that specifies a subset of the data to be built, with whitelists and blacklists for locales and for resource bundle paths.
(ICU-10923, design doc)
See this new documentation page: userguide/icu_data/buildtool.md
MessageFormat has new pattern syntax for specifying the style of a date/time argument via a locale-independent skeleton rather than a locale-specific pattern. (ICU-9622)
Date/time skeletons use the same "::" prefix as number skeletons.
Example MessageFormat pattern string: "We close on {closing,date,::MMMMd} at {closing,time,::jm}."
Many formatting APIs can now output a new type of result object which is-a FormattedValue (Java & C++), or convertible to a UFormattedValue (C).
These combine the result strings with easy iteration over FieldPosition metadata.
ICU4C Specific Changes
New C++ class LocaleBuilder for building a Locale from subtags, keywords, and extensions. (ICU-20328)
Parallel to the existing ICU4J ULocale.Builder class.
For C++ MeasureUnit instances, there are now additional factory methods that return units by value, not by pointer-with-ownership. (ICU-20337)
Various Out-Of-Memory (OOM) issues have been fixed. (ticket query)
To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 pkgsrc/textproc/icu/Makefile
cvs rdiff -u -r1.44 -r1.45 pkgsrc/textproc/icu/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/textproc/icu/buildlink3.mk
cvs rdiff -u -r1.81 -r1.82 pkgsrc/textproc/icu/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/icu/patches/patch-CVE-2018-18928 \
pkgsrc/textproc/icu/patches/patch-common_unicode_urename.h \
pkgsrc/textproc/icu/patches/patch-i18n_uspoof.cpp
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/icu/patches/patch-common_umutex.h
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/icu/patches/patch-configure
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/icu/patches/patch-configure.ac
cvs rdiff -u -r1.2 -r0 \
pkgsrc/textproc/icu/patches/patch-i18n_double-conversion-utils.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/icu/Makefile
diff -u pkgsrc/textproc/icu/Makefile:1.121 pkgsrc/textproc/icu/Makefile:1.122
--- pkgsrc/textproc/icu/Makefile:1.121 Wed Feb 13 20:51:57 2019
+++ pkgsrc/textproc/icu/Makefile Wed Apr 3 00:12:59 2019
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.121 2019/02/13 20:51:57 spz Exp $
+# $NetBSD: Makefile,v 1.122 2019/04/03 00:12:59 ryoon Exp $
-DISTNAME= icu4c-63_1-src
+DISTNAME= icu4c-64_1-src
PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g}
-PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tgz
@@ -130,4 +129,5 @@ SUBST_SED.icu-config+= -e 's/l$${LIBICU}
SUBST_SED.icu-config+= -e '/l$${ICUPREFIX}/ s/$${ICULIBSUFFIX_VERSION}//g'
.endif
+.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/icu/PLIST
diff -u pkgsrc/textproc/icu/PLIST:1.44 pkgsrc/textproc/icu/PLIST:1.45
--- pkgsrc/textproc/icu/PLIST:1.44 Sun Dec 9 18:28:16 2018
+++ pkgsrc/textproc/icu/PLIST Wed Apr 3 00:12:59 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.44 2018/12/09 18:28:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.45 2019/04/03 00:12:59 ryoon Exp $
bin/derb
bin/genbrk
bin/gencfu
@@ -47,6 +47,7 @@ include/unicode/fieldpos.h
include/unicode/filteredbrk.h
include/unicode/fmtable.h
include/unicode/format.h
+include/unicode/formattedvalue.h
include/unicode/fpositer.h
include/unicode/gender.h
include/unicode/gregocal.h
@@ -54,6 +55,7 @@ include/unicode/icudataver.h
include/unicode/icuplug.h
include/unicode/idna.h
include/unicode/listformatter.h
+include/unicode/localebuilder.h
include/unicode/localpointer.h
include/unicode/locdspnm.h
include/unicode/locid.h
@@ -139,6 +141,7 @@ include/unicode/udisplaycontext.h
include/unicode/uenum.h
include/unicode/ufieldpositer.h
include/unicode/uformattable.h
+include/unicode/uformattedvalue.h
include/unicode/ugender.h
include/unicode/uidna.h
include/unicode/uiter.h
@@ -201,27 +204,27 @@ lib/icu/pkgdata.inc
lib/libicudata.a
lib/libicudata.so
lib/libicudata.so.${PKGVERSION}
-lib/libicudata.so.63
+lib/libicudata.so.64
lib/libicui18n.a
lib/libicui18n.so
lib/libicui18n.so.${PKGVERSION}
-lib/libicui18n.so.63
+lib/libicui18n.so.64
lib/libicuio.a
lib/libicuio.so
lib/libicuio.so.${PKGVERSION}
-lib/libicuio.so.63
+lib/libicuio.so.64
lib/libicutest.a
lib/libicutest.so
lib/libicutest.so.${PKGVERSION}
-lib/libicutest.so.63
+lib/libicutest.so.64
lib/libicutu.a
lib/libicutu.so
lib/libicutu.so.${PKGVERSION}
-lib/libicutu.so.63
+lib/libicutu.so.64
lib/libicuuc.a
lib/libicuuc.so
lib/libicuuc.so.${PKGVERSION}
-lib/libicuuc.so.63
+lib/libicuuc.so.64
lib/pkgconfig/icu-i18n.pc
lib/pkgconfig/icu-io.pc
lib/pkgconfig/icu-uc.pc
Index: pkgsrc/textproc/icu/buildlink3.mk
diff -u pkgsrc/textproc/icu/buildlink3.mk:1.37 pkgsrc/textproc/icu/buildlink3.mk:1.38
--- pkgsrc/textproc/icu/buildlink3.mk:1.37 Fri Jul 20 03:32:09 2018
+++ pkgsrc/textproc/icu/buildlink3.mk Wed Apr 3 00:12:59 2019
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.37 2018/07/20 03:32:09 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.38 2019/04/03 00:12:59 ryoon Exp $
BUILDLINK_TREE+= icu
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= icu
ICU_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.icu+= icu>=3.4
-BUILDLINK_ABI_DEPENDS.icu+= icu>=62.1
+BUILDLINK_ABI_DEPENDS.icu+= icu>=64.1
BUILDLINK_PKGSRCDIR.icu?= ../../textproc/icu
.endif # ICU_BUILDLINK3_MK
Index: pkgsrc/textproc/icu/distinfo
diff -u pkgsrc/textproc/icu/distinfo:1.81 pkgsrc/textproc/icu/distinfo:1.82
--- pkgsrc/textproc/icu/distinfo:1.81 Wed Feb 13 20:51:57 2019
+++ pkgsrc/textproc/icu/distinfo Wed Apr 3 00:12:59 2019
@@ -1,27 +1,23 @@
-$NetBSD: distinfo,v 1.81 2019/02/13 20:51:57 spz Exp $
+$NetBSD: distinfo,v 1.82 2019/04/03 00:12:59 ryoon Exp $
-SHA1 (icu4c-63_1-src.tgz) = ad523232f19af1c698c6489f8e15f7e9824f1662
-RMD160 (icu4c-63_1-src.tgz) = 5c895a6e2b135978df59e135ed772747aec0065f
-SHA512 (icu4c-63_1-src.tgz) = 9ab407ed840a00cdda7470dcc4c40299a125ad246ae4d019c4b1ede54781157fd63af015a8228cd95dbc47e4d15a0932b2c657489046a19788e5e8266eac079c
-Size (icu4c-63_1-src.tgz) = 23746939 bytes
-SHA1 (patch-CVE-2018-18928) = 74e8248c215bcb5ca98a63d161dc5516531a83b3
+SHA1 (icu4c-64_1-src.tgz) = 50f900fe983dcdb46c68a078b8b09afde1339ad7
+RMD160 (icu4c-64_1-src.tgz) = 9c7c07493b2700397075c50112642f849938f05c
+SHA512 (icu4c-64_1-src.tgz) = 5eca8342d8bdf902689243506643e04512744b33962687e118f6810af6f7fd073678f67b991d2ae9139d257713b63abb4222b96687234df01ad5ff62df16ede0
+Size (icu4c-64_1-src.tgz) = 24013136 bytes
SHA1 (patch-Makefile.in) = 67440d3af9b62b8c0be258c490255ba17f778ab4
SHA1 (patch-acinclude.m4) = f7de1a16aad0ca77c4bbc457ba76b6171199ce09
SHA1 (patch-common_putil.cpp) = 6aa70b8698d663d3c798bafd9010a824c9609c20
SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262
-SHA1 (patch-common_umutex.h) = 096d3e15ef7b84533456af4570ed70747a4ef70c
+SHA1 (patch-common_umutex.h) = b22b7c02b4645a87f71d54885d858d0cf9005988
SHA1 (patch-common_unicode_platform.h) = 8b7b8bcf6f5185225a1ca516ac212a495f7b47e8
-SHA1 (patch-common_unicode_urename.h) = bc27b21c9a041a16ed1dd077e5c5af7e4cee4cf3
SHA1 (patch-common_uposixdefs.h) = 4739ca7d4662335adcb322cd0943770651d548ce
SHA1 (patch-config_Makefile.inc.in) = e7cee161315321d2580074054d87714b55319886
SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501
SHA1 (patch-config_mh-darwin) = 32f0e4c241535e37e4cad9b871ed3d36b4184199
SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472
SHA1 (patch-config_mh-solaris-gcc) = e1097930f577917d3583e425d9d2affa1c3dcaf2
-SHA1 (patch-configure) = fdeae51f4390779dfd8df8471196e322cbb9ea3d
-SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158
-SHA1 (patch-i18n_double-conversion-utils.h) = 773e93ed9baffa241d5af61bd631d2d7c4a867f8
-SHA1 (patch-i18n_uspoof.cpp) = b7d1757912a6da39c080b1453f4730cbb9b5fd65
+SHA1 (patch-configure) = 1f96ffb2c2c023b38a45326c0273be0ae9cc02ff
+SHA1 (patch-configure.ac) = 2cb4601e20ee6b93e08e8790df3f8212510aeb1b
SHA1 (patch-icudefs.mk.in) = c2a9469bf896b5f0702d5795c3b1c2b394893663
SHA1 (patch-runConfigureICU) = 3cd60613104fa4f1b81529795e75d5cf7f477b64
SHA1 (patch-tools-toolutil-pkg_genc.cpp) = 3cbcf3387d6a39315b26a3e2a2ffb715507e9110
Index: pkgsrc/textproc/icu/patches/patch-common_umutex.h
diff -u pkgsrc/textproc/icu/patches/patch-common_umutex.h:1.1 pkgsrc/textproc/icu/patches/patch-common_umutex.h:1.2
--- pkgsrc/textproc/icu/patches/patch-common_umutex.h:1.1 Tue Mar 4 12:07:16 2014
+++ pkgsrc/textproc/icu/patches/patch-common_umutex.h Wed Apr 3 00:13:00 2019
@@ -1,19 +1,17 @@
-$NetBSD: patch-common_umutex.h,v 1.1 2014/03/04 12:07:16 obache Exp $
+$NetBSD: patch-common_umutex.h,v 1.2 2019/04/03 00:13:00 ryoon Exp $
* Add NetBSD MI atomic_ops(3) support
---- common/umutex.h.orig 2013-10-04 20:49:16.000000000 +0000
+--- common/umutex.h.orig 2019-03-27 18:47:14.000000000 +0000
+++ common/umutex.h
-@@ -117,6 +117,34 @@ inline int32_t umtx_atomic_dec(u_atomic_
- U_NAMESPACE_END
+@@ -60,6 +60,31 @@ template struct std::atomic<int32_t>;
+ U_NAMESPACE_BEGIN
-+#elif U_HAVE_NETBSD_ATOMIC_OPS
++#if U_HAVE_NETBSD_ATOMIC_OPS
+/*
+ * NetBSD MI atomic_ops(3)
+ */
-+
-+U_NAMESPACE_BEGIN
+#include <sys/atomic.h>
+typedef volatile uint32_t u_atomic_int32_t;
+#define ATOMIC_INT32_T_INITIALIZER(val) val
@@ -33,9 +31,17 @@ $NetBSD: patch-common_umutex.h,v 1.1 201
+inline int32_t umtx_atomic_dec(u_atomic_int32_t *p) {
+ return atomic_dec_32_nv(p);
+}
-+U_NAMESPACE_END
-+
++#else
+
- #elif U_HAVE_GCC_ATOMICS
- /*
- * gcc atomic ops. These are available on several other compilers as well.
+ /****************************************************************************
+ *
+ * Low Level Atomic Operations, ICU wrappers for.
+@@ -84,7 +109,7 @@ inline int32_t umtx_atomic_inc(u_atomic_
+ inline int32_t umtx_atomic_dec(u_atomic_int32_t *var) {
+ return var->fetch_sub(1) - 1;
+ }
+-
++#endif
+
+ /*************************************************************************************************
+ *
Index: pkgsrc/textproc/icu/patches/patch-configure
diff -u pkgsrc/textproc/icu/patches/patch-configure:1.9 pkgsrc/textproc/icu/patches/patch-configure:1.10
--- pkgsrc/textproc/icu/patches/patch-configure:1.9 Tue Apr 25 08:58:44 2017
+++ pkgsrc/textproc/icu/patches/patch-configure Wed Apr 3 00:13:00 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.9 2017/04/25 08:58:44 maya Exp $
+$NetBSD: patch-configure,v 1.10 2019/04/03 00:13:00 ryoon Exp $
Portability fix.
Solaris seems to need -std=c99 with recent pkgsrc so keep it.
@@ -6,9 +6,9 @@ don't throw away -std=c++11 on solaris u
required.
Add support for Bitrig.
---- configure.orig 2017-04-07 07:40:30.000000000 +0000
+--- configure.orig 2019-03-27 18:47:14.000000000 +0000
+++ configure
-@@ -5175,7 +5175,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -5242,7 +5242,7 @@ rm -f core conftest.err conftest.$ac_obj
*-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
esac
fi ;;
@@ -17,7 +17,7 @@ Add support for Bitrig.
*-*-aix*)
if test "$GCC" = yes; then
icu_cv_host_frag=mh-aix-gcc
-@@ -5200,6 +5200,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -5267,6 +5267,7 @@ rm -f core conftest.err conftest.$ac_obj
*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
*-*-nto*) icu_cv_host_frag=mh-qnx ;;
*-ncr-*) icu_cv_host_frag=mh-mpras ;;
@@ -25,7 +25,7 @@ Add support for Bitrig.
*) icu_cv_host_frag=mh-unknown ;;
esac
-@@ -5808,6 +5809,29 @@ if test "x$plugins" = "xtrue"; then
+@@ -5875,6 +5876,29 @@ if test "x$plugins" = "xtrue"; then
fi
@@ -55,7 +55,7 @@ Add support for Bitrig.
U_ENABLE_DYLOAD=1
enable=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5
-@@ -6021,11 +6045,6 @@ $as_echo "$as_me: Adding CXXFLAGS option
+@@ -6088,11 +6112,6 @@ $as_echo "$as_me: Adding CXXFLAGS option
else
CXXFLAGS="$OLD_CXXFLAGS"
fi
@@ -67,7 +67,7 @@ Add support for Bitrig.
fi
fi
-@@ -7776,7 +7795,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
+@@ -7819,7 +7838,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
case "${host}" in
*-*-solaris*) platform=U_SOLARIS ;;
*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;;
@@ -76,19 +76,3 @@ Add support for Bitrig.
*-*-aix*) platform=U_AIX ;;
*-*-hpux*) platform=U_HPUX ;;
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
-@@ -7812,13 +7831,13 @@ fi
- # Now that we're done using CPPFLAGS etc. for tests, we can change it
- # for build.
-
--if test "${CC}" == "clang"; then
-+if test "${CC}" = "clang"; then
- CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"
- else
- CLANGCFLAGS=""
- fi
-
--if test "${CXX}" == "clang++"; then
-+if test "${CXX}" = "clang++"; then
- CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality"
- else
- CLANGCXXFLAGS=""
Index: pkgsrc/textproc/icu/patches/patch-configure.ac
diff -u pkgsrc/textproc/icu/patches/patch-configure.ac:1.5 pkgsrc/textproc/icu/patches/patch-configure.ac:1.6
--- pkgsrc/textproc/icu/patches/patch-configure.ac:1.5 Fri Oct 9 23:15:34 2015
+++ pkgsrc/textproc/icu/patches/patch-configure.ac Wed Apr 3 00:13:00 2019
@@ -1,12 +1,12 @@
-$NetBSD: patch-configure.ac,v 1.5 2015/10/09 23:15:34 ryoon Exp $
+$NetBSD: patch-configure.ac,v 1.6 2019/04/03 00:13:00 ryoon Exp $
* Detect NetBSD libatomic
* test(1) portability fix
* Add support for Bitrig
---- configure.ac.orig 2015-10-08 04:00:26.000000000 +0000
+--- configure.ac.orig 2019-03-27 18:47:14.000000000 +0000
+++ configure.ac
-@@ -427,6 +427,18 @@ if test "x$plugins" = "xtrue"; then
+@@ -449,6 +449,18 @@ if test "x$plugins" = "xtrue"; then
fi
@@ -25,7 +25,7 @@ $NetBSD: patch-configure.ac,v 1.5 2015/1
U_ENABLE_DYLOAD=1
enable=yes
AC_MSG_CHECKING([whether to enable dynamic loading of plugins. Ignored if plugins disabled.])
-@@ -1251,7 +1263,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
+@@ -1260,7 +1272,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
case "${host}" in
*-*-solaris*) platform=U_SOLARIS ;;
*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;;
@@ -34,7 +34,7 @@ $NetBSD: patch-configure.ac,v 1.5 2015/1
*-*-aix*) platform=U_AIX ;;
*-*-hpux*) platform=U_HPUX ;;
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
-@@ -1270,6 +1282,7 @@ case "${host}" in
+@@ -1279,6 +1291,7 @@ case "${host}" in
*-*-beos) platform=U_BEOS ;;
*-*-irix*) platform=U_IRIX ;;
*-ncr-*) platform=U_MPRAS ;;
@@ -42,19 +42,3 @@ $NetBSD: patch-configure.ac,v 1.5 2015/1
*) platform=U_UNKNOWN_PLATFORM ;;
esac
AC_SUBST(ICUDATA_CHAR)
-@@ -1287,13 +1300,13 @@ fi
- # Now that we're done using CPPFLAGS etc. for tests, we can change it
- # for build.
-
--if test "${CC}" == "clang"; then
-+if test "${CC}" = "clang"; then
- CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"
- else
- CLANGCFLAGS=""
- fi
-
--if test "${CXX}" == "clang++"; then
-+if test "${CXX}" = "clang++"; then
- CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality"
- else
- CLANGCXXFLAGS=""
Home |
Main Index |
Thread Index |
Old Index