Commit Graph

4766 Commits

Author SHA1 Message Date
Tom Yan
6144f8653f libpulseaudio: fix distortions occur with multiple sink inputs 2018-07-26 11:47:20 +02:00
Tom Yan
fd69382e37 libpulseaudio: rewrite sles sink
This should work way better than the old code, as it makes use of
the buffer queue callback to do Enqueue(), which might be the only
nice/right way to use OpenSLES on Android. CPU usage is low and
RAM usage seems reasonable. No memory leak noticed. Tested with
mpv on my Oreo phone (wired and Bluetooth).

The latency was chosen base on Bluetooth audio requirement on Oreo.
Shouldn't be hard to make it configurable as a module param in the
future.

The new code has a known downside though, that is it doesn't really
support sink suspension, as in, silence will kept being written
to the audio device even when the sink is suspended, which may have
certain impact to battery time.

It's probably possible to catch the state change of the sink and
notify the buffer queue about it. It's just I don't want to bother
digging further at the moment.
2018-07-26 11:47:20 +02:00
Fredrik Fornwall
f06727719f utf8proc: Update from 2.1.1 to 2.2.0 2018-07-25 11:25:14 +02:00
Fredrik Fornwall
75c0baf3c5 syncthing: Update from 0.14.48 to 0.14.49 2018-07-25 11:23:16 +02:00
Fredrik Fornwall
7ebbd42b04 fribidi: Update from 1.0.4 to 1.0.5 2018-07-25 11:19:34 +02:00
Fredrik Fornwall
de07382d9c file: Update from 5.33 to 5.34 2018-07-25 11:19:21 +02:00
Fredrik Fornwall
542cb76e85 gegl: Update from 0.4.4 to 0.4.6 2018-07-25 10:29:18 +02:00
Fredrik Fornwall
b126c3f2d8 babl: Update from 0.1.52 to 0.1.54 2018-07-25 10:29:18 +02:00
Tom Yan
4abe3e12d3 mpv: Update from 0.28.2 to 0.29.0 2018-07-25 10:29:06 +02:00
Tom Yan
7c3577e5b0 mpv: allow s32 and float output
As they are supported since API 21. If they don't work in certain
devices, mpv can still be forced to output in s16 only with an
option.
2018-07-25 10:29:06 +02:00
Tom Yan
5f34372f2e mpv: remove audio-buffer=0.5 hack from mpv.conf
The hack should no longer be necessary, as 0.29.0 includes a few
commits from me that makes the opensles output driver work more
properly.

