Commit Graph

60 Commits

Author SHA1 Message Date
Henrik Grimler
eafe3606c4 termux-api: depend on util-linux instead of busybox
For getopt.
2020-09-29 08:56:52 +02:00
Leonid Pliushch
6e77233683 termux-api: depend on busybox
Uses busybox in some scripts.
2020-07-11 01:10:04 +03:00
Henrik Grimler
dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Alessandro Caputo
3dbc138cd6 update termux-api to v0.50 2020-01-18 13:16:14 +01:00
Leonid Pliushch
5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +02:00
Alessandro Caputo
1c5ab1d826 update termux-api to v0.49 2020-01-06 10:59:35 +01:00
Henrik Grimler
fc1523ab1f termux-api: update to 0.47 2019-10-06 17:53:23 +02: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
Alessandro Caputo
615e9aaef9 update termux-api to v0.46 2019-08-08 21:55:03 +03:00
Fredrik Fornwall
c544103c2b termux-api: Update from 0.43 to 0.44 2019-08-07 22:37:17 +02:00
Fredrik Fornwall
458105d1af termux-api: Update from 0.42 to 0.43 2019-08-07 22:32:26 +02:00
Fredrik Fornwall
f1833f01fc termux-api: Update from 0.41 to 0.42 2019-08-06 00:53:05 +02:00
Fredrik Fornwall
5aaac369fb termux-api: Update from 0.40 to 0.41 2019-05-30 01:04:36 +02:00
Leonid Pliushch
376128c489 termux-api: update homepage URL 2019-05-15 02:54:24 +03:00
Fredrik Fornwall
fd36214a75 termux-api: Update from 0.39 to 0.40 2019-01-27 21:03:55 +01:00
Fredrik Fornwall
1f5caa1686 termux-api: Update from 0.38 to 0.39 2019-01-25 00:43:25 +01:00
Leonid Pliushch
6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
eb4e54a8c9 termux-api: Update from 0.37 to 0.38 2019-01-11 20:34:16 +01:00
Fredrik Fornwall
45ac0bf806 termux-api: Update from 0.36 to 0.37 2019-01-10 21:45:24 +01:00
Fredrik Fornwall
8044e970fd termux-api: Update from 0.35 to 0.36 2018-12-29 23:53:05 +01:00
Leonid Pliushch
df9777f60f termux-api: depend on 'bash' 2018-10-20 20:43:35 +02:00
Fredrik Fornwall
b1b0a3ed2a termux-api: Update from 0.34 to 0.35 2018-10-02 21:22:42 +02:00
Fredrik Fornwall
519f138f9a termux-api: Update from 0.33 to 0.34 2018-08-28 02:45:57 +02:00
Fredrik Fornwall
942894ddd4 termux-api: Update from 0.32 to 0.33 2018-08-01 22:24:19 +02:00
Fredrik Fornwall
1aaca32b30 termux-api: Update from 0.31 to 0.32 2018-06-24 01:47:27 +02:00
Fredrik Fornwall
999ef72856 termux-api: Update from 0.30 to 0.31 2018-06-16 22:38:37 +02:00
Fredrik Fornwall
ff4ed0d008 termux-api: Update from 0.29 to 0.30 2018-06-06 02:05:10 +02:00
Fredrik Fornwall
d149b255a1 termux-api: Update from 0.28 to 0.29 2018-06-05 23:34:45 +02:00
Fredrik Fornwall
862e8faf05 termux-api: Update from 0.27 to 0.28 2018-04-09 01:10:13 +02:00
Fredrik Fornwall
0427a46304 termux-api: Update from 0.26 to 0.27 2018-04-07 00:39:28 +02:00
Fredrik Fornwall
41d929bb16 termux-api: Update from 0.25 to 0.26 2018-04-02 01:35:38 +02:00
Fredrik Fornwall
b187d008ab termux-api: Update from 0.24 to 0.25
Adds termux-media-scan and termux-audio-info (requires v0.16 of
the Termux:API app).
2018-02-05 00:59:32 +01: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
d1020e3447 termux-api: Update from 0.23 to 0.24 2017-04-10 21:52:26 +02:00
Fredrik Fornwall
eccdcbfa6a termux-api: Update from 0.22 to 0.23 2017-04-09 23:31:43 +02:00
Fredrik Fornwall
93f1465cd5 termux-api: Break out source into separate repo
This will make it easier to test and develop on a device.
2017-04-09 18:34:44 +02:00
Fredrik Fornwall
85699cc8f1 termux-api: Fix termux-notification --content "" 2017-01-23 09:39:33 +01:00
Fredrik Fornwall
53f568ca91 termux-api: Bump version 2017-01-05 18:59:23 -05:00
Fredrik Fornwall
c8fc4751a1 termux-api: Bump version from 0.19 to 0.20 2016-09-04 11:08:10 -04:00
Fredrik Fornwall
b2d955fc19 termux-api: Fix typo in termux-location
Closes #253.
2016-05-08 19:30:41 -04:00
Fredrik Fornwall
3a6b0ae963 termux-api: Bump version from 0.17 to 0.18 2016-04-25 21:24:44 -04:00
Fredrik Fornwall
8d6e165f62 termux-api: Cleanups and fix whitespace handling
Fixes https://github.com/termux/termux-api/issues/20
2016-04-20 11:34:54 +02:00
Fredrik Fornwall
0ec2b70462 termux-api: Start to cleanup api calling scripts
Start using shell built-in getops and remove long arguments.

Make both clipboard-set and sms-send either take argument or read
from stdin.  Fixes https://github.com/termux/termux-api/issues/14
2016-04-19 16:35:23 +02:00
Fredrik Fornwall
1b58032556 termux-api: Bump version to 0.15 2016-04-16 17:15:21 -04:00
Fredrik Fornwall
8353c56c0b Modify setup in wrappers for /system/bin/ commands
On several devices several tools in /system/bin/ requires
LD_LIBRARY_PATH to contain /system/lib(64). Check for the bit-ness
with `getprop ro.product.cpu.abilist64`  and setup the environment
accordingly.

Closes #193.
Closes #206.
2016-04-10 20:20:17 -04:00
Fredrik Fornwall
8cd4ab4e6f termux-api: Ensure /system/bin/am_process in PATH
Closes https://github.com/termux/termux-api/issues/12
2016-03-22 11:14:56 -04:00
Fredrik Fornwall
08d717918a termux-api: Add termux-vibrate -f/--force option 2016-01-12 08:05:17 -05:00
Fredrik Fornwall
fa5ce6c493 termux-api: Handle path whitespace in termux-api
This closes #120.
2016-01-04 17:16:55 -05:00
Fredrik Fornwall
9228c43493 termux-api: Change termux-clipboard-set
Make termux-clipboard-set set the clipboard to the arguments if
given, and only take stdin as input if no arguments given.

Closes https://github.com/termux/termux-api/issues/8
2015-12-29 18:15:33 -05:00