Compare commits
33 Commits
Author | SHA1 | Date |
---|---|---|
|
2f37d80111 | |
|
971971a60f | |
|
f58795bd1e | |
|
fcc6798187 | |
|
9c5e1966a0 | |
|
f13cd4264a | |
|
efd995acbf | |
|
43c4add1fc | |
|
e4a8ac215c | |
|
4d65a50db4 | |
|
4071762b9a | |
|
77592b12ff | |
|
e67295a3d0 | |
|
8780b994a3 | |
|
f888c87459 | |
|
1aa720a7fd | |
|
1676e740c0 | |
|
4a279da24b | |
|
45be5ebeda | |
|
8a911ccd75 | |
|
685f3f1e1a | |
|
baed570f14 | |
|
5de1d1f65e | |
|
75ca8fc723 | |
|
006db92fd3 | |
|
1a100a2def | |
|
4eae4fe654 | |
|
949232dc00 | |
|
a62d741363 | |
|
ce40d311f2 | |
|
ac254d2082 | |
|
f7027cbf96 | |
|
234dd5f096 |
|
@ -0,0 +1,46 @@
|
||||||
|
[DEFAULTS]
|
||||||
|
|
||||||
|
[aqt]
|
||||||
|
concurrency: 4
|
||||||
|
baseurl: https://qt.mirror.constant.com/
|
||||||
|
7zcmd: 7z
|
||||||
|
print_stacktrace_on_error: False
|
||||||
|
always_keep_archives: False
|
||||||
|
archive_download_location: .
|
||||||
|
min_module_size: 41
|
||||||
|
|
||||||
|
[requests]
|
||||||
|
connection_timeout: 3.5
|
||||||
|
response_timeout: 30
|
||||||
|
max_retries_on_connection_error: 5
|
||||||
|
retry_backoff: 0.1
|
||||||
|
max_retries_on_checksum_error: 5
|
||||||
|
max_retries_to_retrieve_hash: 5
|
||||||
|
hash_algorithm: sha256
|
||||||
|
INSECURE_NOT_FOR_PRODUCTION_ignore_hash: False
|
||||||
|
|
||||||
|
[mirrors]
|
||||||
|
trusted_mirrors:
|
||||||
|
https://download.qt.io
|
||||||
|
https://qt.mirror.constant.com/
|
||||||
|
https://ftp.fau.de/qtproject/
|
||||||
|
blacklist:
|
||||||
|
http://mirrors.ocf.berkeley.edu
|
||||||
|
http://mirrors.tuna.tsinghua.edu.cn
|
||||||
|
http://mirrors.geekpie.club
|
||||||
|
fallbacks:
|
||||||
|
https://qtproject.mirror.liquidtelecom.com/
|
||||||
|
https://mirrors.aliyun.com/qt/
|
||||||
|
https://mirrors.ustc.edu.cn/qtproject/
|
||||||
|
https://ftp.jaist.ac.jp/pub/qtproject/
|
||||||
|
https://ftp.yz.yamagata-u.ac.jp/pub/qtproject/
|
||||||
|
https://qt-mirror.dannhauer.de/
|
||||||
|
https://ftp.fau.de/qtproject/
|
||||||
|
https://mirror.netcologne.de/qtproject/
|
||||||
|
https://mirrors.dotsrc.org/qtproject/
|
||||||
|
https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/
|
||||||
|
https://master.qt.io/
|
||||||
|
https://mirrors.ukfast.co.uk/sites/qt.io/
|
||||||
|
https://ftp2.nluug.nl/languages/qt/
|
||||||
|
https://ftp1.nluug.nl/languages/qt/
|
||||||
|
https://qt.mirror.constant.com/
|
|
@ -42,7 +42,7 @@ BUILD_DEF = """
|
||||||
| focal | native_static | d | d | dBPSD | dBPSD | | linux-x86_64 | linux-x86_64-static |
|
| focal | native_static | d | d | dBPSD | dBPSD | | linux-x86_64 | linux-x86_64-static |
|
||||||
| focal | native_mixed | BPS | BPS | | | | linux-x86_64 | |
|
| focal | native_mixed | BPS | BPS | | | | linux-x86_64 | |
|
||||||
| focal | native_dyn | d | d | dB | dB | | | linux-x86_64-dyn |
|
| focal | native_dyn | d | d | dB | dB | | | linux-x86_64-dyn |
|
||||||
| jammy | native_dyn | d | d | | | dBPS | | linux-x86_64-dyn |
|
| jammy | native_dyn | | | | | dBPS | | linux-x86_64-dyn |
|
||||||
# libzim CI is building alpine_dyn but not us
|
# libzim CI is building alpine_dyn but not us
|
||||||
| focal | android_arm | dBP | dBP | | | | android-arm | android-arm |
|
| focal | android_arm | dBP | dBP | | | | android-arm | android-arm |
|
||||||
| focal | android_arm64 | dBP | dBP | | | | android-arm64 | android-arm64 |
|
| focal | android_arm64 | dBP | dBP | | | | android-arm64 | android-arm64 |
|
||||||
|
|
|
@ -37,11 +37,14 @@ jobs:
|
||||||
pip3 install meson pytest requests distro paramiko
|
pip3 install meson pytest requests distro paramiko
|
||||||
pip3 install --no-deps $GITHUB_WORKSPACE
|
pip3 install --no-deps $GITHUB_WORKSPACE
|
||||||
- name: Install QT
|
- name: Install QT
|
||||||
|
if: ${{ matrix.config == 'native_mixed' }}
|
||||||
uses: jurplel/install-qt-action@v4
|
uses: jurplel/install-qt-action@v4
|
||||||
with:
|
with:
|
||||||
version: 5.15.2
|
version: 5.15.2
|
||||||
modules: "qtwebengine"
|
modules: "qtwebengine"
|
||||||
setup-python: false
|
setup-python: false
|
||||||
|
env:
|
||||||
|
AQT_CONFIG: ${{ github.workspace }}/.github/configs/aqt.ini
|
||||||
- name: Setup MSVC compiler
|
- name: Setup MSVC compiler
|
||||||
uses: bus1/cabuild/action/msdevshell@v1
|
uses: bus1/cabuild/action/msdevshell@v1
|
||||||
with:
|
with:
|
||||||
|
@ -251,7 +254,7 @@ jobs:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run:
|
run:
|
||||||
brew install pkg-config ninja automake autoconf
|
brew install automake # ninja
|
||||||
- name: Install python modules
|
- name: Install python modules
|
||||||
run: |
|
run: |
|
||||||
pip3 install meson pytest requests distro
|
pip3 install meson pytest requests distro
|
||||||
|
@ -306,7 +309,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
COMPILE_CONFIG: native_static
|
COMPILE_CONFIG: native_static
|
||||||
OS_NAME: linux
|
OS_NAME: focal
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
@ -35,11 +35,14 @@ jobs:
|
||||||
pip3 install meson pytest requests distro paramiko
|
pip3 install meson pytest requests distro paramiko
|
||||||
pip3 install --no-deps $GITHUB_WORKSPACE
|
pip3 install --no-deps $GITHUB_WORKSPACE
|
||||||
- name: Install QT
|
- name: Install QT
|
||||||
|
if: ${{ matrix.config == 'native_mixed' }}
|
||||||
uses: jurplel/install-qt-action@v4
|
uses: jurplel/install-qt-action@v4
|
||||||
with:
|
with:
|
||||||
version: 5.15.2
|
version: 6.4.3
|
||||||
modules: "qtwebengine"
|
modules: "qtwebengine qtwebchannel qtpositioning"
|
||||||
setup-python: false
|
setup-python: false
|
||||||
|
env:
|
||||||
|
AQT_CONFIG: ${{ github.workspace }}/.github/configs/aqt.ini
|
||||||
- name: Setup MSVC compiler
|
- name: Setup MSVC compiler
|
||||||
uses: bus1/cabuild/action/msdevshell@v1
|
uses: bus1/cabuild/action/msdevshell@v1
|
||||||
with:
|
with:
|
||||||
|
@ -239,7 +242,7 @@ jobs:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run:
|
run:
|
||||||
brew install pkg-config ninja automake autoconf
|
brew install automake # ninja
|
||||||
- name: Install python modules
|
- name: Install python modules
|
||||||
run: |
|
run: |
|
||||||
pip3 install meson pytest requests distro paramiko
|
pip3 install meson pytest requests distro paramiko
|
||||||
|
|
|
@ -114,9 +114,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici": {
|
"node_modules/undici": {
|
||||||
"version": "5.28.2",
|
"version": "5.28.4",
|
||||||
"resolved": "https://registry.npmjs.org/undici/-/undici-5.28.2.tgz",
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz",
|
||||||
"integrity": "sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==",
|
"integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/busboy": "^2.0.0"
|
"@fastify/busboy": "^2.0.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,7 +15,7 @@ class KiwixDesktop(Dependency):
|
||||||
dependencies = ["qt", "qtwebengine", "libkiwix", "aria2"]
|
dependencies = ["qt", "qtwebengine", "libkiwix", "aria2"]
|
||||||
configure_env = None
|
configure_env = None
|
||||||
|
|
||||||
flatpack_build_options = {"env": {"QMAKEPATH": "/app/lib"}}
|
flatpack_build_options = {"env": {"QMAKEPATH": "/app"}}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def make_targets(self):
|
def make_targets(self):
|
||||||
|
|
|
@ -36,7 +36,6 @@ class LibCurl(Dependency):
|
||||||
"kerberos-auth",
|
"kerberos-auth",
|
||||||
"gss-api",
|
"gss-api",
|
||||||
"ssh",
|
"ssh",
|
||||||
"ssl",
|
|
||||||
"rtmp",
|
"rtmp",
|
||||||
"http2",
|
"http2",
|
||||||
"idn",
|
"idn",
|
||||||
|
|
|
@ -24,6 +24,10 @@ class android_ndk(Dependency):
|
||||||
def source_dir(self):
|
def source_dir(self):
|
||||||
return self.target.full_name()
|
return self.target.full_name()
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
"android-ndk-r21e-linux-x86_64-python3.12+.patch",
|
||||||
|
]
|
||||||
|
|
||||||
class Builder(Builder):
|
class Builder(Builder):
|
||||||
@property
|
@property
|
||||||
def install_path(self):
|
def install_path(self):
|
||||||
|
|
|
@ -9,9 +9,9 @@ class ZimTestingSuite(Dependency):
|
||||||
|
|
||||||
class Source(ReleaseDownload):
|
class Source(ReleaseDownload):
|
||||||
archive = Remotefile(
|
archive = Remotefile(
|
||||||
"zim-testing-suite-0.6.0.tar.gz",
|
"zim-testing-suite-0.8.0.tar.gz",
|
||||||
"5aa91349a2791c862217b4d2ddd002f08589146ec047f10d5fa1f5fd85d0ea92",
|
"28f51449a3f9aea02652ca21f32c5598fd610d6cec3810fa552bd0c0f7a2d5fc",
|
||||||
"https://github.com/openzim/zim-testing-suite/releases/download/0.6.0/zim-testing-suite-0.6.0.tar.gz",
|
"https://github.com/openzim/zim-testing-suite/releases/download/0.8.0/zim-testing-suite-0.8.0.tar.gz",
|
||||||
)
|
)
|
||||||
|
|
||||||
Builder = NoopBuilder
|
Builder = NoopBuilder
|
||||||
|
|
|
@ -49,6 +49,7 @@ MANIFEST = {
|
||||||
"--socket=pulseaudio",
|
"--socket=pulseaudio",
|
||||||
"--share=network",
|
"--share=network",
|
||||||
"--share=ipc",
|
"--share=ipc",
|
||||||
|
"--filesystem=host:ro",
|
||||||
],
|
],
|
||||||
"cleanup": [
|
"cleanup": [
|
||||||
"/include",
|
"/include",
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
diff -ur android-ndk-r21e/build/tools/make_standalone_toolchain.py android-ndk-r21e.patched/build/tools/make_standalone_toolchain.py
|
||||||
|
--- android-ndk-r21e/build/tools/make_standalone_toolchain.py 2025-03-04 20:48:14.681288830 +0400
|
||||||
|
+++ android-ndk-r21e.patched/build/tools/make_standalone_toolchain.py 2025-03-05 12:10:47.252578915 +0400
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!/usr/bin/env python3
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 The Android Open Source Project
|
||||||
|
#
|
||||||
|
@@ -21,7 +21,6 @@
|
||||||
|
"""
|
||||||
|
import argparse
|
||||||
|
import atexit
|
||||||
|
-from distutils.dir_util import copy_tree
|
||||||
|
import inspect
|
||||||
|
import logging
|
||||||
|
import os
|
||||||
|
@@ -221,13 +220,13 @@
|
||||||
|
|
||||||
|
def create_toolchain(install_path, arch, api, toolchain_path, host_tag):
|
||||||
|
"""Create a standalone toolchain."""
|
||||||
|
- copy_tree(toolchain_path, install_path)
|
||||||
|
+ shutil.copytree(toolchain_path, install_path)
|
||||||
|
triple = get_triple(arch)
|
||||||
|
make_clang_scripts(install_path, arch, api, host_tag == 'windows-x86_64')
|
||||||
|
replace_gcc_wrappers(install_path, triple, host_tag == 'windows-x86_64')
|
||||||
|
|
||||||
|
prebuilt_path = os.path.join(NDK_DIR, 'prebuilt', host_tag)
|
||||||
|
- copy_tree(prebuilt_path, install_path)
|
||||||
|
+ shutil.copytree(prebuilt_path, install_path, dirs_exist_ok=True)
|
||||||
|
|
||||||
|
gdbserver_path = os.path.join(
|
||||||
|
NDK_DIR, 'prebuilt', 'android-' + arch, 'gdbserver')
|
|
@ -1,10 +1,10 @@
|
||||||
# This file reference all the versions of the depedencies we use in kiwix-build.
|
# This file reference all the versions of the depedencies we use in kiwix-build.
|
||||||
|
|
||||||
main_project_versions = {
|
main_project_versions = {
|
||||||
"libzim": "9.2.3",
|
"libzim": "9.3.0",
|
||||||
"libkiwix": "14.0.0",
|
"libkiwix": "14.0.0",
|
||||||
"kiwix-tools": "3.7.0",
|
"kiwix-tools": "3.7.0",
|
||||||
"zim-tools": "3.5.0",
|
"zim-tools": "3.6.0",
|
||||||
"kiwix-desktop": "2.4.1",
|
"kiwix-desktop": "2.4.1",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,17 +23,17 @@ main_project_versions = {
|
||||||
# - Else, increment the value. If no value was present, see `(was ...)`.
|
# - Else, increment the value. If no value was present, see `(was ...)`.
|
||||||
|
|
||||||
release_versions = {
|
release_versions = {
|
||||||
"libzim": None, # Depends of base deps (was 2)
|
"libzim": 1, # Depends of base deps (was 0)
|
||||||
"libkiwix": None, # Depends of libzim (was 1)
|
"libkiwix": None, # Depends of libzim (was 1)
|
||||||
"kiwix-tools": None, # Depends of libkiwix and libzim (was 2)
|
"kiwix-tools": None, # Depends of libkiwix and libzim (was 2)
|
||||||
"zim-tools": None, # Depends of libzim (was 0)
|
"zim-tools": 0, # Depends of libzim (was None)
|
||||||
"kiwix-desktop": 0, # Depends of libkiwix and libzim (was 0)
|
"kiwix-desktop": None, # Depends of libkiwix and libzim (was 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# This is the "version" of the whole base_deps_versions dict.
|
# This is the "version" of the whole base_deps_versions dict.
|
||||||
# Change this when you change base_deps_versions.
|
# Change this when you change base_deps_versions.
|
||||||
base_deps_meta_version = "10"
|
base_deps_meta_version = "12"
|
||||||
|
|
||||||
base_deps_versions = {
|
base_deps_versions = {
|
||||||
"zlib": "1.2.12",
|
"zlib": "1.2.12",
|
||||||
|
@ -50,8 +50,8 @@ base_deps_versions = {
|
||||||
"libaria2": "1.37.0",
|
"libaria2": "1.37.0",
|
||||||
"libmagic": "5.44",
|
"libmagic": "5.44",
|
||||||
"android-ndk": "r21e",
|
"android-ndk": "r21e",
|
||||||
"org.kde": "5.15-23.08",
|
"org.kde": "6.7",
|
||||||
"io.qt.qtwebengine": "5.15-23.08",
|
"io.qt.qtwebengine": "6.7",
|
||||||
"zim-testing-suite": "0.6.0",
|
"zim-testing-suite": "0.8.0",
|
||||||
"emsdk": "3.1.41",
|
"emsdk": "3.1.41",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue