mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -55,7 +55,7 @@ $(ICUDIR)/config.status:
|
|||
-mv $(ICUDIR) $(ICUDIR)old
|
||||
-(rm -rf $(ICUDIR)old &)
|
||||
mkdir $(ICUDIR)
|
||||
( cd $(ICUDIR) ; CPPFLAGS=-DU_DISABLE_RENAMING=1 $(GENREN_CONFIGURE_ENV) $(top_srcdir)/../configure --with-data-packaging=archive --enable-tests=no --prefix=`pwd` $(GENREN_CONFIGURE_OPTS) )
|
||||
( cd $(ICUDIR) ; CPPFLAGS="-DU_DISABLE_RENAMING=1 -DUCONFIG_ENABLE_PLUGINS" $(GENREN_CONFIGURE_ENV) $(top_srcdir)/../configure --with-data-packaging=archive --enable-tests=no --prefix=`pwd` $(GENREN_CONFIGURE_OPTS) )
|
||||
# cause lib and bin to be created, and any other general sanity
|
||||
$(MAKE) $(FLAG_OVERRIDE) -C $(ICUDIR) clean
|
||||
$(MAKE) $(FLAG_OVERRIDE) -C $(ICUDIR) all-local
|
||||
|
|
|
|||
|
|
@ -9,13 +9,26 @@ It also does not currently work well in an out-of-source situation.
|
|||
The following instructions are for Linux version.
|
||||
- urename.h file should be generated after implementation is complete for a release.
|
||||
- the version number for a release should be set according to the list in source/common/unicode/uvernum.h
|
||||
- In this [genren] directory, run
|
||||
|
||||
"make install-header"
|
||||
Before generating urename.h, the layout engine header files must be installed from the harfbuzz project.
|
||||
This is prerequisite for the icu layoutex (Paragraph Layout) project, which is subject to renaming.
|
||||
(Using the svn command is the simplest way of getting just the files from one subdirectory of the git project.)
|
||||
|
||||
cd icu4c/source
|
||||
svn export https://github.com/behdad/icu-le-hb/trunk/src layout
|
||||
|
||||
- Regenerate urename.h
|
||||
|
||||
cd icu4c/source/tools/genren
|
||||
make install-header
|
||||
|
||||
- urename.h will be updated in icu/source/common/unicode/urename.h **in your original source directory**
|
||||
- Warnings concerning bad namespace (not 'icu') on UCaseMap can be ignored.
|
||||
- Eyeball the new file for errors
|
||||
|
||||
cd icu4c/source
|
||||
svn diff common/unicode/urename.h
|
||||
|
||||
- Other make targets here
|
||||
|
||||
clean - cleans out intermediate files
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#*******************************************************************************
|
||||
#*
|
||||
#* file name: genren.pl
|
||||
#* encoding: US-ASCII
|
||||
#* encoding: UTF-8
|
||||
#* tab size: 8 (not used)
|
||||
#* indentation:4
|
||||
#*
|
||||
|
|
@ -70,17 +70,17 @@ $HEADERDEF =~ s/\./_/;
|
|||
|
||||
#We will print our copyright here + warnings
|
||||
|
||||
$YEAR = strftime "%Y",localtime;
|
||||
|
||||
print HEADER <<"EndOfHeaderComment";
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2002-$YEAR, International Business Machines
|
||||
* Copyright (C) 2002-2016, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*******************************************************************************
|
||||
*
|
||||
* file name: $headername
|
||||
* encoding: US-ASCII
|
||||
* encoding: UTF-8
|
||||
* tab size: 8 (not used)
|
||||
* indentation:4
|
||||
*
|
||||
|
|
@ -106,6 +106,9 @@ print HEADER <<"EndOfHeaderComment";
|
|||
|
||||
#if !U_DISABLE_RENAMING
|
||||
|
||||
// Disable Renaming for Visual Studio's IntelliSense feature, so that 'Go-to-Definition' (F12) will work.
|
||||
#if !(defined(_MSC_VER) && defined(__INTELLISENSE__))
|
||||
|
||||
/* We need the U_ICU_ENTRY_POINT_RENAME definition. There's a default one in unicode/uvernum.h we can use, but we will give
|
||||
the platform a chance to define it first.
|
||||
Normally (if utypes.h or umachine.h was included first) this will not be necessary as it will already be defined.
|
||||
|
|
@ -236,8 +239,15 @@ foreach(sort keys(%CFuncs)) {
|
|||
# print HEADER "#define $_ $_$U_ICU_VERSION_SUFFIX\n";
|
||||
}
|
||||
|
||||
print HEADER "\n#endif\n";
|
||||
print HEADER "\n#endif\n";
|
||||
|
||||
print HEADER <<"EndOfHeaderFooter";
|
||||
|
||||
#endif /* !(defined(_MSC_VER) && defined(__INTELLISENSE__)) */
|
||||
#endif /* U_DISABLE_RENAMING */
|
||||
#endif /* URENAME_H */
|
||||
|
||||
EndOfHeaderFooter
|
||||
|
||||
|
||||
close HEADER;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue