Commit Graph

8270 Commits

Author SHA1 Message Date
Leonid Pliushch 33e7bd3d7d deutex: update to 5.2.1 2019-08-11 17:56:59 +03:00
Leonid Pliushch eefe9fbe26 xz-utils: unsplit from liblzma
Same reason as for curl and bzip2.
2019-08-11 17:40:39 +03:00
Leonid Pliushch ee7722d5ca procps & psmisc: fix essential status 2019-08-11 17:40:39 +03:00
Leonid Pliushch 3d683822be termux-exec: fix essential status 2019-08-11 17:40:39 +03:00
Leonid Pliushch a4b395affc gawk: fix missing essential status 2019-08-11 17:40:39 +03:00
Leonid Pliushch 864a138534 unsplit bzip2 from libbz2
Same reason as for 'curl'.
2019-08-11 17:40:39 +03:00
Leonid Pliushch f9b5f96b5a libcurl: unsplit 'curl' subpackage
Both packages are essential and expect to be in bootstrap installation so
splitting is quite useless here.
2019-08-11 17:40:39 +03:00
Leonid Pliushch e906c0e652 funding.yml: fill with necessary data
From https://termux.com/donate.
2019-08-11 17:31:57 +03:00
Daniel Griffin 69b36d343d Create FUNDING.yml 2019-08-11 17:31:57 +03:00
Leonid Pliushch fd9f4a1156 make: fix unbound variable error 2019-08-11 16:03:35 +03:00
Leonid Pliushch 46fca435c6 ncurses: safer way for creating symlinks
Force-overwrite symlink instead of rm/create if it exist.

Should prevent some kinds of breakage when building on device and build.sh
fails somewhere in post installation step.
2019-08-11 16:03:35 +03:00
Leonid Pliushch 33f341c259 add support for on-device bootstrapping of "make" 2019-08-11 16:03:35 +03:00
Leonid Pliushch e8ccf506a0 scripts/setup-termux.sh: split packages on "tier 1" & "tier 2" groups
And remove packages that are installed with bootstrap archive (essential ones).
2019-08-11 16:03:35 +03:00
Butta 4c735a6580 on-device build: Fix up ncurses and ninja, adjust some setup scripts,
and add dependency info to scripts/setup-termux.sh.
2019-08-11 16:03:35 +03:00
Leonid Pliushch 0b4d758d6d fix typo in termux_step_massage.sh 2019-08-11 03:27:18 +03:00
Leonid Pliushch 4583afe579 build-package.sh: fix error in termux_step_massage() when bin, lib, libexec are not exist
Fixes https://github.com/termux/termux-packages/issues/4160.
2019-08-11 03:24:28 +03:00
Leonid Pliushch 27e89c15f5 alternatives: more editors can be used as alternative for /bin/editor 2019-08-10 22:34:54 +03:00
Leonid Pliushch 5cb5fc32ee coreutils: disallow on-device build
It can delete utility 'ln' in the process of installation:

 make  install-exec-hook
 make[4]: Entering directory '/data/data/com.termux/files/home/.termux-build/coreutils/build'
 /bin/sh: 12: ln: not found
2019-08-10 20:22:30 +03:00
Leonid Pliushch c31dad8663 scripts/setup-termux.sh: add missing package 'valac' 2019-08-10 18:56:12 +03:00
Leonid Pliushch 59745efa5b update sample script for new package 2019-08-10 18:01:57 +03:00
Leonid Pliushch 48d257989a build-package.sh: export CC_FOR_BUILD for on-device builds
Required by some packages.
2019-08-10 17:28:08 +03:00
Leonid Pliushch 2e2f125476 vim, vim-python: add support for dpkg alternatives
Provide $PREFIX/bin/vim as alternative for $PREFIX/bin/editor.
2019-08-10 03:50:47 +03:00
Leonid Pliushch 7c8576feb2 micro: add dpkg alternatives support
Provide $PREFIX/bin/micro as alternative for $PREFIX/bin/editor.
2019-08-10 03:03:44 +03:00
Leonid Pliushch 991a6d70c0 nano: add dpkg alternatives support
Provide $PREFIX/bin/nano as alternative for $PREFIX/bin/editor.
2019-08-10 02:55:04 +03:00
Leonid Pliushch 3d81f06061 dpkg: rm includes, static libraries and dpkg-genbuildinfo from package
If you think they should be present in dpkg package, open issue
and tell about their usability in Termux (with proof).
2019-08-10 02:35:14 +03:00
Leonid Pliushch a1721cc1ac dpkg: provide basic /var/lib/dpkg directory structure inside package
Previously was provided only through bootstrap archive.
2019-08-10 02:35:09 +03:00
Leonid Pliushch 13f0811d76 build-package.sh: on-device builds without termux-exec are unsupported 2019-08-10 02:01:22 +03:00
Leonid Pliushch a2b2c75806 build-package.sh: for on-device builds use device-specific default value for maintainer 2019-08-10 01:23:17 +03:00
Leonid Pliushch 328a9303bd build-package.sh: prefix and home shouldn't be overridable for on-device builds
And set TERMUX_NO_CLEAN to true for on-device builds as well.
2019-08-10 01:18:42 +03:00
Leonid Pliushch 56ca0f1d06 build-package.sh: for on-device builds value of TERMUX_ARCH should not be overridable
This should be allowed only when cross-compiling.
2019-08-10 01:13:25 +03:00
Leonid Pliushch ba62c10575 build-package.sh: source properties.sh before handling command line arguments
Fixes problem when it is not possible to override TERMUX_ARCH set in ~/.termuxrc.
2019-08-10 01:04:46 +03:00
Leonid Pliushch 1745ea4173 dpkg: enable support for update-alternatives
Issue: https://github.com/termux/termux-packages/issues/4137
2019-08-10 00:29:34 +03:00
Leonid Pliushch 4b04f0a998 move docs to project's wiki pages
Accessible at https://github.com/termux/termux-packages/wiki.

