Skip to content

Commit

Permalink
Release version 65.1.0+6
Browse files Browse the repository at this point in the history
Fix 'unable to find numeric literal operator' MinGW GCC 11 error

Fix outdated URL in comment in libicuuc/build/bootstrap.build

Update .gitignore

Add symlink attribute for symbolic links that refer to upstream subdirectories

Redo libicuio patch to align with libicuuc patches
  • Loading branch information
karen-arutyunov committed Nov 22, 2021
1 parent 92aadc4 commit 2148e5c
Show file tree
Hide file tree
Showing 42 changed files with 2,472 additions and 46 deletions.
5 changes: 5 additions & 0 deletions libicui18n/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
*.d
*.t
*.i
*.i.*
*.ii
*.ii.*
*.o
*.obj
*.gcm
*.pcm
*.ifc
*.so
*.so.*
*.dll
Expand Down
2 changes: 1 addition & 1 deletion libicui18n/build/bootstrap.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# file : build/root.build
# file : build/bootstrap.build
# license : Unicode License; see accompanying LICENSE file

project = libicui18n
Expand Down
2 changes: 1 addition & 1 deletion libicui18n/build/export.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# file : build/root.build
# file : build/export.build
# license : Unicode License; see accompanying LICENSE file

$out_root/
Expand Down
1 change: 1 addition & 0 deletions libicui18n/libicui18n/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
i18n symlink=dir
2 changes: 1 addition & 1 deletion libicui18n/manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
: 1
name: libicui18n
version: 65.1.0+5
version: 65.1.0+6
upstream-version: 65.1
project: icu
summary: ICU high-level internationalization C/C++ library
Expand Down
5 changes: 5 additions & 0 deletions libicuio/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
*.d
*.t
*.i
*.i.*
*.ii
*.ii.*
*.o
*.obj
*.gcm
*.pcm
*.ifc
*.so
*.so.*
*.dll
Expand Down
17 changes: 5 additions & 12 deletions libicuio/README-DEV
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,11 @@ This document describes how libicuio was packaged for build2. In particular,
this understanding will be useful when upgrading to a new upstream version.
See ../README-DEV for general notes on ICU packaging.

Symlink the required upstream files and directories into libicuio/io/ and
apply a patch that fixes the 'unable to find numeric literal operator' GCC 11
error:
Symlink the required upstream directories into libicuio/:

$ mkdir libicuio/io
$ pushd libicuio/io
$ ln -s ../../../upstream/icu4c/source/io/{*.{h,cpp},unicode} ./
$ rm ufile.cpp
$ cp ../../../upstream/icu4c/source/io/ufile.cpp ./
$ git apply ufile.cpp.patch
$ popd
$ ln -s ../../upstream/icu4c/source/io libicuio

Note that the patch is produces by the following command:
Fix the 'unable to find numeric literal operator' GCC 11 error:

$ git diff >ufile.cpp.patch
$ cp libicuio/io/ufile.cpp libicuio
$ patch -p0 <libicuio/ufile.cpp.patch
2 changes: 1 addition & 1 deletion libicuio/build/bootstrap.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# file : build/root.build
# file : build/bootstrap.build
# license : Unicode License; see accompanying LICENSE file

project = libicuio
Expand Down
2 changes: 1 addition & 1 deletion libicuio/build/export.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# file : build/root.build
# file : build/export.build
# license : Unicode License; see accompanying LICENSE file

$out_root/
Expand Down
1 change: 1 addition & 0 deletions libicuio/libicuio/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
io symlink=dir
4 changes: 3 additions & 1 deletion libicuio/libicuio/buildfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import intf_libs = libicui18n%lib{icui18n}
import intf_libs += libicuuc%lib{icuuc}

lib{icuio}: {hxx cxx}{**} $intf_libs
patched = ufile

lib{icuio}: io/hxx{**} io/cxx{** -{$patched}} cxx{$patched} $intf_libs

tclass = $cxx.target.class
tsys = $cxx.target.system
Expand Down
1 change: 1 addition & 0 deletions libicuio/libicuio/io
1 change: 0 additions & 1 deletion libicuio/libicuio/io/locbund.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/locbund.h

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/sprintf.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/sscanf.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ucln_io.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ucln_io.h

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ufile.h

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ufmt_cmn.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ufmt_cmn.h

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/unicode

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/uprintf.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/uprintf.h

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/uprntf_p.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/uscanf.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/uscanf.h

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/uscanf_p.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ustdio.cpp

This file was deleted.

1 change: 0 additions & 1 deletion libicuio/libicuio/io/ustream.cpp

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
diff --git a/libicuio/libicuio/io/ufile.cpp b/libicuio/libicuio/io/ufile.cpp
index 1d8c221..2c00d21 100644
--- a/libicuio/libicuio/io/ufile.cpp
+++ b/libicuio/libicuio/io/ufile.cpp
--- libicuio/io/ufile.cpp 2019-12-23 14:38:40.255889178 +0300
+++ libicuio/ufile.cpp 2021-11-22 10:50:17.658962827 +0300
@@ -21,12 +21,6 @@
*/

Expand Down
2 changes: 1 addition & 1 deletion libicuio/manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
: 1
name: libicuio
version: 65.1.0+5
version: 65.1.0+6
upstream-version: 65.1
project: icu
summary: ICU input/output C/C++ library
Expand Down
5 changes: 5 additions & 0 deletions libicuuc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
*.d
*.t
*.i
*.i.*
*.ii
*.ii.*
*.o
*.obj
*.gcm
*.pcm
*.ifc
*.so
*.so.*
*.dll
Expand Down
5 changes: 5 additions & 0 deletions libicuuc/README-DEV
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ upstream's fix (commit b7d08bc04a4296982fcef8b6b8a354a9e4e7afca) as a base
$ cp libicu/uc/unistr.cpp libicu
$ patch -p0 <libicu/unistr.cpp.patch

Also we fix the 'unable to find numeric literal operator' MinGW GCC 11 error:

$ cp libicu/uc/putil.cpp libicu
$ patch -p0 <libicu/putil.cpp.patch

And we also fix Clang 10 compilation error:

$ cp libicu/uc/uniset.cpp libicu
Expand Down
4 changes: 2 additions & 2 deletions libicuuc/build/bootstrap.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# file : build/root.build
# file : build/bootstrap.build
# license : Unicode License; see accompanying LICENSE file

project = libicuuc
Expand All @@ -24,7 +24,7 @@ using dist
# icu4c/source/configure.ac). The ABI compatibility is preserved for the
# shared updates. See also:
#
# http://userguide.icu-project.org/design#TOC-Version-Numbers-in-ICU
# https://unicode-org.github.io/icu/userguide/icu/design.html#version-numbers-in-icu
#
abi_version_major = "$version.major"
abi_version_patch = ($version.patch != 0 ? ".$version.patch" : "")
Expand Down
2 changes: 1 addition & 1 deletion libicuuc/build/export.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# file : build/root.build
# file : build/export.build
# license : Unicode License; see accompanying LICENSE file

$out_root/
Expand Down
1 change: 1 addition & 0 deletions libicuuc/libicu/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uc symlink=dir
2 changes: 1 addition & 1 deletion libicuuc/libicu/buildfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

./: lib{icuuc} lib{icudata}

patched = ucasemap unistr uniset
patched = putil ucasemap uniset unistr

lib{icuuc}: uc/hxx{**} uc/cxx{* -{$patched}} cxx{$patched} lib{icudata}

Expand Down
Loading

0 comments on commit 2148e5c

Please sign in to comment.