Commit Graph

61 Commits

Author SHA1 Message Date
Chongyun Lee ce4b0f87db
scripts(toolchain): update to ndk-r26b 2023-10-22 20:49:23 +02:00
Fredrik Fornwall 1bbf1e1bc4 scripts(setup-ubuntu): Remove jdk 8 and 18
Having the LTS JDK 17 seems to be enough.

This shaves away 600 MB from the docker image size.
2023-10-05 15:42:57 +02:00
Lucy Phipps 4755014aa5
parse repo.json in build-package.sh instead of properties.sh 2023-09-03 09:23:17 +01:00
Lucy Phipps 5ed8471923
revert this mess 2023-09-03 08:46:13 +01:00
Lucy Phipps 69028bfb72
actually fix all uses of properties.sh 2023-09-03 08:37:10 +01:00
Lucy Phipps addcfff316
if this doesn't fix it i don't know what will 2023-09-03 07:59:24 +01:00
Lucy Phipps 26ed3c09cc
Update properties.sh: fix for real 2023-09-03 07:39:58 +01:00
Lucy Phipps cc2fe1b045
properties.sh: oops! triggered the same error i was trying to fix 2023-09-03 07:28:09 +01:00
Lucy Phipps 8454b578d5
scripts/properties.sh: default TERMUX_SCRIPTDIR 2023-09-03 07:17:33 +01:00
Ivan Max a46e3e9357
build-package.sh: adding compilation based on glibc (#16901)
[skip ci]
2023-08-30 23:40:08 +03:00
Yaksh Bariya 350443bdb6
chore: do not hardcode repository information in `scripts/proporties.sh`
Should have been done during the initial migration to monorepo
2023-05-23 18:04:13 +05:30
Tee KOBAYASHI 9c2e9d9ca5 scripts: Bump NDK to r25c 2023-02-02 16:38:20 +05:30
Henrik Grimler bb298ba27f
scripts: update hint in properties.sh regarding ndk-packages
%ci:no-build
2023-01-07 10:37:42 +01: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
Tee KOBAYASHI 5a27cae55c properties.sh: Bump build-tools to 33.0.1 2022-12-25 08:25:36 +00:00
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
Leonid Pliushch 33d13b6628
properties: allow alternate paths of builder config
See https://github.com/termux/termux-app/issues/2826
2022-11-14 16:16:53 +02:00
Tee KOBAYASHI 510c6adbe0 properties.sh: Bump build-tools to 33.0.0
* Bump SDK revision to 9123335

* Remove no longer used platforms;android-21

* Do not remove "unused parts" from SDK (which are actually used)

* Make it possible to use alternative JAVA_HOME via TERMUX_JAVA_HOME
2022-11-12 03:04:24 +00:00
Kevin Williams bb8fe316d6
scripts/properties.sh: change primary host url 2022-10-22 10:36:51 +08:00
Leonid Pliushch 19286f075e
scripts/properties.sh: change primary host url 2022-10-10 10:57:18 +03:00
Chongyun Lee 268452c314 scripts: update to ndk r25b 2022-09-15 00:37:34 +08:00
Henrik Grimler 1190208ed4
Revert "scripts: use grimler.se mirror for downloading debs"
This reverts commit bd73dd61bd.
2022-08-26 07:54:55 +02:00
Jia Yuan Lo 035c918418
scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615)
NDK r25 has removed GNU Assembler (GAS). Removal of GAS introduced a number of build issues.
The most prominent is:
/usr/bin/as: unrecognized option '-EL'

Some options to solve this:
1. Disable building custom assembly and suffer performance penalty
2. Hand rewrite the custom assembly to be LLVM compatible
3. Wait for upstream to write LLVM compatible assembly (openssl, openssl-1.1)
4. Bring back GAS from NDK r23c

In this commit, GAS is brought back as a separate toolchain instead of following NDK r23c file hierarchy.
We pass "--gcc-toolchain=GAS_TOOLCHAIN_DIR" to NDK r25 clang to detect.
Packages only have to add "termux_step_gnu_as_23c" to build.sh to enable GAS.
In the future, we expect packages should follow option 3 more than option 4 as that is a last resort.

This commit also bumps revision for packages that rely (or previously rely) on "-fno-integrated-as":
hors, libffi, libgcrypt, libpixman, openssl, openssl-1.1