git clone: https://github.com/termux/termux-packages.wiki.git
2019-08-09 04:18:57 +03:00
Leonid Pliushch cda78acbb0 scripts/setup-termux.sh: install binutils-gold
Required by at least ipfs package.
2019-08-08 22:15:02 +03:00
Leonid Pliushch 5e5659c73c CI: fix build status again
920784205d didn't worked as should.

%ci:no-build
2019-08-08 22:07:59 +03:00
Alessandro Caputo 615e9aaef9 update termux-api to v0.46 2019-08-08 21:55:03 +03:00
Leonid Pliushch 38fdf27d96 CI: reset build status
Seems like some jobs are not getting executed for a long time for some reason.

Following packages will be built manually:

 babl@aarch64: Expected 0.1.70, but was 0.1.68-1
 ipfs@aarch64: Expected 0.4.22, but was 0.4.21
 syncthing@aarch64: Expected 1.2.1, but was 1.2.0

 babl@arm: Expected 0.1.70, but was 0.1.68-1
 ipfs@arm: Expected 0.4.22, but was 0.4.21
 syncthing@arm: Expected 1.2.1, but was 1.2.0

 babl@i686: Expected 0.1.70, but was 0.1.68-1
 ipfs@i686: Expected 0.4.22, but was 0.4.21
 syncthing@i686: Expected 1.2.1, but was 1.2.0

 babl@x86_64: Expected 0.1.70, but was 0.1.68-1
 ipfs@x86_64: Expected 0.4.22, but was 0.4.21
 syncthing@x86_64: Expected 1.2.1, but was 1.2.0

%ci:no-build
2019-08-08 20:09:21 +03:00
Leonid Pliushch 3b8537b03b scripts/setup-termux.sh: use bash in shebang 2019-08-08 17:40:52 +03:00
Leonid Pliushch c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Leonid Pliushch e303212ae5 enable on-device builds
Partial compatibility for on-device builds.

There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
2019-08-08 16:58:34 +03:00
Fredrik Fornwall c7d6ee2711 babl: Update from 0.1.68 to 0.1.70 2019-08-08 12:02:53 +02:00
Fredrik Fornwall f3ceb9a2f4 ipfs: Update from 0.4.21 to 0.4.22 2019-08-07 23:50:42 +02:00
Fredrik Fornwall 01d4a1c3df syncthing: Update from 1.2.0 to 1.2.1 2019-08-07 23:46:08 +02:00
Fredrik Fornwall 3d60738af6 ttyd: Update from 1.5.1 to 1.5.2 2019-08-07 23:45:58 +02:00
Fredrik Fornwall 4c20b78815 ncdu: Update from 1.14 to 1.14.1 2019-08-07 23:45:52 +02:00
Leonid Pliushch 2c5fe55180 httrack: force-link with libiconv 2019-08-07 23:38:27 +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 9e99a97b3f httrack: Depend on libiconv, not libandroid-support
Should fix a build failure.
2019-08-07 22:08:26 +02:00
Fredrik Fornwall 000c2ec8fe procps: Use sysinfo(2) to get uptime
Instead of trying to read /proc/uptime, which is not allowed on Android,
we patch procps to use the sysinfo(2) syscall to figure out the uptime.

This should fix at least "ps -o etime".
2019-08-07 22:02:47 +02:00