Fredrik Fornwall
768ce14ecc
Replace gcc with clang
Only clang has official support for Android, and trying to maintain
a working gcc will only get messier over time.
Remove gcc and g++ packages, and setup gcc and g++ as symlinks to
clang.
Let clang replace gcc, but note that 'apt dist-upgrade' needs to
be run once if a user has both clang and gcc installed.
Fixes #369 .
8 years ago
Fredrik Fornwall
3f300a10fc
Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.
Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
8 years ago
Fredrik Fornwall
be0684c0d7
Export PREFIX in build-package.sh ( fixes #327 )
9 years ago
Fredrik Fornwall
e45652b2c6
Switch to bintray mirror for imagemagick&picolisp
9 years ago
Fredrik Fornwall
ed66b8ab12
Try downloads for longer time before giving up
9 years ago
Fredrik Fornwall
200e43d479
Pass -q to unzip
9 years ago
Fredrik Fornwall
280ccd42ef
Wait longer before a repeated download attempt
9 years ago
Fredrik Fornwall
b0c4601465
Fix use of unbound variable
9 years ago
Fredrik Fornwall
9a104bdae4
Make is possible to blacklist arch in a pkg
9 years ago
Fredrik Fornwall
382cfb780c
Update SDK build tools to 24.0.1
9 years ago
Fredrik Fornwall
28dc0ace4f
Enable -dev package dependencies
9 years ago
Fredrik Fornwall
f9129b8c77
build-package.sh: Avoid warning on x86-64 build
9 years ago
Fredrik Fornwall
a1a5843668
Fix building arm standalone toolchain
Also build a toolchain to a temporary directory first, to avoid
ending up with a broken (unpatched) toolchain if something goes
wrong.
Fixes #317 .
9 years ago
Fredrik Fornwall
ed021630df
Fixes for building on a mac
9 years ago
Fredrik Fornwall
202ed9d3b3
Update to use NDK r12
9 years ago
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.
9 years ago
Fredrik Fornwall
19fb617a98
build-package.sh: Fix termux_download placement
9 years ago
Fredrik Fornwall
32db9f332b
build-package.sh: Wrap curl download
9 years ago
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.
9 years ago
Fredrik Fornwall
31309df7e2
build-package.sh: Stop using arm hard float ABI
This is being removed in the NDK (and will fix some issues):
https://android.googlesource.com/platform/ndk/+/master/docs/HardFloatAbi.md
9 years ago
Fredrik Fornwall
bb5cfa8c9d
picolisp: Minor update and buildable using clang
9 years ago
Fredrik Fornwall
9462fe8257
ndk_patches: Take elf.h from the NDK
9 years ago
Fredrik Fornwall
46de1c2b41
ndk_patches: Remove sha1.h
9 years ago
Fredrik Fornwall
59ff7c032a
ndk_patches: Remove JNIHelp.h
9 years ago
Fredrik Fornwall
d4e4fb87b1
Update go version used for building
9 years ago
Fredrik Fornwall
dc6476e9ea
build-package.sh: Allow @TERMUX_HOME@ in patches
9 years ago
Fredrik Fornwall
0ae97c5e98
termux-tools: Quote $@ when sending from wrappers
Fixes https://github.com/termux/termux-api/issues/18
9 years ago
Fredrik Fornwall
99dd1a492e
Update comment about 64-bit arches
9 years ago
Fredrik Fornwall
a0c80d57cb
emacs: Do not strip away info pages ( closes #194 )
9 years ago
Fredrik Fornwall
2572f2bcff
Update go used for building go packages
9 years ago
Fredrik Fornwall
4432ca976c
build-package.sh: Add symlinks to sub-packages
9 years ago
Fredrik Fornwall
f37532bb8d
build-package.sh: Only fix shebangs on first line
9 years ago
Fredrik Fornwall
c8b6264e23
Make it possible to build packages with clang
9 years ago
Fredrik Fornwall
92dcdb446d
Do not run termux-elf-cleaner on debug builds
9 years ago
Fredrik Fornwall
d6012486a5
Remove rpl_gettimeofday wrapping
9 years ago
Fredrik Fornwall
c30d38226b
Initial stab at NDK r11 support
9 years ago
Fredrik Fornwall
494260c50d
golang: Update to 1.6 final
9 years ago
Fredrik Fornwall
fb45772b84
Pre-create $PREFIX/include/
This is useful is directly building a package depending on the folder
to exist.
9 years ago
Fredrik Fornwall
b96b5b147c
Switch from control.tar.gz to control.tar.xz
9 years ago
Fredrik Fornwall
475a14a371
golang: Update from 1.6beta1 to 1.6beta2
9 years ago
Fredrik Fornwall
f6a562876b
Remove duplication of golang setup
9 years ago
Fredrik Fornwall
1931a64d98
Make install-sdk.sh not assume android is in $PATH
Also update the build-tools to latest 23.0.2
9 years ago
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).
9 years ago
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
9 years ago
Fredrik Fornwall
2c1aa5586a
build-package.sh: Do steps in right order
9 years ago
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
9 years ago
Fredrik Fornwall
ad04b25a80
build-package.sh: Make -dev packages conflict
9 years ago
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 .
9 years ago
Fredrik Fornwall
5822f92030
git: Use $PREFIX/bin/sh instead of /system/bin/sh
9 years ago
Fredrik Fornwall
73f9ed9b54
Add rpath-link parameter for aarch64 build
9 years ago