Commit Graph

8263 Commits

Author SHA1 Message Date
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
Michal Bednarski
eed780953b termux-am: Switch repo and upgrade to v0.3
Includes termux/TermuxAm#2

Removed patch as it was upstreamed
2019-08-07 21:42:11 +03:00
Leonid Pliushch
b2a6cc10fe httrack: bump revision
Gives error:

 CANNOT LINK EXECUTABLE "httrack": cannot locate symbol "libiconv_open"

so package should be rebuilt.
2019-08-07 21:38:55 +03:00
Leonid Pliushch
b9cbd870d9 procps: don't read file /proc/sys/vm/min_free_kbytes
Access to this file is prohibited on some devices by SELinux and causes
utilities to treat /proc as not mounted.

Related issues:

 * https://github.com/termux/termux-packages/issues/1625
 * https://github.com/termux/termux-packages/issues/4132
2019-08-07 15:38:45 +03:00
Fredrik Fornwall
2eb2fa4e43 newsboat: Update from 2.15 to 2.16.1 2019-08-06 23:06:18 +02:00
Fredrik Fornwall
9530e78f3f pango: Fix build failure 2019-08-06 19:42:23 +02:00
Fredrik Fornwall
29c686043e vim-python: Fix incorrect source checksum 2019-08-06 19:35:08 +02:00
Fredrik Fornwall
7725dee5d8 valgrind: Fix build
Valgrind cannot be built with -fstack-protector-strong which is now used
by default.
2019-08-06 19:30:04 +02:00