c0re100 / qBittorrent-Enhanced-Edition

[Unofficial] qBittorrent Enhanced, based on qBittorrent
https://github.com/c0re100/qBittorrent-Enhanced-Edition
Other
19.37k stars 1.26k forks source link

Package for Fedora/RHEL/CentOS #267

Open inori39 opened 3 years ago

inori39 commented 3 years ago

We currently have packages for Arch Debian Ubuntu but missing RPM based packages.

The Open Build System one seems unmaintained and outdated and is for SUSE only

I'm currently working on this, please keep this issue for tracking.

inori39 commented 3 years ago

The copr build is now completed, provides latest version of QBEE for Fedora and 4.3.1.11 for RHEL8.

Tested on Fedora34, with and w/o GUI.

Please check: https://copr.fedorainfracloud.org/coprs/inori39/qbittorrent-enhanced/

By the way, do we have a packaging guideline? It seems the package names for each platform are different and conflicts the original QB.

I have named the package qbittorrent-enhanced and changed the executable's name to avoid conflict, please suggest if you have an idea, thank you!

Package details(GUI):

[root@work-pc /]# dnf info qbittorrent-enhanced
Last metadata expiration check: 2:35:36 ago on Thu 17 Jun 2021 12:53:00 PM JST.
Available Packages
Name         : qbittorrent-enhanced
Epoch        : 1
Version      : 4.3.5.10
Release      : 1.fc34
Architecture : src
Size         : 7.8 M
Source       : None
Repository   : copr:copr.fedorainfracloud.org:inori39:qbittorrent-enhanced
Summary      : A Enhanced qBittorrent Client
URL          : https://github.com/c0re100/qBittorrent-Enhanced-Edition
License      : GPLv2+
Description  : A enhanced version of qBittorrent client using rb_libtorrent and a Qt5.
             : Features:
             : Auto Ban Xunlei, QQ, Baidu, Xfplay, DLBT and Offline downloader
             : Auto Ban Unknown Peer from China Option (Default: OFF)
             : Auto Update Public Trackers List (Default: OFF)
             : Auto Ban BitTorrent Media Player Peer Option (Default: OFF)
             : Peer whitelist/blacklist

[root@work-pc ~]# dnf repoquery -l qbittorrent-enhanced
Last metadata expiration check: 2:32:07 ago on Thu 17 Jun 2021 12:53:00 PM JST.
/qbittorrent-enhanced-4.3.5.10.tar.gz
/qbittorrent-enhanced.spec
/usr/bin/qbittorrent-enhanced
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/8a205ff9285449d4e9db3736e0d8f2818d87c5
/usr/share/applications/org.qbittorrent.qBittorrent-Enhanced-Edition.desktop
/usr/share/doc/qbittorrent-enhanced
/usr/share/doc/qbittorrent-enhanced/AUTHORS
/usr/share/doc/qbittorrent-enhanced/Changelog
/usr/share/doc/qbittorrent-enhanced/NEWS
/usr/share/doc/qbittorrent-enhanced/README.md
/usr/share/doc/qbittorrent-enhanced/TODO
/usr/share/icons/hicolor/128x128/apps/qbittorrent.png
/usr/share/icons/hicolor/128x128/status/qbittorrent-tray.png
/usr/share/icons/hicolor/16x16/apps/qbittorrent.png
/usr/share/icons/hicolor/16x16/status/qbittorrent-tray.png
/usr/share/icons/hicolor/192x192/apps/qbittorrent.png
/usr/share/icons/hicolor/192x192/status/qbittorrent-tray.png
/usr/share/icons/hicolor/22x22/apps/qbittorrent.png
/usr/share/icons/hicolor/22x22/status/qbittorrent-tray.png
/usr/share/icons/hicolor/24x24/apps/qbittorrent.png
/usr/share/icons/hicolor/24x24/status/qbittorrent-tray.png
/usr/share/icons/hicolor/32x32/apps/qbittorrent.png
/usr/share/icons/hicolor/32x32/status/qbittorrent-tray.png
/usr/share/icons/hicolor/36x36/apps/qbittorrent.png
/usr/share/icons/hicolor/36x36/status/qbittorrent-tray.png
/usr/share/icons/hicolor/48x48/apps/qbittorrent.png
/usr/share/icons/hicolor/48x48/status/qbittorrent-tray.png
/usr/share/icons/hicolor/64x64/apps/qbittorrent.png
/usr/share/icons/hicolor/64x64/status/qbittorrent-tray.png
/usr/share/icons/hicolor/72x72/apps/qbittorrent.png
/usr/share/icons/hicolor/72x72/status/qbittorrent-tray.png
/usr/share/icons/hicolor/96x96/apps/qbittorrent.png
/usr/share/icons/hicolor/96x96/status/qbittorrent-tray.png
/usr/share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg
/usr/share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg
/usr/share/icons/hicolor/scalable/status/qbittorrent-tray.svg
/usr/share/licenses/qbittorrent-enhanced
/usr/share/licenses/qbittorrent-enhanced/COPYING
/usr/share/man/man1/qbittorrent.1.gz
/usr/share/metainfo/org.qbittorrent.qBittorrent-Enhanced-Edition.appdata.xml
maidmeow4 commented 3 years ago

Nice, will try on my raspberry pi 3.

maidmeow4 commented 3 years ago

Got the following error:

*** stack smashing detected ***: terminated

*************************************************************
Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.6.10

Caught signal: SIGABRT
Stack trace:
  /lib64/libc.so.6 : gsignal()+0xc0  [0xffffbb98d750]
  /lib64/libc.so.6 : abort()+0xf8  [0xffffbb9797dc]
  /lib64/libc.so.6 : ()+0x73168  [0xffffbb9c8168]
  /lib64/libc.so.6 : __fortify_fail()+0x30  [0xffffbba3f280]
  /lib64/libc.so.6 : ()+0xea248  [0xffffbba3f248]
  /lib64/libtorrent-rasterbar.so.10 : libtorrent::bt_peer_connection::on_sent(boost::system::error_code const&, unsigned long)+0  [0xffffbca9c064]
  /lib64/libtorrent-rasterbar.so.10 : libtorrent::peer_connection::setup_send()+0xec  [0xffffbca7919c]
  /lib64/libtorrent-rasterbar.so.10 : ()+0x13b3f4  [0xffffbca683f4]
  /lib64/libtorrent-rasterbar.so.10 : libtorrent::peer_connection::on_receive_data(boost::system::error_code const&, unsigned long)+0x310  [0xffffbca7ed34]
  /lib64/libtorrent-rasterbar.so.10 : ()+0x15c44c  [0xffffbca8944c]
  /lib64/libtorrent-rasterbar.so.10 : ()+0x156e7c  [0xffffbca83e7c]
  /lib64/libtorrent-rasterbar.so.10 : ()+0xdf918  [0xffffbca0c918]
  /lib64/libtorrent-rasterbar.so.10 : ()+0x1a0e8c  [0xffffbcacde8c]
  /lib64/libstdc++.so.6 : ()+0xd1ab0  [0xffffbbcc8ab0]
  /lib64/libpthread.so.0 : ()+0x8008  [0xffffbbae8008]
  /lib64/libc.so.6 : ()+0xda59c  [0xffffbba2f59c]

rb_libtorrent version : rb_libtorrent-1.2.13-1.fc34.aarch64