termux-packages
6 years agoIntroduce TERMUX_PKG_API_LEVEL
Fredrik Fornwall [Sun, 9 Jul 2017 19:22:49 +0000 (21:22 +0200)]
Introduce TERMUX_PKG_API_LEVEL

By setting the TERMUX_PKG_API_LEVEL property to an android api
level packages can build against later API levels than the current
Termux default of 21.

6 years agovim: -Werror=implicit-function-declaration
Fredrik Fornwall [Sun, 9 Jul 2017 18:43:06 +0000 (20:43 +0200)]
vim: -Werror=implicit-function-declaration

6 years agovim: Update from 8.0.0675 to 8.0.0704
Fredrik Fornwall [Sun, 9 Jul 2017 18:41:25 +0000 (20:41 +0200)]
vim: Update from 8.0.0675 to 8.0.0704

Also tidy up formatting a bit.

6 years agoglib: -Werror=implicit-function-declaration
Fredrik Fornwall [Sun, 9 Jul 2017 18:40:41 +0000 (20:40 +0200)]
glib: -Werror=implicit-function-declaration

6 years agosubversion: Update from 1.9.5 to 1.9.6
Fredrik Fornwall [Sat, 8 Jul 2017 20:29:46 +0000 (22:29 +0200)]
subversion: Update from 1.9.5 to 1.9.6

6 years agolibuv: Update from 1.13.0 to 1.13.1
Fredrik Fornwall [Sat, 8 Jul 2017 20:29:06 +0000 (22:29 +0200)]
libuv: Update from 1.13.0 to 1.13.1

6 years agoutil-linux: Depend on libcrypt
Fredrik Fornwall [Fri, 7 Jul 2017 10:51:16 +0000 (12:51 +0200)]
util-linux: Depend on libcrypt

6 years agoDockerfile: Do not remove non android-21 platforms
Fredrik Fornwall [Fri, 7 Jul 2017 10:23:13 +0000 (12:23 +0200)]
Dockerfile: Do not remove non android-21 platforms

6 years agognutls: Update from 3.5.13 to 3.5.14
Fredrik Fornwall [Fri, 7 Jul 2017 10:23:00 +0000 (12:23 +0200)]
gnutls: Update from 3.5.13 to 3.5.14

6 years agoncurses: We really need --with-pkg-config-libdir
Fredrik Fornwall [Fri, 7 Jul 2017 10:22:28 +0000 (12:22 +0200)]
ncurses: We really need --with-pkg-config-libdir

6 years agomultitail: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 08:51:23 +0000 (10:51 +0200)]
multitail: -Werror=implicit-function-declaration

6 years agoless: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 08:51:06 +0000 (10:51 +0200)]
less: -Werror=implicit-function-declaration

6 years agogtypist: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 08:36:51 +0000 (10:36 +0200)]
gtypist: -Werror=implicit-function-declaration

6 years agolibnettle: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 08:28:14 +0000 (10:28 +0200)]
libnettle: -Werror=implicit-function-declaration

6 years agodialog: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 07:24:15 +0000 (09:24 +0200)]
dialog: -Werror=implicit-function-declaration

6 years agocscope: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 07:17:23 +0000 (09:17 +0200)]
cscope: -Werror=implicit-function-declaration

6 years agobvi: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 07:13:34 +0000 (09:13 +0200)]
bvi: -Werror=implicit-function-declaration

6 years agobrogue: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 07:10:25 +0000 (09:10 +0200)]
brogue: -Werror=implicit-function-declaration

6 years agozip: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 07:02:55 +0000 (09:02 +0200)]
zip: -Werror=implicit-function-declaration

6 years agolibjasper: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 07:02:01 +0000 (09:02 +0200)]
libjasper: -Werror=implicit-function-declaration

6 years agounzip: Clean build a little
Fredrik Fornwall [Fri, 7 Jul 2017 06:48:26 +0000 (08:48 +0200)]
unzip: Clean build a little

6 years agowol: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 06:20:02 +0000 (08:20 +0200)]
wol: -Werror=implicit-function-declaration

