1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-15 10:16:39 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
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
030e7768f9 bump(main/rust): 1.73.0 2023-10-07 07:35:47 +08:00
Henrik Grimler
66a8fe6140
scripts(setup_rust): do not error if CFLAGS is unset
termux_setup_rust might be run several times in a build recipe, so
that continued (`./build-packages.sh -c`) builds can be supported.
The setup function uses and then unsets CFLAGS, resulting in an error
the second time termux_setup_rust is run.
2022-09-19 02:09:36 +02:00
agnostic-apollo
0275d9bff3 changed(scripts|main/termux-tools): Use TERMUX_APP_PACKAGE_MANAGER instead of TERMUX_MAIN_PACKAGE_FORMAT
Make changes as per new design implemented in termux/termux-app@b950efec and termux/termux-app#2740

The package build and termux-tools scripts use current package manager for custom logic. The `termux-tools/termux-setup-package-manager` script has been added that will now be used to provide backward compatibility for termux-app `< 0.119.0` (when its released) and validate the package manager. It will also ensure the variable in not unset to prevent `unbound variable` errors if `set -u` is being used by calling scripts.

Closes #10782
2022-05-23 12:14:55 +05:00
Maxython
465159a72e
build-package.sh: change logic for package manager selection to be more stable
termux_step_setup_variables: added logic with TERMUX_PACKAGE_FORMAT
for easier compilation.
2022-02-11 22:38:40 +01:00
Ivan Max
ece5419863
build-package.sh: setting up to work with pacman (#8451) 2022-01-14 15:16:37 +02:00
Butta
167739f5b8 nushell: try again to fix i686 build by exporting RUSTFLAGS earlier and adding a flag 2021-07-15 23:34:56 +05:30
Leonid Pliushch
8141194887
build-package.sh: fix unbound variable $TERMUX_RUST_VERSION 2021-01-10 14:33:00 +02:00
Wetitpig
5a181e1477
new package: openethereum (#6240) 2021-01-10 13:16:43 +02:00
Butta
3fe4a2ab6a nushell: update from 0.18.1 to 0.20.0, disable x86_64 because of linking issues,
and unset CFLAGS for all crates, as it was getting applied to host builds
2020-09-29 23:45:14 +05:30
Butta
c04ad2e397 termux_setup_rust.sh: add CPPFLAGS, ie TERMUX_PREFIX/include, to the Rust TARGET_CFLAGS 2020-05-02 15:57:04 +03:00
Leonid Pliushch
d08dc0fa13 build-package.sh: use text-based comparsion in conditionals instead of exit-code based 2019-08-13 02:03:47 +03:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
e303212ae5 enable on-device builds
Partial compatibility for on-device builds.

There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
2019-08-08 16:58:34 +03:00
Fredrik Fornwall
264989a264 Remove not needed line in termux_setup_rust 2019-05-07 22:20:43 +02:00
Leonid Pliushch
5ae36420eb termux_setup_rust.sh: always pick rust version from package build script
Avoid version mismatch.
2019-04-28 21:30:02 +03:00
its-pointless
b089bf18c9 rust: Update from 1.33.0 to 1.34.1 2019-04-28 00:19:21 +02:00
Fredrik Fornwall
aae8c39e8f Let rustup install rust 1.34 2019-04-17 22:42:55 +02:00
its-pointless
59625ccecd llvm-8 and rust with back ports for llvm-8 2019-03-29 01:28:11 +02:00
Fredrik Fornwall
e9d3fcea4c Fix DT_RUNPATH for rust-using packages
See #3490.
2019-03-10 23:33:24 +01:00
Fredrik Fornwall
73f4a8dbdb Use specific version when setting up rust
This makes for more reproducible builds.
2019-03-01 21:36:43 +01:00
Henrik Grimler
2bd607112b build-package: mv termux_setup_rust to scripts/build/setup 2019-02-27 21:59:08 +02:00