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

libtorrent 2.0 #482

Open
PhilCity opened this issue May 30, 2023 · 5 comments
Open

libtorrent 2.0 #482

PhilCity opened this issue May 30, 2023 · 5 comments

Comments

@PhilCity
Copy link

Suggestion

Will libtorrent 2.0 be used?

Use case

No response

Extra info/examples/attachments

No response

@abcfy2
Copy link

abcfy2 commented May 30, 2023

qbittorrent#18983

It seems libtorrent 2.0 has some performance issues. So upstream still use libtorrent 1.2 for release building.

But it's fine you can use libtorrent 2.0 for building yourself.

@b4bass
Copy link

b4bass commented Aug 28, 2023

Using ubuntu 22.04 ppa, it seems to be using libtorrent-rasterbar20 (Libtorrent: 2.0.9.0) like the official one

Is there a way to use the libtorrent-rasterbar10 using nox ? Because I cant use the AppImage headless

@abcfy2
Copy link

abcfy2 commented Aug 28, 2023

Using ubuntu 22.04 ppa, it seems to be using libtorrent-rasterbar20 (Libtorrent: 2.0.9.0) like the official one

Is there a way to use the libtorrent-rasterbar10 using nox ? Because I cant use the AppImage headless

See #465 (comment)

You may modify

https://github.com/c0re100/qBittorrent-Enhanced-Edition/blob/v4_5_x/.github/workflows/cross_build.sh#L15

export LIBTORRENT_BRANCH="RC_1_2"

Set LIBTORRENT_BRANCH to RC_2_0. Then use docker to build:

docker run --rm -v `git rev-parse --show-toplevel`:/build abcfy2/muslcc-toolchain-ubuntu:x86_64-linux-musl /build/.github/workflows/cross_build.sh

Then the build artifacts should under .github/workflows/

@b4bass
Copy link

b4bass commented Aug 28, 2023

Hi, sorry I didn't open a new issue, but I'm actually trying to use the 1.2 version as opposite to the 2.0 one shipped with the Ubuntu ppa.
It seems to be the case with the Debian ones from OBS as well

It could be nice if there was a way to use the 1.2 nix version as a package (jammy) so I can get auto update.

Also I'm using aarch64 on a pi 4

If I can't use a repo, how do I use qbittorrent-enhanced-nox_aarch64-linux-musl_static.zip the 1.2 lib and keep all dependencies in sync?

@abcfy2
Copy link

abcfy2 commented Aug 29, 2023

Hi, sorry I didn't open a new issue, but I'm actually trying to use the 1.2 version as opposite to the 2.0 one shipped with the Ubuntu ppa. It seems to be the case with the Debian ones from OBS as well

It could be nice if there was a way to use the 1.2 nix version as a package (jammy) so I can get auto update.

Also I'm using aarch64 on a pi 4

If I can't use a repo, how do I use qbittorrent-enhanced-nox_aarch64-linux-musl_static.zip the 1.2 lib and keep all dependencies in sync?

-nox uses static comiple, it static linked all the dependencies, and it does not use any system shared libraries. So you may
always download from https://github.com/c0re100/qBittorrent-Enhanced-Edition/releases/latest/download/qbittorrent-enhanced-nox_aarch64-linux-musl_static.zip. This URL always point to the latest release. See: https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release

And I'll consider to switch to libtorrent 2.0 when upstream uses this version by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants