Commit Graph

1473 Commits

Author SHA1 Message Date
Twaik Yont b8e7f08640
fix(scripts/setup-cmake): replacing cmake release URL. [no ci] 2023-10-06 12:42:24 +03:00
Fredrik Fornwall a93aeedba0 scripts: Compare apt/dpkg version numbers correctly
The termux_pkg_is_update_needed() function (exposed in the command-line
tool ./scripts/bin/apt-compare-versions) currently calls into python to
use the pkg_resources.parse_version() function.

This does not handle version numbers as apt/dpkg does - see
https://www.debian.org/doc/debian-policy/ch-controlfields.html#version,
so use dpkg --compare-versions for the version number comparison.

For instance, correct apt/dpkg behaviour is:
- '1-0' and '1' are the same version (the 'debian_revision' field)
- '1~rc1' is considered an earlier version than '1' (useful for being
   able to use release candidates)
- '1:1' is considered a later version than '2' (the epoch field, useful
   when upstream version numbering scheme changes).

This also exits with an error if a version cannot be parsed, and fixes
deprecation warnings when runing on later python versions (as
pkg_resources.parse_version() is going to be removed).
2023-10-05 16:16:30 +02:00
Fredrik Fornwall 1bbf1e1bc4 scripts(setup-ubuntu): Remove jdk 8 and 18
Having the LTS JDK 17 seems to be enough.

