Commit Graph

8460 Commits

Author SHA1 Message Date
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
Fredrik Fornwall
fe2edbf43d vim: Update from 8.1.1750 to 8.1.1800 2019-08-06 19:23:03 +02:00
Fredrik Fornwall
e3372ab6f9 geoip2-database: Update from 20190721 to 20190730 2019-08-06 19:17:19 +02:00
Leonid Pliushch
b4d877ac3b libandroid-glob: bump package version 2019-08-06 16:59:13 +03:00
Leonid Pliushch
b9fba57f28 libandroid-glob: breaks and replaced devpackage 2019-08-06 16:59:07 +03:00
Fredrik Fornwall
ca9c2d9295 libcairo: Switch to faster download url 2019-08-06 03:02:24 +02:00
Fredrik Fornwall
0a5f60421e nnn: Update from 2.5 to 2.6 2019-08-06 01:39:10 +02:00
Fredrik Fornwall
f1833f01fc termux-api: Update from 0.41 to 0.42 2019-08-06 00:53:05 +02:00
Leonid Pliushch
c940336fbe ncurses: create libtermcap compatibility links 2019-08-05 23:27:49 +03:00
Leonid Pliushch
76eaf460e2 bash: make "command-not-found" optional
Though, it will be pre-installed via bootstraps as previously.
Possible after changes to bashrc introduced in b45da7b8ba.

Related issue: https://github.com/termux/termux-packages/issues/661
2019-08-05 14:10:55 +03:00
Leonid Pliushch
e37b3fd5c4 termux-tools: add core packages to dependencies
Some packages are not getting installed after busybox was replaced by separate
packages. This commit should fix that by specifying core packages as dependencies
of the "termux-tools".
2019-08-05 13:46:51 +03:00