6 years agosetup-ubuntu.sh: Install libgnutls-dev
Fredrik Fornwall [Fri, 7 Jul 2017 01:58:32 +0000 (03:58 +0200)]
setup-ubuntu.sh: Install libgnutls-dev

Needed for building mariadb

6 years agoDrop -D_FILE_OFFSET_BITS=64 support for now
Fredrik Fornwall [Fri, 7 Jul 2017 01:52:46 +0000 (03:52 +0200)]
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>.

6 years agondk-patches: Use @TERMUX_PREFIX@
Fredrik Fornwall [Fri, 7 Jul 2017 01:29:49 +0000 (03:29 +0200)]
ndk-patches: Use @TERMUX_PREFIX@

6 years agoprivoxy: Specify TERMUX_PKG_KEEP_SHARE_DOC (#1117)
Fredrik Fornwall [Fri, 7 Jul 2017 01:02:23 +0000 (03:02 +0200)]
privoxy: Specify TERMUX_PKG_KEEP_SHARE_DOC (#1117)

6 years agounzip: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 00:52:33 +0000 (02:52 +0200)]
unzip: -Werror=implicit-function-declaration

6 years agottyrec: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 00:29:28 +0000 (02:29 +0200)]
ttyrec: -Werror=implicit-function-declaration

6 years agosharutils: -Werror=implicit-function-declaration
Fredrik Fornwall [Fri, 7 Jul 2017 00:22:58 +0000 (02:22 +0200)]
sharutils: -Werror=implicit-function-declaration

6 years agopv: Update from 1.6.0 to 1.6.6
Fredrik Fornwall [Fri, 7 Jul 2017 00:07:06 +0000 (02:07 +0200)]
pv: Update from 1.6.0 to 1.6.6

Also fix -Werror=implicit-function-declaration.

6 years agolibuuid: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 23:49:16 +0000 (01:49 +0200)]
libuuid: -Werror=implicit-function-declaration

6 years agolibtalloc: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 23:32:23 +0000 (01:32 +0200)]
libtalloc: -Werror=implicit-function-declaration

6 years agolibpcap: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 23:16:06 +0000 (01:16 +0200)]
libpcap: -Werror=implicit-function-declaration

6 years agolibevent: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 23:05:34 +0000 (01:05 +0200)]
libevent: -Werror=implicit-function-declaration

6 years agokona: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 22:57:20 +0000 (00:57 +0200)]
kona: -Werror=implicit-function-declaration

6 years agodaemonize: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 22:34:47 +0000 (00:34 +0200)]
daemonize: -Werror=implicit-function-declaration

6 years agocoreutils: -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 22:31:19 +0000 (00:31 +0200)]
coreutils: -Werror=implicit-function-declaration

6 years agobusybox: Fix -Werror=implicit-function-declaration
Fredrik Fornwall [Thu, 6 Jul 2017 22:30:54 +0000 (00:30 +0200)]
busybox: Fix -Werror=implicit-function-declaration

6 years agolibuv: Update from 1.12.0 to 1.13.0
Fredrik Fornwall [Thu, 6 Jul 2017 21:47:52 +0000 (23:47 +0200)]
libuv: Update from 1.12.0 to 1.13.0

6 years agollvm&clang: Update from 4.0.0 to 4.0.1
Fredrik Fornwall [Tue, 4 Jul 2017 11:45:47 +0000 (13:45 +0200)]
llvm&clang: Update from 4.0.0 to 4.0.1

6 years agomariadb: Bump revision after ndk header fix
Fredrik Fornwall [Sun, 2 Jul 2017 23:29:59 +0000 (01:29 +0200)]
mariadb: Bump revision after ndk header fix

6 years agoopenssh: Bump revision with unified headers
Fredrik Fornwall [Sun, 2 Jul 2017 23:28:56 +0000 (01:28 +0200)]
openssh: Bump revision with unified headers

Fixes #902 as _FILE_OFFSET_BITS=64 is now supported in the unified
headers.

6 years agocoreutils: Bump revision after unified headers
Fredrik Fornwall [Sun, 2 Jul 2017 23:28:41 +0000 (01:28 +0200)]
coreutils: Bump revision after unified headers

6 years agoFix incorrect struct __sFILE
Fredrik Fornwall [Sun, 2 Jul 2017 23:27:32 +0000 (01:27 +0200)]
Fix incorrect struct __sFILE

