termux-packages
7 years agoUse non-root user when using docker
Fredrik Fornwall [Sun, 22 Jan 2017 22:13:48 +0000 (23:13 +0100)]
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.

7 years agoUse the termux_error_exit shell function
Fredrik Fornwall [Sun, 22 Jan 2017 22:06:48 +0000 (23:06 +0100)]
Use the termux_error_exit shell function

7 years agosetup-ubuntu.sh: Remove two unnecessary packages
Fredrik Fornwall [Sun, 22 Jan 2017 21:32:41 +0000 (22:32 +0100)]
setup-ubuntu.sh: Remove two unnecessary packages

7 years agoglobal: Specify --with-ncurses when building
Fredrik Fornwall [Sun, 22 Jan 2017 21:32:24 +0000 (22:32 +0100)]
global: Specify --with-ncurses when building

7 years agoapt: Fix some minor build issues, update comment
Fredrik Fornwall [Sun, 22 Jan 2017 21:31:50 +0000 (22:31 +0100)]
apt: Fix some minor build issues, update comment

7 years agoruby: Add back needed patch
Fredrik Fornwall [Fri, 20 Jan 2017 14:26:08 +0000 (15:26 +0100)]
ruby: Add back needed patch

7 years agoirssi: Update from 0.8.20 to 1.0.0
Fredrik Fornwall [Fri, 20 Jan 2017 13:16:44 +0000 (14:16 +0100)]
irssi: Update from 0.8.20 to 1.0.0

7 years agoRemove some macOS leftovers
Fredrik Fornwall [Fri, 20 Jan 2017 10:10:59 +0000 (11:10 +0100)]
Remove some macOS leftovers

We only build on Linux nowadays

7 years agolynx: Update from 2.8.8rel.2 to 2.8.9dev.11
Fredrik Fornwall [Thu, 19 Jan 2017 20:41:05 +0000 (21:41 +0100)]
lynx: Update from 2.8.8rel.2 to 2.8.9dev.11

7 years agoncurses: Update from 6.0.20161126 to 6.0.20170114
Fredrik Fornwall [Thu, 19 Jan 2017 20:18:52 +0000 (21:18 +0100)]
ncurses: Update from 6.0.20161126 to 6.0.20170114

7 years agographviz: Update from 2.38.0 to 2.40.1
Fredrik Fornwall [Thu, 19 Jan 2017 20:18:28 +0000 (21:18 +0100)]
graphviz: Update from 2.38.0 to 2.40.1

7 years agognuplot: Bump revision after libgd update
Fredrik Fornwall [Thu, 19 Jan 2017 20:17:39 +0000 (21:17 +0100)]
gnuplot: Bump revision after libgd update

7 years agolibbz2: Add checksum
Fredrik Fornwall [Thu, 19 Jan 2017 19:14:20 +0000 (20:14 +0100)]
libbz2: Add checksum

7 years agophp: Update from 7.1.0 to 7.1.1
Fredrik Fornwall [Thu, 19 Jan 2017 18:08:24 +0000 (19:08 +0100)]
php: Update from 7.1.0 to 7.1.1

7 years agolibgd: Update from 2.2.3 to 2.2.4
Fredrik Fornwall [Thu, 19 Jan 2017 17:53:03 +0000 (18:53 +0100)]
libgd: Update from 2.2.3 to 2.2.4

7 years agovalgrind: Fix arm build by avoiding -mthumb
Fredrik Fornwall [Thu, 19 Jan 2017 17:40:53 +0000 (18:40 +0100)]
valgrind: Fix arm build by avoiding -mthumb

7 years agolibmcrypt: Remove package
Fredrik Fornwall [Thu, 19 Jan 2017 14:04:15 +0000 (15:04 +0100)]
libmcrypt: Remove package

https://paragonie.com/blog/2015/05/if-you-re-typing-word-mcrypt-into-your-code-you-re-doing-it-wrong

7 years agobuild-all.sh: Add support for specifying arch
Fredrik Fornwall [Thu, 19 Jan 2017 13:38:16 +0000 (14:38 +0100)]
build-all.sh: Add support for specifying arch

7 years agolibmad: Fix arm build
Fredrik Fornwall [Thu, 19 Jan 2017 12:28:55 +0000 (13:28 +0100)]
libmad: Fix arm build

7 years agolibgraphite: Fix arm build
Fredrik Fornwall [Thu, 19 Jan 2017 10:56:34 +0000 (11:56 +0100)]
libgraphite: Fix arm build

7 years agoopenjpeg-tools: Depend on libpng
Fredrik Fornwall [Thu, 19 Jan 2017 10:17:39 +0000 (11:17 +0100)]
openjpeg-tools: Depend on libpng

