Commit Graph

53 Commits

Author SHA1 Message Date
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
its-pointless
50decd816b r19b update 2019-02-24 20:39:35 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Henrik Grimler
16e8dc0605 ndk-sysroot: conflict with libandroid-support-dev 2019-01-27 15:12:49 +01:00
Fredrik Fornwall
873f60cbb5 iconv.h from libandroid-support to ndk-patches 2019-01-25 02:57:27 +01:00
Leonid Pliushch
6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
its-pointless
db75340215 llvm: Update from 5.0.1 to 6.0
Also build our own libomp.
2018-03-20 23:10:53 +01:00
Fredrik Fornwall
a71263bdbb ndk-sysroot: Add missing ; and use , in deb fields 2018-02-15 18:01:55 +01:00
tomty89
7072d99dd7 Ship libgcc in ndk-sysroot and ndk-multilib (#2146) 2018-02-15 17:57:03 +01:00
Tom Yan
aa887f55aa ndk-sysroot: fix typo for LIBATOMIC_PATH 2018-02-15 01:55:39 +01:00
Fredrik Fornwall
831515fc06 ndk-sysroot: Include <omp.h> (fixes #1826) 2017-12-03 13:44:09 +01:00
Fredrik Fornwall
793900beb4 ndk-sysroot: Bump revision after libintl.h update 2017-08-17 01:18:36 +02:00
Fredrik Fornwall
3fb244a3a2 ndk-sysroot: Bump after header patch fix 2017-07-10 10:59:16 +02:00
Fredrik Fornwall
993268c308 Drop -D_FILE_OFFSET_BITS=64 support for now
32-bit android uses 32-bit off_t by default. When building with
-D_FILE_OFFSET_BITS=64 with unified headers off_t are promoted
to 64-bit, but there are bugs in the toolchain and spotty support
for it in the platform (not all functions are available until
android-24, and the platform zlib is compiled with 32-bit off_t).

Also, unless every library&program is rebuilt with 64-bit off_t,
including user-built ones, we risk a mismatch between programs and
libraries which can cause serious (but sometimes subtle) runtime
failures.

As -D_FILE_OFFSET_BITS=64 is not that important for most users
(with mariadb requiring it as an exception), we drop the support
for now by patching it away in <sys/cdefs.h>.
2017-07-07 03:52:46 +02:00
Fredrik Fornwall
4a5fd7241c Fix incorrect struct __sFILE
The __sFILE struct cannot change size when _FILE_OFFSET_BITS=64
is set as it is an API into libc.
2017-07-03 01:27:32 +02:00
Fredrik Fornwall
6f8d07fa94 Remove pty.h from libutil-dev
Instead let ndk-sysroot provide it.
2017-07-02 11:56:40 +02:00
Fredrik Fornwall
f6c72b1a1c ndk-sysroot: Drop revision after NDK update 2017-06-11 23:04:44 +02:00
Fredrik Fornwall
f3e071d2f4 Wrap getpwuid_r (fixes psql history file location) 2017-03-05 13:34:41 +01:00
Fredrik Fornwall
a922c73f42 Reset relevant package revisions after update 2017-03-05 01:34:02 +01:00
Fredrik Fornwall
42562d13b8 ndk_patches: Add a ifaddrs.h polyfill (fixes #338) 2017-02-17 22:33:57 +01:00
Vishal Biswas
c4804ab87a ndk_patches: add patches for sem and shm (#691)
* ndk_patches: add patches for sem and shm

* add #ifdef around syscall stubs for shm.h and sem.h
2017-01-24 10:41:46 +01:00
Fredrik Fornwall
7f5da5d3af ndk: Patch malloc.h to remove clang warnings 2017-01-19 02:49:43 +01:00
Fredrik Fornwall
af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall
d1f129da2c ndk-sysroot: Reuse existing zlib.pc 2017-01-05 19:02:03 -05:00
Fredrik Fornwall
66f3991fb3 Specify zlib as 1.2.8, not 1.2.3 as ndk claims 2016-11-22 18:51:13 -05:00
Fredrik Fornwall
10526b174a ndk-sysroot: Bundle libatomic.a
Fixes #430.
2016-09-05 14:52:16 -04:00
Fredrik Fornwall
40534bae4b ndk-sysroot: Setup librt&libpthread symlinks
The librt and libpthread libraries are built into libc on Android
and does not exist as separate libraries.

We now set them up as symlinks to libc for compatibility.

Fixes #403.
2016-08-19 09:25:48 -04:00
Fredrik Fornwall
817dedcd67 ndk-sysroot: Bump revision after fd_mask patch 2016-07-24 07:31:35 -04:00