Also include an extra patch that allows the buffer size to either
be increased and decreased (and done more properly).
2018-07-25 10:29:06 +02:00
Tom Yan
3bf686ca29 mpv: build without --disable-android again
switch to a patch that I have proposed to upstream
2018-07-25 10:29:06 +02:00
Fredrik Fornwall
10b5781505 sox: Rebuild after pulseaudio update 2018-07-23 14:15:56 +02:00
Fredrik Fornwall
2f26f4940f Replace curl call with termux_download 2018-07-23 14:13:33 +02:00
Fredrik Fornwall
3e77a3b669 Remove old comment 2018-07-23 14:07:46 +02:00
Fredrik Fornwall
a2e6298d3b libicu: Switch to fossies.org for downloading 2018-07-23 14:04:22 +02:00
Fredrik Fornwall
2dcd95485a busybox: Fix building without <crypt.h> 2018-07-23 01:49:27 +02:00
Fredrik Fornwall
1200b5a072 busybox: Update from 1.28.4 to 1.29.1 2018-07-23 01:33:02 +02:00
Fredrik Fornwall
4474709169 mariadb: Update from 10.3.7 to 10.3.8 2018-07-23 01:26:38 +02:00
Fredrik Fornwall
fa94d6ba31 imagemagick: Update from 7.0.8.6 to 7.0.8.7 2018-07-23 01:26:01 +02:00
Fredrik Fornwall
b599d4a7d3 libgrpc: Update from 1.13.0 to 1.13.1 2018-07-23 00:48:35 +02:00
Fredrik Fornwall
6a53bdde21 php: Update from 7.2.7 to 7.2.8 2018-07-23 00:37:56 +02:00
Fredrik Fornwall
1c4195d5d3 libpulseaudio: Update from 12.1 to 12.2 2018-07-23 00:21:12 +02:00
Fredrik Fornwall
952620e42a poppler: Update from 0.66.0 to 0.67.0 2018-07-23 00:14:22 +02:00
Fredrik Fornwall
c98acd554a subversion: Update from 1.10.0 to 1.10.2 2018-07-23 00:07:11 +02:00
Fredrik Fornwall
56d62e012a ffmpeg: Update from 4.0.1 to 4.0.2 2018-07-23 00:04:56 +02:00
Fredrik Fornwall
a798b6ed84 pango: Update from 1.42.1 to 1.42.2 2018-07-22 23:47:21 +02:00
Fredrik Fornwall
e08db41ae9 libxapian: Update from 1.4.6 to 1.4.7 2018-07-22 23:47:00 +02:00
Fredrik Fornwall
07df3fdc96 mutt: Update from 1.10.0 to 1.10.1 2018-07-22 23:34:54 +02:00
Fredrik Fornwall
be6e9c36af harfbuzz: Update from 1.8.3 to 1.8.4 2018-07-22 23:20:43 +02:00
Fredrik Fornwall
63686dc748 libpng: Update from 1.6.34 to 1.6.35 2018-07-22 23:20:15 +02:00
Fredrik Fornwall
ddef406a8d tig: Update from 2.3.3 to 2.4.0 2018-07-22 23:05:25 +02:00
Fredrik Fornwall
d33909e9d1 python: Update from 3.6.5 to 3.6.6 2018-07-21 04:49:18 +02:00
Fredrik Fornwall
4f784280d5 binutils: Update from 2.31 to 2.31.1 2018-07-21 04:10:21 +02:00
Fredrik Fornwall
ddc80a043b vim: Update from 8.1.0150 to 8.1.0200 2018-07-21 04:09:37 +02:00
Fredrik Fornwall
416140f0c8 neovim: Update from 0.3.0 to 0.3.1 2018-07-21 03:12:53 +02:00
Michał Bednarski
0354a98488 proot: Update for setgid() checking euid==0 2018-07-21 03:01:48 +02:00
Fredrik Fornwall
3fd7c39639 valac: Update from 0.40.7 to 0.40.8 2018-07-17 10:23:58 +02:00
Fredrik Fornwall
5225f05e38 squid: Update from 3.5.27 to 3.5.28 2018-07-17 10:23:01 +02:00
Fredrik Fornwall
b079234ed4 libgnutls: Update from 3.5.18 to 3.5.19 2018-07-17 10:23:01 +02:00
Fredrik Fornwall
f9dda7c381 libnpth: Update from 1.5 to 1.6 2018-07-17 10:23:01 +02:00
Matthew Klein
6274ffafe8 emacs: remove ctags.1.gz after building
This man page conflicts with the one included with Universal Ctags (just
like the ungziped one), so exclude it as well.
2018-07-17 10:22:50 +02:00
Michał Bednarski
3cb559afa5 proot: Update for renameat2 and libaudit fixes
Fixes termux/proot#21
Fixes termux/proot#25
2018-07-16 21:42:18 +02:00
Fredrik Fornwall
73e2c4f06b weechat: Update from 2.1 to 2.2 2018-07-15 18:51:01 +02:00
Fredrik Fornwall
5dc006b57d radare2: Update from 2.6.0 to 2.7.0 2018-07-15 18:50:42 +02:00
Fredrik Fornwall
6fda59ce2b zsh: Simplify command_not_found_handler()
See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
2018-07-15 18:44:43 +02:00
Fredrik Fornwall
872b0fead9 ipfs: Update from 0.4.15 to 0.4.16 2018-07-15 18:13:07 +02:00
Fredrik Fornwall
51abf56995 sox: Rebuild after pulseaudio update 2018-07-15 17:58:22 +02:00
Fredrik Fornwall
4e596b293f apache2: Build with --disable-lua 2018-07-15 17:58:03 +02:00
Fredrik Fornwall
a0a6d2d46d zsh: Exit with error in command_not_found_handler
Fixes #2655.
2018-07-15 17:50:13 +02:00
Fredrik Fornwall
6c50662bba apache2: Update from 2.4.33 to 2.4.34 2018-07-15 17:34:30 +02:00
Fredrik Fornwall
4c51d6bcb9 pulseaudio: Update from 12.0 to 12.1 2018-07-15 17:20:11 +02:00
Fredrik Fornwall
71bf1621a9 binutils: Update from 2.30 to 2.31 2018-07-15 17:15:45 +02:00
Fredrik Fornwall
461fce9468 tor: Update from 0.3.3.8 to 0.3.3.9 2018-07-15 17:15:32 +02:00
Karol Baraniecki
3139bb3ca2 ipcalc: Add package (#2645) 2018-07-15 17:13:23 +02:00
Henrik Grimler
e71adec6a5 wireguard-tools: Add package
Also run make if $TERMUX_PKG_EXTRA_MAKE_ARGS is defined, even if no $TERMUX_PKG_SRCDIR/Makefile exists.
2018-07-15 17:11:40 +02:00
Fredrik Fornwall
4207765ff6 texinfo: Fix typo in src url 2018-07-15 17:06:36 +02:00
Fredrik Fornwall
1c35e4b2c4 texinfo: Use patch instead of sed 2018-07-15 17:05:11 +02:00
tomty89
bc58aafe91 mpv: "whitelist" posix-spawn and strnlen subsitition (#2653)
Some of the Android "features" in mpv are useful (or at least, can
be used) in Termux. Whitelist them while we build with --disable-
android.
2018-07-15 17:02:34 +02:00
Fredrik Fornwall
91316d7e79 erlang: Update from 21.0.2 to 21.0.3 2018-07-14 00:26:59 +02:00
Fredrik Fornwall
36812e6628 libtalloc: Update from 2.1.13 to 2.1.14 2018-07-14 00:26:32 +02:00
Fredrik Fornwall
518a58c595 harfbuzz: Update from 1.8.2 to 1.8.3 2018-07-14 00:26:20 +02:00
Fredrik Fornwall
4ee0fc8f28 gnupg2: Update from 2.2.8 to 2.2.9 2018-07-14 00:25:57 +02:00
Fredrik Fornwall
48fc73a331 libgpg-error: Update from 1.31 to 1.32 2018-07-14 00:25:46 +02:00
Leonid Pliushch
01e27ce4f8 termux-tools: export SHELL variable on login (#2632) 2018-07-14 00:02:50 +02:00
its-pointless
5376c248da fix texindex to not use gawk as awk bin.. (#2633) 2018-07-12 09:20:22 +02:00
Fredrik Fornwall
55ab106343 pinentry: Build with --disable-pinentry-fltk
Fixes building if fltk-config is available on the build machine.
See #2643.
2018-07-11 22:18:42 +02:00
Henrik Grimler
fc42b0aae9 libmnl: change to https url (#2642) 2018-07-11 19:03:26 +02:00
Tom Yan
1345c7435c poppler: make use of fontconfig
The CMakeLists.txt shipped by upstream assumes that fontconfig is
not available in Android, which is not the case in Termux. Enable
the use of fontconfig with cached value.

Also remove the patch that matters only when poppler is built
without fontconfig support.
2018-07-11 15:04:05 +02:00
Fredrik Fornwall
b80cfec621 hub: Update from 2.4.0 to 2.5.0 2018-07-11 11:55:14 +02:00
Fredrik Fornwall
09331cd68f tor: Update from 0.3.3.7 to 0.3.3.8 2018-07-11 11:29:47 +02:00
Fredrik Fornwall
fc2c732c3f curl: Update from 7.60.0 to 7.61.0 2018-07-11 11:24:08 +02:00
Fredrik Fornwall
68fc4ac6a2 strace: Build with --without-libdw 2018-07-11 11:23:53 +02:00
Fredrik Fornwall
8f6bb45958 libuv: Update from 1.21.0 to 1.22.0 2018-07-11 11:21:20 +02:00
Fredrik Fornwall
4684a7afb6 lynx: Update from 2.8.9dev.19 to 2.8.9rel.1 2018-07-11 11:20:52 +02:00
Fredrik Fornwall
0442b7d854 lua: Update from 5.3.4 to 5.3.5 2018-07-11 11:19:18 +02:00
Fredrik Fornwall
9c45c9f490 ncurses: Update from 6.1.20180512 to 6.1.20180707 2018-07-11 11:18:27 +02:00
Fredrik Fornwall
7bb45019b5 imagemagick: Update from 7.0.8.4 to 7.0.8.6 2018-07-11 10:52:42 +02:00
Leonid Pliushch
3624eb83e2 debootstrap: update to 1.0.106 2018-07-11 10:50:56 +02:00
Fredrik Fornwall
9285c5f227 strace: Update from 4.22 to 4.23 2018-07-11 10:35:45 +02:00
Fredrik Fornwall
517dc09dff libgit2: Update from 0.27.2 to 0.27.3 2018-07-09 23:05:46 +02:00
Fredrik Fornwall
7f2409a148 qalc: Update from 2.6.0b to 2.6.1 2018-07-09 23:05:10 +02:00
Fredrik Fornwall
631d1be10b libgrpc: Update from 1.12.1 to 1.13.0 2018-07-09 22:41:15 +02:00
Fredrik Fornwall
ad035ce2a1 gmic: Update from 2.3.2 to 2.3.3 2018-07-09 22:40:02 +02:00
Leonid Pliushch
bd16ffc626 memcached: update to 1.5.9 2018-07-09 22:37:43 +02:00
Fredrik Fornwall
ba7c167dcd libgmp: Rebuild to fix arm (fixes #2624) 2018-07-06 10:50:05 +02:00
Fredrik Fornwall
018e7b4b38 vim: Update from 8.1.0100 to 8.1.0150 2018-07-05 13:43:38 +02:00
Fredrik Fornwall
513ec5c89b erlang: Update from 21.0.1 to 21.0.2 2018-07-05 13:41:25 +02:00
Fredrik Fornwall
b09a0e4f8d imagemagick: Update from 7.0.8.2 to 7.0.8.4 2018-07-05 13:41:04 +02:00
Fredrik Fornwall
9f29cc6844 tracepath: Update from 20161105 to 20180629 2018-07-04 16:43:34 +02:00
Fredrik Fornwall
de5499b773 gegl: Update from 0.4.2 to 0.4.4 2018-07-04 16:29:21 +02:00
Fredrik Fornwall
186a4c82ae harfbuzz: Update from 1.8.1 to 1.8.2 2018-07-04 16:28:58 +02:00
Fredrik Fornwall
86ddbcc87c openssh: Bump revision after 'SendEnv LANG' 2018-07-03 13:26:49 +02:00
Fredrik Fornwall
4d7dfd9b80 stunnel: Update from 5.47 to 5.48 2018-07-03 13:25:19 +02:00
Fredrik Fornwall
015d64b250 libxapian: Update from 1.4.5 to 1.4.6 2018-07-03 13:25:19 +02:00
Fredrik Fornwall
a1802ced3b babl: Update from 0.1.50 to 0.1.52 2018-07-03 13:25:19 +02:00
Leonid Pliushch
20e5d8252f unrar: fix getpass()
1. Use TCSANOW instead of TSAFLUSH to prevent failure on Android 8.
2. Return empty password if failed to read from console, fixes segfault.
2018-07-03 13:25:09 +02:00
Lauri Tirkkonen
4849877625 openssh: SendEnv LANG by default
many distributions use "AcceptEnv LANG LC_*" by default for sshd. this
fixes UTF-8 output from such servers that do not happen to set LANG or
LC_CTYPE to UTF-8 by default server-side (termux env already sets
LANG=en_US.UTF-8)
2018-07-03 11:56:47 +02:00
Fredrik Fornwall
3ae5dc75ef coreutils: Build with --disable-xattr
Build with --disable-xattr to avoid linking in libattr.so.
2018-07-03 11:26:07 +02:00
Fredrik Fornwall
f566a50c85 coreutils: Fix broken 32-bit builds. Fixes #2608 2018-07-03 11:17:10 +02:00