termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

[Package]: Qbittorrent-Nox

Open aicynide opened this issue 2 years ago • 6 comments

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

Additional information

No response

aicynide avatar Apr 01 '22 20:04 aicynide

Requires Qt5 framework regardless of -nox.

xtkoba avatar Apr 01 '22 21:04 xtkoba

Requires Qt5 framework regardless of -nox.

https://github.com/userdocs/qbittorrent-nox-static provide static binary. Can we use that?

aicynide avatar Apr 01 '22 21:04 aicynide

Its fully cli client why moved to x11?

aicynide avatar Apr 01 '22 21:04 aicynide

Because Qt5 framework is packaged in x11 repo and a package in main repo cannot depend on packages in x11 repo.

xtkoba avatar Apr 01 '22 21:04 xtkoba

Oh

aicynide avatar Apr 01 '22 21:04 aicynide

Can't it be possible to provide, in the main repo, a statically compiled version of qbittorent-nox for instance ?

maaaaz avatar Oct 01 '22 10:10 maaaaz

https://forum.qbittorrent.org/viewtopic.php?t=8346

maaaaz avatar Oct 30 '23 19:10 maaaaz

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"

DNS avatar Nov 04 '23 12:11 DNS

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.

TomJo2000 avatar Nov 04 '23 13:11 TomJo2000

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.

sylirre avatar Nov 04 '23 14:11 sylirre

Confirmed, it works under termux-chroot: image image

Azathothas avatar Nov 10 '23 10:11 Azathothas

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.

DNS avatar Nov 15 '23 16:11 DNS

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 avatar Nov 15 '23 16:11 sylirre

@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.

DNS avatar Nov 15 '23 16:11 DNS

Do you think a proper termux package could be created for qbittorrent-nox ? Or is it out of the question.

maaaaz avatar Nov 15 '23 23:11 maaaaz

It's not merged yet, let's keep this open for the time being.

TomJo2000 avatar Apr 29 '24 00:04 TomJo2000

Got both the GUI and headless versions building and packaging fine, will merge within 8-10 hours, I need to get some sleep first.

TomJo2000 avatar May 04 '24 02:05 TomJo2000

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?💃

aicynide avatar May 05 '24 18:05 aicynide