summaryrefslogtreecommitdiffstats
path: root/intl/update-icu4x.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /intl/update-icu4x.sh
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/update-icu4x.sh')
-rwxr-xr-xintl/update-icu4x.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/intl/update-icu4x.sh b/intl/update-icu4x.sh
index 400ba5b04f..f57c1d4bb6 100755
--- a/intl/update-icu4x.sh
+++ b/intl/update-icu4x.sh
@@ -71,6 +71,10 @@ log "Change the directory to the cloned repo"
log ${tmpclonedir}
cd ${tmpclonedir}
+log "Patching line segmenter data to fix https://github.com/unicode-org/icu4x/pull/4389"
+# This manually patch can be removed once we upgrade to ICU4X 1.5
+wget --unlink -q -O ${tmpclonedir}/provider/datagen/data/segmenter/line.toml https://raw.githubusercontent.com/unicode-org/icu4x/e080ecd12e38d6aecc99cd0cfe8c21595c4ce6ff/provider/datagen/data/segmenter/line.toml
+
log "Copy icu_capi crate to local since we need a patched version"
rm -rf ${top_src_dir}/intl/icu_capi
wget -O icu_capi.tar.gz https://crates.io/api/v1/crates/icu_capi/${icu4x_version}/download