Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package]: Qbittorrent-Nox #10081

Closed
1 task done
aicynide opened this issue Apr 1, 2022 · 18 comments
Closed
1 task done

[Package]: Qbittorrent-Nox #10081

aicynide opened this issue Apr 1, 2022 · 18 comments
Labels
package request A new package was requested x11 Issue is related to stuff requiring X11 environment or x11-packages

Comments

@aicynide
Copy link
Contributor

aicynide commented Apr 1, 2022

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 aicynide added the package request A new package was requested label Apr 1, 2022
@xtkoba xtkoba transferred this issue from termux/termux-packages Apr 1, 2022
@xtkoba
Copy link
Contributor

xtkoba commented Apr 1, 2022

Requires Qt5 framework regardless of -nox.

@aicynide
Copy link
Contributor Author

aicynide commented Apr 1, 2022

Requires Qt5 framework regardless of -nox.

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

@aicynide
Copy link
Contributor Author

aicynide commented Apr 1, 2022

Its fully cli client why moved to x11?

@xtkoba
Copy link
Contributor

xtkoba commented Apr 1, 2022

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

@aicynide
Copy link
Contributor Author

aicynide commented Apr 1, 2022

Oh

@thunder-coding thunder-coding transferred this issue from termux/x11-packages Apr 19, 2022
@xtkoba xtkoba added the x11 Issue is related to stuff requiring X11 environment or x11-packages label Apr 19, 2022
@maaaaz
Copy link

maaaaz commented Oct 1, 2022

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

@maaaaz
Copy link

maaaaz commented Oct 30, 2023

@DNS
Copy link

DNS commented Nov 4, 2023

@TomJo2000
Copy link
Member

TomJo2000 commented Nov 4, 2023

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.

@sylirre
Copy link
Member

sylirre commented Nov 4, 2023

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.

@Azathothas
Copy link

Confirmed, it works under termux-chroot:
image
image

@DNS
Copy link

DNS commented Nov 15, 2023

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.

@sylirre
Copy link
Member

sylirre commented Nov 15, 2023

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.

@DNS
Copy link

DNS commented Nov 15, 2023

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

@maaaaz
Copy link

maaaaz commented Nov 15, 2023

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

TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue Apr 28, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue Apr 28, 2024
@TomJo2000
Copy link
Member

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

@TomJo2000 TomJo2000 reopened this Apr 29, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue Apr 29, 2024
piyushgarg referenced this issue in piyushgarg/mpvtv Apr 29, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue May 3, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue May 3, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue May 3, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue May 4, 2024
TomJo2000 added a commit to TomJo2000/termux-packages-prs that referenced this issue May 4, 2024
@TomJo2000
Copy link
Member

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

@aicynide
Copy link
Contributor Author

aicynide commented May 5, 2024

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

bigbio2002 pushed a commit to bigbio2002/termux-packages that referenced this issue May 13, 2024
Freed-Wu pushed a commit to Freed-Wu/termux-packages that referenced this issue Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request A new package was requested x11 Issue is related to stuff requiring X11 environment or x11-packages
Projects
None yet
Development

No branches or pull requests

7 participants