Jia Yuan Lo
efc0a1cf29
enhance(main/rust): refactor package ( #18735 )
...
* add rust-demangler
* drop deprecated rls
* drop unnecessary x86_64-unknown-linux-gnu stage 1 build
* force CI only pack tar.gz instead of both tar.gz and tar.xz
* further split subpackages into rust-std-*
* add subpackages rust-src, rustc-src
* add TERMUX_PKG_{BREAKS,REPLACES} on rust subpackages
2023-12-24 21:00:48 +08:00
Jia Yuan Lo
1db46f2b67
fix(auto-updater): increase gh issue list limit to 10000 ( #18788 )
...
To prevent making duplicated issues over and over
2023-12-22 16:34:34 +08:00
Twaik Yont
2f85dd8025
fix(update-packages): error caused by copy-pasting line
2023-12-21 13:46:08 +02:00
Twaik Yont
1f2b014f09
script(update-packages): put link to package inside created issue
2023-12-21 11:11:44 +02:00
Twaik Yont
3022b58bcb
scripts(update-packages): speed-up package update checks
2023-12-17 09:19:56 +02:00
Henrik Grimler
552a504c8b
bump(main/termux-elf-cleaner): update to 2.2.0
...
Now we can clean packages in multiple threads!
2023-12-16 13:26:10 +01:00
Chongyun Lee
c5effd27d4
scripts: remove glib-cross cache files in `massage` step
2023-12-16 04:02:07 +08:00
Ivan Max
37adaad747
termux_step_configure_meson.sh: add native compilation ( #18668 )
2023-12-14 13:54:16 +03:00
Finagolfin
51bd0dfe48
bump(swift): 5.9.1 to 5.9.2
2023-12-12 09:02:53 +05:30
Jia Yuan Lo
e0b07a427b
scripts: adjust error and warn messages
2023-12-11 10:13:33 +08:00
Jia Yuan Lo
44cf9681db
ci: isolate cleaning to another section again
...
* effectively partial revert d1af589d00
* sort big-pkgs.list
2023-12-11 10:13:33 +08:00
Ivan Max
719854729b
setup-cgct.sh: update cgt to 13.2.0-4
2023-12-10 20:44:54 +03:00
mrsrimar22
e3fde3b954
termux_setup_golang.sh: bump go 1.21.5
2023-12-06 14:26:36 +08:00
notfound405
931251b3f4
linter: add curl license id ( https://spdx.org/licenses/curl )
2023-12-03 23:09:07 +08:00
notfound405
ed75f7b5a4
licenses: install license file for curl
2023-12-03 23:09:07 +08:00
Ivan Max
424e88e238
termux_setup_meson.sh: wrapper is unnecessary when compiling on glibc (probably)
2023-11-29 10:29:05 +03:00
Leonid Pliushch
c645bf2b24
scripts(build-bootstraps.sh): set TERMUX_SCRIPTDIR
2023-11-28 18:23:08 +02:00
Twaik Yont
3e67f05ed9
scripts(update-packages): revert unintentional change
2023-11-27 19:50:00 +02:00
Twaik Yont
278567a642
enhance(*): improve auto-updating for git-dependent packages
2023-11-27 19:40:32 +02:00
Chongyun Lee
03a66e4cde
scripts(bin/revbump): also search subpackages
2023-11-17 21:45:43 +08:00
Twaik Yont
0c660bae32
scripts(termux_setup_gir): fix intendation of new comment
2023-11-16 19:15:40 +02:00
Twaik Yont
761261a99c
scripts(termux_setup_gir): added explanation about generating dumps
2023-11-16 19:12:57 +02:00
Chongyun Lee
fd80468c2f
libvte: bump to 0.74.1
2023-11-16 19:33:56 +08:00
Ivan Max
4222df85d1
packages.yml: change location indicating big packages ( #18509 )
2023-11-15 21:47:44 +03:00
Jia Yuan Lo
923d4e6e0f
enhance(scripts): termux_setup_xmake
2023-11-15 20:37:07 +08:00
Twaik Yont
cdb42b8d47
scripts(run-docker): remove symlink creating since docker image is already updated [no ci]
2023-11-14 16:28:12 +02:00
Twaik Yont
d24bbf1f04
scripts({run-docker,setup-ubuntu}): let CI launch android binaries
2023-11-14 16:24:12 +02:00
Twaik Yont
a63b862453
scripts(dump-repology-data): convert repology names to termux package names.
...
Fixes #18480
2023-11-13 16:14:55 +02:00
Chongyun Lee
29eb15f1cd
toolchain: add flang
2023-11-09 23:27:40 +08:00
mrsrimar22
167adc97e1
bump(go): to 1.21.4 ( #18434 )
...
bump(go): to 1.21.4
2023-11-08 13:36:10 +05:30
Jia Yuan Lo
b7b9bb184d
enhance(scripts): add TERMUX_PKG_NO_SHEBANG_FIX_FILES
2023-10-28 09:50:12 +08:00
Chongyun Lee
ce4b0f87db
scripts(toolchain): update to ndk-r26b
2023-10-22 20:49:23 +02:00
Finagolfin
8a2c5a18d2
bump(swift): 5.9 to 5.9.1
2023-10-21 20:12:14 +05:30
Chongyun Lee
3811f2205c
termux_setup_meson: bump to 1.2.2
2023-10-18 17:19:19 +08:00
Quinton Miller
dd7c3893dd
upgpkg(main/crystal): 1.10.1
...
Co-authored-by: Twaik Yont <twaikyont@gmail.com>
2023-10-17 14:22:13 +03:00
Ivan Max
da44a14566
termux_step_massage.sh: adding deleting pacman.log
2023-10-17 10:35:31 +03:00
Maxython
eb508d2db9
scripts/build/termux_step_create_*_package.sh: fixing `TERMUX_PKG_CONFFILES`
2023-10-16 10:26:54 +03:00
Henrik Grimler
778b4c224b
scripts(setup-ubuntu): add go-md2man
...
Needed by for example containerd.
2023-10-15 21:30:37 +02:00
Leonid Pliushch
5a1a95d93f
scripts(lint-packages.sh): replace REPO_DIR with TERMUX_SCRIPTDIR
...
TERMUX_SCRIPTDIR is a common global variable used across various parts
of build system and helper scripts. Scripts which source parts of the
latter must define this variable to have things working correctly.
2023-10-15 21:58:27 +03:00
Twaik Yont
00fea0a9de
scripts(update-packages): add an option to opt-out updates
2023-10-15 18:20:11 +03:00
Twaik Yont
5f14e97ade
enhance(scripts/termux_pkg_upgrade_version): adding an ability to process sed regexps for transformating version during automatic updates
2023-10-14 23:24:32 +03:00
Ivan Max
2eff8c0eb3
setup-cgct.sh: update cgt to 13.2.0-3
2023-10-12 11:48:54 +03:00
mrsrimar22
e069472abd
Go: bump to 1.21.3
2023-10-12 12:37:02 +05:30
Jia Yuan Lo
030e7768f9
bump(main/rust): 1.73.0
2023-10-07 07:35:47 +08:00
Jia Yuan Lo
fec4502c52
scripts(lint-packages.sh): allow tilde ~ character
...
Needed to indicate version prerelease, release candidate, beta etc.
2023-10-07 07:35:47 +08:00
Elan Ruusamäe
f95dc20fed
enhance(run-docker.sh): Reduce duplication
...
set "$@" to bash when no arguments
2023-10-07 01:26:45 +02:00
mrsrimar22
74c3646de3
bump(main/golang): Bump to 1.21.2
2023-10-07 01:08:37 +02:00
Fredrik Fornwall
7b5492eb9c
enhance(scripts/Dockerfile): Split out cgct installation
...
Avoiding to install cgct shrinks builder image size with 1.5 GB.
For cgct builds, switch from:
ghcr.io/termux/package-builder:latest
to:
ghcr.io/termux/package-builder-cgct:latest
2023-10-07 00:41:30 +02:00
Finagolfin
6f442f6476
bump(swift): 5.8.1 to 5.9
...
Also, pull in some upstream patches to get the new Macros feature working.
2023-10-06 20:26:04 +05:30
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