Co-authored-by: Henrik Grimler <grimler@termux.dev>
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2022-08-24 23:17:08 +08:00
Henrik Grimler bd73dd61bd
scripts: use grimler.se mirror for downloading debs
This is done since Fosshost will be decommissioned on 28th of August.
2022-08-24 09:27:48 +02:00
Henrik Grimler 6802ecc666
scripts(properties): actually update to ndk-r25 2022-08-13 12:20:06 +02:00
agnostic-apollo cd2928cbe1 fix(build-package.sh): Do not use dependencies while building from repo if it hosts packages built for a different package name than TERMUX_APP_PACKAGE 2022-07-28 15:27:20 +05:00
Chongyun Lee 90fda1305b chore: Move REPO-related variables to properties.sh 2022-07-11 15:43:24 +08:00
Yaksh Bariya 5806718974
chore,scripts(properties.sh): update note regarding Repology updater
See termux/repology-metadata@d48519bcb5
for why this note was updated
2022-07-03 16:31:20 +05:30
Henrik Grimler 370dffaf40
Revert "scripts/properties.sh: allow for jdk in /usr/lib/jvm/java-8-openjdk"
This was not suppose to be pushed to master as it causes issues for
some scripts.

This reverts commit 8a400251b7.
2022-06-23 20:35:46 +02:00
Henrik Grimler 8a400251b7
scripts/properties.sh: allow for jdk in /usr/lib/jvm/java-8-openjdk 2022-06-23 20:29:42 +02:00
Henrik Grimler 5be1ac63f0
ci(setup-android-sdk.sh): update to ndk r23c 2022-06-23 20:29:28 +02:00
agnostic-apollo afad8febe6 added(scripts): Add TERMUX_APPS_DIR as per termux/termux-app@bcd8f4c4 2022-05-29 09:03:31 +05:00
Henrik Grimler 4798011417 Revert "scripts/properties.sh: allow for jdk in /usr/lib/jvm/java-8-openjdk"
openjdk might not be available in the various places properties.sh is
sourced, as when linting the packages:
https://github.com/termux/termux-packages/pull/10331.  Revert the
commit to fix this issue.

This reverts commit a7e384c1d9.
2022-04-25 22:22:59 +02:00
Henrik Grimler a7e384c1d9
scripts/properties.sh: allow for jdk in /usr/lib/jvm/java-8-openjdk 2022-04-25 21:37:47 +02:00
Henrik Grimler e3034c71fa
scripts/properties.sh: put sdk and ndk in versioned folders
To allow for having multiple sdk/ndk versions in ~/lib/.
2022-04-25 21:37:45 +02:00
Lucinda May Phipps 9d020f82ec
properties.sh: notes for next ndk update
we forgot to reset the revision numbers this time
2021-10-23 13:55:04 +01:00
Henrik Grimler 6a86fd8b28 ndk: update to r23b
Includes fix for -fno-integrated-as flag, which is needed by libx265
build.
2021-10-22 23:05:45 +02:00
Henrik Grimler a465f14c90 Update to use android-ndk r23 2021-10-22 23:05:45 +02:00
Leonid Pliushch 58397fde9a
scripts/properties.sh: set java home to openjdk 8
Fix packages like termux-am
2021-08-01 18:39:37 +03:00
Leonid Pliushch 89384aed06
apksigner: update to 30.0.3 2020-12-07 20:09:31 +00:00
Leonid Pliushch 39d81b358e fix scripts/properties.sh
?
2020-11-13 21:11:17 +02:00
Leonid Pliushch b554a9d2fc scripts/properties.sh: load ~/.termuxrc at the end to allow override the configuration 2020-11-13 15:08:35 +02:00
Leonid Pliushch 6fa120c617 properties.sh: introduce $TERMUX_BASE_DIR 2020-10-30 22:24:07 +02:00
Leonid Pliushch 0cb1b82333 fix hardcoded Termux directories in mpd, renameutils, termux-tools 2020-10-30 22:15:19 +02:00
Leonid Pliushch 04e93144a4 properties.sh: introduce $TERMUX_APP_PACKAGE - specifies application package name 2020-10-30 21:59:59 +02:00
Leonid Pliushch 5794e94b36 define prefix and home path in ./scripts/properties.sh 2020-10-30 21:31:19 +02:00
Leonid Pliushch 468ae7cc1e fix path typo in scripts/properties.sh 2020-10-22 23:28:20 +03:00
Leonid Pliushch 3cbe71ee6d allow sdk & ndk to be installed into $TERMUX_SCRIPTDIR/build-tools 2020-10-22 23:16:08 +03:00