kiwix-build/kiwixbuild/versions.py

66 lines
2.2 KiB
Python

# This file reference all the versions of the depedencies we use in kiwix-build.
main_project_versions = {
"libzim": "9.2.2",
"libkiwix": "13.1.0",
"kiwix-tools": "3.7.0",
"zim-tools": "3.4.2",
"kiwix-desktop": "2.3.1", # Also change KIWIX_DESKTOP_VERSION and KIWIX_DESKTOP_RELEASE in appveyor.yml
}
# 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)
"libkiwix": None, # Depends of libzim (was 4)
"kiwix-tools": None, # Depends of libkiwix and libzim (was 2)
"zim-tools": 0, # Depends of libzim (was 0)
"kiwix-desktop": None, # Depends of libkiwix and libzim (was 4)
}
# This is the "version" of the whole base_deps_versions dict.
# Change this when you change base_deps_versions.
base_deps_meta_version = "01"
base_deps_versions = {
"zlib": "1.2.12",
"lzma": "5.2.6",
"zstd": "1.5.2",
"docoptcpp": "0.6.2",
"uuid": "1.43.4",
"xapian-core": "1.4.23",
"mustache": "4.1",
"pugixml": "1.2",
"libmicrohttpd": "0.9.76",
"gumbo": "0.10.1",
"icu4c": "73.2",
"libaria2": "1.37.0",
"libmagic": "5.44",
"android-ndk": "r21e",
"qt": "5.10.1",
"qtwebengine": "5.10.1",
"org.kde": "5.15-21.08",
"io.qt.qtwebengine": "5.15-21.08",
"zim-testing-suite": "0.6.0",
"emsdk": "3.1.41",
}