This shaves away 600 MB from the docker image size.
2023-10-05 15:42:57 +02:00
Fredrik Fornwall 96cf024c17 fix(scripts/Dockerfile): Make build more portable
This change fixes building the builder docker image also on systems
that does not have an existing user with id 1001.
2023-10-05 13:06:18 +02:00
Aditya Alok 335e1fc34d
chore(script/dump-repology-data): improve docs
Signed-off-by: Aditya Alok <alok@termux.dev>
2023-10-04 10:46:51 +05:30
Aditya Alok d759dc3375
chore(script/dump-repology-data): update licenser info
Signed-off-by: Aditya Alok <alok@termux.dev>
2023-10-04 10:46:32 +05:30
Henrik Grimler 237bcf8e8f
scripts(setup-ubuntu): install swig
Needed by llvm/lldb.
2023-10-02 23:24:18 +02:00
Henrik Grimler 8b2b5cc28d
scripts(setup-ubuntu): install txt2man
Needed to generate documentation for at least package retry.
2023-10-02 23:06:58 +02:00
Ivan Max 3d027ee77c
termux_setup_toolchain_gnu.sh: restore flag `-fPIC` 2023-10-02 12:12:12 +03:00
Henrik Grimler 72be145f58
scripts(setup-ubuntu.sh): install po4a
Needed by debianutils >= 5.13.
2023-10-01 11:39:00 +02:00
Ted Stein b6e1271461
enhance(scripts/termux_github_api_get_tag): add support to get the latest tag that matches a regex
Some packages repos like neovim use a floating tag like `stable` for the latest version tag and will be returned if `latest-release-tag` tag type is used. To match against the latest version tag instead, a regex that matches the version can be passed with `latest-regex` tag type.
2023-10-01 00:17:17 +05:00
Twaik Yont 2ce2b02a25 chore(scripts/update-packages): revert fix for #14544 to re-enable repology updates 2023-09-27 08:58:38 +03:00
Leonid Pliushch 250da1800a
fix(scripts/setup-termux.sh): ensure repo.json can be found 2023-09-25 00:32:08 +03:00
Ivan Max 9480f284a0
bump(main/libunbound): to 1.18.0 (#17887)
termux_setup_python_pip.sh: give access to commands in build/bin
2023-09-24 18:35:21 +03:00
Ivan Max 8a0905b304
bump(main/cmake): to 3.27.5 (#17874) 2023-09-22 20:49:58 +03:00
Ivan Max 5360ad7f53
termux_setup_toolchain_gnu.sh: delete flag `-fPIC` 2023-09-22 13:30:11 +03:00
Ivan Max c031561a86
scripts/buildorder.py: improving dependency retrieval (#17851) 2023-09-20 11:25:22 +03:00
Ivan Max a045bf013f
termux_setup_toolchain_gnu.sh: small change 2023-09-14 17:24:30 +03:00
Ivan Max cea58eca30
termux_setup_toolchain_gnu.sh: changing the location of `$TERMUX_PREFIX/bin` in `PATH` 2023-09-14 16:43:43 +03:00
Ivan Max 034f90add3
termux_setup_toolchain_gnu.sh: return it to how it was 2023-09-13 21:34:45 +03:00
Ivan Max 4b006c7875
termux_setup_toolchain_gnu.sh: changing path location `$TERMUX_PREFIX/bin` 2023-09-13 20:55:46 +03:00
Ivan Max a649837ed1
scripts/*: change PATH setting location (#17813) 2023-09-13 15:18:12 +03:00
Ivan Max 2ea97e7607
fix(termux_step_get_dependencies.sh): compiling or installing dependencies did not work 2023-09-11 18:14:38 +03:00
Ivan Max d375d7c8e7
Update termux_step_massage.sh: changing how `fix shebang paths` works 2023-09-10 14:02:41 +03:00
Ivan Max 6e08f047f7
termux_setup_meson.sh: adding variant values ​​to the `system` value 2023-09-10 01:05:25 +03:00
Ivan Max f85abe7d00
Compiler improvement (#17786) 2023-09-09 17:22:47 +03:00
Ivan Max 6a491206a3
termux_setup_toolchain_gnu.sh: delete variable `CPP` 2023-09-08 13:30:07 +03:00
Jia Yuan Lo 7862988858
fix(main/zig): disable certain syscalls usage (#17768)
Remove syscalls access, stat and lstat as seccomp blocks them
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/SECCOMP_ALLOWLIST_APP.TXT
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/SECCOMP_ALLOWLIST_COMMON.TXT
2023-09-07 18:31:08 +08:00
Ivan Max 48d7f1fa29
setup-cgct.sh: update `cbt` and `cgt` 2023-09-06 21:26:24 +03:00
Ivan Max 929057e7ff
termux_step_configure_cmake.sh: don't add `--target` flag when compiling based on glibc 2023-09-04 13:43:23 +03:00
Ivan Max 30ba5bef5a
termux_step_configure_cmake.sh: setting `CMAKE_ADDITIONAL_ARGS` when compiling based on glibc 2023-09-04 13:32:27 +03:00
Ivan Max d9dde84c28
termux_setup_toolchain_gnu.sh: add variable `CCTERMUX_HOST_PLATFORM` 2023-09-04 12:07:19 +03:00
Ivan Max 8aac4f0453
termux_setup_toolchain_gnu.sh: add flag `-fPIC` for x86_64 2023-09-04 11:44:27 +03:00
Lucy Phipps 4755014aa5
parse repo.json in build-package.sh instead of properties.sh 2023-09-03 09:23:17 +01:00
Lucy Phipps 5ed8471923
revert this mess 2023-09-03 08:46:13 +01:00
Lucy Phipps 69028bfb72
actually fix all uses of properties.sh 2023-09-03 08:37:10 +01:00
Lucy Phipps addcfff316
if this doesn't fix it i don't know what will 2023-09-03 07:59:24 +01:00
Lucy Phipps 9bfbc9a0e7
setup-cgct.sh: acronym explanation comments
%ci:no-build
2023-09-03 07:41:48 +01:00
Lucy Phipps 26ed3c09cc
Update properties.sh: fix for real 2023-09-03 07:39:58 +01:00
Lucy Phipps cc2fe1b045
properties.sh: oops! triggered the same error i was trying to fix 2023-09-03 07:28:09 +01:00
Lucy Phipps 8454b578d5
scripts/properties.sh: default TERMUX_SCRIPTDIR 2023-09-03 07:17:33 +01:00
Lucy Phipps 87ff26215d
revert last 2 commits. didn't solve the problem 2023-09-03 06:50:10 +01:00
Lucy Phipps 111b68a7a5
setup-termux-glibc.sh: fix unbound variable 2023-09-03 06:18:23 +01:00
Lucy Phipps b0b95e3c4d
setup-cgct.sh: fix unbound variable 2023-09-03 06:08:48 +01:00
Ivan Max 007e27ab0d
termux_setup_toolchain_gnu.sh: adding export PKG_CONFIG_LIBDIR 2023-09-02 18:24:11 +03:00
Ivan Max 41a9eb20f8
buildorder.py: fix subpackage definition 2023-09-02 12:20:16 +03:00
Ivan Max 42ee1aac94
Improvement build-package.sh (#17735)
- adding version check of dependencies in pacman format
- improving termux_step_setup_cgct_environment()
- adding a new `-w` flag
- fix creating static packages
2023-09-01 21:28:13 +03:00
Jia Yuan Lo d47c544b06
bump(main/zig): 0.11.0 (#17733) 2023-09-01 10:38:31 +08:00
Ivan Max a46e3e9357
build-package.sh: adding compilation based on glibc (#16901)
[skip ci]
2023-08-30 23:40:08 +03:00
Ivan Max bfc6786bf0
scripts/setup-cgct.sh: bug fix 2023-08-23 17:17:14 +03:00
Ivan Max a8f68eb882
package-builder: adding the CGCT tool (#17686) 2023-08-23 16:42:22 +03:00
s00se 2defcf2499 setup-ubuntu.sh: remove swig dependency
`proxmark3-git` removed, no longer need this dependency
2023-08-20 23:02:54 +03:00
Kevin WIlliams 6044d85325 golang: bump to 1.21.0
Signed-off-by: Kevin WIlliams <admin@utermux.dev>
2023-08-12 12:14:38 +08:00
mrsrimar22 813759e833
golang: bump to go 1.20.7 (#17575)
* termux_setup_golang.sh: bump to go 1.20.7

* go: bump to go 1.20.7
2023-08-09 06:08:11 +05:30
Chongyun Lee fd5e4b9791 golang: bump to 1.20.6 2023-07-25 19:05:23 +08:00
Quinton Miller 5115fa9bc0
addpkg(main/crystal): Crystal 1.9.0 (#17428) 2023-07-15 12:17:34 +08:00
Tee KOBAYASHI b8607907aa scripts: Introduce `TERMUX_SUBPKG_EXCLUDED_ARCHES`
for subpackage not to be created for specific arches.
2023-07-05 12:06:38 +09:00
Tee KOBAYASHI c9b7a88033 setup-ubuntu: Install clang-15 2023-07-01 22:12:53 +09:00
Jia Yuan Lo 58b80497c3 remove(scripts): termux_setup_mold
Due to unused and unresolved issues
2023-07-01 07:11:33 +08:00
Tee KOBAYASHI ecd0815847 scripts: Bump Node.js to 18.16.1 2023-06-21 15:36:52 +09:00
Jia Yuan Lo f419f759d8 auto-update: clean before each successive build 2023-06-18 09:10:55 +09:00
Tee KOBAYASHI 168cb6da1b cargo-c: Bump to 0.9.20 2023-06-16 00:48:33 +09:00
Yaksh Bariya 4a27852284
chore(main/nodejs): do not build our own libicu
Use Ubunut's packaged ones instead.
2023-06-08 17:54:37 +05:30
Yaksh Bariya de5ce48c3f
chore(main/nodejs-lts): use ninja
This will make the logs more human-friendly. Also building with ninja
should be bit faster
2023-06-08 17:54:37 +05:30
Tee KOBAYASHI 21694ae13f golang: Bump to 1.20.5 2023-06-07 21:43:38 +09:00
Finagolfin 85c685056d bump(swift): 5.8 to 5.8.1 2023-06-02 03:17:26 +05:30
Chongyun Lee 1c9858d2e6 scripts: use venv when packaging a python package 2023-06-01 11:09:33 +08:00
Yaksh Bariya 350443bdb6
chore: do not hardcode repository information in `scripts/proporties.sh`
Should have been done during the initial migration to monorepo
2023-05-23 18:04:13 +05:30
Tee KOBAYASHI 076a3fef54 cmake: Bump to 3.26.4 2023-05-20 07:02:42 +09:00
Tee KOBAYASHI cc3a8fcdee scripts: Unset TERMUX_MESON_ENABLE_SOVERSION by default 2023-05-08 01:10:03 +09:00
Tee KOBAYASHI f3a7581b5e libprotobuf: Bump to 22.4 2023-05-06 13:50:16 +09:00
Tee KOBAYASHI 924694aaec termux_setup_meson: Optionally enable SOVERSION suffix
by setting `TERMUX_MESON_ENABLE_SOVERSION` environment variable.
2023-05-05 16:49:59 +09:00
Tee KOBAYASHI 474ebdd519 termux_setup_gir: Recognize `-DENABLE_GIR=ON` 2023-05-04 02:40:55 +09:00
Tee KOBAYASHI c8f178dba0 golang: Bump to 1.20.4 2023-05-03 12:44:22 +09:00
Uchiha Kakashi 6089f25dad
buildorder.py: strip on `parse_build_file_excluded_arches` 2023-05-01 04:16:08 +08:00
Tee KOBAYASHI 36cc364a89 termux_step_massage: Add `update-mime-database` guard
* Remove the guard in individual packages

%ci:no-build
2023-05-01 00:48:01 +09:00
Tee KOBAYASHI b6c843b06c termux_step_massage: Exclude some cache files 2023-04-30 23:10:48 +09:00
Tee KOBAYASHI 40c7b533db buildorder.py: Care for excluded arches
Fixes https://github.com/termux/termux-packages/issues/16427
2023-04-28 10:19:39 +09:00
Tee KOBAYASHI 25541e1d36 cargo-c: Bump to 0.9.19 2023-04-27 13:46:30 +09:00
Ivan Max cd151f2841
scripts/setup-termux.sh: adding the ability to install packages via pacman (#16368)
build-package.sh: improved work with pacman-conf
2023-04-23 20:59:02 +03:00
Tee KOBAYASHI e7300cea16 rust: Bump to 1.69.0 2023-04-22 11:47:27 +09:00
Tee KOBAYASHI 351966bb8f gdb: Enable Guile support 2023-04-18 15:00:52 +09:00
Lucy Phipps 9d75d37c48
build system: retry repo/Release.gpg (#16231) 2023-04-18 00:05:59 +01:00
Tee KOBAYASHI e12a635808 cargo-c: Bump to 0.9.18 2023-04-18 06:23:12 +09:00
Tee KOBAYASHI 9cbae9ff8f termux_setup_meson: Bump Meson to 1.1.0 2023-04-17 05:50:36 +09:00
Tee KOBAYASHI 99eebf3e48 termux_setup_nodejs: Bump Node.js to 18.16.0 2023-04-15 02:55:58 +09:00
Butta 43e5ddfb0a rebuild(cookcli): fix build with new Swift runtime libraries location 2023-04-07 13:56:55 +05:30
Uchiha Kakashi b098860f50
buildorder.py: assume `aarch64` in `TERMUX_ARCH` 2023-04-07 09:04:09 +08:00
Tee KOBAYASHI 517c7871a7 cmake: Bump to 3.26.3 2023-04-07 09:34:28 +09:00
Tee KOBAYASHI 461a71acc6 golang: Bump to 1.20.3
* scripts: Bump older Go to 1.19.8
2023-04-07 09:34:12 +09:00
Tee KOBAYASHI d5d3954e4d scripts: Allow empty subpackage if platform-dependent 2023-04-06 23:33:48 +09:00
Butta e93c1bb648 bump(swift): 5.7.3 to 5.8 and spin off runtime and sdk subpackages
Make it so that SDKs for other architectures can be easily installed and used
for cross-compilation.
2023-04-06 19:57:47 +05:30
Tee KOBAYASHI 0ead023121 scripts: Respect CC when using CMake
only when TERMUX_PKG_ENABLE_CLANG16_PORTING is true for now, to provide
backward compatibility and to avoid unexpected build problems.
2023-03-29 21:03:04 +09:00
Uchiha Kakashi 52090d10cc
termux_step_setup_toolchain: bump version
follow up 6938b7c4b4
2023-03-28 21:06:40 +08:00
Tee KOBAYASHI 6938b7c4b4 scripts: Add variable TERMUX_PKG_ENABLE_CLANG16_PORTING
to control errors enabled by default with Clang/LLVM 16.
2023-03-28 16:27:35 +09:00
Butta 0727af2da7 bump(libllvm): 15.0.7 to 16.0.0 2023-03-28 01:40:46 +05:30
Uchiha Kakashi 790284e0b6 fix(scripts): `TERMUX_PYTHON_CROSSENV_PREFIX` should be architecture-specific 2023-03-24 20:27:45 +09:00
Tee KOBAYASHI 792a63bbcc cmake: Bump to 3.26.1 2023-03-24 10:52:18 +09:00
Tee KOBAYASHI 028be74dd8 webkit2gtk-4.1: Bump to 2.40.0 2023-03-21 14:32:36 +09:00
Tee KOBAYASHI c089b78ca3 scripts: Add note for TERMUX_PKG_ANTI_BUILD_DEPENDS
which cannot be used to "resolve" circular dependencies.
2023-03-16 06:57:53 +09:00
Butta 3cd5cc3a43 bump(cmake): 3.25.3 to 3.26.0 2023-03-15 00:54:40 +05:30
Tee KOBAYASHI b17f0ea688 cargo-c: Bump to 0.9.17 2023-03-11 05:45:35 +09:00
Tee KOBAYASHI 02e95796c2 libprotobuf: Bump to 22.1 2023-03-09 12:04:27 +00:00
Tee KOBAYASHI 3302cf8368 cmake: Bump to 3.25.3 2023-03-09 06:29:41 +00:00
Tee KOBAYASHI b409484bd4 composer: Bump to 2.5.4 2023-03-08 13:58:18 +00:00
Tee KOBAYASHI 51fa97994e scripts: Add TERMUX_PKG_GO_USE_OLDER variable 2023-03-08 13:03:37 +00:00
Tee KOBAYASHI 75cf2b83d9 termux_setup_nodejs: Bump Node.js to 18.15.0 2023-03-08 19:19:24 +09:00
Tee KOBAYASHI 9b28ac8e16 termux_setup_meson: Bump Meson to 1.0.1 2023-03-08 06:07:15 +00:00
Tee KOBAYASHI e2a3384838 golang: Bump to 1.20.2 2023-03-08 05:46:37 +00:00
Tee KOBAYASHI 30c20f5371 termux_setup_nodejs: Bump Node.js to 18.14.2 2023-02-24 00:04:07 +09:00
Aditya Alok 33b1397f36
haskell-packaging: End support for library packages
- Now we use cabal (comparable to rust's cargo) to build binary packages.

Reason:
- Haskell's cabal packaging system is like rust's cargo. Every packages
  depends upon some specific version of other library. Hence, it is
  hard to maintain each and every version.
- Patching packages so that they use latest of dependencies breaks
  compatibility.

Benefits:
- Enables building very large packages like `pandoc`.
- Reduces disk space used.
- Lesser packages to maintain.

Signed-off-by: Aditya Alok <alok@termux.dev>
2023-02-21 10:08:12 +05:30
Aditya Alok 6aca466183
termux_setup_ghc_cross_compiler: Bump ghc to v9.2.5
Signed-off-by: Aditya Alok <alok@termux.dev>
2023-02-21 03:09:34 +05:30
Aditya Alok 2354b413b5
termux_setup_cabal: Bump cabal to v3.8.1.0
Signed-off-by: Aditya Alok <alok@termux.dev>
2023-02-21 03:09:33 +05:30
Tee KOBAYASHI 1cd90830d6 termux_setup_nodejs: Bump Node.js to 18.14.1 2023-02-21 04:50:10 +09:00
Tee KOBAYASHI c0f5627998 scripts: Add `termux_setup_cargo_c` 2023-02-19 15:17:45 +00:00
Tee KOBAYASHI ae0a376f59 libprotobuf: Bump to 22.0
Revdep rebuild follows.
2023-02-19 10:28:34 +00:00
Tee KOBAYASHI c66453e44d scripts: Add some `TERMUX_SUBPKG_*` variables
- `TERMUX_SUBPKG_RECOMMENDS`
- `TERMUX_SUBPKG_SUGGESTS`
- `TERMUX_SUBPKG_PROVIDES`
2023-02-17 10:32:44 +00:00
Tee KOBAYASHI 7410db82ad golang: Bump to 1.20.1 2023-02-15 08:23:56 +00:00
Tee KOBAYASHI a09a471d4a scripts: Add `TERMUX_PKG_ANTI_BUILD_DEPENDS` variable
to specify dependencies not needed when building a package.
2023-02-14 18:01:14 +00:00
Tee KOBAYASHI 259f9a2bce ldd: Depend on binutils-bin
* Include `libaaudio.so` in list of system libs

* Name myself as the maintainer
2023-02-13 11:36:17 +00:00
Henrik Grimler af18f1dac0
scripts: start_build: create libpthread and librt as well
Their functionality is included in libc, but some packages anyways
searches for libpthread.so and librt.so.  Provide these files so that
such configure steps succeed.
2023-02-10 13:52:30 +01:00
Henrik Grimler 9063e5919f
scripts: move libutil.so creation to termux_step_start_build
Instead of in termux_setup_toolchain_XX.  This helper lib does really
not have anything to do with our toolchain so it does not belong in
termux_setup_toolchain.

It is also good to only modify $TERMUX_PREFIX (for other things than
make install) before termux_step_create_timestamp_file has been run,
and termux_step_start_build fits that criteria.
2023-02-10 13:52:28 +01:00
Henrik Grimler 6c5c752173
scripts: toolchain: define CXXFILT var as well
Some packages require it during build (for example openjdk), so let's
make sure the correct one is found.
2023-02-10 13:52:25 +01:00
Henrik Grimler b967e0d825
scripts: add zip to setup-termux
Needed to build openjdk (and probably other packages).

Also sort packages again.
2023-02-10 13:52:19 +01:00
Ivan Max e33f6d6ca1
setup-termux.sh: adding bsdtar package 2023-02-09 09:09:31 +03:00
Tee KOBAYASHI 10aad9439c new package: protobuf-static
Reference: https://github.com/termux/termux-packages/issues/14961
2023-02-09 02:12:18 +00:00
Tee KOBAYASHI e55fe31d29 termux_setup_nodejs: Bump Node.js to 18.14.0 2023-02-08 03:13:37 +09:00
Tee KOBAYASHI 2aa23df1a2 golang: Bump to 1.20 2023-02-03 20:30:02 +00:00
Tee KOBAYASHI 9c2e9d9ca5 scripts: Bump NDK to r25c 2023-02-02 16:38:20 +05:30
Tee KOBAYASHI 9bd8fa840c scripts: Add new variable `TERMUX_PKG_NO_STRIP`
to disable stripping binaries.

To be used by `guile` package.
2023-01-31 03:44:27 +00:00
Tee KOBAYASHI dc63012fa7 termux_setup_meson: Bump Meson to 1.0.0 2023-01-24 06:04:54 +00:00
Henrik Grimler 6e61626b6c
scripts: setup-ubuntu: install additional archiving tools
To allow for additional types of compression in our packages.

See termux/termux-packages#9124.
2023-01-23 08:27:35 +01:00
Tee KOBAYASHI ab156e29d5 termux_step_configure_meson: Allow for debug build 2023-01-20 14:26:44 +00:00
Tee KOBAYASHI 24f9af5390 cmake: Bump to 3.25.2 2023-01-20 04:10:56 +00:00
Tee KOBAYASHI acec7e6460 termux_step_massage: Insert `head -n 1` in shebang fix
to avoid "binary file matches" message.
2023-01-19 09:53:05 +00:00
Tee KOBAYASHI e9b1e0b2da termux_step_massage: Use `if` clause in shebang fix
to avoid error exit.
2023-01-19 09:53:05 +00:00
Butta fbb028d3ae upgpkg(swift): 5.7.2 to 5.7.3 2023-01-19 14:46:46 +05:30
Maxython b33d95d127 termux_step_setup_variables.sh: adding a new variable TERMUX_PYTHON_HOME
This variable allows you to shorten lines that point to python libraries.
%ci:no-build
2023-01-18 13:56:53 +00:00
Tee KOBAYASHI 13a0d8229e termux_step_massage: Check for unresolved `posix_spawn`
and `posix_spawnp` defined in libandroid-spawn.

There are other symbols defined in libandroid-spawn, but hopefully this
is sufficient for the purpose of guarding underlinking.

Reference: https://github.com/termux/termux-packages/issues/14623
2023-01-18 13:12:50 +09:00
Tee KOBAYASHI 48c4850a97 scripts: Fix `LDFLAGS` for libpython
to avoid overlinking when using libtool.

Reference: https://github.com/termux/termux-packages/issues/14629
2023-01-18 02:26:44 +00:00
Tee KOBAYASHI 5a52b71ff3 termux_setup_python_pip: Add patch for crossenv
which seems to be still necessary to build `python-pip` currently.
2023-01-17 09:09:15 +00:00
Tee KOBAYASHI 5483168847 termux_setup_python_pip: Bump crossenv to 1.4.0 2023-01-17 04:29:45 +00:00
Tee KOBAYASHI 1a47737645 termux_git_clone_src: Exclude epoch from default branch 2023-01-17 00:25:17 +00:00
Ivan Max 5a29e62c76
fix(scripts/termux_setup_python_pip.sh): popd removal (#14599) 2023-01-16 15:16:37 +03:00
Leonid Pliushch 6318aab0cd
fix(scripts/setup-offline-bundle.sh): don't install pip
As of now this cannot be done for offline bundle.

 ERROR: /data/data/com.termux/files/usr/bin/python3.11 does not exist
2023-01-16 12:23:03 +02:00
Maxython d97b8c353b scripts: add termux_setup_python_pip function
It replaces termux_setup_python_crossenv and can be used when
compiling python packages.  Packages should specify their python
dependencies in TERMUX_PKG_PYTHON_TARGET_DEPS,
TERMUX_PKG_PYTHON_BUILD_DEPS, and TERMUX_PKG_PYTHON_COMMON_DEPS.
2023-01-16 09:29:47 +03:00
Tee KOBAYASHI 695de19a05 lint-packages: Check package / subpackage name
Source: https://www.debian.org/doc/debian-policy/ch-controlfields.html#source
2023-01-15 13:28:30 +00:00
Tee KOBAYASHI 98f2ec2c32 auto-update: Disable repology update method
temporarily.

Reference: https://github.com/termux/termux-packages/issues/14544
2023-01-15 10:56:18 +09:00
Tee KOBAYASHI 78715de5be termux_step_massage: Fix logic for undefined symbols
The pattern `for lib in "$(find [...])"` does not work if `find` matches
more than one file. Double quotes around `$(...)` must be removed.

This bug was introduced in 849112f9e7, and
the check did not work correctly from then on, until now.
2023-01-14 17:01:59 +09:00
Yaksh Bariya 82e222eca7
chore(scripts/config*): update to latest revision
Seems to be outdated since a long time. Let's better fix it. I don't
think there will be any breaking changes (like some weird new
compilation errors or something).
2023-01-13 19:23:12 +05:30