Commit Graph

23 Commits

Author SHA1 Message Date
Fredrik Fornwall a005794323 Tweak build script and docker setup
- Output deb files to debs/ folder by default.
- Use $HOME/.termux-build for build folder by default (changed
  from previous $HOME/termux).
- Make scripts/run-docker.sh re-use a single container instead of
  creating new ones for each run.
- Avoid mounting the whole Termux build folder in docker. This
  fixes #294, mmap not supported host folders under OS X.
- Add a scripts/update-docker.sh utility for checking for an
  updated docker image..
- Make build-package.sh support the [-a ARCH] flag to specify arch.
- Make aarch64 the default arch (from previous arm).
- Try to improve the README a bit.
2016-06-03 18:41:30 -04:00
Fredrik Fornwall 88183689ef Build and docker updates 2016-05-27 18:24:50 -04:00
Fredrik Fornwall 3c323c69ae Docker and build updates
- Update to build on ubuntu 16.04.
- Docker: Set FORCE_UNSAFE_CONFIGURE=1. Fixes #275.
- Docker: Various fixes.
- Neovim: No longer require lua.
- Some minor package updates.
2016-05-24 18:38:29 -04:00
Fredrik Fornwall 29db5b3542 Update README section about dlfcn.h 2016-04-23 17:50:20 -04:00
Fredrik Fornwall c30d38226b Initial stab at NDK r11 support 2016-03-10 12:01:58 +01:00
Fredrik Fornwall 4edf999291 Update README.md 2016-01-13 01:30:41 +01:00
Fredrik Fornwall 006983b20d Update README.md 2016-01-13 01:29:13 +01:00
Fredrik Fornwall 5b9b57e367 Add gitter chat badge to README 2016-01-13 01:28:47 +01:00
Fredrik Fornwall bf13a2442a Update README to use ubuntu 15.10 2015-12-27 06:59:45 -05:00
Fredrik Fornwall 150f95af27 Fix rpl_malloc when cross compiling
Work around rpl_malloc being used, see
http://wiki.buici.com/xwiki/bin/view/Programing+C+and+C%2B%2B/Autoconf+and+RPL_MALLOC
for more information:

"The AC_FUNC_MALLOC macro makes sure that the malloc function when passed a zero
argument returns a valid memory block instead of a NULL pointer. This behaviour
conforms to the GNU C library.  Normally, this is a reasonable test that autoconf
makes at build-time. In the case of cross-compilation, however, autoconf cannot
execute a program to verify proper behavior.  It makes the conservative assumption
that the target library will produce non-conforming code.

Failure of this test causes autconf to replace malloc() calls with rpl_malloc()
calls. At link time, if there is no rpl_malloc() function, the linker will fail
with an error describing the missing symbol. The autoconf documentation recommends
adding this harmless code to the application to implement the function."

In Termux the rpl_malloc() usage is useless at best, and may also prevent building
some packages as well as giving runtime crashes for libgc-using packages or others
expecting to intercept malloc.

Previously some packages specified worked around this themselves, but the configure
arguments are now moved into build-package.sh.
2015-11-15 16:04:37 -05:00
Alex Cornejo 5e8045c9bf add Dockerfile to repository 2015-10-10 23:58:11 -07:00
Fredrik Fornwall a7dfa85f26 Add license note 2015-10-06 23:20:37 +02:00
Fredrik Fornwall c2d4c0a9c3 Fix typo in README.m 2015-09-16 10:31:49 -04:00
Fredrik Fornwall 26421f21a3 Strip away information from README 2015-08-09 20:38:04 +02:00
Fredrik Fornwall 1773070cde Update README.md 2015-07-28 01:25:56 +02:00
Fredrik Fornwall 6dab206295 Update README.md 2015-07-27 22:32:26 +02:00
Fredrik Fornwall 3b8f4313d9 Update README.md 2015-07-27 22:30:44 +02:00
Fredrik Fornwall e419d02dea Update README.md 2015-07-27 22:26:03 +02:00
Fredrik Fornwall 1ddf17286f Update README.md 2015-07-27 22:25:46 +02:00
Fredrik Fornwall 9ecaa95ded Update README.md 2015-07-27 22:24:04 +02:00
Fredrik Fornwall a9abb52055 Add notes about emulator ssh access 2015-07-04 14:48:58 +02:00
Fredrik Fornwall 798619b91c Initial push 2015-06-13 01:03:17 +02:00
Fredrik Fornwall a730abe6e0 Initial commit 2015-06-12 23:48:33 +02:00