Commit Graph

37 Commits

Author SHA1 Message Date
Leonid Pliushch c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Fredrik Fornwall 93d1bd4a37 mc: Update from 4.8.22 to 4.8.23 2019-06-23 19:56:28 +02:00
Leonid Pliushch be00acc82a mc: bump revision
Solves https://github.com/termux/termux-packages/issues/3921.
2019-06-05 17:47:25 +03:00
Leonid Pliushch b98ffcf631 add libiconv to dependencies where needed 2019-05-05 21:29:36 +02:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig 13cec16263 Spaces to tabs 2019-02-09 21:06:31 +02:00
Fredrik Fornwall 84b8b03da1 mc: Bump revision 2019-01-27 17:06:55 +01:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall d26ce9dcb9 mc: Depend on openssl and libssh2 2019-01-03 03:50:25 +01:00
Fredrik Fornwall 2e7188b0ec mc: Update from 4.8.21 to 4.8.22 2019-01-03 02:32:24 +01: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
Fredrik Fornwall 5ee3ed355f mc: Update from 4.8.20 to 4.8.21 2018-06-04 00:57:46 +02:00
tomty89 194add87fd mc: multple fixes (#2367)
* mc: use $TERMUX_PREFIX for ac_cv_path_(UN)ZIP

* mc: set path for perl, python and ruby

* mc: use python2 for extfs helpers

* ncurses: create symlinks under include/ncurses

* mc: set --with-ncurses-includes

* mc/ncurses: bump revision after updates
2018-04-26 21:26:17 +02:00
Fredrik Fornwall b6d04ff11a mc: Fix path to zip and unzip (fixes #2362)
Variant of solution in #2363 by Hax4us.
2018-04-23 00:48:19 +02:00
Fredrik Fornwall b76468a544 mc: Fix mouse after ncurses 6.1 (fixes #2112) 2018-02-09 00:08:00 +01:00
Fredrik Fornwall 2983fc9405 mc: Update from 4.8.19 to 4.8.20 2017-11-26 23:15:39 +01:00
Fredrik Fornwall 5c0faa66a1 mc: Remove no longer needed CPPFLAG 2017-08-28 14:56:29 +02:00
Fredrik Fornwall 1f0b2e78a4 glib&mc: Force rebuild 2017-08-13 15:57:15 +02:00
Fredrik Fornwall 1f58827643 mc: Rebuild package to fix arm issue (fixes #372) 2017-07-29 20:07:50 +02:00
Fredrik Fornwall 8bfa780ac2 ncurses: Update to latest released patch version 2017-06-05 21:21:25 +02:00
Fredrik Fornwall 01ed1c4343 mc: Update from 4.8.18 to 4.8.19 2017-03-07 14:31:51 +01:00
Fredrik Fornwall 23289d81e9 Add some more source checksums 2017-02-12 22:15:13 +01:00
Fredrik Fornwall b91c450c48 mc: Update from 4.8.17 to 4.8.18 2016-10-15 20:46:48 -04:00
Fredrik Fornwall eaf3340315 Prepare more packages for clang 2016-09-03 18:15:47 -04:00
Fredrik Fornwall f4147b42d9 mc: Update from 4.8.16 to 4.8.17 2016-05-21 17:19:42 -04:00
Fredrik Fornwall bb27a0ec42 Various package updates
Many of them cascading from the update of glib.
2016-05-04 08:54:30 -04:00
Fredrik Fornwall ea6cbe8fab mc: Add patch fixing shell links (closes #175)
See https://mail.gnome.org/archives/mc-devel/2016-March/msg00015.html
2016-03-21 23:11:05 -04:00
Fredrik Fornwall a1f3b0beb9 mc: Force rebuild to fix elf file flags 2016-03-16 14:34:44 -04:00
Fredrik Fornwall b4dab8e7c5 mc: Make mcedit work
Fixes #165.
2016-03-14 22:15:40 -04:00
Fredrik Fornwall 478c8f9ec0 mc: Update from 4.8.15 to 4.8.16 2016-03-14 21:06:35 -04:00
Fredrik Fornwall f817e4a9a0 mc: Remove no longer needed define 2015-12-08 02:46:43 -05:00
Fredrik Fornwall a43db4170e mc: /system/bin/sh -> $PREFIX/bin/sh 2015-12-02 05:58:47 -05:00
Fredrik Fornwall be47d1afce mc: Update from 4.8.14 to 4.8.15 2015-11-20 18:04:00 -05:00
Fredrik Fornwall 4624c75ba7 Use shorter mc description from debian 2015-07-04 08:57:12 -04:00
Fredrik Fornwall 828e6c5ec7 Update system paths to system binaries 2015-06-30 15:40:03 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00