The __sFILE struct cannot change size when _FILE_OFFSET_BITS=64
is set as it is an API into libc.

6 years agomariadb: Fix i686 build with libatomic
Fredrik Fornwall [Sun, 2 Jul 2017 19:41:14 +0000 (21:41 +0200)]
mariadb: Fix i686 build with libatomic

6 years agomariadb: Bump revision, set INSTALL_SBINDIR
Fredrik Fornwall [Sun, 2 Jul 2017 11:57:36 +0000 (13:57 +0200)]
mariadb: Bump revision, set INSTALL_SBINDIR

6 years agoRemove pty.h from libutil-dev
Fredrik Fornwall [Sun, 2 Jul 2017 09:56:40 +0000 (11:56 +0200)]
Remove pty.h from libutil-dev

Instead let ndk-sysroot provide it.

6 years agocoreutils: Avoid installing uptime
Fredrik Fornwall [Sun, 2 Jul 2017 09:37:59 +0000 (11:37 +0200)]
coreutils: Avoid installing uptime

Uptime is provided by procps-ng.

6 years agobuild-package.sh: pkg-config and gnulib updates
Fredrik Fornwall [Sun, 2 Jul 2017 09:37:35 +0000 (11:37 +0200)]
build-package.sh: pkg-config and gnulib updates

Avoid setting PKG_CONFIG_LIBDIR until after host build.

Avoid more of gnulib.

6 years agoncurses: Format configure args
Fredrik Fornwall [Sun, 2 Jul 2017 09:21:08 +0000 (11:21 +0200)]
ncurses: Format configure args

Also remove --with-pkg-config-libdir which is not necessary when
already having set the PKG_CONFIG_LIBDIR environment variable.

6 years agotmux: Include <stdlib.h> for getprogname()
Fredrik Fornwall [Sun, 2 Jul 2017 09:18:52 +0000 (11:18 +0200)]
tmux: Include <stdlib.h> for getprogname()

After switching to unified headers,  <stdlib.h> was not included
indirectly in compat/setproctitle.c. This caused it to be implicitly
declared to return int and caused a segfault.

6 years agoDrop more res_init() patches
Fredrik Fornwall [Sat, 1 Jul 2017 06:53:30 +0000 (08:53 +0200)]
Drop more res_init() patches

6 years agoweechat: Drop res_init() patches
Fredrik Fornwall [Sat, 1 Jul 2017 06:46:42 +0000 (08:46 +0200)]
weechat: Drop res_init() patches

They are no longer needed with unified headers.

