Commit Graph

45 Commits

Author SHA1 Message Date
Leonid Pliushch f1cc076b27
ecj: wrappers should unset JAVA_HOME
Otherwise it will work properly if package openjdk-17 is installed.

Issue https://github.com/termux/termux-packages/issues/7233
2021-08-02 20:53:57 +03:00
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch 202d9d5a2f ecj: use "mkdir -p" 2020-10-23 00:51:09 +03:00
Henrik Grimler ff6880d55d Remove "local" from places it does not do anything
Needs to be used in functions to have an effect.
2020-08-01 12:45:20 +02:00
Leonid Pliushch e33db744d9 apksigner, beanshell, dx, ecj: update postinst script
Specify extensions of files which should be removed instead of
using wildcard.
2020-07-26 20:33:19 +03:00
Leonid Pliushch 33a3e4ed91 apksigner, beanshell, dx, ecj: remove OAT cache after installation/upgrade 2020-07-26 14:19:30 +03:00
Leonid Pliushch cfc0bb89e8 ecj: use '-Xcompiler-option --compiler-filter=speed' dalvikvm flag 2020-07-26 03:23:12 +03:00
Henrik Grimler e34dfb9502 ecj: refactor build.sh
Download src in termux_step_get_source, check if we are compiling on
device in termux_step_pre_configure instead of doing everything in
termux_step_make.

%ci:no-build
2020-07-21 10:14:19 +02:00
Leonid Pliushch f1780ce695 ecj: fix build.sh 2019-12-30 18:51:20 +02:00
Leonid Pliushch af60bdb76d ecj: downgrade to 4.12
Issue https://github.com/termux/termux-packages/issues/4704.
2019-12-30 16:51:42 +02:00
Leonid Pliushch 6e6ef98677 ecj: update to 4.14 2019-12-21 18:10:44 +02: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 c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Leonid Pliushch 7add4e28ef ecj: build package again 2019-07-22 21:37:53 +03:00
Leonid Pliushch 78c1f4ab37 ecj: bump revision
*.deb file on Bintray is corrupted for unknown reason - metadata checksum
mismatch.
2019-07-22 20:21:43 +03:00
Leonid Pliushch 26e6bf1781 ecj: update to 4.12 2019-07-21 17:23:12 +03:00
Fredrik Fornwall 766e5eb827 ecj: Update for api level 24 2019-04-27 22:56:28 +02:00
Wetitpig 7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig 13cec16263 Spaces to tabs 2019-02-09 21:06:31 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall ca5ead6780 Update latest android platform and build-tools 2019-01-27 09:03:08 +01:00
Leonid Pliushch 361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Leonid Pliushch 31f900cf76 ecj: do not word-split arguments
Do not split args if they contain a space.
2019-01-13 18:33:41 +01:00
Fredrik Fornwall c1edc6feab ecj&ecj4.6: Conflict with eachother 2018-08-22 08:31:07 +02:00
Fredrik Fornwall c2f8556062 ecj: Update from 4.6.2 to 4.7.2 2018-07-26 12:31:42 +02:00
Fredrik Fornwall 047754e8fa Update android sdk build tools
Update the android sdk build tools from 27.0.3 to 28.0.1, bringing
in d8 which is replacing dx.

This needs an update of the Docker image, so run scripts/update-docker.sh
to update it.
2018-07-26 12:21:43 +02:00
Henrik Grimler 71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
tomty89 92fb0e15fd ecj: provide android-21.jar instead of android-16.jar (#2274) 2018-03-25 00:02:47 +01:00
Fredrik Fornwall d94c342761 aapt&ecj: Use jar instead of zip 2017-11-21 05:26:30 +01:00
Fredrik Fornwall 0c0af59332 Update NDK used to r16
Run scripts/update-docker.sh to update the docker image.
2017-11-15 16:48:35 +01:00
Fredrik Fornwall dd3f1e067e ecj: Switch to working mirror 2017-09-20 22:03:06 +02:00
Fredrik Fornwall b7dabb9f07 ecj: Switch to working src url 2017-09-20 00:17:44 +02:00
Fredrik Fornwall 3913027323 ecj: Clean up directory before adding android-16 2017-08-11 14:26:15 +02:00
joakim-noah 8d9d214591 ecj: Add android-16 API jar too (#1133) 2017-08-11 14:22:47 +02:00
Fredrik Fornwall 64666c40b2 Update android platform setup
- Update to build tools 26.0.1.
- Update from android-25 to android-26.
- Add android-16 for use in https://github.com/termux/termux-packages/pull/1133
2017-08-11 14:09:32 +02:00
Fredrik Fornwall 81c7229f5a Update android tools and build tools
The Docker image has been rebuilt, update with:

scripts/update-docker.sh
2017-05-20 21:17:00 +02:00
Fredrik Fornwall 5a24f7a676 ecj: Update from 4.5.2 to 4.6.2 2017-01-04 19:09:03 -05:00
Fredrik Fornwall 078db5b2c9 ecj: Use android-24 API jar 2016-10-06 19:37:03 -04:00
Fredrik Fornwall a68adb036f ecj: Fix missing \ in ecj script 2016-08-10 09:53:47 -04:00
Fredrik Fornwall 819b205ab0 ecj: Use TERMUX_DX variable 2016-07-23 15:48:44 -04:00
Fredrik Fornwall 6501186f2b Fix dalvikvm wrapper
- Just unset LD_LIBRARY_PATH in the dalvikvm wrapper.
- Let the dalvikvm wrapper setup $ANDROID_DATA.
- Avoid using a custom dalvikvm wrapper in dx.
2016-05-05 19:55:13 -04:00
Fredrik Fornwall ad3050005c ecj: Update from 4.4.2 to 4.5.2 2016-05-03 11:50:57 +02:00
Fredrik Fornwall 70a744a484 More /system/bin/sh -> $PREFIX/bin/sh changes 2015-12-02 06:32:11 -05:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00