Commit Graph

45 Commits

Author SHA1 Message Date
Fredrik Fornwall
bb5cfa8c9d picolisp: Minor update and buildable using clang 2016-05-18 10:24:22 -04:00
Fredrik Fornwall
9462fe8257 ndk_patches: Take elf.h from the NDK 2016-05-08 16:26:15 -04:00
Fredrik Fornwall
46de1c2b41 ndk_patches: Remove sha1.h 2016-05-08 16:08:51 -04:00
Fredrik Fornwall
59ff7c032a ndk_patches: Remove JNIHelp.h 2016-05-08 16:04:56 -04:00
Fredrik Fornwall
d4e4fb87b1 Update go version used for building 2016-04-29 18:42:42 -04:00
Fredrik Fornwall
dc6476e9ea build-package.sh: Allow @TERMUX_HOME@ in patches 2016-04-19 17:05:07 -04:00
Fredrik Fornwall
0ae97c5e98 termux-tools: Quote $@ when sending from wrappers
Fixes https://github.com/termux/termux-api/issues/18
2016-04-19 10:28:08 -04:00
Fredrik Fornwall
99dd1a492e Update comment about 64-bit arches 2016-04-19 07:36:11 -04:00
Fredrik Fornwall
a0c80d57cb emacs: Do not strip away info pages (closes #194) 2016-04-14 20:47:04 -04:00
Fredrik Fornwall
2572f2bcff Update go used for building go packages 2016-04-13 17:53:10 -04:00
Fredrik Fornwall
4432ca976c build-package.sh: Add symlinks to sub-packages 2016-03-18 16:39:23 -04:00
Fredrik Fornwall
f37532bb8d build-package.sh: Only fix shebangs on first line 2016-03-17 11:38:33 -04:00
Fredrik Fornwall
c8b6264e23 Make it possible to build packages with clang 2016-03-13 17:59:15 -04:00
Fredrik Fornwall
92dcdb446d Do not run termux-elf-cleaner on debug builds 2016-03-12 15:39:17 -05:00
Fredrik Fornwall
d6012486a5 Remove rpl_gettimeofday wrapping 2016-03-10 15:18:21 -05:00
Fredrik Fornwall
c30d38226b Initial stab at NDK r11 support 2016-03-10 12:01:58 +01:00
Fredrik Fornwall
494260c50d golang: Update to 1.6 final 2016-02-17 22:41:22 -05:00
Fredrik Fornwall
fb45772b84 Pre-create $PREFIX/include/
This is useful is directly building a package depending on the folder
to exist.
2016-01-21 09:31:00 -05:00
Fredrik Fornwall
b96b5b147c Switch from control.tar.gz to control.tar.xz 2016-01-17 17:57:15 -05:00
Fredrik Fornwall
475a14a371 golang: Update from 1.6beta1 to 1.6beta2 2016-01-14 18:57:13 -05:00
Fredrik Fornwall
f6a562876b Remove duplication of golang setup 2016-01-10 19:45:41 -05:00
Fredrik Fornwall
1931a64d98 Make install-sdk.sh not assume android is in $PATH
Also update the build-tools to latest 23.0.2
2016-01-08 20:39:09 -05:00
Fredrik Fornwall
d6fcd836c6 Avoid enabling gnulib fcntl wrapper
This lessens bloat and fixes 64-bit compiles (the gnulib fcntl
wrapper uses getdtablesize() which does not exist for 64-bit).
2016-01-03 08:48:50 -05:00
Fredrik Fornwall
4fd853fc3e build-package.sh: Use deb naming convention
"The Debian binary package file names conform to the following convention:
<foo>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb"
- https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-pkgname
2015-12-27 01:54:03 -05:00
Fredrik Fornwall
2c1aa5586a build-package.sh: Do steps in right order 2015-12-20 20:47:48 -05:00
Fredrik Fornwall
3a189d898c Update go handling
- Use 1.6beta1 for host build
- Download host build tool when needed
- Re-build asciinema with 1.6beta1 to avoid relocation warnings
2015-12-20 12:02:59 -05:00
Fredrik Fornwall
ad04b25a80 build-package.sh: Make -dev packages conflict 2015-12-15 20:13:17 -05:00
Iain Nicol
d2dfadf1f2 Disable gnulib's rpl_getcwd() across all packages
This works around a bug in said function which was affecting zile.
Fixes #76.
2015-12-06 18:00:19 +00:00
Fredrik Fornwall
5822f92030 git: Use $PREFIX/bin/sh instead of /system/bin/sh 2015-12-02 06:24:10 -05:00
Fredrik Fornwall
73f9ed9b54 Add rpath-link parameter for aarch64 build 2015-12-01 20:32:45 -05:00
Fredrik Fornwall
6c2692459b Change how configure is called 2015-11-17 14:21:55 -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
Fredrik Fornwall
7ad250059b libxml2-dev: Add bin/xml2-config
Introduce TERMUX_PKG_INCLUDE_IN_DEVPACKAGE as a method of
specifying additional files for -dev packages, and use that to
add bin/xml2-config (which is needed to e.g. install the python
lxml package) to libxml2-dev.

Should fix https://github.com/termux/termux-app/issues/8

Also change subpackage containing xmllint to libxml2-utils to
match debian.
2015-11-13 22:47:05 -05:00
Fredrik Fornwall
637f22d133 Remove DT_VERDEF and DT_VERDEFNUM elf entries
This fixes Android 6 problems (so closes #26).

It also rebuilds termux-elf-cleaner when needed
and bumps some build revisions for packages
needed updates to remove DT_VERDEF and DT_VERDEFNUM.
2015-10-13 15:48:40 -04:00
Fredrik Fornwall
a8c61c7d20 Add TERMUX_PKG_CONFLICTS support 2015-09-14 20:13:29 -04:00
Fredrik Fornwall
f1cb02a4b1 build-package.sh fix for termux_step_post_massage 2015-08-19 21:21:38 -04:00
Fredrik Fornwall
58235144ca build-package.sh: Run elf-cleaner with pipefail 2015-08-19 07:50:08 -04:00
Fredrik Fornwall
5e867f5831 Update to android build-tools 23.0.0 2015-08-18 05:33:53 -04:00
Fredrik Fornwall
cd83eaf669 build-package.sh: Create $PREFIX/libexec 2015-08-14 14:42:04 -04:00
Fredrik Fornwall
6171fc8a27 build-package.sh: Setup $TERMUX_PREFIX/etc as well 2015-08-06 19:55:34 -04:00
Fredrik Fornwall
f643ff600c Teach build-package.sh to take path to packages 2015-07-27 17:20:14 -04:00
Fredrik Fornwall
4e963c626f Extract out ubuntu-setup.sh 2015-07-27 16:12:06 -04:00
Fredrik Fornwall
8f7dda8321 Work against 64-bit builds 2015-06-25 06:36:03 -04:00
Fredrik Fornwall
fef735eaee Better toolchain name handling 2015-06-22 19:48:10 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00