termux-packages
termux-packages copied to clipboard
[Package]: Qbittorrent-Nox
Package description
a command line Bittorrent client written in C++ / Qt
Home page URL
https://www.qbittorrent.org/
Source code URL
https://github.com/userdocs/qbittorrent-nox-static
Packaging policy acknowledgement
- [X] I have read and understand the Packaging Policy.
Additional information
No response
Requires Qt5 framework regardless of -nox
.
Requires Qt5 framework regardless of
-nox
.
https://github.com/userdocs/qbittorrent-nox-static provide static binary. Can we use that?
Its fully cli client why moved to x11?
Because Qt5 framework is packaged in x11 repo and a package in main repo cannot depend on packages in x11 repo.
Oh
Can't it be possible to provide, in the main repo, a statically compiled version of qbittorent-nox
for instance ?
https://forum.qbittorrent.org/viewtopic.php?t=8346
Binary from https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.6.0_v2.0.9/aarch64-qbittorrent-nox return error: "Bad system call"
Binary from https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.6.0_v2.0.9/aarch64-qbittorrent-nox return error: "Bad system call"
That is expected.
The pre-compiled binary wasn't compiled against libbionic
but most likely glibc
.
This is the main reason all packages on Termux need to be compiled from source before being put in the repos.
Edit: My bad, looks like the pre-compiled builds are built against MUSL libc. Same incompatibility issues still apply.
Yes, for non-NDK binaries https://wiki.termux.com/wiki/Differences_from_Linux apply.
You can try running it under termux-chroot
(command provided by proot
package). You may need the resolv-conf
package to be able to resolve tracker hosts.
Confirmed, it works under termux-chroot
:
On my phone, qbittorrent-nox-static works when using termux-chroot
, but networking always fail (it won't connect to trackers & DHT).
I've tested on rtorrent (termux), the networking works fine and able to download the torrent.
but networking always fail (it won't connect to trackers & DHT).
Install resolv-conf
package. The $PREFIX/etc/resolv.conf
is not provided by default. termux-chroot
will make it appear under /etc
directory and the static binary should be able to do DNS resolution.
@sylirre Still not working. I've installed resolv-conf. and adding $PREFIX/etc/resolv.conf
nameserver 1.1.1.1
nameserver 8.8.8.8
But still not work. Btw, I'm using Android 12 & latest termux.
However if I'm using Orbot, qbittorrent-nox-static able to connect to HTTPS trackers.
Do you think a proper termux package could be created for qbittorrent-nox
?
Or is it out of the question.
It's not merged yet, let's keep this open for the time being.
Got both the GUI and headless versions building and packaging fine, will merge within 8-10 hours, I need to get some sleep first.
Got both the GUI and headless versions building and packaging fine, will merge within 8-10 hours, I need to get some sleep first.
Should we dance?💃