From 0f389f7cc90e334afe7861b29299dfd684082bff Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 11 Jul 2018 11:00:55 +0200 Subject: [PATCH] Get icu sources from an archive instead of svn. SVN checkout can be pretty long to do (especially if icu serveur is pretty slow). By downloading an archive on our own server, we avoid a spending too many time downloading. The archive is a simple targz of the SVN checkout. --- kiwixbuild/dependencies/icu4c.py | 12 +++++------- kiwixbuild/versions.py | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/kiwixbuild/dependencies/icu4c.py b/kiwixbuild/dependencies/icu4c.py index cc1587a..eee7c2e 100644 --- a/kiwixbuild/dependencies/icu4c.py +++ b/kiwixbuild/dependencies/icu4c.py @@ -1,20 +1,18 @@ from .base import ( Dependency, - SvnClone, + ReleaseDownload, MakeBuilder ) -from kiwixbuild.utils import SkipCommand +from kiwixbuild.utils import SkipCommand, Remotefile from kiwixbuild._global import get_target_step class Icu(Dependency): name = "icu4c" - class Source(SvnClone): - name = "icu4c" - svn_remote = "http://source.icu-project.org/repos/icu/tags/release-58-2/icu4c" - svn_dir = "icu4c" - + class Source(ReleaseDownload): + archive = Remotefile('icu4c_svn_58-2.tar.gz', + 'fd8fcc1f1b8b2b71b879e88844480ebec107189c21076c81573f71dca5686a0d') patches = ["icu4c_fix_static_lib_name_mingw.patch", "icu4c_android_elf64_st_info.patch", "icu4c_custom_data.patch", diff --git a/kiwixbuild/versions.py b/kiwixbuild/versions.py index 095d8c1..38b3c3e 100644 --- a/kiwixbuild/versions.py +++ b/kiwixbuild/versions.py @@ -10,7 +10,7 @@ main_project_versions = { # This is the "version" of the whole base_deps_versions dict. # Change this when you change base_deps_versions. -base_deps_meta_version = '9' +base_deps_meta_version = '10' base_deps_versions = {