diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
commit | ad547a6b5986815fda458221149728d9d9ab1d87 (patch) | |
tree | 16296910eb3eca724371474ea9aea3994dc69614 /Build/source/libs/icu/TLpatches | |
parent | 947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff) |
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/TLpatches')
-rw-r--r-- | Build/source/libs/icu/TLpatches/ChangeLog | 531 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/TL-Changes | 67 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-01-configure-gcc | 33 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-02-configure-solaris | 20 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-10-ES | 14 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-12-mingw | 30 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-13-STATIC_PREFIX | 27 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-14-xopen | 18 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-19-netbsd | 14 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-20-private | 42 | ||||
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-22-max_align_t | 51 |
11 files changed, 847 insertions, 0 deletions
diff --git a/Build/source/libs/icu/TLpatches/ChangeLog b/Build/source/libs/icu/TLpatches/ChangeLog new file mode 100644 index 00000000000..dfffb6cd22f --- /dev/null +++ b/Build/source/libs/icu/TLpatches/ChangeLog @@ -0,0 +1,531 @@ +2020-01-13 Karl Berry <karl@freefriends.org> + + * patch-04-data-makefile: new Makefilepatch needed on Solaris + found by Mojca, from: + https://unicode-org.atlassian.net/browse/ICU-20852 + +2020-01-04 Karl Berry <karl@freefriends.org> + + * patch-10-ES: new patch from Mojca. + https://tug.org/pipermail/tlbuild/2020q1/004599.html + https://tug.org/pipermail/tlbuild/2020q1/004599.html + https://docs.oracle.com/cd/E19253-01/816-5174/proc-4/index.html + +2019-12-12 Karl Berry <karl@freefriends.org> + + * Update for icu-65.1. + * patch-03-gcc-atomic: apparently no longer relevant. + +2019-02-10 Karl Berry <karl@tug.org> + + * patch-12-mingw: also patch numberrangeformatter.h + for NumberRangeFormatterImpl* on mingw. + +2019-01-08 Karl Berry <karl@freefriends.org> + + * update for icu-63.1; no substantive changes. + +2018-01-16 Karl Berry <karl@freefriends.org> + + * patch-19-netbsd [__NetBSD__]: new patch, defining _ISOC99_SOURCE. + +2018-01-16 Karl Berry <karl@tug.org> + + * patch-02-configure-solaris: add. + +2018-01-12 Karl Berry <karl@freefriends.org> + + * patch-16-putil, + * patch-17-cygwin-no-w32api: no longer needed per kbrown. + +2017-03-17 Karl Berry <karl@tug.org> + + * patch-19-netbsd: add per Marc Baudoin, tlbuild 17 Mar 2017 10:03:03. + +2017-03-13 Karl Berry <karl@freefriends.org> + + * Update for icu-58.2. + +2016-03-30 Karl Berry <karl@tug.org> + + * patch-20-private: new file, per Dick Koch. + http://tug.org/pipermail/tlbuild/2016q1/003438.html + +2016-03-27 Karl Berry <karl@tug.org> + + * Imported icu-57.1 from + http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz + See ./TL-Changes for procedure. + +2015-10-08 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-56.1 source tree (icu4c-56_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/56.1/ + +2015-09-27 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-56.1 source tree (icu4c-56_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/56rc/ + + * patch-03-gcc-atomic, patch-12-mingw, + patch-13-STATIC_PREFIX, patch-14-xopen, patch-16-putil, + patch-17-cygwin-no-w32api: Adapted. + +2015-04-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-55.1 source tree (icu4c-55_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/55.1/ + +2015-03-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-55.1 source tree (icu4c-55_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/55rc/ + + * patch-03-gcc-atomic, patch-12-mingw, + patch-13-STATIC_PREFIX, patch-14-xopen, patch-16-putil, + patch-17-cygwin-no-w32api: Adapted. + +2014-10-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-54.1 source tree (icu4c-54_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/54.1/ + +2014-09-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-54.1 source tree (icu4c-54_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/54rc/ + + * patch-11-cygwin64, patch-15-solaris, + patch-18-solaris-depend (removed): Included upstream. + + * patch-03-gcc-atomic, patch-12-mingw, + patch-13-STATIC_PREFIX, patch-14-xopen, patch-16-putil, + patch-17-cygwin-no-w32api: Adapted. + +2014-05-14 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-18-solaris-depend (new): Minor build fix for solaris, + dependencies for C files require $(CFLAGS), i.e., -std=c99. + +2014-04-03 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-53.1 source tree (icu4c-53_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/53.1/ + +2014-03-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-16-putil (new): Build fix for Cygwin/MinGW with -ansi, + * patch-17-cygwin-no-w32api (new): Use Posix instead of Win32 + API for Cygwin, + from Ken Brown <kbrow1i@gmail.com>. + +2014-03-20 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-53.1 source tree (icu4c-53_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/53rc/ + + * patch-04-Windows2000 (removed): Drop Windows2000 support. + * patch-08-avoid-rebuild (removed): Included upstream. + + * patch-03-gcc-atomic, patch-11-cygwin64, patch-12-mingw, + patch-13-STATIC_PREFIX, patch-14-xopen: Adapted. + + * patch-15-solaris (new): Build fix for Solaris, from + http://bugs.icu-project.org/trac/ticket/10580 + +2014-02-21 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-11-cygwin64 (new): Enable Cygwin64 (from Cygwin64 port). + +2013-10-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-52.1 source tree (icu4c-52_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/52.1/ + +2013-09-26 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-52.1 source tree (icu4c-52_rc2-src.tgz) from: + http://download.icu-project.org/files/icu4c/52rc/ + + * patch-03-gcc-atomic, patch-04-Windows2000, + patch-08-avoid-rebuild, patch-12-mingw, patch-13-STATIC_PREFIX, + patch-14-xopen: Adapted. + +2013-04-02 Karl Berry <karl@tug.org> + + * patch-14-xopen: do not define _XOPEN_SOURCE_EXTENDED on Solaris, + notwithstanding comments in icu source. + From Apostolos, tlbuild 27 Mar 2013 15:52:26 (and Ettore, later). + +2013-03-21 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-51.1 source tree (icu4c-51_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/51.1/ + +2013-03-14 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-08-avoid-rebuild: Really avoid to run pkgdata again. + +2013-03-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-51.1 source tree (icu4c-51_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/51rc/ + + * patch-11-CURR_FULL_DIR, patch-14-mingw-cross, + patch-83-zonemeta-bugfix, patch-84-c++11-bugfix (removed): + Now in icu-51.1. + * patch-{40,50,60,70,82}-* (removed): Obsolete, layout not used. + * patch-02-kFreeBSD (removed): Not needed. + + * patch-03-gcc-atomic, patch-04-Windows2000, + patch-08-avoid-rebuild, patch-12-mingw, patch-13-STATIC_PREFIX: + Adapted. + +2012-11-29 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-04-Windows2000 (new): From Akira. + +2012-11-16 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-84-c++11-bugfix (new): Required for gcc-4.7. + From http://bugs.icu-project.org/trac/ticket/9728. + +2012-11-06 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-50.1 source tree (icu4c-50_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/50.1/ + + * patch-83-zonemeta-bugfix (new): Required for MinGW. + +2012-10-24 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-50.1 source tree (icu4c-50_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/50rc/ + + * patch-01-Cygwin, patch-02-FreeBSD (removed): Now in icu-50.1. + * patch-14-GENCCODE_ASSEMBLY (removed): Obsolete. + + * patch-{08,11,12,13,40,50,60,70,82}-*:Adapted. + + * patch-02-kFreeBSD (new): Use Posix conform timezone decl. + * patch-03-gcc-atomic (new): Required for gcc-4.4. + * patch-14-mingw-cross (new): Required for linux->MinGW32 cross. + +2012-06-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-82-Indic-bugfix (new): Revert ICU SVN commit 26090. + +2012-06-09 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-49.1.2 source tree (icu4c-49_1_2-src.tgz) from: + http://download.icu-project.org/files/icu4c/49.1.2/ + + * patch-07-configure-utf16-string, patch-09-generated (removed): + Obsolete. + + * patch-{01,02,08,11,12,13,14,40,50,60,70}-*: Adapted. + +2012-04-24 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-02-FreeBSD (new): Build fix for FreeBSD. + Reported by Nikola Lecic <nikola.lecic@anthesphoria.net> + +2012-04-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-49.1.1 source tree (icu4c-49_1_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/49.1.1/ + + * patch-05-m4-quoting: Removed, now in icu-49.1.1. + + * patch-{01,07,08,09,11,12,13,14,40,50,60,70}-*: Adapted. + +2012-03-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-01-Cygwin (new): Build fix for Cygwin. + Reported by Ken Brown <kbrow1i@gmail.com>. + +2012-03-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + Updated icu-49.1 source tree (icu4c-49_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/49.1/ + + * patch-{01,02,03,04}-*: Removed, now in icu-49.1. + + * patch-{05,07,08,09,11,12,13,14,40,50,60,70}-*: Adapted. + +2012-03-21 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-05-m4-quoting (new): Correct m4 quoting in configure.in. + +2012-03-17 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-04-FreeBSD (new): From ICU. + +2012-03-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-40-auxParam: Fix a typo (auxillary => auxiliary). + * patch-70-Arabic: Remove useless changes of original code. + +2012-03-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-03-U_PF_UNKNOWN (new): Bug fix for the case that + U_PLATFORM == U_PF_UNKNOWN as, e.g., for FreeBSD (why?). + Reported by Hilmar Preusse <hille42@web.de>. + +2012-03-03 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-49.1 source tree (icu4c-49_rc-src.tgz) from: + http://download.icu-project.org/files/icu4c/49rc/ + + * patch-40-LESwaps, patch-81-Indic: Removed, now in icu-49.1. + + * patch-01-UVoidFunction (new): Bug fix for '--disable-dyload'. + * patch-02-AC_CHECK_TOOL (new): Bug fix for cross compilation. + + * TL-Changes, patch-07-configure-utf16-string, + patch-08-avoid-rebuild, patch-09-generated, + patch-11-CURR_FULL_DIR, patch-12-mingw, patch-13-STATIC_PREFIX, + patch-14-GENCCODE_ASSEMBLY, patch-50-Vertical, patch-60-KernPair, + patch-70-Arabic: Adapted. + * patch-05-auxParam (removed): Renamed ... + * patch-40-auxParam (new): ... to this and adapted. + +2011-08-31 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-40-LESwaps: See ICU Ticket #8657, comment 11. + +2011-08-09 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-4.8.1 source tree (icu4c-4_8_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/4.8.1/ + + * patch-06-mingw: Removed, included in icu-4.8.1. + + * TL-Changes, patch-05-auxParam, + patch-07-configure-utf16-string, patch-08-avoid-rebuild, + patch-09-generated, patch-11-CURR_FULL_DIR, patch-12-mingw, + patch-13-STATIC_PREFIX, patch-14-GENCCODE_ASSEMBLY, + patch-50-Vertical, patch-60-KernPair, patch-70-Arabic, + patch-81-Indic: Adapted. + + * patch-40-LESwaps: Rewritten, see ICU Ticket #8657, comment 7. + +2011-06-19 Karl Berry <karl@tug.org> + + * patch-40-LESwaps: revert to ICU 4.4, as 4.6 and 4.8 code + is broken on BigEndian machines. + http://bugs.icu-project.org/trac/ticket/8657 + tlbuild mail, 17 Jun 2011 17:10:38 + +2011-05-26 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-4.8 source tree (icu4c-4_8-src.tgz) from: + http://download.icu-project.org/files/icu4c/4.8/ + + * patch-80-Indic: Removed (not needed). + + * TL-Changes, patch-05-auxParam, patch-06-mingw, + patch-07-configure-utf16-string, patch-08-avoid-rebuild, + patch-09-generated, patch-11-CURR_FULL_DIR, patch-12-mingw, + patch-13-STATIC_PREFIX, patch-14-GENCCODE_ASSEMBLY, + patch-50-Vertical, patch-60-KernPair, patch-70-Arabic, + patch-81-Indic: Adapted. + +2011-05-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-14-GENCCODE_ASSEMBLY (new): For amd64-kfreebsd. + +2011-05-09 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-13-STATIC_PREFIX (new): Never use libsicuxxx.a. + +2011-02-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-81-Indic (new): IndicReordering.*: Respect array bounds. + + * patch-05-auxParam: Fix a bug introduced when importing icu-4.6. + +2010-12-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-11-CURR_FULL_DIR: Correctly handle CURR_FULL_DIR when + cross compiling. + +2010-12-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-4.6 source tree (icu4c-4_6-src.tgz) from: + http://download.icu-project.org/files/icu4c/4.6/ + + * patch-10-cross-TOOLEXEEXT, patch-13-remove-extra-token: + All removed, included in icu-4.6. + + * TL-Changes, patch-05-auxParam, patch-07-configure-utf16-string, + patch-08-avoid-rebuild, patch-11-CURR_FULL_DIR, patch-12-mingw, + patch-50-Vertical, patch-60-KernPair, patch-70-Arabic, + patch-80-Indic: Adapted. + + * patch-06-mingw (new): MinGW32 is Windows, not Cygwin. + * patch-09-generated (new): Regenerate configure. + +2010-04-08 Karl Berry <karl@tug.org> + + * patch-07-configure-utf16-string: new patch so we can disable the + check for UTF16 string literals. See comments in our + libs/icu/configure.ac. + +2010-03-31 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-4.4 source tree (icu4c-4_4-src.tgz) from: + http://download.icu-project.org/files/icu4c/4.4/ + + * fix-case-insensitive, patch-07-cygwin, patch-09-cross, + patch-20-fix-gt_ge, patch-21-fix-not_aligned, + patch-22-fix-JK-adjust_for_marks, patch-23-fix-JK-GlyphPos: + All removed, included in icu-4.4. + + * TL-Changes, patch-05-auxParam, patch-08-avoid-rebuild, + patch-10-cross-TOOLEXEEXT, patch-11-CURR_FULL_DIR, + patch-12-mingw, patch-50-Vertical, patch-60-KernPair, + patch-70-Arabic, patch-80-Indic: Adapted. + + * patch-13-remove-extra-token (new): Avoid compiler warning. + +2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + Fixes for Linux => MinGW32 cross compilation. + * patch-10-cross-TOOLEXEEXT (new): Fix a cross compilation typo. + * patch-11-CURR_FULL_DIR (new): Fix for cross compilation on + a Unix like system. Does MinGW32 have pwd? + * patch-12-mingw (new): Changes in config/mh-mingw (libraries + named as for everyone else). + +2009-10-28 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-09-cross (new): Modify AC_CHECK_64BIT_LIBS in aclocal.m4 + to allow cross compilation. + +2009-10-26 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-08-avoid-rebuild (new): Modify data/Makefile.in such + that libsicudata.a is not rebuilt again and again. + +2009-10-25 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-4.2.1 source tree (icu4c-4_2_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/4.2.1/ + + * patch-02-syntax, patch-40-Shaping (both removed): Obsolete. + + * TL-Changes, patch-80-Indic: Adapted. + +2009-10-24 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-4.0.1 source tree (icu4c-4_0_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/4.0.1/ + + * patch-01-backport-4.0.1, patch-01-too_much-4.0.1, + patch-06-build-fix, patch-06-partial-4.0.1, + patch-10-backport-4.0.1, patch-11-partial-4.0.1, + patch-99-test (all removed): Obsolete. + + * TL-Changes, patch-40-Shaping, patch-80-Indic: Adapted. + +2009-10-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + Imported icu-3.8.1 source tree (icu4c-3_8_1-src.tgz) from: + http://download.icu-project.org/files/icu4c/3.8.1/ + + * TL-Changes (new): Description of modifications of source tree. + + * fix-case-insensitive (new): Shell script used to rename + source/layout/Features.h => ICUFeatures.h (required for Cygwin) + and modify references to that file accordingly. + + * patch-01-backport-4.0.1 (new): Replace layout/CanonData.cpp, + layout/GlyphPositionAdjustments.cpp, + layout/IndicReordering.{cpp,h}, layout/LELanguages.h, + layout/LESwaps.h, layout/OpenTypeLayoutEngine.cpp, + layout/ScriptAndLanguage.cpp, layout/ThaiLayoutEngine.{cpp,h}, + layoutex/ParagraphLayout.cpp, and test/letest/sfnt.h by their + 4.0.1 versions. + * patch-01-too_much-4.0.1 (new): Undo one change in + layoutex/ParagraphLayout.cpp. + + * patch-02-syntax (new): Fix some dubious syntax in + layoutex/ParagraphLayout.cpp. + + * patch-05-auxParam (new): Handling of extension for XeTeX in + layout/AlternateSubstSubtables.cpp, + layout/GlyphIterator.{cpp,h}, + layout/LEGlyphStorage.{cpp,h}, + and layout/OpenTypeLayoutEngine.{cpp,h}. + + * patch-06-build-fix (new): Build fix in common/ubidi.c. + * patch-06-partial-4.0.1 (new): Partial backport of common/putil.c + from 4.0.1. + * patch-07-cygwin (new): Changes in config/mh-cygwin (libraries + named as for everyone else). + + * patch-10-backport-4.0.1 (new): Replace + layout/ScriptAndLanguageTags.{cpp,h} by their 4.0.1 versions. + * patch-11-partial-4.0.1 (new): Backport of some changes in + layout/LayoutEngine.cpp from 4.0.1. + + Bug fixes originally by: Jonathan Kew <jfkthame@googlemail.com> + * patch-20-fix-gt_ge (new): In layout/ClassDefinitionTables.cpp. + * patch-21-fix-not_aligned (new): In layout/ExtensionSubtables.cpp. + * patch-22-fix-JK-adjust_for_marks (new): In + layout/MarkToBasePosnSubtables.cpp. + * patch-23-fix-JK-GlyphPos (new): In + layout/OpenTypeLayoutEngine.cpp. + + * patch-40-Shaping (new): Update shaping type data in + layout/ShapingTypeData.cpp to Unicode 5.1. + + * patch-50-Vertical (new): Handling vertical writing in + layout/LEFontInstance.h and layout/ValueRecords.cpp. + + * patch-60-KernPair (new): Modified handling of kerns in + layout/LEFontInstance.{cpp,h} and layout/LayoutEngine.cpp. + + * patch-70-Arabic (new): Add Draft Mongolian shaping classes + in layout/ArabicShaping.{cpp,h} and LayoutEngine.cpp. + + * patch-80-Indic (new): Backport of some changes in + layout/IndicClassTables.cpp from 4.0.1 and in + layout/IndicReordering.cpp from 4.2.1. + + * patch-99-test (new): Changes from TeX Live icu-xetex in + test/letest/PortableFontInstance.{cpp,h}, + test/letest/gendata.{cpp,xml}, test/letest/letest.{cpp,xml}. + + These modifications and patches of icu-3.8.1/ reproduce the + previous icu-xetex/ source tree (except for test data). + +2009-10-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + Slightly rearranged the icu-xetex/ source tree. + + * layout/LELanguages.h: Changed some comments, from 4.0.1. + + * layout/LEGlyphStorage.{cpp,h}, + layout/OpenTypeLayoutEngine.cpp: Renamed adoptAuxDataArrays + back to adoptAuxDataArray as it was in 3.8.1. + + * layout/LEGlyphStorage.h: The XeTeX modifications have added + an additional parameter for setAuxData, however, in most cases + the corresponding argument is NULL. Added an inline definition + of the original method. + layout/ArabicShaping.cpp, layout/HanLayoutEngine.cpp, + layout/HangulLayoutEngine.cpp, layout/IndicReordering.cpp, + layout/KhmerReordering.cpp, layout/LayoutEngine.cpp, + layout/TibetanReordering.cpp: Restored the original 3.8.1 use of + setAuxData without the additional argument NULL. + + * data/Makefile.in: Restored 3.8.1 version, Autoconf >=2.61 ensures + a posix shell making, these changes obsolete. + + * layout/ScriptAndLanguageTags.{cpp,h}: Backport from 4.0.1, + additional tags and changed comments. + + * layout/OpenTypeLayoutEngine.cpp: Removed some obsolete code, + surrounded by #if 0...#endif. diff --git a/Build/source/libs/icu/TLpatches/TL-Changes b/Build/source/libs/icu/TLpatches/TL-Changes new file mode 100644 index 00000000000..adf53a6443b --- /dev/null +++ b/Build/source/libs/icu/TLpatches/TL-Changes @@ -0,0 +1,67 @@ +Changes applied to the icu tree as obtained from: + https://github.com/unicode-org/icu/releases/download/release-68-2/icu4c-68_2-src.tgz + and icu4c-68_2-data.zip + +cd $Build/source/libs/icu # for whatever $Build directory +# update version.ac +tar xf /tmp/icu4c-*-src.tgz # check that unpacks into icu/* +mv icu-src icu-prev +mv icu icu-src +cd icu-src +rm -r as_is packaging # don't bother including these in our tree +# +# files to add: +svn status | sed -n 's/^\?//p' +svn add `!!` # if looks reasonable +svn status | sed -n 's/^\?//p' # rerun, should be empty now +# +# files to remove: +svn status | sed -n 's/^\!//p' +svn rm `!!` # if looks reasonable +svn status | sed -n 's/^\!//p' # rerun, should be empty now + +# update generic files (still in icu-src): +aux=$Build/source/build-aux +cp -p $aux/config.guess $aux/config.sub $aux/install-sh source + +# patch --backup -p0 for all ../TLpatches/patch-* files. +# Save original (since not committed yet) +# and diff after each to update patch-* file. +# Don't lose our leading comments. + +# autoreconf in the TL directory (Build/source/libs/icu); don't run +# autoreconf in the icu-src/source/ directory, it fails due to missing +# pkg-config prerequisites. (Thus we patch configure, not just +# configure.ac; not worth more effort for our small change of preferring gcc.) +# +# rebuild; must rerun configure (not just config.status), +# so easiest is to just do a whole new build. +# Besides, that also tests use of the new icu version by our programs. + +# Assuming all seems ok, reduce size of source/data/in/icudt*.dat +# to decrease data segment size, e.g., for old BSD. First, check +# that we successfully built the full .dat: +ver=68 +srcdat=$Build/source/libs/icu/icu-src/source/data/in/icudt${ver}l.dat +cd $Work/libs/icu/icu-build/data/out/build/icudt${ver}l +indat=../../tmp/icudt${ver}l.dat +diff $srcdat $indat +# should be identical, amazingly enough. + +# we need to use icupkg, which may need LD_LIBRARY_PATH since it is a +# C++ binary and we didn't cxx-hack it. +icupkg="env LD_LIBRARY_PATH=$gnu/lib ../../../../bin/icupkg" + +# then remove some elements unused by the icu clients in our tree, which are +# bibtexu (in texk/bibtex-x), upmendex, and xetex (in texk/web2c/xetexdir). +outdat=icudt${ver}l.dat +$icupkg -r 'curr/*' $indat $outdat && \mv $outdat $indat +$icupkg -r 'lang/*' $indat $outdat && \mv $outdat $indat +$icupkg -r 'region/*' $indat $outdat && \mv $outdat $indat +$icupkg -r 'rfc*.spp' $indat $outdat && \mv $outdat $indat +$icupkg -r 'zone/*' $indat $outdat && \mv $outdat $indat +ls -l $indat $srcdat # indat should be smaller +cp $indat $srcdat + +# update icu/ChangeLog and icu/TLpatches/ChangeLog. +# then commit. diff --git a/Build/source/libs/icu/TLpatches/patch-01-configure-gcc b/Build/source/libs/icu/TLpatches/patch-01-configure-gcc new file mode 100644 index 00000000000..8799cc7feee --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-01-configure-gcc @@ -0,0 +1,33 @@ + For TL, we do not want to prefer clang(++) for ICU + when the whole rest of the tree prefers gcc. + +--- source/configure~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/configure 2021-02-13 08:16:36.271761526 -0800 +@@ -2913,5 +2913,5 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test -n "$ac_tool_prefix"; then +- for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc ++ for ac_prog in gcc cc clang c99 c89 xlc_r xlc cl.exe icc + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +@@ -2957,5 +2957,5 @@ + if test -z "$CC"; then + ac_ct_CC=$CC +- for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc ++ for ac_prog in gcc cc clang c99 c89 xlc_r xlc cl.exe icc + do + # Extract the first word of "$ac_prog", so it can be a program name with args. +@@ -3516,5 +3516,5 @@ + else + if test -n "$ac_tool_prefix"; then +- for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC ++ for ac_prog in g++ c++ clang++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +@@ -3560,5 +3560,5 @@ + if test -z "$CXX"; then + ac_ct_CXX=$CXX +- for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC ++ for ac_prog in g++ c++ clang++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC + do + # Extract the first word of "$ac_prog", so it can be a program name with args. diff --git a/Build/source/libs/icu/TLpatches/patch-02-configure-solaris b/Build/source/libs/icu/TLpatches/patch-02-configure-solaris new file mode 100644 index 00000000000..add9412f2df --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-02-configure-solaris @@ -0,0 +1,20 @@ + Do not disable C++11 on Solaris, since we don't use the Sun compiler. + +--- source/configure~ 2021-02-13 08:16:36.271761526 -0800 ++++ source/configure 2021-02-13 08:18:10.826136078 -0800 +@@ -6149,9 +6149,10 @@ + CXXFLAGS="$OLD_CXXFLAGS" + fi +- case "${host}" in +- *-*-solaris*) +- CXXFLAGS="$OLD_CXXFLAGS" +- ;; +- esac ++# TL: why? http://bugs.icu-project.org/trac/ticket/13543 ++# case "${host}" in ++# *-*-solaris*) ++# CXXFLAGS="$OLD_CXXFLAGS" ++# ;; ++# esac + fi + fi diff --git a/Build/source/libs/icu/TLpatches/patch-10-ES b/Build/source/libs/icu/TLpatches/patch-10-ES new file mode 100644 index 00000000000..eff82c545a2 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-10-ES @@ -0,0 +1,14 @@ + Otherwise fails on x86_64-solaris(10) due to (crazy?) + system definition of registers. + https://tug.org/pipermail/tlbuild/2020q1/004599.html + https://tug.org/pipermail/tlbuild/2020q1/004599.html + +--- source/common/ubidiimp.h~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/common/ubidiimp.h 2021-02-13 08:20:09.076105678 -0800 +@@ -42,4 +42,6 @@ + See UCharDirection in uchar.h . + */ ++#undef ES ++#undef CS + enum { + L= U_LEFT_TO_RIGHT, /* 0 */ diff --git a/Build/source/libs/icu/TLpatches/patch-12-mingw b/Build/source/libs/icu/TLpatches/patch-12-mingw new file mode 100644 index 00000000000..59b9ecb87f4 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-12-mingw @@ -0,0 +1,30 @@ + We don't want this for TeX Live cross compilation. + +--- source/config/mh-mingw~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/config/mh-mingw 2021-02-13 08:20:54.167330952 -0800 +@@ -76,25 +76,7 @@ + STATIC_O = ao + +-ifeq ($(ENABLE_SHARED),YES) +-SO_TARGET_VERSION_SUFFIX = $(SO_TARGET_VERSION_MAJOR) +-else +-SO_TARGET_VERSION_SUFFIX = +-endif +- +-# Static library prefix and file extension +-LIBSICU = $(LIBPREFIX)$(STATIC_PREFIX)$(ICUPREFIX) +-A = a +- + ## An import library is needed for z/OS and MSVC + IMPORT_LIB_EXT = .dll.a + +-LIBPREFIX=lib +- +-# Change the stubnames so that poorly working FAT disks and installation programs can work. +-# This is also for backwards compatibility. +-DATA_STUBNAME = dt +-I18N_STUBNAME = in +-LIBICU = $(STATIC_PREFIX_WHEN_USED)$(ICUPREFIX) +- + #SH### copied from Makefile.inc + #SH## for icu-config to test with diff --git a/Build/source/libs/icu/TLpatches/patch-13-STATIC_PREFIX b/Build/source/libs/icu/TLpatches/patch-13-STATIC_PREFIX new file mode 100644 index 00000000000..9949c1f7287 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-13-STATIC_PREFIX @@ -0,0 +1,27 @@ + No `s' for STATIC_PREFIX. + +--- source/config/Makefile.inc.in~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/config/Makefile.inc.in 2021-02-13 08:22:35.895582151 -0800 +@@ -47,5 +47,5 @@ + + # Static library prefix and file extension +-STATIC_PREFIX = s ++STATIC_PREFIX = + LIBSICU = lib$(STATIC_PREFIX)$(ICUPREFIX) + A = a +--- source/icudefs.mk.in~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/icudefs.mk.in 2021-02-13 08:22:35.895582151 -0800 +@@ -214,5 +214,5 @@ + ## If we can't use the shared libraries, use the static libraries + ifneq ($(ENABLE_SHARED),YES) +-STATIC_PREFIX_WHEN_USED = s ++STATIC_PREFIX_WHEN_USED = + else + STATIC_PREFIX_WHEN_USED = +@@ -220,5 +220,5 @@ + + # Static library prefix and file extension +-STATIC_PREFIX = s ++STATIC_PREFIX = + LIBSICU = $(LIBPREFIX)$(STATIC_PREFIX)$(ICUPREFIX) + A = a diff --git a/Build/source/libs/icu/TLpatches/patch-14-xopen b/Build/source/libs/icu/TLpatches/patch-14-xopen new file mode 100644 index 00000000000..6d510df9b60 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-14-xopen @@ -0,0 +1,18 @@ + Do not define _XOPEN_SOURCE_EXTENDED on Solaris, + notwithstanding comments in icu source. + +--- source/common/uposixdefs.h~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/common/uposixdefs.h 2021-02-13 08:29:38.779298547 -0800 +@@ -52,8 +52,11 @@ + * Poorly upgraded Solaris machines can't have this defined. + * Cleanly installed Solaris can use this #define. ++ * [Experience with TeX Live is that it always causes failure. ++ * http://tug.org/pipermail/tlbuild/2013q1/002493.html ++ * http://tug.org/pipermail/tlbuild/2013q1/002536.html ] + * + * z/OS needs this definition for timeval and to get usleep. + */ +-#if !defined(_XOPEN_SOURCE_EXTENDED) && defined(__TOS_MVS__) ++#if !defined(_XOPEN_SOURCE_EXTENDED) && defined(__TOS_MVS__) && !defined(sun) + # define _XOPEN_SOURCE_EXTENDED 1 + #endif diff --git a/Build/source/libs/icu/TLpatches/patch-19-netbsd b/Build/source/libs/icu/TLpatches/patch-19-netbsd new file mode 100644 index 00000000000..635e6214fbb --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-19-netbsd @@ -0,0 +1,14 @@ + Date: Sat, 13 Jan 2018 14:28:11 +0100 + From: Marc Baudoin <babafou@babafou.eu.org> + tlbuild + +--- source/common/uposixdefs.h~ 2021-02-13 08:29:38.779298547 -0800 ++++ source/common/uposixdefs.h 2021-02-13 08:30:06.076827650 -0800 +@@ -78,3 +78,7 @@ + #endif + ++#if defined(__cplusplus) && defined(__NetBSD__) ++#define _ISOC99_SOURCE ++#endif ++ + #endif /* __UPOSIXDEFS_H__ */ diff --git a/Build/source/libs/icu/TLpatches/patch-20-private b/Build/source/libs/icu/TLpatches/patch-20-private new file mode 100644 index 00000000000..8ebf2a2c091 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-20-private @@ -0,0 +1,42 @@ + The supplied g++-4.2 compiler on 32-bit MacOSX apparently + mishandled private enum in the implementation (since newer + compilers are ok with it). This can be removed when we drop + support for 32-bit MacOSX. + http://tug.org/pipermail/tlbuild/2016q1/003438.html + (and starting at http://tug.org/pipermail/tlbuild/2016q1/003433.html) + +--- source/i18n/dayperiodrules.h~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/i18n/dayperiodrules.h 2021-02-13 08:30:53.116015999 -0800 +@@ -56,5 +56,5 @@ + double getMidPointForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const; + +-private: ++/* nothing private to placate old compilers --karl/koch private: */ + DayPeriodRules(); + +--- source/i18n/unicode/dtitvinf.h~ 2020-12-17 11:34:38.000000000 -0800 ++++ source/i18n/unicode/dtitvinf.h 2021-02-13 08:30:53.116015999 -0800 +@@ -330,5 +330,5 @@ + + +-private: ++/* nothing private to placate old compilers --karl/koch private: */ + /** + * DateIntervalFormat will need access to +@@ -365,5 +365,6 @@ + }; + public: +-#ifndef U_HIDE_INTERNAL_API ++/* nothing private to placate old compilers --karl/koch */ ++/* ifndef U_HIDE_INTERNAL_API */ + /** + * Max index for stored interval patterns +@@ -373,6 +374,6 @@ + kMaxIntervalPatternIndex = kIPI_MAX_INDEX + }; +-#endif /* U_HIDE_INTERNAL_API */ +-private: ++/* endif */ /* U_HIDE_INTERNAL_API */ ++/* nothing private to placate old compilers --karl/koch private: */ + + diff --git a/Build/source/libs/icu/TLpatches/patch-22-max_align_t b/Build/source/libs/icu/TLpatches/patch-22-max_align_t new file mode 100644 index 00000000000..e321bd35331 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-22-max_align_t @@ -0,0 +1,51 @@ + As of ICU 68.2, they required max_align_t to be in the std:: + namespace, which it isn't with the CentOS 7 g++. + +--- icu/source/tools/toolutil/toolutil.cpp 2020-12-17 11:34:38.000000000 -0800 ++++ icu-src/source/tools/toolutil/toolutil.cpp 2021-02-13 09:21:20.320506318 -0800 +@@ -243,5 +243,5 @@ + int32_t capacity, maxCapacity, size, idx; + void *array; +- alignas(std::max_align_t) char staticArray[1]; ++ alignas(max_align_t) char staticArray[1]; + }; + +--- icu/source/common/utext.cpp 2020-12-17 11:34:38.000000000 -0800 ++++ icu-src/source/common/utext.cpp 2021-02-13 09:15:58.637913024 -0800 +@@ -570,5 +570,5 @@ + struct ExtendedUText { + UText ut; +- std::max_align_t extension; ++ max_align_t extension; + }; + +@@ -585,5 +585,5 @@ + int32_t spaceRequired = sizeof(UText); + if (extraSpace > 0) { +- spaceRequired = sizeof(ExtendedUText) + extraSpace - sizeof(std::max_align_t); ++ spaceRequired = sizeof(ExtendedUText) + extraSpace - sizeof(max_align_t); + } + ut = (UText *)uprv_malloc(spaceRequired); +--- icu/source/common/uarrsort.cpp 2020-12-17 11:34:38.000000000 -0800 ++++ icu-src/source/common/uarrsort.cpp 2021-02-13 09:14:58.120928533 -0800 +@@ -38,5 +38,5 @@ + + static constexpr int32_t sizeInMaxAlignTs(int32_t sizeInBytes) { +- return (sizeInBytes + sizeof(std::max_align_t) - 1) / sizeof(std::max_align_t); ++ return (sizeInBytes + sizeof(max_align_t) - 1) / sizeof(max_align_t); + } + +@@ -142,5 +142,5 @@ + UComparator *cmp, const void *context, UErrorCode *pErrorCode) { + +- icu::MaybeStackArray<std::max_align_t, sizeInMaxAlignTs(STACK_ITEM_SIZE)> v; ++ icu::MaybeStackArray<max_align_t, sizeInMaxAlignTs(STACK_ITEM_SIZE)> v; + if (sizeInMaxAlignTs(itemSize) > v.getCapacity() && + v.resize(sizeInMaxAlignTs(itemSize)) == nullptr) { +@@ -236,5 +236,5 @@ + UComparator *cmp, const void *context, UErrorCode *pErrorCode) { + /* allocate two intermediate item variables (x and w) */ +- icu::MaybeStackArray<std::max_align_t, sizeInMaxAlignTs(STACK_ITEM_SIZE) * 2> xw; ++ icu::MaybeStackArray<max_align_t, sizeInMaxAlignTs(STACK_ITEM_SIZE) * 2> xw; + if(sizeInMaxAlignTs(itemSize)*2 > xw.getCapacity() && + xw.resize(sizeInMaxAlignTs(itemSize) * 2) == nullptr) { |