Commit Graph

788 Commits

Author SHA1 Message Date
TomIO 5ba6cf657e bump(main/zig): 0.12.0
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
2024-04-30 22:48:27 +08:00
Jia Yuan Lo 56c04aafc4
termux_step_massage: enhance symbol checking (#18233)
So that we dont have to physically own old phones to check issues like
these after package creation but during package creation.

CANNOT LINK EXECUTABLE "executable": cannot locate symbol "symbol"

The checks are mandatory! This will add around 5mins for large packages
on CI. Parser can be added later to reduce number of symbols to check.

New variables are added:

TERMUX_PKG_EXTRA_UNDEF_SYMBOLS_TO_CHECK
to facilitate specific symbols checks on specific packages

TERMUX_PKG_UNDEF_SYMBOLS_FILES
list of files that are intended to have undefined symbols
2024-04-27 12:09:32 +08:00
tqfx e8a81861d6
fix(scripts/termux_setup_toolchain): fix CGO_LDFLAGS (#19855)
`go build` error: unrecognized command-line option ‘-fno-openmp-implicit-rpath’
2024-04-26 18:18:15 +08:00
tqfx d07e7a2106 fix(scripts/build): ninja: unknown warning flag 'dupbuild=warn'
ninja has removed the flag `-w dupbuild=warn` since 8f47d5aa33.
2024-04-22 10:35:35 +08:00
tqfx 80e50f61cc ninja: update to 1.12.0 2024-04-22 10:33:28 +08:00
Ivan Max ebb7368345
scripts/termux_step_massage.sh: removing the `python-glibc` file from other packages (#19749) 2024-04-13 14:55:19 +03:00
Quinton Miller f8ec6e4281
fix(main/crystal): Do not use `src/llvm/ext/llvm_ext.o` (#19720) 2024-04-10 16:51:53 +02:00
Jia Yuan Lo 3c9ccb2f50 scripts(termux_setup_xmake): 2.8.9 2024-04-05 21:28:18 +08:00
Arun ca0a1e1cc9 upgpkg(main/golang): 1.22.2 2024-04-04 12:35:18 +05:30
Henrik Grimler 208143116d
ndk-patches: use standard futimesat function
Without extra flags arg.
2024-03-31 09:51:35 +02:00
Chongyun Lee ec65ed3809 scripts/override_config_scripts: check `TERMUX_PKG_BUILD_DEPENDS` 2024-03-29 22:40:16 +08:00
Biswapriyo Nath 09127c8970
build-packages.sh: introduce SOURCE_DATE_EPOCH (#19593)
- Allow SOURCE_DATE_EPOCH to be set externally
- Replace BUILD_DATE with SOURCE_DATE_EPOCH for same timestamp
- Set timestamp for all files in pacman package
2024-03-28 15:47:51 +03:00
Henrik Grimler fbc59da08d
ndk-patches: make futimes, lutimes and futimesat visible in sys/time.h
We now have libandroid-utimes which provides these functions, so update header to reflect this.

Normally the android libc only supports these functions for api level
>=26, but we support api level >= 24.

The futimesat function also takes an extra argument compared to bionic
one: int flags, due to that unar expects that type of futimesat
function. We can add another futimesat variant (without flags) when it
is needed.
2024-03-25 21:33:00 +01:00
tqfx 5acdf35abb
fix(scripts/setup-cmake): typo 2024-03-18 18:48:45 +01:00
Biswapriyo Nath 51381ed6e2
termux_step_configure_meson.sh: Add setup option with meson command (#19052)
This commit fixes the following warning with meson newer than 0.64.0 version.

WARNING: Running the setup command as `meson [options]' instead of `meson setup [options]' is ambiguous and deprecated.
2024-03-17 14:24:53 +01:00
Arun fca5f01b6c upgpkg(main/golang): 1.22.1 2024-03-16 14:57:08 +08:00
Finagolfin 68f281f257 bump(swift): 5.9.2 to 5.10 2024-03-06 07:30:18 +05:30
Ivan Max 96379a33db
Adding options to disable cross compilation in cmake (#19404) 2024-03-04 23:39:22 +03:00
Chongyun Lee c1e20b09f0
scripts(toolchain_26b): only append `-fno-openmp-implicit-rpath` if cross-compiling 2024-02-28 00:34:20 +08:00
Finagolfin 0ff8c927bd fix,scripts(toolchain_26b): add rpath flag to avoid adding CI paths to all package binaries
Bump util-linux to make sure it works, fixes #19299.
2024-02-21 00:09:55 +05:30
Ivan Max 173fbf73b1
build-packages.sh: loop definition fix (#19247) 2024-02-15 09:30:06 +03:00
Chongyun Lee 4fcd4dfd81 setup_cmake: update patches 2024-02-07 20:06:39 +08:00
Finagolfin 8ba5614eea bump(main/cmake): update CI build to latest 3.28.3 2024-02-07 15:45:31 +05:30
Ivan Max 3297f2bd8e
termux_step_setup_cgct_environment.sh: real repo search fix 2024-01-15 19:12:37 +03:00
Ivan Max 3dc3799290
termux_step_setup_cgct_environment.sh: repo search fix 2024-01-15 18:48:22 +03:00
Ivan Max 27dae10590
termux_step_setup_cgct_environment.sh: install `gcc-libs-glibc` 2024-01-14 00:31:12 +03:00
mrsrimar22 a73b6414db termux_setup_golang.sh: bump go 1.21.6 2024-01-12 00:02:20 +08:00
Ivan Max 11d63746d2
termux_step_get_dependencies.sh: avoid getting into package dependency cycles (#18914) 2024-01-07 22:58:33 +03:00
Jia Yuan Lo 92305c0fd9 chore(scripts): fix indents
termux_create_debian_subpackages.sh
2024-01-03 07:01:49 +08:00
Jia Yuan Lo de112530c4 scripts: add directory symlink for standalone toolchain
Needed by rust 1.75.0+
2024-01-03 07:01:49 +08:00
Henrik Grimler ccf6ab9292
updpkg(main/termux-elf-cleaner): update to 2.2.1 2023-12-26 10:25:40 +01:00
Kevin Williams a6c530b860 libprotobuf: Bump to 25.1
Signed-off-by: Kevin Williams <admin@utermux.dev>

Co-authored-by: Twaik Yont <twaikyont@gmail.com>
Co-Authored-By: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2023-12-24 22:25:26 +08:00
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
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
mrsrimar22 e3fde3b954 termux_setup_golang.sh: bump go 1.21.5 2023-12-06 14:26:36 +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
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
Jia Yuan Lo 923d4e6e0f enhance(scripts): termux_setup_xmake 2023-11-15 20:37:07 +08: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