Commit Graph

1241 Commits

Author SHA1 Message Date
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
Tee KOBAYASHI eaaaff6d35 golang: Bump to 1.19.5 2023-01-10 22:56:51 +00:00
Tee KOBAYASHI ac0d70a63a auto-update: Exclude epoch in version comparison
to avoid warnings like

```
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 2:0.8.3 is an invalid version and will not be supported in a future release
```
2023-01-10 01:54:19 +00:00
Tee KOBAYASHI f68fba50b7 termux_step_massage: Check for `$PREFIX/man`
which indicates packaging error.
2023-01-10 10:05:05 +09:00
ifurther dd3c9ea480 New package: codeblocks
codeblocks: add patch file for wxWidgets 3.1.6 and disable compiler
2023-01-10 00:56:58 +00:00
Tee KOBAYASHI cb8bc5eccf termux_step_massage: Check for Debianish Python dir
`$PREFIX/lib/python3/dist-packages` which indicates packaging error.
2023-01-08 16:46:29 +09:00
Henrik Grimler bb298ba27f
scripts: update hint in properties.sh regarding ndk-packages
%ci:no-build
2023-01-07 10:37:42 +01:00
Tee KOBAYASHI 72db1a09ff termux_step_massage: Check for `$PREFIX/$PREFIX`
which almost always indicates packaging error.
2023-01-07 06:44:41 +09:00
Chongyun Lee 4dfa1f1836 setup-ubuntu.sh: install deps 2023-01-06 21:22:56 +00:00
Tee KOBAYASHI fbaecc5c26 termux_step_massage: Check for unresolved symbols
defined in libandroid-execinfo as well.

Reference: https://github.com/termux/termux-packages/issues/14285
2023-01-04 06:46:27 +09:00
Henrik Grimler fc6900d9fa Revert update of ndk-packages
This WIP was not suppose to be pushed to master.
2023-01-03 21:10:03 +01:00
Henrik Grimler a39d494413 scripts: update hint in properties.sh regarding ndk-packages 2023-01-03 20:51:40 +01:00
Henrik Grimler 5d08ee2424
scripts: fix typo pacakge -> package 2023-01-03 19:53:23 +01:00
Ivan Max 83f6e7acfd
build-package.sh: fix bug with TERMUX_FORCE_BUILD and add new flag -F (TERMUX_FORCE_BUILD_DEPENDENCIES) (#13861)
This add-on requires careful review and testing, but this will not interfere with compiling packages.

Co-authored-by: agnostic-apollo <agnosticapollo@gmail.com>

%ci:no-build
2023-01-03 18:04:40 +03:00
Henrik Grimler 20bd0f0dc0
scripts: use git+[...] instead of [...].git for git urls
Not all source code hosters support the .git suffix (for example
sourcehut).  Use a git+ prefix instead to indicate that a url is a git
repo.
2023-01-01 18:31:38 +01:00
Henrik Grimler 6df47823f5
scripts: setup-termux: install scdoc as well 2022-12-31 11:15:41 +01:00
Ivan Max 7f8821740f
fix version view in package info for pacman (#14203) 2022-12-29 10:14:51 +03:00
Henrik Grimler 996c30a3c4
scripts: setup-termux: add uuid-utils to list of required packages 2022-12-28 09:14:23 +01:00
Henrik Grimler db6b2db80b
scripts: warn if subpackage files can not be found 2022-12-27 17:22:22 +01:00
Tee KOBAYASHI ad7a67eeee scripts: Provide hooks triggered by failure in configure 2022-12-27 11:25:23 +00:00
Henrik Grimler ae454e2ef4
scripts: termux_step_configure_autotools: rm debug cat of config.log
While it can be nice for github actions builds it is annoying for
local builds as it might fill up the terminal buffer.
2022-12-27 11:35:48 +01:00
Tee KOBAYASHI 5a27cae55c properties.sh: Bump build-tools to 33.0.1 2022-12-25 08:25:36 +00:00
Tee KOBAYASHI 2db283089c setup-ubuntu.sh: Install libyaml-dev 2022-12-23 14:38:59 +09:00
Chongyun Lee 54ed8ece33 scripts(toolchain): bump after removing EGL headers 2022-12-21 11:02:18 +00:00
Chongyun Lee 2d6635f0b2 scripts(toolchain): don't include EGL headers 2022-12-21 11:02:18 +00:00
Tee KOBAYASHI 6a52295558 libprotobuf: Bump to 3.21.12 2022-12-16 01:35:45 +00:00
Butta 9f1e2c5165 upgpkg(swift): 5.7.1 to 5.7.2 2022-12-14 17:44:35 +05:30
Henrik Grimler 8087700a17 Revert "[TEMP] use grimler.se to download packages"
This reverts commit 4efac69ffd.
2022-12-10 12:16:55 +01:00
Henrik Grimler 4efac69ffd
[TEMP] use grimler.se to download packages
Until migration form fosshost to new vps is complete.

See termux/termux-packages#13804.
2022-12-10 10:00:05 +01:00
Jia Yuan Lo 64644e5cc7 scripts: add termux_setup_mold
Optional and disabled for now
2022-12-10 16:15:00 +08:00
Jia Yuan Lo b88e09873d scripts: remove termux_setup_gnu_as_23c
Replaced by termux_setup_no_integrated_as
2022-12-10 16:15:00 +08:00
Tee KOBAYASHI 4de4aa5ee3 libprotobuf: Bump to 3.21.11 2022-12-10 02:34:18 +00:00