Commit Graph

5054 Commits

Author SHA1 Message Date
Fredrik Fornwall
11c80acb01 Handle dependencies like 'a | b' in buildorder.py 2018-06-16 22:50:06 +02:00
Fredrik Fornwall
999ef72856 termux-api: Update from 0.30 to 0.31 2018-06-16 22:38:37 +02:00
Mael
cf1fa17424 Let yarn depend on nodejs or nodejs-current 2018-06-16 22:37:55 +02:00
Fredrik Fornwall
a1eac3c62b Merge pull request #2522 from xeffyr/libcairo
libcairo: don't use XCB if present
2018-06-16 22:37:12 +02:00
Leonid Pliushch
afb17b74d3 libcairo: don't use XCB if present 2018-06-15 22:21:12 +03:00
Fredrik Fornwall
78600253c8 nodejs: Update from 8.11.2 to 8.11.3 2018-06-14 23:30:56 +02:00
Fredrik Fornwall
dce3f6bace mariadb: Update from 10.2.15 to 10.3.7 2018-06-14 23:30:43 +02:00
Fredrik Fornwall
6ded09f97d notmuch: Update from 0.26.2 to 0.27 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
d567daffcb tor: Update from 0.3.3.6 to 0.3.3.7 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
2f9f9a64ed libgcrypt: Update from 1.8.2 to 1.8.3 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
1c8788ed2d harfbuzz: Update from 1.8.0 to 1.8.1 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
e2c2a09bde glulxe: Use termux_download instead of curl directly 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
808968829d Merge pull request #2515 from Grimler91/debug
build-package.sh: don't set TERMUX_PKG_REPLACES for debug builds
2018-06-13 20:53:31 +02:00
Henrik Grimler
bc98e1e72d build-package.sh: don't set TERMUX_PKG_REPLACES for debug builds
It was introduced in c18051e78118966e4a4d77cb1638d767822eca66. It didn't work as expected.
2018-06-13 20:22:13 +02:00
Henrik Grimler
71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
Henrik Grimler
c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Tom Yan
d2f1f9a62b ncurses: fix versioned library symlinking 2018-06-13 01:55:02 +02:00
Fredrik Fornwall
59dcdde121 termux-tools: Bump version to 0.55 after su warning in pkg 2018-06-13 01:44:07 +02:00
Fredrik Fornwall
06957bb85c picolisp: Update from 18.4.26 to 18.6.12 2018-06-13 01:43:46 +02:00
Jonas L
50e0cb6a8b Add root check to pkg
This prevents users from using "su pkg ..." which breaks permissions
2018-06-13 01:34:48 +02:00
Fredrik Fornwall
2130a84ac5 imagemagick: Update from 7.0.7.38 to 7.0.7.39 2018-06-13 01:11:08 +02:00
Fredrik Fornwall
0d4e7d81e0 vim: Update from 8.0.1850 to 8.1.0050 2018-06-13 01:10:51 +02:00
Fredrik Fornwall
f00ccbaa3a neovim: Update to 0.3.0 2018-06-13 01:10:21 +02:00
Fredrik Fornwall
a49d75b5ef fzf: Update from 0.17.3 to 0.17.4 2018-06-13 01:10:07 +02:00
Oliver Schmidhauser
4146ab6ed9 Update gnupg to 1.4.23 2018-06-13 01:08:07 +02:00
Oliver Schmidhauser
83a404e57d Update gnupg2 to 2.2.8 2018-06-13 01:08:07 +02:00
Fredrik Fornwall
86fd1540f9 hub: Update from 2.3.0 to 2.4.0 2018-06-08 14:17:31 +02:00
Fredrik Fornwall
4f56a36f6d golang: Update from 1.10.2 to 1.10.3 2018-06-08 14:17:21 +02:00
Fredrik Fornwall
dbe9874a3b busybox: Add missing backslash in clang patch 2018-06-08 14:05:14 +02:00
Henrik Grimler
6f01530a84 busybox: bump package 2018-06-08 14:01:26 +02:00
Henrik Grimler
12482ecc15 busybox: make httpd work when built with clang 2018-06-08 14:01:26 +02:00
Fredrik Fornwall
6ed4eb0c80 imagemagick: Update from 7.0.7.32 to 7.0.7.38 2018-06-08 04:03:51 +02:00
Fredrik Fornwall
a19bb38d49 python: Patch in a working getprotobyname()
See #2387.
2018-06-08 03:49:50 +02:00
Fredrik Fornwall
e4073b5b84 mdp: Add patch for unsigned chars 2018-06-08 01:17:11 +02:00
Hax4us
e21e54e99f mdp: Add package 2018-06-08 01:01:38 +02:00
Fredrik Fornwall
1e7050bcee indent: Skip texi2html build dependency
Packages should not modify the global build environment as it causes
side effects which could affect other packages. In this case a man
page is already available and we can skip the doc/ folder.
2018-06-08 00:56:49 +02:00
its-pointless
1aad4d5920 silly fix 2018-06-08 00:41:58 +02:00
its-pointless
f0ee3a4508 compile using clang 2018-06-08 00:41:58 +02:00
its-pointless
6c2ef00842 forgot depends...
also needs to install texi2html
2018-06-08 00:41:58 +02:00
its-pointless
0ef1046ab3 indent 2018-06-08 00:41:58 +02:00
Leonid Pliushch
6f042eec9d syncthing: remove unneeded patch 2018-06-08 00:40:55 +02:00
Leonid Pliushch
1878f0c761 apt: don't explicitly specify arch in sources.list 2018-06-07 23:21:38 +02:00
Henrik Grimler
820a09de14 busybox: Fix less and build with clang on arm
Patch less in a similar manner as svlogd.
2018-06-07 23:03:33 +02:00
Fredrik Fornwall
7ac95fee75 harfbuzz: Update from 1.7.6 to 1.8.0 2018-06-07 22:39:16 +02:00
Henrik Grimler
2ebffe1f7e busybox: fix #2448 and debug build
Busybox builds "busybox" and "busybox_unstripped", where the latter contains
debug symbols.
2018-06-07 22:37:28 +02:00
Henrik Grimler
28129617b0 build-package.sh: partly undo 9b2f3b6
We'll rename debug debs to ${PKG}-dbg but not the actual package name in
control. Debug versions of packages and normal packages can then replace each
other without complaints from apt.

We need to work a bit more on it to be able to setup a debug repo.
2018-06-07 22:36:53 +02:00
Fredrik Fornwall
59c1a410bf libqrencode: Update from 4.0.0 to 4.0.2 2018-06-07 00:22:08 +02:00
Fredrik Fornwall
2e6620b0a2 fribidi: Update from 1.0.3 to 1.0.4 2018-06-07 00:21:55 +02:00
Fredrik Fornwall
e4fb0a3ee0 libgrpc: Update from 1.12.0 to 1.12.1 2018-06-06 02:45:02 +02:00
Fredrik Fornwall
727c4293ef cmake: Update from 3.11.2 to 3.11.3 2018-06-06 02:44:44 +02:00