From 9796ca8e36f98930e40f561e5f1bf8396a18e803 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Mon, 26 Oct 2020 11:44:18 +0100 Subject: [PATCH] Using icu for the generating the icudata --- thunderbird.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/thunderbird.spec b/thunderbird.spec index a3b2d41..64120cb 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -193,6 +193,9 @@ BuildRequires: cbindgen BuildRequires: nodejs BuildRequires: nasm >= 1.13 +%if 0%{?big_endian} +BuildRequires: icu +%endif Suggests: u2f-hidraw-policy @@ -395,10 +398,13 @@ export PATH=`pwd`/.cargo/bin:$PATH %if 0%{?big_endian} echo "Generate big endian version of config/external/icu/data/icud58l.dat" - ./mach python intl/icu_sources_data.py . + icupkg -tb config/external/icu/data/icudt67l.dat config/external/icu/data/icudt67b.dat ls -l config/external/icu/data rm -f config/external/icu/data/icudt*l.dat - cat /tmp/icu* +# ./mach python intl/icu_sources_data.py . +# ls -l config/external/icu/data +# rm -f config/external/icu/data/icudt*l.dat +# cat /tmp/icu* %endif mkdir %{_buildrootdir}/bin || :