6 years agoremove unnecessary patches and enable mariadb for arm and i686 (#1115)
Vishal Biswas [Sat, 1 Jul 2017 06:44:49 +0000 (12:14 +0530)]
remove unnecessary patches and enable mariadb for arm and i686 (#1115)

* krb5: res_init and res_search prototypes are now declared

* mariadb: snprintf is no longer a macro

* mariadb: enable arm, i686

6 years agopackages/ldc -> disabled-packages/ldc
Fredrik Fornwall [Sat, 1 Jul 2017 00:43:26 +0000 (02:43 +0200)]
packages/ldc -> disabled-packages/ldc

6 years agoldc: add package (#1078)
joakim-noah [Sat, 1 Jul 2017 00:43:00 +0000 (06:13 +0530)]
ldc: add package (#1078)

6 years agolibllvm: add llvm-config helper script (#917)
Vishal Biswas [Sat, 1 Jul 2017 00:41:21 +0000 (06:11 +0530)]
libllvm: add llvm-config helper script (#917)

* libllvm: add llvm-config helper script

* libllvm: add components to llvm-config wrapper

* libllvm: restructure llvm-config.in

* libllvm: remove unsupported gcc flags from llvm-config

* libllvm: use full libfile path for --libs

* libllvm: fix has_rtti in llvm-config

* libllvm: add cmake files path in llvm-config

6 years agoPatch <android/api-level.h> for default api level
Fredrik Fornwall [Sat, 1 Jul 2017 00:25:36 +0000 (02:25 +0200)]
Patch <android/api-level.h> for default api level

6 years agoPatch stdlib.h to include stdint.h
Fredrik Fornwall [Fri, 30 Jun 2017 23:54:44 +0000 (01:54 +0200)]
Patch stdlib.h to include stdint.h

Fixes graphviz build.

6 years agopick: Update from 1.6.1 to 1.7.0
Fredrik Fornwall [Fri, 30 Jun 2017 23:06:23 +0000 (01:06 +0200)]
pick: Update from 1.6.1 to 1.7.0

6 years agoopus-tools: Update from 0.1.9 to 0.1.10
Fredrik Fornwall [Fri, 30 Jun 2017 23:06:11 +0000 (01:06 +0200)]
opus-tools: Update from 0.1.9 to 0.1.10

6 years agolibopus: Update from 1.1.5 to 1.2.1
Fredrik Fornwall [Fri, 30 Jun 2017 23:05:57 +0000 (01:05 +0200)]
libopus: Update from 1.1.5 to 1.2.1

6 years agolzop: Switch for fossies.org for src
Fredrik Fornwall [Fri, 30 Jun 2017 22:54:18 +0000 (00:54 +0200)]
lzop: Switch for fossies.org for src

6 years agosubversion: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 22:42:55 +0000 (00:42 +0200)]
subversion: Fix building with unified headers

6 years agoAdd scripts/setup-archlinux.sh similar to setup-ubuntu.sh (#1098)
pvagner [Fri, 30 Jun 2017 22:39:28 +0000 (00:39 +0200)]
Add scripts/setup-archlinux.sh similar to setup-ubuntu.sh (#1098)

6 years agoapt: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 22:32:45 +0000 (00:32 +0200)]
apt: Fix building with unified headers

6 years agonewsbeuter: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 22:15:06 +0000 (00:15 +0200)]
newsbeuter: Fix building with unified headers

6 years agoSwitch over to building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 22:04:02 +0000 (00:04 +0200)]
Switch over to building with unified headers

6 years agoserf: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 21:59:52 +0000 (23:59 +0200)]
serf: Fix building with unified headers

6 years agotorsocks: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 21:39:32 +0000 (23:39 +0200)]
torsocks: Fix building with unified headers

6 years agoemacs: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 21:39:25 +0000 (23:39 +0200)]
emacs: Fix building with unified headers

6 years agoRequired NDK r15b
Fredrik Fornwall [Fri, 30 Jun 2017 21:32:04 +0000 (23:32 +0200)]
Required NDK r15b

6 years agomariadb: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 21:20:36 +0000 (23:20 +0200)]
mariadb: Fix building with unified headers

6 years agoopenssh: Fix building with unified headers
Fredrik Fornwall [Fri, 30 Jun 2017 20:55:31 +0000 (22:55 +0200)]
openssh: Fix building with unified headers

6 years agoNDK unified headers patch for string.h
Fredrik Fornwall [Fri, 30 Jun 2017 20:22:17 +0000 (22:22 +0200)]
NDK unified headers patch for string.h

See https://github.com/android-ndk/ndk/issues/440

Fixes gdb build with unified headers.

6 years agogl_cv_func_realpath_works=yes in build-package.sh
Fredrik Fornwall [Fri, 30 Jun 2017 19:41:25 +0000 (21:41 +0200)]
gl_cv_func_realpath_works=yes in build-package.sh

6 years agoscreen: Depend on libutil
Fredrik Fornwall [Fri, 30 Jun 2017 19:30:15 +0000 (21:30 +0200)]
screen: Depend on libutil

6 years agoupdates and fixes for unified headers (#1114)
Vishal Biswas [Fri, 30 Jun 2017 19:30:04 +0000 (01:00 +0530)]
updates and fixes for unified headers (#1114)

* openjdk: update to tag 172

* openjdk: update to tag 174

* valac: update from 0.36.3 to 0.36.4

* squid: fix building with unified headers

* krb5: fix building with unified headers

* tor: update from 0.3.0.8 to 0.3.0.9

6 years agosox: Fix building with unified headers
Fredrik Fornwall [Thu, 29 Jun 2017 10:51:38 +0000 (12:51 +0200)]
sox: Fix building with unified headers

6 years agoscreen: Update from 4.5.1 to 4.6.0
Fredrik Fornwall [Thu, 29 Jun 2017 10:50:55 +0000 (12:50 +0200)]
screen: Update from 4.5.1 to 4.6.0

6 years agow3m: Fix ubilding with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 23:06:46 +0000 (01:06 +0200)]
w3m: Fix ubilding with unified headers

6 years agoutil-linux: Fix building with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 23:06:34 +0000 (01:06 +0200)]
util-linux: Fix building with unified headers

