termux-packages/scripts
Maxython d502e7489d scripts(build-package.sh): fix on device compilation of packages when force building and revert `-f` flag behaviour
- Reverted behviour of `-f` flag changed in b9b5987 and only force build current package instead of dependencies.
- Added a  new `-F` flag to force build current package and dependencies as well.
- If both `-I` and `-F` flags are passed and dependencies cannot be compiled on device, i.e `$TERMUX_PKG_ON_DEVICE_BUILD_NOT_SUPPORTED` is set to `true` in `build.sh` of package, then they will be downloaded instead.
- If only `-F` flag is passed without the `-I` flag, and building on device is not supported, then building with fail with error.
- The `$TERMUX_BUILD_PACKAGE_CALL_DEPTH` variable will be used to track depth of recursive calls to `build-package.sh`.
- The file at `$TERMUX_BUILD_PACKAGE_CALL_BUILT_PACKAGES_LIST_FILE_PATH` will be used to track list of packages and their dependencies that have been compiled at any instant by recursive calls to `build-package.sh`.
- Added `scripts/utils/package/package.sh` to store package utils. The `pacakge__is_package_version_built()` method can be used to check if a certain package version has been built. In future this should include `$TERMUX_APP_PACKAGE` as well.

Co-authored-by: agnostic-apollo <agnosticapollo@gmail.com>
Co-authored-by: Maxython <mixython@gmail.com>
2023-01-03 20:06:03 +05:00
..
bin scripts: use git+[...] instead of [...].git for git urls 2023-01-01 18:31:38 +01:00
build scripts(build-package.sh): fix on device compilation of packages when force building and revert `-f` flag behaviour 2023-01-03 20:06:03 +05:00
updates scripts: use git+[...] instead of [...].git for git urls 2023-01-01 18:31:38 +01:00
utils scripts(build-package.sh): fix on device compilation of packages when force building and revert `-f` flag behaviour 2023-01-03 20:06:03 +05:00
Dockerfile scripts(setup-ubuntu.sh): install openjdk-17 from ppa repo 2022-07-30 14:34:07 +02:00
Vagrantfile Vagrantfile: update to Ubuntu 22.04 jammy 2022-10-21 17:44:52 +03:00
aptly_api.sh Revert "revertme,ci(aptly_api): hardcode proxy-ip to use for deb uploads" 2022-06-18 19:08:38 +02:00
build-bootstraps.sh Added(scripts): Add build-bootstrap.sh 0.1.0 2022-02-08 08:11:53 +05:00
buildorder.py scripts(buildorder.py): make it possible to ./build-all.sh again 2022-06-18 21:50:23 +02:00
check-built-packages.py scripts,ci(*): use termux.dev instead of termux.org 2022-07-02 10:41:16 +02:00
check-versions.sh No backticks 2019-02-15 18:01:09 +02:00
config.guess Update to latest config.{guess,sub} 2017-01-18 01:02:18 +01:00
config.sub Update to latest config.{guess,sub} 2017-01-18 01:02:18 +01:00
generate-bootstraps.sh generate-bootstraps.sh: changing the main pacman package repository 2022-08-30 21:50:51 +03:00
get_hash_from_file.py get_hash_from_file.py: ignore Packages.gz/bz2 in Release file 2022-07-11 10:55:57 +02:00
lint-packages.sh scripts: use git+[...] instead of [...].git for git urls 2023-01-01 18:31:38 +01:00
list-packages.sh No backticks 2019-02-15 18:01:09 +02:00
list-versions.sh list-versions.sh: use proper way to get path to ./scripts/properties.sh 2020-10-30 21:31:48 +02:00
openjdk-r-ppa.gpg scripts(setup-ubuntu.sh): install openjdk-17 from ppa repo 2022-07-30 14:34:07 +02:00
profile.json profile.json: update to e258d66f17 2022-07-26 15:57:12 +08:00
properties.sh properties.sh: Bump build-tools to 33.0.1 2022-12-25 08:25:36 +00:00
run-docker.ps1 enhance(scripts): use GitHub package registry for Docker image 2022-07-23 00:19:08 +03:00
run-docker.sh fix(run-docker.sh): Fix docker exec not passing kill signals (ctrl+c) to commands in some cases leaving processes still running 2022-07-28 15:27:20 +05:00
setup-android-sdk.sh properties.sh: Bump build-tools to 33.0.0 2022-11-12 03:04:24 +00:00
setup-archlinux.sh scripts: setup-{ubuntu,archlinux}.sh: install re2c for php 2022-08-15 21:55:44 +02:00
setup-offline-bundle.sh scripts/setup-offline-bundle.sh: fix tmp directory 2022-10-10 12:36:52 +03:00
setup-termux.sh scripts: setup-termux: install scdoc as well 2022-12-31 11:15:41 +01:00
setup-ubuntu.sh setup-ubuntu.sh: Install libyaml-dev 2022-12-23 14:38:59 +09:00
test-runner.sh Shell script compliance 2019-02-15 18:01:09 +02:00
update-docker.ps1 enhance(scripts): use GitHub package registry for Docker image 2022-07-23 00:19:08 +03:00
update-docker.sh enhance(scripts): use GitHub package registry for Docker image 2022-07-23 00:19:08 +03:00