Commit Graph

29 Commits

Author SHA1 Message Date
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch
7dd4044e4f asciinema: rebuild with python 3.9 2020-10-08 18:52:44 +03:00
Leonid Pliushch
f6400fdc9f asciinema: remove pycache from correct location 2019-12-30 03:31:39 +02:00
Leonid Pliushch
fa328d0018 asciinema & borgbackup: remove common pycache dir
It contains file 'site.cpython-38.pyc' which is not needed.
2019-12-13 15:43:49 +02:00
Leonid Pliushch
691e7ebf93 asciinema: do not remove generated pycache 2019-12-13 12:50:27 +02:00
Leonid Pliushch
d312fb15a8 asciinema: remove unneeded things (site.py + easy-install.pth)
These files are not used at runtime and can be removed to
prevent conflicts with other packaged python modules.

Issue: https://github.com/termux/termux-packages/issues/4647
2019-12-13 12:50:00 +02:00
lucy phipps
9ee5fb08e0 update asciinema 2019-11-18 00:13:27 +00:00
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
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Fredrik Fornwall
f6c5e13d92 asciinema: Update from 2.0.1 to 2.0.2 2019-01-16 22:12:09 +01:00
Henrik Grimler
c0d0a08581 asciinema: remove failing nl_langinfo check
Fixes #3172
2018-12-28 23:20:16 +01:00
Fredrik Fornwall
fc9fd770a4 python: Update from 3.6.6 to 3.7.1 2018-10-21 21:16:53 +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
Fredrik Fornwall
bd00474740 asciinema: Update from 1.4.0 to 2.0.1 2018-04-08 23:45:06 +02:00
Fredrik Fornwall
51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Fredrik Fornwall
bf3a1c5193 asciinema: Update from 1.3.0 to 1.4.0 2017-04-11 21:29:26 +02:00
Fredrik Fornwall
f8cce0c098 Use more source checksums 2017-03-27 05:11:31 +02:00
Fredrik Fornwall
449d39d04a python: Update from 3.5 to 3.6 2017-01-15 19:37:14 +01:00
Fredrik Fornwall
fd8dee4f1b asciinema: Update from 1.2 to 1.3 2016-08-31 11:14:00 -04:00
Fredrik Fornwall
c52d3653c8 asciinema: Update from 1.1.1 to 1.2.0 2016-03-07 18:43:30 -05:00
Fredrik Fornwall
bd75d62a8d asciinema: Ensure share/man/man1/ folder exists 2016-02-17 23:19:13 -05:00
Fredrik Fornwall
f636b95728 asciinema: Add the man page to the package 2016-02-07 17:05:57 -05:00
Fredrik Fornwall
f6a562876b Remove duplication of golang setup 2016-01-10 19:45:41 -05:00
Fredrik Fornwall
e69b142770 asciinema: Fix aarch64 build 2015-12-20 17:47:38 -05:00
Fredrik Fornwall
3a189d898c Update go handling
- Use 1.6beta1 for host build
- Download host build tool when needed
- Re-build asciinema with 1.6beta1 to avoid relocation warnings
2015-12-20 12:02:59 -05:00
Fredrik Fornwall
451fbbe856 asciinema: Ready for 64 bit builds 2015-12-15 09:27:47 -05:00
Fredrik Fornwall
5568594758 asciinema: Add not about broken on i686 2015-08-21 19:59:14 -04:00
Fredrik Fornwall
05f44081cf Add asciinema package 2015-08-20 03:17:57 +02:00