6 years agoUnified headers: Update pwd.h patch
Fredrik Fornwall [Wed, 28 Jun 2017 22:03:16 +0000 (00:03 +0200)]
Unified headers: Update pwd.h patch

6 years agopsmisc: Fix build with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 22:02:35 +0000 (00:02 +0200)]
psmisc: Fix build with unified headers

6 years agoprocps: Fix build with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 22:02:18 +0000 (00:02 +0200)]
procps: Fix build with unified headers

6 years agoaapt: Fix building with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 13:43:54 +0000 (15:43 +0200)]
aapt: Fix building with unified headers

6 years agodarkhttpd: Switch to fossies for download
Fredrik Fornwall [Wed, 28 Jun 2017 13:43:44 +0000 (15:43 +0200)]
darkhttpd: Switch to fossies for download

6 years agoproot: Fix building with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 12:03:20 +0000 (14:03 +0200)]
proot: Fix building with unified headers

6 years agovalgrind: Update from 3.12.0 to 3.13.0
Fredrik Fornwall [Wed, 28 Jun 2017 10:09:23 +0000 (12:09 +0200)]
valgrind: Update from 3.12.0 to 3.13.0

6 years agoperl: Fix building with unified headers
Fredrik Fornwall [Wed, 28 Jun 2017 09:49:23 +0000 (11:49 +0200)]
perl: Fix building with unified headers

6 years agobusybox: Patch to build with clang
Fredrik Fornwall [Tue, 27 Jun 2017 21:38:16 +0000 (23:38 +0200)]
busybox: Patch to build with clang

6 years agomicro: Update src checksum
Fredrik Fornwall [Tue, 27 Jun 2017 21:37:22 +0000 (23:37 +0200)]
micro: Update src checksum

See https://github.com/zyedidia/micro/issues/713:

"I have also uploaded new source tarballs that contain the
correct versions for 1.2.0."

6 years agoFix building with gcc and unified headers
Fredrik Fornwall [Tue, 27 Jun 2017 21:27:55 +0000 (23:27 +0200)]
Fix building with gcc and unified headers

6 years agolibandroid-shmem: Fix building w. unified headers
Fredrik Fornwall [Tue, 27 Jun 2017 13:14:39 +0000 (15:14 +0200)]
libandroid-shmem: Fix building w. unified headers

6 years agolibandroid-glob: Fix building with unified headers
Fredrik Fornwall [Tue, 27 Jun 2017 11:35:14 +0000 (13:35 +0200)]
libandroid-glob: Fix building with unified headers

6 years agofindutils: Fix building with unified headers
Fredrik Fornwall [Mon, 26 Jun 2017 12:15:28 +0000 (14:15 +0200)]
findutils: Fix building with unified headers

6 years agoUpdates on unified headers
Fredrik Fornwall [Mon, 26 Jun 2017 12:15:01 +0000 (14:15 +0200)]
Updates on unified headers

6 years agoNo need to patch dlfcn.h with unified headers
Fredrik Fornwall [Mon, 26 Jun 2017 07:33:22 +0000 (09:33 +0200)]
No need to patch dlfcn.h with unified headers

6 years agoBuild with gl_cv_C_locale_sans_EILSEQ=yes
Fredrik Fornwall [Sun, 25 Jun 2017 22:05:20 +0000 (00:05 +0200)]
Build with gl_cv_C_locale_sans_EILSEQ=yes

Fixes #1099 by rebuilding grep with this configure variable.

6 years agotexinfo: Build with --disable-perl-xs
Fredrik Fornwall [Sun, 25 Jun 2017 20:46:53 +0000 (22:46 +0200)]
texinfo: Build with --disable-perl-xs