Commit Graph

848 Commits

Author SHA1 Message Date
Fredrik Fornwall
da1fd85742 setup-ubuntu.sh: Remove yasm as it's in the NDK 2017-01-23 00:05:20 +01:00
Fredrik Fornwall
e59984067b Use non-root user when using docker
We now use a non-root user when building packages using a docker
container. This allows detecting misconfigured packages which try
to install files outside of $TERMUX_PREFIX or otherwise mess with
the system during a build.
2017-01-22 23:13:48 +01:00
Fredrik Fornwall
1006361f98 setup-ubuntu.sh: Remove two unnecessary packages 2017-01-22 22:32:41 +01:00
Fredrik Fornwall
b9b9b2067b Update the Vagrantfile to ubuntu 16.10
This is completely untested.
2017-01-18 02:51:17 +01:00
Fredrik Fornwall
cdb97c0b10 Update to latest config.{guess,sub} 2017-01-18 01:02:18 +01:00
Fredrik Fornwall
154bc46225 lua: Add and replace luajit
luajit is rather complex and lacking upstream maintenance.
2017-01-18 01:02:18 +01:00
Fredrik Fornwall
07884eae94 Fix arm issue with clang-pie-wrapper
We need to wrap arm-linux-androideabi, not arm-linux-android.

Also, specify armv7a as clang cpu target and not just arm.
2017-01-17 17:31:24 +01:00
Fredrik Fornwall
b4a6e58893 golang: Use clang for native build 2017-01-16 11:13:38 +01:00
Vishal Biswas
bd3e679c7d fix clang cmake build left broken for arches other than aarch64 by #2f0de58717 (#677) 2017-01-16 08:48:23 +01:00
Fredrik Fornwall
2f0de58717 Use clang by default through a script wrapper
The script wrapper ensures that position-independent executables
are built without having to modify any build system.
2017-01-15 21:13:22 +01:00
Fredrik Fornwall
60a26b9f4c setup-ubuntu.sh: Remove cmake, add python3.6 2017-01-15 19:44:15 +01:00
Fredrik Fornwall
65512d6058 Dockerfile: Update from ubuntu 16.04 to 16.10 2017-01-15 19:43:49 +01:00
Fredrik Fornwall
ef98cf1c18 Add (currently unused) build-clang.sh script 2017-01-15 19:38:21 +01:00
Fredrik Fornwall
4e8d7d1e42 buildorder.py: Open files with encoding=utf-8
This makes us not depend on the current environment. Fixes #665.
2017-01-09 05:26:31 -05:00
Fredrik Fornwall
e65ab762d3 buildorder.py: Better error message 2017-01-08 07:37:43 -05:00
Fredrik Fornwall
74b5c53c18 valac: Depend on clang, glib-dev, pkg-config
As mentioned in #644.
2017-01-03 17:46:59 -05:00
casept
8a0da1ad11 Add vagrant (#642) 2017-01-03 19:05:15 +01:00
Fredrik Fornwall
539d9e6ab2 buildorder.py: Handle also ' in TERMUX_PKG_DEPENDS 2017-01-03 04:26:10 -05:00
Fredrik Fornwall
b59e03ab08 Remove stray char in comment 2016-10-07 13:56:46 -04:00
Fredrik Fornwall
5b7c3ff6d3 Minor comment cleanups of Dockerfile 2016-10-07 13:37:10 -04:00
Fredrik Fornwall
711e9e5b06 Update to using NDK r13 2016-10-07 13:37:10 -04:00
Fredrik Fornwall
5722e8a67d Remove setup-fedora.sh and setup-mac.sh
The best way to lessen the pain of building packages is probably
to use a version of Ubuntu (currently 16.04) as the only supported
build environment. For users of other Linux distributions and
platforms Docker is the best solution.
2016-10-07 13:11:58 -04:00
Fredrik Fornwall
50166cb172 Update to android-24 in setup-android-sdk.sh 2016-10-06 19:37:47 -04:00
Fredrik Fornwall
0dc712fa46 Add 'ant' as required ubuntu package for building 2016-10-06 19:37:18 -04:00
Fredrik Fornwall
6376c14274 Add nasm and yasm to setup-ubuntu.sh 2016-09-22 20:47:11 -04:00
Fredrik Fornwall
c949d94f4b setup-ubuntu.sh: Install intltool for qalc build 2016-09-22 21:59:25 +02:00
Fredrik Fornwall
39d7cdd7f1 mpv: Use rst2man package instead of pip install 2016-09-22 20:56:09 +02:00
Fredrik Fornwall
bb97a729ca Use offline copies of config.{guess,sub}
Previously the latest version was downloaded from the git web
interface at git.savannah.gnu.org.
2016-09-16 06:23:01 -04:00
Fredrik Fornwall
1858fd1b1d buildorder.py: Always depend on libandroid-support 2016-09-16 05:48:02 -04:00
Fredrik Fornwall
97f23095eb Fix NDK version in setup-android-sdk.sh 2016-07-26 09:06:39 -04:00
Fredrik Fornwall
382cfb780c Update SDK build tools to 24.0.1 2016-07-26 07:23:39 -04:00
Fredrik Fornwall
82620efb1c Update NDK from r12 to r12b 2016-07-19 19:14:41 -04:00
Fredrik Fornwall
39c1918069 Update setup-mac.sh 2016-06-20 00:21:39 +02:00
Fredrik Fornwall
ed021630df Fixes for building on a mac 2016-06-11 01:17:00 +02:00
Fredrik Fornwall
7073199b83 setup-android-sdk.sh: Fix mac sdk download 2016-06-10 23:19:22 +02:00
Fredrik Fornwall
37c88ee367 setup-android-sdk.sh: Fix mac ndk download 2016-06-10 23:11:53 +02:00
Fredrik Fornwall
202ed9d3b3 Update to use NDK r12 2016-06-10 10:45:16 -04:00
Fredrik Fornwall
1b11c6fa66 Merge pull request #300 from vaites/master
Added Fedora setup script
2016-06-06 23:22:37 +02:00
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
David Martinez
59ea446228 Added Fedora setup script 2016-06-04 00:07:43 +02:00
Fredrik Fornwall
af8dfb4559 buildorder.py: Show package if lacking build.sh 2016-06-02 11:13:53 -04:00
Fredrik Fornwall
01e91d6146 neovim: Use bundled lua 2016-05-30 18:07:22 -04:00
Fredrik Fornwall
88183689ef Build and docker updates 2016-05-27 18:24:50 -04:00
Fredrik Fornwall
015c1a73bd Fix neovim build deps 2016-05-25 11:29:32 -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
4a9eb8522e Add start of regression testing of packages
Current plan is to have a tests/ folder in packages, where each
file in this folder is a shell script which indicates a test
failure by a non-zero exit value.
2016-05-10 20:43:31 +02:00
Fredrik Fornwall
00875c034b buildorder.py: Handle version qualifiers 2016-04-29 14:14:28 +02:00
Fredrik Fornwall
658bba67c0 Introduce a scripts/ folder 2016-01-14 22:45:50 -05:00