Commit Graph

1272 Commits

Author SHA1 Message Date
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
Yaksh Bariya b2116fb87a
chore(scripts/setup-archlinux.sh): make up to date to recent changes
python2 is no longer available in official repositories. See https://archlinux.org/news/removing-python2-from-the-repositories/

Also depend on jq directly. I know there are a lot of packages missing
from the list. But I guess it will be better for the contributor to
install them as needed instead of keeping a lot of unnecessary stuff
installed.
2023-01-11 18:19:50 +05:30