Commit Graph

35 Commits

Author SHA1 Message Date
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
ad3050005c ecj: Update from 4.4.2 to 4.5.2 2016-05-03 11:50:57 +02:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00