All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2
@ 2019-07-31  5:53 Bernd Kuhls
  2019-08-01  9:03 ` Peter Korsgaard
  2019-08-02 20:38 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2019-07-31  5:53 UTC (permalink / raw)
  To: buildroot

Updated license hash after upstream commit:
https://github.com/unicode-org/icu/commit/fc255de3f050271198074c7e8865a805d33c20c4

Added patch to fix big endian build.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: Added patch to fix big endian build.

 package/icu/0005-Fix-big-endian-build.patch | 34 +++++++++++++++++++++
 package/icu/icu.hash                        |  7 +++--
 package/icu/icu.mk                          |  2 +-
 3 files changed, 39 insertions(+), 4 deletions(-)
 create mode 100644 package/icu/0005-Fix-big-endian-build.patch

diff --git a/package/icu/0005-Fix-big-endian-build.patch b/package/icu/0005-Fix-big-endian-build.patch
new file mode 100644
index 0000000000..2cb2129010
--- /dev/null
+++ b/package/icu/0005-Fix-big-endian-build.patch
@@ -0,0 +1,34 @@
+From 9be0b489a94b57419202c552022f25cb95bfac51 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Wed, 17 Apr 2019 16:41:58 +0200
+Subject: [PATCH] Fix big-endian build
+
+Bug-report: https://unicode-org.atlassian.net/browse/ICU-20533
+Patch taken from: https://bugs.gentoo.org/682170
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+
+Downloaded from
+http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/icu/icu/0001-Fix-big-endian-build.patch?h=master
+
+[Bernd: Fixed path]
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ data/Makefile.in | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/source/data/Makefile.in b/source/data/Makefile.in
+index 778b6c7..67203e7 100644
+--- a/source/data/Makefile.in
++++ b/source/data/Makefile.in
+@@ -148,7 +148,8 @@ ICUDATA_ARCHIVE = $(firstword $(wildcard $(srcdir)/in/$(ICUDATA_BASENAME_VERSION
+ # and convert it to the current type.
+ ifneq ($(ICUDATA_ARCHIVE),)
+ ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
+-$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
++$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
++	$(MKINSTALLDIRS) $(OUTDIR)
+ 	$(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
+ endif
+ else
diff --git a/package/icu/icu.hash b/package/icu/icu.hash
index 66a0a8dc80..86de0e14ea 100644
--- a/package/icu/icu.hash
+++ b/package/icu/icu.hash
@@ -1,3 +1,4 @@
-# From http://download.icu-project.org/files/icu4c/60.2/SHASUM512.txt
-sha512 8e718e66c13e7f25714404c46b91ed6305efff1df70c328be2ec743023a7719016dae72a5fa0a05d6f5599983590a2044ff72d3453a048d987ab546d0416d694  icu4c-60_2-src.tgz
-sha256 24c771ce37201a3ab604852e47d10d21595d0493269dd6c8a5e567e998e18c00  LICENSE
+# From http://download.icu-project.org/files/icu4c/64.2/SHASUM512.txt
+sha512 5ecb4c230ba45918747a1cf9aef86f555aa07d5b29b1d07ab674e8013f46dfb907a0e9d6945db41155f9dc3012fd94e1152ffc19f61a68b6dfcbabdcb8ae9d78  icu4c-64_2-src.tgz
+# Locally computed
+sha256 6a18c5fac70d7860b57f5b72b4e2c9a1ba6b3d2741eef7ff9767c5379364f10d  LICENSE
diff --git a/package/icu/icu.mk b/package/icu/icu.mk
index 7bc1b97624..81d1dbc179 100644
--- a/package/icu/icu.mk
+++ b/package/icu/icu.mk
@@ -7,7 +7,7 @@
 # Git tags (and therefore versions on release-monitoring.org) use the
 # XX-Y format, but the tarballs are named XX_Y and the containing
 # directories XX.Y.
-ICU_VERSION = 60-2
+ICU_VERSION = 64-2
 ICU_SOURCE = icu4c-$(subst -,_,$(ICU_VERSION))-src.tgz
 ICU_SITE = http://download.icu-project.org/files/icu4c/$(subst -,.,$(ICU_VERSION))
 ICU_LICENSE = ICU License
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2
  2019-07-31  5:53 [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2 Bernd Kuhls
@ 2019-08-01  9:03 ` Peter Korsgaard
  2019-08-02 20:38 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-08-01  9:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Updated license hash after upstream commit:
 > https://github.com/unicode-org/icu/commit/fc255de3f050271198074c7e8865a805d33c20c4

 > Added patch to fix big endian build.

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
 > ---
 > v2: Added patch to fix big endian build.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2
  2019-07-31  5:53 [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2 Bernd Kuhls
  2019-08-01  9:03 ` Peter Korsgaard
@ 2019-08-02 20:38 ` Thomas Petazzoni
  2019-08-03  6:33   ` Bernd Kuhls
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-08-02 20:38 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 31 Jul 2019 07:53:26 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Updated license hash after upstream commit:
> https://github.com/unicode-org/icu/commit/fc255de3f050271198074c7e8865a805d33c20c4
> 
> Added patch to fix big endian build.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

This bump is breaking the build of icu on at least nios2 and xtensa:

  http://autobuild.buildroot.net/?reason=icu-64-2

It's due to the double conversion code that uses some architecture
specific definitions. However, the upstream double conversion code at
https://github.com/google/double-conversion/blob/master/double-conversion/utils.h
may have support for more architectures, and it's generally as easy as
adding an ifdef. We also have patches for a few packages in Buildroot
that also bundle double-conversion.

Could you have a look into this ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2
  2019-08-02 20:38 ` Thomas Petazzoni
@ 2019-08-03  6:33   ` Bernd Kuhls
  0 siblings, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2019-08-03  6:33 UTC (permalink / raw)
  To: buildroot

Am Fri, 02 Aug 2019 22:38:07 +0200 schrieb Thomas Petazzoni:

> Could you have a look into this ?

Hi Thomas,

sent http://patchwork.ozlabs.org/project/buildroot/list/?series=123090

Regards, Bernd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-03  6:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31  5:53 [Buildroot] [PATCH v2 1/1] package/icu: bump version to 64.2 Bernd Kuhls
2019-08-01  9:03 ` Peter Korsgaard
2019-08-02 20:38 ` Thomas Petazzoni
2019-08-03  6:33   ` Bernd Kuhls

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.