Commit Graph

1281 Commits

Author SHA1 Message Date
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