kiwix-build/kiwixbuild/versions.py

65 lines
2.3 KiB
Python

# This file reference all the versions of the depedencies we use in kiwix-build.
main_project_versions = {
'kiwix-lib': '9.0.1',
'kiwix-tools': '3.0.2', # Also need to change this in appveyor/install_kiwix-tools.cmd
'libzim': '6.0.2',
'zim-tools': '1.0.5',
'zimwriterfs': '1.3.8',
'kiwix-desktop': '2.0-rc4' # Also change KIWIX_DESKTOP_VERSION and KIWIX_DESKTOP_RELEASE in appveyor.yml
# You need to do the release process of kiwix-tools and kiwix-desktop in two separated process.
}
# This dictionnary specify what we need to build at each release process.
# - Values are integer or None
# - If a project is not in the dict (or None), the project is not released.
# - If release_versions[project] == 0, this is the first time the project is
# build for this release, so publish src and build archives.
# - If release_versions[project] > 0, release only the build archive with a
# build postfix.
# To change this dictionnary, use the following algorithm:
# - If project version change, set release_versions[project] = 0
# - Else
# - If project depedencies have not change, set it to None and update the
# `(was ...)`.
# - Else, increment the value. If no value was present, see `(was ...)`.
# For kiwix-desktop, if this is not None:
# - set KIWIX_DESKTOP_RELEASE to 1
# - set KIWIX_DESKTOP_VERSION to the version of the release (including release_versions)
# If this is None:
# - set KIWIX_DESKTOP_RELEASE to 0
release_versions = {
'libzim': None, # Depends of base deps (was 0)
'kiwix-lib': 0, # Depends of libzim (was 0)
'kiwix-tools': None, # Depends of kiwix-lib and libzim (was 0)
'zim-tools': None, # Depends of libzim (was 7)
'zimwriterfs': None, # Depends of libzim (was 1)
'kiwix-desktop': None # Depends of kiwix-lib and libzim (was 0)
}
# This is the "version" of the whole base_deps_versions dict.
# Change this when you change base_deps_versions.
base_deps_meta_version = '60'
base_deps_versions = {
'zlib' : '1.2.8',
'lzma' : '5.2.4',
'uuid' : '1.43.4',
'xapian-core' : '1.4.14',
'mustache' : '3.2',
'pugixml' : '1.2',
'libmicrohttpd' : '0.9.63',
'gumbo' : '0.10.1',
'icu4c' : '58.2',
'libaria2' : '1.33.1',
'libmagic' : '5.35',
'android-sdk' : 'r25.2.3',
'android-ndk' : 'r13b',
'qt' : '5.10.1',
'qtwebengine' : '5.10.1',
'org.kde' : '5.12',
}