Commit Graph

81 Commits

Author SHA1 Message Date
Tee KOBAYASHI 9c2e9d9ca5 scripts: Bump NDK to r25c 2023-02-02 16:38:20 +05:30
Tee KOBAYASHI 0f4945821a ndk-sysroot: Remove patch backups (`*.orig` files)
%ci:no-build
2023-01-16 05:10:44 +00:00
Henrik Grimler ba5debc31f
enhance(main/ndk-sysroot): make package buildable on device
By downloading android-ndk zip instead of relying on the toolchain
directory.
2023-01-07 10:37:25 +01:00
Henrik Grimler 07874a94b3
chore(main/ndk-sysroot): cleanup build recipe 2023-01-07 09:42:07 +01:00
Henrik Grimler 0b9bf5d483
chore(main/ndk-sysroot): drop gcc_fixes.diff
That we have carried but not used for a few ndk versions.  Diff is
available in git history, let's not keep it in repo any more.
2023-01-07 09:42:04 +01:00
Henrik Grimler 38c22acb44
enhance(main/ndk-sysroot): use TERMUX_PKG_RM_AFTER_INSTALL
Instead of deleting files in termux_step_extract_into_massagedir.
2023-01-07 09:42:00 +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 9e6f285d0c enhance(main/ndk-sysroot): make package buildable on device
By downloading android-ndk zip instead of relying on the toolchain
directory.
2023-01-03 20:48:18 +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
Chongyun Lee 897905665f revbump(ndk-sysroot): EGL header removal 2022-12-21 11:02:18 +00:00
Chongyun Lee 2aee96109f ndk-sysroot: mark as not available for on-device build
[skip ci]
2022-12-04 16:09:24 +08:00
Henrik Grimler 8cc7e63acf
main/ndk-sysroot: bump after ndk-patches update 2022-11-09 23:27:19 +01:00
kawanakaiku d8bfd748b5
scripts: dont include GLES vulkan headers 2022-11-01 21:14:40 +01:00
Chongyun Lee ae9a6e2079 ndk-sysroot: rebuild after ndk update 2022-09-15 00:37:34 +08:00
Henrik Grimler 7017f85db6
rebuild: bump packages that depend on our toolchain
After termux-elf-cleaner step of toolchain was fixed.
2022-08-18 17:01:55 +02:00
Butta 4d941b3e81
updpkg(main/ndk-sysroot): don't include unicode ICU headers, as they collide with the libicu package 2022-08-13 12:21:13 +02:00
Henrik Grimler ea6056cc95
updpkg(main/ndk-sysroot): build with ndk-r25
Revision or version do not have to be bumped since version depend on
NDK version.
2022-08-13 12:20:32 +02:00
Henrik Grimler afa8cd4d5e
updpkg(main/ndk-sysroot): rebuild after ndk update 2022-06-23 20:29:37 +02:00
Tee KOBAYASHI 5a5c5be2b9 ndk-sysroot: Revbump after ndk-patches modification 2022-03-26 00:02:59 +09:00
Henrik Grimler 0e9c95fd90
toolchain/ndk-sysroot: let mesa provide KHR/khrplatform.h
The headers are nearly identical, use the one from mesa to ensure
compatibility with mesa.
2022-03-09 09:28:40 +01:00
Chongyun Li 6314e7e9dd ndk-sysroot: rebump after ndk-patches is modified 2022-03-08 04:55:03 +09:00
Yaksh Bariya c15b7f17bf
ndk-sysroot: bump revision after removing patch for mntent.h
Also bump toolchain version
2022-01-03 19:21:36 +05:30
Yaksh Bariya d48360e34d ndk-sysroot: revbump after new ndk patch for mntent.h 2021-12-12 10:07:41 +05:30
Lucy Phipps 9edcea2b24
ndk-sysroot: bump revision 2021-11-29 08:13:27 +00:00
Henrik Grimler b7feda48ef
ndk-sysroot: bump after ndk-patches update 2021-11-23 10:15:24 +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 db88595a1a ndk-{multilib,sysroot}: update for ndk r23 2021-10-22 23:05:45 +02:00
Jia Yuan Lo fdb5b8f1e0 new package: vulkan-headers
Replace outdated NDK Vulkan headers with upstream version
2021-07-23 15:28:45 +03:00
Henrik Grimler 54975d7db5 ndk-headers: fix paths in utmp.h
And bump toolchain and ndk-sysroot. Also update patch offsets while we
are at it.
2021-05-07 08:28:05 +02: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
its-pointless 746eb90bfc rust ndk-sysroot 2020-07-09 13:51:35 +02:00
Henrik Grimler 1d88f96054 ndk-sysroot: bump to try to fix https://github.com/termux/termux-packages/issues/5016 2020-03-11 21:03:15 +01:00
Henrik Grimler 3a12887f21 ndk-sysroot: add patch for better compatibility with gcc. (#4870)
This upstream commit is reverted:
github.com/aosp-mirror/platform_bionic/commit/b7b2884a2130c32b3ca7228891a0a9aa934a9be7
And some of the changes in this commit are included:
github.com/termux/termux-packages/commit/3da018dde122ae90ff82e9733c096e3c75331fe1.
2020-02-02 19:23:26 +01:00
Leonid Pliushch 2ddfca3aa1 ndk-sysroot: use linker scripts instead of compatibility symlinks 2019-09-23 13:05:43 +03:00
Leonid Pliushch 52d1291a9a ndk-sysroot: symlink libc to libutil'
Fixes https://github.com/termux/termux-packages/issues/3972.
2019-09-22 22:55:50 +03:00
Fredrik Fornwall 937b78d0c4 Define __TERMUX__ and __TERMUX_PREFIX__
By defining __TERMUX__ and __TERMUX_PREFIX__ in <sys/cdefs.h> (which is
basically always included) one can more easily target Termux
specifically, both when cross-compiling packages and when code is built
on-device.
2019-09-19 21:34:04 +02:00
Leonid Pliushch 5ac9d8c9b2 ndk-sysroot: bump revision 2019-09-08 20:57:00 +03:00
Leonid Pliushch 59f67604f3 ndk-sysroot: bump revision after ndk-headers patches update
%ci:reset-backlog
2019-09-06 19:21:07 +03:00
Leonid Pliushch 8701462951 add new linter script & fix packages where needed
Linter will check packages submitted for CI build. If error was found,
build will not be allowed.

To ensure that all build.sh scripts are consistent and have at least
minimal allowed quality, linter is permanently enabled for all branches
and pull requests.
2019-08-14 14:27:55 +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 6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
its-pointless 256f9d2c3c these aren't rebuilt? 2019-06-20 03:50:11 +03:00
Leonid Pliushch 9dda444a87 new package: libiconv 2019-05-05 21:29:36 +02:00
Tom Yan dab21ee7b7 zlib-dev: breaks and replaces old ndk-sysroot
also bump toolchain version for z{lib,conf}.h removal
2019-04-14 16:00:23 +03:00
Tom Yan 5170610f52 zlib: add package 2019-04-14 16:00:23 +03:00
its-pointless 47944e0290 math header refix 2019-04-11 23:14:10 +03:00
Fredrik Fornwall 15f1d536ba ndk-sysroot: Bump after removing sys/capability.h 2019-03-24 23:16:07 +01:00
Leonid Pliushch 551147dc55 ndk-sysroot: bump revision 2019-03-20 15:39:58 +02:00
its-pointless 032ed6fb15 fix for arm 2019-02-27 01:49:43 +02:00
its-pointless c1b65a538e version names change 2019-02-24 20:39:35 +02:00