7 years agozbar: Bump revision after openjpeg update
Fredrik Fornwall [Thu, 19 Jan 2017 10:17:21 +0000 (11:17 +0100)]
zbar: Bump revision after openjpeg update

7 years agoimagemagick: Update from 7.0.3-8 to 7.0.4-4
Fredrik Fornwall [Thu, 19 Jan 2017 09:38:15 +0000 (10:38 +0100)]
imagemagick: Update from 7.0.3-8 to 7.0.4-4

7 years agoglib: Add package checksum
Fredrik Fornwall [Thu, 19 Jan 2017 09:32:19 +0000 (10:32 +0100)]
glib: Add package checksum

7 years agoRefactor build of tty-clock (#685)
Oliver Schmidhauser [Thu, 19 Jan 2017 09:25:48 +0000 (10:25 +0100)]
Refactor build of tty-clock (#685)

7 years agoperl: Cleanup build (fixes #669)
Fredrik Fornwall [Thu, 19 Jan 2017 09:16:52 +0000 (10:16 +0100)]
perl: Cleanup build (fixes #669)

7 years agoclang: Add back C_INCLUDE_DIRS (fixes #683)
Fredrik Fornwall [Thu, 19 Jan 2017 07:58:43 +0000 (08:58 +0100)]
clang: Add back C_INCLUDE_DIRS (fixes #683)

7 years agopicolisp: 32-bit C code cannot be built by clang
Fredrik Fornwall [Thu, 19 Jan 2017 05:11:00 +0000 (06:11 +0100)]
picolisp: 32-bit C code cannot be built by clang

7 years agotexlive: Move to disable packages
Fredrik Fornwall [Thu, 19 Jan 2017 05:03:56 +0000 (06:03 +0100)]
texlive: Move to disable packages

There is some work remaining to build harfbuzz-icu and graphite
support in harfbuzz.

7 years agotexlive: Some work in progress
Fredrik Fornwall [Thu, 19 Jan 2017 05:01:54 +0000 (06:01 +0100)]
texlive: Some work in progress

7 years agolibgraphite: Add package
Fredrik Fornwall [Thu, 19 Jan 2017 05:00:21 +0000 (06:00 +0100)]
libgraphite: Add package

7 years agoharfbuzz: Update from 1.3.4 to 1.4.1
Fredrik Fornwall [Thu, 19 Jan 2017 04:26:40 +0000 (05:26 +0100)]
harfbuzz: Update from 1.3.4 to 1.4.1

7 years agoopenjpeg: Patch for *.cmake files location
Fredrik Fornwall [Thu, 19 Jan 2017 04:21:45 +0000 (05:21 +0100)]
openjpeg: Patch for *.cmake files location

7 years agoPut $PREFIX/lib/cmake in -dev packages
Fredrik Fornwall [Thu, 19 Jan 2017 04:21:14 +0000 (05:21 +0100)]
Put $PREFIX/lib/cmake in -dev packages

7 years agolibpng: Update from 1.6.27 to 1.6.28
Fredrik Fornwall [Thu, 19 Jan 2017 03:29:59 +0000 (04:29 +0100)]
libpng: Update from 1.6.27 to 1.6.28

7 years agoopenjpeg: Update from 2.1.1 to 2.1.2
Fredrik Fornwall [Thu, 19 Jan 2017 03:26:33 +0000 (04:26 +0100)]
openjpeg: Update from 2.1.1 to 2.1.2

7 years agotexlive: Switch from luajit to lua
Fredrik Fornwall [Thu, 19 Jan 2017 03:26:04 +0000 (04:26 +0100)]
texlive: Switch from luajit to lua

7 years agopoppler: Update from 0.47 to 0.51
Fredrik Fornwall [Thu, 19 Jan 2017 03:25:42 +0000 (04:25 +0100)]
poppler: Update from 0.47 to 0.51

7 years agoAdd a TexLive package (#621)
rnauber [Thu, 19 Jan 2017 03:21:42 +0000 (04:21 +0100)]
Add a TexLive package (#621)

* Add a TexLive package

* fix texlive installer

* some polish for texlive

* some more polish for texlive

* texlive: automatically trigger (post-)installation

* texlive: remove the bundled icu from the PR and polish some more...

* texlive: fix hardcoded build tuple and use popplers xpdf

7 years agoUse -mthumb when building for arm
Fredrik Fornwall [Thu, 19 Jan 2017 02:58:44 +0000 (03:58 +0100)]
Use -mthumb when building for arm

7 years agoruby: Remove old unused build step
Fredrik Fornwall [Thu, 19 Jan 2017 02:58:26 +0000 (03:58 +0100)]
ruby: Remove old unused build step

7 years agoRemove TERMUX_PKG_CLANG=yes as it is now default
Fredrik Fornwall [Thu, 19 Jan 2017 02:53:00 +0000 (03:53 +0100)]
Remove TERMUX_PKG_CLANG=yes as it is now default

7 years agoReally use gold by default for aarch64
Fredrik Fornwall [Thu, 19 Jan 2017 01:51:17 +0000 (02:51 +0100)]
Really use gold by default for aarch64

7 years agondk: Patch malloc.h to remove clang warnings
Fredrik Fornwall [Thu, 19 Jan 2017 01:49:43 +0000 (02:49 +0100)]
ndk: Patch malloc.h to remove clang warnings

7 years agolibrsync: Fix build if perl has been built
Fredrik Fornwall [Thu, 19 Jan 2017 00:21:06 +0000 (01:21 +0100)]
librsync: Fix build if perl has been built

7 years agoruby: Remove outdated patch
Fredrik Fornwall [Thu, 19 Jan 2017 00:06:56 +0000 (01:06 +0100)]
ruby: Remove outdated patch

7 years agographviz: Remove patch breaking clang arm build
Fredrik Fornwall [Wed, 18 Jan 2017 23:40:44 +0000 (00:40 +0100)]
graphviz: Remove patch breaking clang arm build

7 years agoglobal: Update from 6.5.5 to 6.5.6
Fredrik Fornwall [Wed, 18 Jan 2017 23:32:39 +0000 (00:32 +0100)]
global: Update from 6.5.5 to 6.5.6

7 years agoUse rpath-link hack on all aarch64 gcc builds
Fredrik Fornwall [Wed, 18 Jan 2017 10:44:31 +0000 (11:44 +0100)]
Use rpath-link hack on all aarch64 gcc builds

7 years agonano: Update from 2.7.3 to 2.7.4
Fredrik Fornwall [Wed, 18 Jan 2017 10:03:42 +0000 (11:03 +0100)]
nano: Update from 2.7.3 to 2.7.4

7 years agoclang: Patch tools/llvm-shlib for Android
Fredrik Fornwall [Wed, 18 Jan 2017 10:33:27 +0000 (11:33 +0100)]
clang: Patch tools/llvm-shlib for Android

Treating Android as Linux here allows LLVM_LINK_LLVM_DYLIB to work.

7 years agoruby: Some more /tmp -> $PREFIX/tmp patches
Fredrik Fornwall [Wed, 18 Jan 2017 09:33:41 +0000 (10:33 +0100)]
ruby: Some more /tmp -> $PREFIX/tmp patches

7 years agoelfutils: Fix aarch64 build
Fredrik Fornwall [Wed, 18 Jan 2017 09:33:46 +0000 (10:33 +0100)]
elfutils: Fix aarch64 build

7 years agoTry gold linker by default on aarch64
Fredrik Fornwall [Wed, 18 Jan 2017 03:03:55 +0000 (04:03 +0100)]
Try gold linker by default on aarch64

7 years agoCall termux_setup_cmake before invoking cmake
Fredrik Fornwall [Wed, 18 Jan 2017 03:06:03 +0000 (04:06 +0100)]
Call termux_setup_cmake before invoking cmake

This fixes build in an environment (e.g. the Docker image) without
cmake installed.

7 years agolibisl: Update from 0.17.1 to 0.18
Fredrik Fornwall [Wed, 18 Jan 2017 02:00:36 +0000 (03:00 +0100)]
libisl: Update from 0.17.1 to 0.18

7 years agoneovim: Unbreak build
Fredrik Fornwall [Wed, 18 Jan 2017 01:53:56 +0000 (02:53 +0100)]
neovim: Unbreak build

7 years agoUpdate the Vagrantfile to ubuntu 16.10
Fredrik Fornwall [Wed, 18 Jan 2017 01:51:17 +0000 (02:51 +0100)]
Update the Vagrantfile to ubuntu 16.10

This is completely untested.

7 years agoclang: Add notes about LLVM_LINK_LLVM_DYLIB
Fredrik Fornwall [Wed, 18 Jan 2017 01:39:56 +0000 (02:39 +0100)]
clang: Add notes about LLVM_LINK_LLVM_DYLIB

7 years agoclang: Add back TERMUX_PKG_FORCE_CMAKE=yes
Fredrik Fornwall [Wed, 18 Jan 2017 01:13:57 +0000 (02:13 +0100)]
clang: Add back TERMUX_PKG_FORCE_CMAKE=yes

7 years agoclang: Fix build when python2.7 has been built
Fredrik Fornwall [Wed, 18 Jan 2017 01:09:52 +0000 (02:09 +0100)]
clang: Fix build when python2.7 has been built

7 years agodatamash: Do not depend on libandroid-support
Fredrik Fornwall [Wed, 18 Jan 2017 00:59:40 +0000 (01:59 +0100)]
datamash: Do not depend on libandroid-support

Depending on libandroid-support is not necessary for datamash,
and removing it fixes building with clang.

7 years agolua: Add missing trailing slash
Fredrik Fornwall [Wed, 18 Jan 2017 00:45:32 +0000 (01:45 +0100)]
lua: Add missing trailing slash

7 years agoluarocks: Add patch and mark platform-independent
Fredrik Fornwall [Wed, 18 Jan 2017 00:45:10 +0000 (01:45 +0100)]
luarocks: Add patch and mark platform-independent

7 years agognupg: Build with gcc for now
Fredrik Fornwall [Wed, 18 Jan 2017 00:02:06 +0000 (01:02 +0100)]
gnupg: Build with gcc for now

7 years agoBump revisions, force rebuild after gnutls update
Fredrik Fornwall [Wed, 18 Jan 2017 00:01:14 +0000 (01:01 +0100)]
Bump revisions, force rebuild after gnutls update

7 years agoUpdate to latest config.{guess,sub}
Fredrik Fornwall [Tue, 17 Jan 2017 23:59:57 +0000 (00:59 +0100)]
Update to latest config.{guess,sub}

7 years agoncdc: Update from 1.19.1 to 1.20
Fredrik Fornwall [Tue, 17 Jan 2017 23:59:50 +0000 (00:59 +0100)]
ncdc: Update from 1.19.1 to 1.20

7 years agoweechat: Update from 1.6 to 1.7
Fredrik Fornwall [Tue, 17 Jan 2017 23:59:34 +0000 (00:59 +0100)]
weechat: Update from 1.6 to 1.7

7 years agolua: Add and replace luajit
Fredrik Fornwall [Tue, 17 Jan 2017 23:58:39 +0000 (00:58 +0100)]
lua: Add and replace luajit

luajit is rather complex and lacking upstream maintenance.

7 years agovim: Update to latest patch level
Fredrik Fornwall [Tue, 17 Jan 2017 21:55:24 +0000 (22:55 +0100)]
vim: Update to latest patch level

7 years agolibcln: Fix clang build - hopefully for real
Fredrik Fornwall [Tue, 17 Jan 2017 23:42:05 +0000 (00:42 +0100)]
libcln: Fix clang build - hopefully for real

7 years agolibgnutls: Note dependency on libunistring
Fredrik Fornwall [Tue, 17 Jan 2017 21:23:28 +0000 (22:23 +0100)]
libgnutls: Note dependency on libunistring

7 years agolibunistring: Update from 0.9.6 to 0.9.7
Fredrik Fornwall [Tue, 17 Jan 2017 21:22:03 +0000 (22:22 +0100)]
libunistring: Update from 0.9.6 to 0.9.7

7 years agopython3: Fix build with clang for real
Fredrik Fornwall [Tue, 17 Jan 2017 21:11:14 +0000 (22:11 +0100)]
python3: Fix build with clang for real

7 years agocmake: Remove unnecessary cmake conf
Fredrik Fornwall [Tue, 17 Jan 2017 21:10:21 +0000 (22:10 +0100)]
cmake: Remove unnecessary cmake conf

7 years agopython: Fix build with clang for real
Fredrik Fornwall [Tue, 17 Jan 2017 21:06:27 +0000 (22:06 +0100)]
python: Fix build with clang for real

7 years agolibrsync&libssh: Remove unnecessary cmake conf
Fredrik Fornwall [Tue, 17 Jan 2017 20:24:48 +0000 (21:24 +0100)]
librsync&libssh: Remove unnecessary cmake conf

7 years agoliblzma: Update from 5.2.2 to 5.2.3
Fredrik Fornwall [Tue, 17 Jan 2017 18:42:54 +0000 (19:42 +0100)]
liblzma: Update from 5.2.2 to 5.2.3

7 years agobusybox: Backport fix to wget
Fredrik Fornwall [Tue, 17 Jan 2017 18:36:30 +0000 (19:36 +0100)]
busybox: Backport fix to wget

7 years agoFix arm issue with clang-pie-wrapper
Fredrik Fornwall [Tue, 17 Jan 2017 16:31:24 +0000 (17:31 +0100)]
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.

7 years agoca-certificates: Update from 20161128 to 20170117
Fredrik Fornwall [Tue, 17 Jan 2017 16:25:46 +0000 (17:25 +0100)]
ca-certificates: Update from 20161128 to 20170117

7 years agobuild-package.sh: Build aarch64 first on '-a all'
Fredrik Fornwall [Tue, 17 Jan 2017 15:07:15 +0000 (16:07 +0100)]
build-package.sh: Build aarch64 first on '-a all'

7 years agozsh: Add the zpty module (fixes #672)
Fredrik Fornwall [Tue, 17 Jan 2017 15:06:57 +0000 (16:06 +0100)]
zsh: Add the zpty module (fixes #672)

7 years agotorsocks: fix nougat (add clone syscall) (#681)
Vishal Biswas [Tue, 17 Jan 2017 15:11:59 +0000 (20:41 +0530)]
torsocks: fix nougat (add clone syscall) (#681)

7 years agoUpdate tty-clock to version 2.3 (#680)
Oliver Schmidhauser [Tue, 17 Jan 2017 15:10:09 +0000 (16:10 +0100)]
Update tty-clock to version 2.3 (#680)

When the debian developers come ringing for a tagged release, suddenly
everything goes really fast.

In the build environment `ncurses5-config --libs` also returns
-ltinfo, which is unavailable to the linker. That's why the patch was
needed. Is this something that could be fixed in the build environment
or is this simply a badly written makefile, unsuitable for cross
compiling?

7 years agobuild-package.sh: Remove _SPECSFLAG
Fredrik Fornwall [Tue, 17 Jan 2017 14:51:59 +0000 (15:51 +0100)]
build-package.sh: Remove _SPECSFLAG

7 years agoneovim: Update to latest master
Fredrik Fornwall [Tue, 17 Jan 2017 14:51:17 +0000 (15:51 +0100)]
neovim: Update to latest master

7 years agopython2: Fix issues when building with clang
Fredrik Fornwall [Tue, 17 Jan 2017 09:05:20 +0000 (10:05 +0100)]
python2: Fix issues when building with clang

7 years agopython: Fix build issue when using clang
Fredrik Fornwall [Mon, 16 Jan 2017 10:49:20 +0000 (11:49 +0100)]
python: Fix build issue when using clang

7 years agoclang: Setup ${TERMUX_HOST_PLATFORM}-{clang,clang++} symlinks
Fredrik Fornwall [Mon, 16 Jan 2017 10:48:20 +0000 (11:48 +0100)]
clang: Setup ${TERMUX_HOST_PLATFORM}-{clang,clang++} symlinks

7 years agogolang: Use clang for native build
Fredrik Fornwall [Mon, 16 Jan 2017 10:13:38 +0000 (11:13 +0100)]
golang: Use clang for native build

7 years agoUse go1.8rc1 for cross compilation
Fredrik Fornwall [Mon, 16 Jan 2017 10:09:18 +0000 (11:09 +0100)]
Use go1.8rc1 for cross compilation

7 years agofzf: Update from 0.15.9 to 0.16.1
Fredrik Fornwall [Mon, 16 Jan 2017 09:35:29 +0000 (10:35 +0100)]
fzf: Update from 0.15.9 to 0.16.1

7 years agotaskwarrior: Fix clang build
Fredrik Fornwall [Sun, 15 Jan 2017 22:16:00 +0000 (23:16 +0100)]
taskwarrior: Fix clang build

7 years agofix clang cmake build left broken for arches other than aarch64 by #2f0de58717 (...
Vishal Biswas [Mon, 16 Jan 2017 07:48:23 +0000 (13:18 +0530)]
fix clang cmake build left broken for arches other than aarch64 by #2f0de58717 (#677)

7 years agoemacs: Build with gcc for now
Fredrik Fornwall [Sun, 15 Jan 2017 22:08:20 +0000 (23:08 +0100)]
emacs: Build with gcc for now

7 years agocmake: Update from 3.7.1 to 3.7.2
Fredrik Fornwall [Sun, 15 Jan 2017 22:07:37 +0000 (23:07 +0100)]
cmake: Update from 3.7.1 to 3.7.2

7 years agopicolisp: Fix clang build
Fredrik Fornwall [Sun, 15 Jan 2017 21:34:48 +0000 (22:34 +0100)]
picolisp: Fix clang build

7 years agolftp: Build with gcc for now
Fredrik Fornwall [Sun, 15 Jan 2017 20:57:53 +0000 (21:57 +0100)]
lftp: Build with gcc for now