Commit Graph

5048 Commits

Author SHA1 Message Date
Leonid Plyushch
0fc5af88df libcairo: don't use XCB if present 2018-06-15 22:21:12 +03:00
Fredrik Fornwall
fc1469e451 notmuch: Update from 0.26.2 to 0.27 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
40929981f8 tor: Update from 0.3.3.6 to 0.3.3.7 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
9801746757 libgcrypt: Update from 1.8.2 to 1.8.3 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
afd59d1441 harfbuzz: Update from 1.8.0 to 1.8.1 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
f81da103b8 glulxe: Use termux_download instead of curl directly 2018-06-13 21:18:24 +02:00
Fredrik Fornwall
35c10373c0 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
1bdff7e4d7 build-package.sh: don't set TERMUX_PKG_REPLACES for debug builds
It was introduced in c18051e781. It didn't work as expected.
2018-06-13 20:22:13 +02:00
Henrik Grimler
84b372babc 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
c18051e781 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
f7276bfb75 ncurses: fix versioned library symlinking 2018-06-13 01:55:02 +02:00
Fredrik Fornwall
9d5852dcad termux-tools: Bump version to 0.55 after su warning in pkg 2018-06-13 01:44:07 +02:00
Fredrik Fornwall
91c7d6f5ca picolisp: Update from 18.4.26 to 18.6.12 2018-06-13 01:43:46 +02:00
Jonas L
e59f7f1fd4 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
7913397595 imagemagick: Update from 7.0.7.38 to 7.0.7.39 2018-06-13 01:11:08 +02:00
Fredrik Fornwall
8e20deb05d vim: Update from 8.0.1850 to 8.1.0050 2018-06-13 01:10:51 +02:00
Fredrik Fornwall
cfa1e9f055 neovim: Update to 0.3.0 2018-06-13 01:10:21 +02:00
Fredrik Fornwall
a496cf7bd5 fzf: Update from 0.17.3 to 0.17.4 2018-06-13 01:10:07 +02:00
Oliver Schmidhauser
d0124d6e89 Update gnupg to 1.4.23 2018-06-13 01:08:07 +02:00
Oliver Schmidhauser
2cd87b0db2 Update gnupg2 to 2.2.8 2018-06-13 01:08:07 +02:00
Fredrik Fornwall
d7b746df42 hub: Update from 2.3.0 to 2.4.0 2018-06-08 14:17:31 +02:00
Fredrik Fornwall
2a11e3e7eb golang: Update from 1.10.2 to 1.10.3 2018-06-08 14:17:21 +02:00
Fredrik Fornwall
7725ee0a95 busybox: Add missing backslash in clang patch 2018-06-08 14:05:14 +02:00
Henrik Grimler
ef50b776a3 busybox: bump package 2018-06-08 14:01:26 +02:00
Henrik Grimler
1fbe9f6f17 busybox: make httpd work when built with clang 2018-06-08 14:01:26 +02:00
Fredrik Fornwall
05654886f0 imagemagick: Update from 7.0.7.32 to 7.0.7.38 2018-06-08 04:03:51 +02:00
Fredrik Fornwall
c78b7f43af python: Patch in a working getprotobyname()
See #2387.
2018-06-08 03:49:50 +02:00
Fredrik Fornwall
eafdfa38a1 mdp: Add patch for unsigned chars 2018-06-08 01:17:11 +02:00
Hax4us
0616e1f382 mdp: Add package 2018-06-08 01:01:38 +02:00
Fredrik Fornwall
e77e7e2f9f 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
2b6a3037b9 silly fix 2018-06-08 00:41:58 +02:00
its-pointless
d8664e3d89 compile using clang 2018-06-08 00:41:58 +02:00
its-pointless
409cb18bc6 forgot depends...
also needs to install texi2html
2018-06-08 00:41:58 +02:00
its-pointless
98793e90d5 indent 2018-06-08 00:41:58 +02:00
Leonid Plyushch
8b37051298 syncthing: remove unneeded patch 2018-06-08 00:40:55 +02:00
Leonid Plyushch
3da2978214 apt: don't explicitly specify arch in sources.list 2018-06-07 23:21:38 +02:00
Henrik Grimler
2bec39428d 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
e0ab394e8d harfbuzz: Update from 1.7.6 to 1.8.0 2018-06-07 22:39:16 +02:00
Henrik Grimler
4acad883c3 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
bb51e60d17 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
d76e3baa06 libqrencode: Update from 4.0.0 to 4.0.2 2018-06-07 00:22:08 +02:00
Fredrik Fornwall
2c51dfcd54 fribidi: Update from 1.0.3 to 1.0.4 2018-06-07 00:21:55 +02:00
Fredrik Fornwall
7221fd0d6c libgrpc: Update from 1.12.0 to 1.12.1 2018-06-06 02:45:02 +02:00
Fredrik Fornwall
32c2893b93 cmake: Update from 3.11.2 to 3.11.3 2018-06-06 02:44:44 +02:00
Fredrik Fornwall
196c195982 termux-api: Update from 0.29 to 0.30 2018-06-06 02:05:10 +02:00
Fredrik Fornwall
f7fa1064b4 neovim: Update to git master 2018-06-06 02:04:20 +02:00
Fredrik Fornwall
158a43748c libmsgpack: Update from 2.1.5 to 3.0.1 2018-06-06 02:02:07 +02:00
Fredrik Fornwall
0764a895c8 erlang: Update from 20.3.6 to 20.3.7 2018-06-05 23:47:10 +02:00
Fredrik Fornwall
449c54a3fa syncthing: Update from 0.14.47 to 0.14.48 2018-06-05 23:35:42 +02:00
Fredrik Fornwall
c82ce0a08d fossil: Update from 2.5 to 2.6 2018-06-05 23:35:28 +02:00