head 1.8; access; symbols pkgsrc-2017Q1:1.7.0.52 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.50 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.48 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.46 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.44 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.42 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.40 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.38 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.36 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.34 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.32 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.30 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.28 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.26 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.24 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.22 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.20 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.18 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.16 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.14 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.12 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.10 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.8 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.6 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.4 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.2 pkgsrc-2010Q4-base:1.7 pkgsrc-2009Q4:1.6.0.42 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.40 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.38 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.36 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.34 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.32 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.30 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.28 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.26 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.24 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.22 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.20 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.18 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.16 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.14 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.12 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.10 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.8 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.6 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2017.04.22.20.11.45; author adam; state dead; branches; next 1.7; commitid 98DqbtZ0FFc9kzOz; 1.7 date 2010.12.07.17.58.13; author adam; state Exp; branches; next 1.6; 1.6 date 2004.04.04.16.58.16; author recht; state dead; branches; next 1.5; 1.5 date 2003.06.23.07.49.41; author jlam; state Exp; branches; next 1.4; 1.4 date 2003.03.21.23.44.07; author salo; state Exp; branches; next 1.3; 1.3 date 2000.12.23.09.39.20; author skrll; state Exp; branches; next 1.2; 1.2 date 2000.12.21.18.14.18; author skrll; state Exp; branches; next 1.1; 1.1 date 2000.12.20.18.28.06; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.20.18.28.06; author skrll; state Exp; branches; next ; desc @@ 1.8 log @Changes 59.1: * Emoji 5.0 data * Includes bidi data files from Unicode 10 beta. * Includes segmentation data files and rules from Unicode 10 beta and CLDR 31.0.1. * Does not yet include the Emoji_Component property. * Otherwise ICU 59 continues to use Unicode 9 data. CLDR 31.0.1 * Including updates for emoji 5.0, for example local names for England, Scotland, and Wales. * GMT and UTC are no longer unified, and CLDR provides distinct UTC display names, avoiding confusion with standard (winter) time in Britain. * See the CLDR download page for other CLDR features and migration issues in CLDR v31. New case mapping API (C++ & Java classes CaseMap) supports styled text. @ text @$NetBSD: patch-ac,v 1.7 2010/12/07 17:58:13 adam Exp $ --- config/Makefile.inc.in.orig 2010-12-07 11:22:10.000000000 +0000 +++ config/Makefile.inc.in @@@@ -44,7 +44,7 @@@@ PACKAGE = @@PACKAGE@@ LIBICU = lib$(ICUPREFIX) # Static library prefix and file extension -STATIC_PREFIX = s +STATIC_PREFIX = LIBSICU = lib$(STATIC_PREFIX)$(ICUPREFIX) A = a @ 1.7 log @Changes 4.6: CLDR 1.9, Unicode 6.0, UTS #46 support, collation enhancements, alternate number symbols @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @update to 2.8 Lot's of changes and fixes. For example: # Number Formatting ICU4C adds support for formatting and parsing of 64-bit integers. # Text Analysis (Break Iterators) Full conformance with Unicode Consortium UAX 29 and UAX 14 definitions for text boundary positions. Significantly improved performance for reverse direction iteration and isBoundary tests of arbitrary string positions. # StringPrep ICU 2.8 adds APIs and a tool for generic support of StringPrep profiles such as those used in NFS 4. For a complete list see: http://oss.software.ibm.com/icu/download/2.8/index.html @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2003/06/23 07:49:41 jlam Exp $ d3 4 a6 5 --- data/Makefile.in.orig Thu Jun 19 18:48:54 2003 +++ data/Makefile.in Thu Jun 19 18:54:43 2003 @@@@ -111,9 +111,9 @@@@ $(PKGDATA_INVOKE) $(PKGDATA) -m static -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst -I $(DESTDIR)$(ICUPKGDATA_DIR) endif d8 5 a12 7 -install-convrtrstxt: $(DESTDIR)$(pkgsysconfdir)/convrtrs.txt -$(DESTDIR)$(pkgsysconfdir)/convrtrs.txt: $(UCMSRCDIR)/convrtrs.txt - $(MKINSTALLDIRS) $(DESTDIR)$(pkgsysconfdir) +install-convrtrstxt: $(DESTDIR)$(pkgexampledir)/convrtrs.txt +$(DESTDIR)$(pkgexampledir)/convrtrs.txt: $(UCMSRCDIR)/convrtrs.txt + $(MKINSTALLDIRS) $(DESTDIR)$(pkgexampledir) $(INSTALL_DATA) $< $@@ a13 1 #### @ 1.5 log @Update textproc/icu to 2.6. This is a major reference release with new features and new and modified APIs from version 2.4: * Added support for Unicode 4.0 * Added support for Unicode regular expressions * Enhanced sorting * Added support for international domain names * Added service registration for pluggable ICU modules * Added layout engine API for language-specific glyphs * Separated currencies from locales * Added POSIX-like API for message catalogs * Added new charset converters @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to version 2.4. Based on a PR pkg/20825 by Hiramatsu Yoshifumi, modified by me. - follow PKG_SYSCONFDIR List of major changes for this release: * Regular Expressions Phase 1 ICU 2.4 introduces a Regular Expression C++ API that is modeled after the JDK 1.4 API. ICU 2.4's Regular Expression API supports Unicode level 1 regular expressions (see Unicode Regular Expression Guidelines) but not all pattern metacharacters and features are supported yet. Regular expressions leverage all of the UnicodeSet support, including all Unicode 3.2 property names and property value names. Future ICU releases will complete the pattern support, add support for higher Unicode regex levels, and improve performance. For more details see the API References and the User Guide. * Modularized ICU library building ICU 2.4 provides build-time switches to prune parts of the library code, for smaller custom distributions. For details see the readme file. * Character set alias management support Additional APIs map alias+standard to a unique charset name (e.g., "Shift-JIS"+"IANA"->"ibm-943_P14A-2000") and enumerate all charset names in the alias table, not just the installed ones. See convrtrs.txt and ucnv.h. These APIs allow programmers to avoid data corruption problems when different platforms use the same names for different character conversion mappings. * EBCDIC-z/OS converter option The EBCDIC converter now handles swapped LF/NL mappings algorithmically instead of with modified .ucm/.cnv conversion table files. This makes this behavior available for all supported EBCDIC conversions without adding to the data package size. See "swaplfnl" in convrtrs.txt. * Additional converter A new converter implementation has been added for the encoding of IMAP mailbox names. See RFC 2060/5.1.3. Mailbox International Naming Convention and "IMAP-mailbox-name" in convrtrs.txt. * Customizable break iteration ICU 2.4 allows registration of a BreakIterator with a locale ID. This allows applications to provide more sophisticated word/sentence break engines and use them seamlessly with the ICU APIs. In future releases, this registration mechanism will be extended to all relevant ICU services. If you are interested in ICU customization, please try out this feature. * Collation performance ICU 2.4 collation was improved in several areas, with an emphasis on performance: * Latin-1: Improved performance of u_strcoll(). * Russian/Cyrillic: Improved performance by tailoring collation for cyrillic-script languages, removing UCA contractions that are not used for modern Russian (this uses the [suppressContractions] tailoring option). * Korean: Improved performance by resolving collation elements for modern Hangul syllables at build time (this uses the [optimize] tailoring option). * Japanese: The default strength for Japanese was reduced from quaternary to tertiary as in all other locales. * UnicodeSet performance UnicodeSet performance is significantly improved, especially for add(codePoint) and contains(codePoint). * Unicode property aliases ICU 2.4 introduces APIs for mapping between all appropriate Unicode property aliases and property value aliases and ICU property enumeration constants. See u_getPropertyName() etc. in uchar.h. * Unicode string functions * There are new C functions for searching for last occurrences of characters and partial strings. See u_strrstr(), u_strrchr32() etc. * New C/C++/Java functions for efficient checking if a string contains more than a certain number of code points. See hasMoreChar32Than(). * Copying UnicodeStrings via the standard assignment operator and copy constructor does not preserve readonly aliasing any more because this can sometimes have unexpected and dangerous effects. A new fastCopyFrom() member function provides the old copy semantics. See Jitterbug 1794 for more details. * UTF macros simplified The low-level C macros for handling code points in 8-bit and 16-bit Unicode strings have been replaced by a simpler, more consistent set with more concise names. For details see utf_old.h and utf.h. Similarly, ICU 2.4 defines the UChar32 consistently (now always as int32_t) and adds a U_SENTINEL non-code point value for new APIs. * Performance tests ICU 2.4 has a new performance test framework and additional performance tests using this framework. This is not currently documented, but it is available as part of the source distribution at source/test/perf/. @ text @d3 5 a7 5 --- data/Makefile.in.orig 2002-12-13 05:07:48.000000000 +0100 +++ data/Makefile.in 2003-03-22 00:05:30.000000000 +0100 @@@@ -101,9 +101,9 @@@@ $(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(ICUPKGDATA_DIR) $(INVOKE) $(PKGDATA) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst -I $(DESTDIR)$(ICUPKGDATA_DIR) d12 3 a14 3 +install-convrtrstxt: $(DESTDIR)$(prefix)/share/examples/icu/convrtrs.txt +$(DESTDIR)$(prefix)/share/examples/icu/convrtrs.txt: $(UCMSRCDIR)/convrtrs.txt + $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/share/examples/icu @ 1.3 log @Fix the broken symlink in lib/icu/1.7 @ text @d3 15 a17 18 --- configure.orig Mon Dec 4 23:30:03 2000 +++ configure @@@@ -3718,6 +3718,7 @@@@ *-*-solaris*) platform=U_SOLARIS ;; *-*-linux*) platform=U_LINUX ;; *-*-freebsd*) platform=U_LINUX ;; + *-*-netbsd*) platform=U_BSD ;; *-*-aix*) platform=AIX ;; *-sequent-*) platform=PTX ;; *-*-hpux*) platform=HPUX ;; @@@@ -3740,6 +3741,7 @@@@ *-*-solaris*) ld_rpath_suf=":" ;; *-*-linux*) ld_rpath_suf=" " ;; *-*-freebsd*) ld_rpath_suf=" " ;; + *-*-netbsd*) ld_rpath_suf=" " ;; *-*-aix*) ld_rpath_suf="" ;; *-sequent-*) ld_rpath_suf="" ;; *-*-hpux*) ld_rpath_suf=":" ;; @ 1.2 log @Update to version 1.7. Changes are (from the web page) Collation performance is improved. The collation implementation will continue to change for ICU 1.8 according to the collation design document. Improved performance of parsing and formatting of dates and numbers Improvements in the ISO-2022 implementation Bug fixes, more stable, and support for standard country variants: ISO-2022-JP (incl. -1, -2) ISO-2022-CN (incl. -EXT) ISO-2022-KR Support for GB 18030 Basic support for UTF-32 (no ucnv_getNextUChar(), incomplete offset handling) Support for the HZ encoding Converter fallback semantics modified and .ucm mapping files updated with precise roundtrip/fallback indicators ICU library names include the version number for better coexistence of different installed ICU versions on a single machine The code libraries contain the two major/minor version digits On Windows, they also contain a 'd' for the debug versions The icu data file contains the ICU version and a letter for the data configuration (ASCII/EBCDIC, big-endian/little-endian) ICU client code links with .lib files/object symlinks without the version number for easier future updates Debian packaging The API documentation is improved. @ text @@ 1.1 log @Initial revision @ text @d3 18 a20 29 --- common/uresbund.c.orig Wed Aug 16 21:44:50 2000 +++ common/uresbund.c @@@@ -238,7 +238,7 @@@@ r->fBogus = U_USING_FALLBACK_ERROR; } else { /* if we have a regular entry */ /* handle the alias by trying to get out the %%Alias tag.*/ - char aliasName[100]; + char aliasName[256]; int32_t aliasLen; /* We'll try to get alias string from the bundle */ Resource aliasres = res_getResource(&(r->fData), "%%ALIAS"); @@@@ -1027,7 +1027,7 @@@@ const char* localeID, UErrorCode* status) { - char path[100]; + char path[256]; UResourceBundle *r; size_t tempSize = uprv_wcstombs(NULL, myPath, ((size_t)-1) >> 1); /*char *temp = new char[tempSize + 1];*/ @@@@ -1051,7 +1051,7 @@@@ const char* localeID, UErrorCode* status) { - char path[100]; + char path[256]; UResourceBundle *r; int32_t pathlen = u_strlen(myPath); @ 1.1.1.1 log @Import of new ICU package: Robust and full-featured unicode support @ text @@