qbittorrent: updated to 4.4.2 v4.4.2 - FEATURE: Allow to limit max memory working set size (glassez) - BUGFIX: Fix UI crash when torrent is in a non-existent category (Kevin Cox) - BUGFIX: Correctly handle changing of global save paths (glassez) - BUGFIX: Disable performance alert (Chocobo1) - BUGFIX: Prevent loading resume data with inconsistent ID (glassez) - BUGFIX: Properly handle metadata download for an existing torrent (glassez) - BUGFIX: Prevent crash when open torrent destination folder (glassez) - WINDOWS: NSIS: Update Spanish, Spanish International and French translations(Juanjo Jim辿nez, RqndomHax) v4.4.1 - FEATURE: Restore all torrent settings to the torrent's main context menu (thalieht) - FEATURE: Add confirmation for enabling Auto TMM from context menu (thalieht) - FEATURE: Add tooltip to Automatic Torrent Management context menu action (thalieht) - FEATURE: Add Select All/None buttons in new torrent dialog (thalieht) - BUGFIX: Keep "torrent info" alive while generate .torrent file (glassez) - BUGFIX: Correctly handle Auto TMM in Torrent Files Watcher (glassez) - BUGFIX: Correctly track the root folder name change (glassez) - BUGFIX: Various fixes to the moving torrent code (glassez) - BUGFIX: Update the torrent's download path field when changing category (thalieht) - BUGFIX: Correctly handle received metadata (glassez) - BUGFIX: Store hybrid torrents using legacy filenames (glassez) - BUGFIX: Open correct directory when clicked on Browse button (glassez) - BUGFIX: Fix crash when shutting down and clicing on system tray icon (Chocobo1) - BUGFIX: Fix "Free space on disk" in new torrent dialog (thalieht) - BUGFIX: Optimize completed files handling (Prince Gupta) - BUGFIX: Migrate proxy settings (sledgehammer999) - BUGFIX: Try to recover missing categories (glassez) - WEBUI: WebAPI: fix wrong key used for categories (Chocobo1) - WEBUI: Remove hack for outdated IE 6 browser (Chocobo1) - RSS: Correctly handle XML parsing errors (glassez) v4.4.0 - FEATURE: Support for v2 torrents along with libtorrent 2.0.x support (glassez, Chocobo1) - FEATURE: Support for Qt6 (glassez) - FEATURE: Expose libtorrent hashing_threads settings (Anton Bershanskiy) - FEATURE: Add "Notification timeout" option (kevtechxx) - FEATURE: Add `connection_speed` to advanced settings (Chocobo1) - FEATURE: Announce to all trackers if IP changed (zhuangzi926) - FEATURE: Add tooltip for various columns (Chocobo1) - FEATURE: Add context menu to toggle content tab columns (AbeniMatteo) - FEATURE: Add filter "Checking" to side panel (AbeniMatteo) - FEATURE: Add "Forced metadata downloading" state (AbeniMatteo) - FEATURE: Remember last viewed page in Options dialog (Chocobo1) - FEATURE: Add tooltip to listening port spinbox (Chocobo1) - FEATURE: Add "Skip hash check" option for watched folders (glassez) - FEATURE: Add "Show torrent options" double-click action (glassez) - FEATURE: Allow setting temp folder per torrent/catergory (glassez) - FEATURE: Support folder based UI Themes (Prince Gupta) - BUGFIX: Save "resume data" once file priority is changed (glassez) - BUGFIX: Show priority menu at top level if there is no other in Add New Torrent dialog (FozzeY) - BUGFIX: Capitalize "peer flags" descriptions (Chocobo1) - BUGFIX: Reorder peer flags (Chocobo1) - BUGFIX: Show "last activity" value under all circumstances (Chocobo1) - BUGFIX: Elide text from the right for all columns' header (smigii) - BUGFIX: Fix startup with different profiles (jagannatharjun) - BUGFIX: Move a few torrent context menu actions into "Torrent options" dialog (thalieht) - BUGFIX: Allow deselecting radio buttons in "Torrent options" for mixed torrents (thalieht) - BUGFIX: Apply file priority changes correctly (a-sum-duma, Chocobo1) - BUGFIX: Use proper string for Korean language (OctopusET) - BUGFIX: Disable "add peers" menu items instead of hiding it (Chocobo1) - BUGFIX: Disable system tray icon menu when app is exiting (Chocobo1) - BUGFIX: Show GUI lock icon after system tray icon is initialized (Chocobo1) - BUGFIX: Apply selected layout to displayed torrent content in "Add New Torrent" dialog (glassez) - WEBUI: Add reverse proxy source IP resolution (HiFiPhile) - WEBUI: Support navigating UI tables with arrow keys (Thomas Piccirello) - WEBUI: Support expanding/collapsing UI folders with arrow keys (Thomas Piccirello) - WEBUI: Support sorting UI tables via touch (Tom Piccirello) - WEBUI: Add pieces progress bar to General tab (Jesse Smick) - WEBUI: Update authors page (Chocobo1) - WEBUI: Set icon sizes attribute (Daniel Aleksandersen) - WEBUI: Add meta application name (Daniel Aleksandersen) - WEBUI: Sort WebUI language selection values (Chocobo1) - WEBUI: Use correct URL scheme in user prompt when HTTPS is enabled (Chocobo1) - RSS: Stick Unread row to top in RSS feed list (Prince Gupta) - RSS: Correctly use fallback icons for RSS feed in GUI (jagannatharjun) - SEARCH: Add context menu for tabs in search widget (Anton) - SEARCH: Add more download options to torrent search result right-click menu (a-sum-duma) - WINDOWS: Add windows-clang support (Biswapriyo Nath) - WINDOWS: Update python installer URL for Windows (xavier2k6) - WINDOWS: NSIS: Update Simplified Chinese translation (Losiki) - LINUX: Prolong wait time for shutdown for qbittorrent-nox (Chocobo1) - LINUX: Install vector program icon (Chocobo1) - LINUX: Add detection for OpenBSD, Haiku in configure script (Chocobo1) - MACOS: Update Mac icons for Big Sur (17jiangz1) - EXPERIMENTAL: Setting to store/load fastresume/torrent files in an SQLite database (glassez) - OTHER: Many internal code refactorings and bug fixing by many peoplediff -r1.39 -r1.40 pkgsrc/net/qbittorrent/Makefile
(adam)
@@ -1,37 +1,36 @@ | @@ -1,37 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.39 2022/04/18 19:11:53 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.40 2022/04/19 16:37:16 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= qbittorrent-4.3.9 | 3 | DISTNAME= qbittorrent-4.4.2 | |
4 | PKGREVISION= 3 | |||
5 | CATEGORIES= net | 4 | CATEGORIES= net | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=qbittorrent/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=qbittorrent/} | |
7 | GITHUB_PROJECT= qBittorrent | 6 | GITHUB_PROJECT= qBittorrent | |
8 | GITHUB_TAG= release-${PKGVERSION_NOREV} | 7 | GITHUB_TAG= release-${PKGVERSION_NOREV} | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://www.qbittorrent.org/ | 10 | HOMEPAGE= https://www.qbittorrent.org/ | |
12 | COMMENT= BitTorrent client in Qt | 11 | COMMENT= BitTorrent client in Qt | |
13 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
14 | 13 | |||
15 | USE_CMAKE= yes | 14 | USE_CMAKE= yes | |
16 | # c++14 mode is required; also for libtorrent | 15 | # c++14 mode is required; also for libtorrent | |
17 | # https://github.com/qbittorrent/qBittorrent/issues/11425 | 16 | # https://github.com/qbittorrent/qBittorrent/issues/11425 | |
18 | USE_LANGUAGES= c gnu++14 | 17 | USE_LANGUAGES= c gnu++14 | |
19 | USE_TOOLS+= pkg-config | 18 | USE_TOOLS+= pkg-config | |
20 | CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release" | 19 | CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release" | |
21 | 20 | |||
22 | TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools | 21 | TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools | |
23 | 22 | |||
24 | GCC_REQD+= 6 # c++14 | 23 | GCC_REQD+= 10 # c++14 | |
25 | 24 | |||
26 | LDFLAGS.NetBSD+= -ljemalloc | 25 | LDFLAGS.NetBSD+= -ljemalloc | |
27 | 26 | |||
28 | .include "../../devel/boost-libs/buildlink3.mk" | 27 | .include "../../devel/boost-libs/buildlink3.mk" | |
29 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.11 | 28 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.11 | |
30 | .include "../../devel/zlib/buildlink3.mk" | 29 | .include "../../devel/zlib/buildlink3.mk" | |
31 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 30 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
32 | .include "../../net/libtorrent-rasterbar/buildlink3.mk" | 31 | .include "../../net/libtorrent-rasterbar/buildlink3.mk" | |
33 | .include "../../security/openssl/buildlink3.mk" | 32 | .include "../../security/openssl/buildlink3.mk" | |
34 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 33 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
35 | .include "../../x11/qt5-qtbase/buildlink3.mk" | 34 | .include "../../x11/qt5-qtbase/buildlink3.mk" | |
36 | .if ${OPSYS} == "Darwin" | 35 | .if ${OPSYS} == "Darwin" | |
37 | . include "../../x11/qt5-qtmacextras/buildlink3.mk" | 36 | . include "../../x11/qt5-qtmacextras/buildlink3.mk" |
@@ -1,30 +1,31 @@ | @@ -1,30 +1,31 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2019/12/16 18:03:20 nia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2022/04/19 16:37:16 adam Exp $ | |
2 | bin/qbittorrent | 2 | bin/qbittorrent | |
3 | man/man1/qbittorrent.1 | 3 | man/man1/qbittorrent.1 | |
4 | share/applications/org.qbittorrent.qBittorrent.desktop | 4 | share/applications/org.qbittorrent.qBittorrent.desktop | |
5 | share/icons/hicolor/128x128/apps/qbittorrent.png | 5 | share/icons/hicolor/128x128/apps/qbittorrent.png | |
6 | share/icons/hicolor/128x128/status/qbittorrent-tray.png | 6 | share/icons/hicolor/128x128/status/qbittorrent-tray.png | |
7 | share/icons/hicolor/16x16/apps/qbittorrent.png | 7 | share/icons/hicolor/16x16/apps/qbittorrent.png | |
8 | share/icons/hicolor/16x16/status/qbittorrent-tray.png | 8 | share/icons/hicolor/16x16/status/qbittorrent-tray.png | |
9 | share/icons/hicolor/192x192/apps/qbittorrent.png | 9 | share/icons/hicolor/192x192/apps/qbittorrent.png | |
10 | share/icons/hicolor/192x192/status/qbittorrent-tray.png | 10 | share/icons/hicolor/192x192/status/qbittorrent-tray.png | |
11 | share/icons/hicolor/22x22/apps/qbittorrent.png | 11 | share/icons/hicolor/22x22/apps/qbittorrent.png | |
12 | share/icons/hicolor/22x22/status/qbittorrent-tray.png | 12 | share/icons/hicolor/22x22/status/qbittorrent-tray.png | |
13 | share/icons/hicolor/24x24/apps/qbittorrent.png | 13 | share/icons/hicolor/24x24/apps/qbittorrent.png | |
14 | share/icons/hicolor/24x24/status/qbittorrent-tray.png | 14 | share/icons/hicolor/24x24/status/qbittorrent-tray.png | |
15 | share/icons/hicolor/32x32/apps/qbittorrent.png | 15 | share/icons/hicolor/32x32/apps/qbittorrent.png | |
16 | share/icons/hicolor/32x32/status/qbittorrent-tray.png | 16 | share/icons/hicolor/32x32/status/qbittorrent-tray.png | |
17 | share/icons/hicolor/36x36/apps/qbittorrent.png | 17 | share/icons/hicolor/36x36/apps/qbittorrent.png | |
18 | share/icons/hicolor/36x36/status/qbittorrent-tray.png | 18 | share/icons/hicolor/36x36/status/qbittorrent-tray.png | |
19 | share/icons/hicolor/48x48/apps/qbittorrent.png | 19 | share/icons/hicolor/48x48/apps/qbittorrent.png | |
20 | share/icons/hicolor/48x48/status/qbittorrent-tray.png | 20 | share/icons/hicolor/48x48/status/qbittorrent-tray.png | |
21 | share/icons/hicolor/64x64/apps/qbittorrent.png | 21 | share/icons/hicolor/64x64/apps/qbittorrent.png | |
22 | share/icons/hicolor/64x64/status/qbittorrent-tray.png | 22 | share/icons/hicolor/64x64/status/qbittorrent-tray.png | |
23 | share/icons/hicolor/72x72/apps/qbittorrent.png | 23 | share/icons/hicolor/72x72/apps/qbittorrent.png | |
24 | share/icons/hicolor/72x72/status/qbittorrent-tray.png | 24 | share/icons/hicolor/72x72/status/qbittorrent-tray.png | |
25 | share/icons/hicolor/96x96/apps/qbittorrent.png | 25 | share/icons/hicolor/96x96/apps/qbittorrent.png | |
26 | share/icons/hicolor/96x96/status/qbittorrent-tray.png | 26 | share/icons/hicolor/96x96/status/qbittorrent-tray.png | |
27 | share/icons/hicolor/scalable/apps/qbittorrent.svg | |||
27 | share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg | 28 | share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg | |
28 | share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg | 29 | share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg | |
29 | share/icons/hicolor/scalable/status/qbittorrent-tray.svg | 30 | share/icons/hicolor/scalable/status/qbittorrent-tray.svg | |
30 | share/metainfo/org.qbittorrent.qBittorrent.appdata.xml | 31 | share/metainfo/org.qbittorrent.qBittorrent.appdata.xml |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.18 2021/11/10 16:07:38 adam Exp $ | 1 | $NetBSD: distinfo,v 1.19 2022/04/19 16:37:16 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (qbittorrent-4.3.9.tar.gz) = 40679c47407d6c26b665f518f84f6910cfc9d116b681150c4e15277ecabcb837 | 3 | BLAKE2s (qbittorrent-4.4.2.tar.gz) = 64949c1960b9735c6ee95ddef0e82d6d449ea46e5527820e6ea973b7e4c513c9 | |
4 | SHA512 (qbittorrent-4.3.9.tar.gz) = ec33f67895fbf47acc2f79d9c9e16db8b96c756cf493b76eb24b90e13a790a709104ea9aa378ee111d8c38b605bed5192b366d1917bbf160b21aa2ae3aacd2d1 | 4 | SHA512 (qbittorrent-4.4.2.tar.gz) = 55656fb5fd282a3ed0e703b9b47ec9733a70cf6242cae956a5b2487ef2aeb88a04bf5d37c8fa88554edf95ab0821b76ebebb53e8fc43dc5889f8c730075d6e26 | |
5 | Size (qbittorrent-4.3.9.tar.gz) = 8510414 bytes | 5 | Size (qbittorrent-4.4.2.tar.gz) = 9197188 bytes | |
6 | SHA1 (patch-dist_CMakeLists.txt) = 2c426222aa168c24a2e39a665f3152eca848e4a8 | 6 | SHA1 (patch-dist_CMakeLists.txt) = 2c426222aa168c24a2e39a665f3152eca848e4a8 | |
7 | SHA1 (patch-src_CMakeLists.txt) = 534447977b76939816a2549201e0fb9dd606b77d | 7 | SHA1 (patch-src_CMakeLists.txt) = 2359af057f1d4913c2126cbd3564ebf25d1a7879 | |
8 | SHA1 (patch-src_app_CMakeLists.txt) = 2f609b9cb173d825f0207e3267e51dce0be9b4fa | 8 | SHA1 (patch-src_app_CMakeLists.txt) = 2f609b9cb173d825f0207e3267e51dce0be9b4fa | |
9 | SHA1 (patch-src_base_utils_fs.cpp) = 88355e2698f5298c597f2240e853238831eb7994 | 9 | SHA1 (patch-src_base_utils_fs.cpp) = 7a3ba8533682373e7dc202200f98a7f7da88d5c5 |
@@ -1,12 +1,13 @@ | @@ -1,12 +1,13 @@ | |||
1 | $NetBSD: patch-src_CMakeLists.txt,v 1.2 2021/01/06 14:27:45 adam Exp $ | 1 | $NetBSD: patch-src_CMakeLists.txt,v 1.3 2022/04/19 16:37:16 adam Exp $ | |
2 | 2 | |||
3 | Treat Darwin as any other UNIX. | 3 | Treat Darwin as any other UNIX. | |
4 | 4 | |||
5 | --- src/CMakeLists.txt.orig 2020-12-27 11:42:41.000000000 +0000 | 5 | --- src/CMakeLists.txt.orig 2022-04-19 13:04:41.000000000 +0000 | |
6 | +++ src/CMakeLists.txt | 6 | +++ src/CMakeLists.txt | |
7 | @@ -1,4 +1,4 @@ | 7 | @@ -1,5 +1,5 @@ | |
8 | -if (UNIX AND (NOT APPLE) AND (NOT CYGWIN)) | 8 | macro(find_libtorrent version) | |
9 | +if (UNIX AND (NOT CYGWIN)) | 9 | - if (UNIX AND (NOT APPLE) AND (NOT CYGWIN)) | |
10 | find_package(LibtorrentRasterbar QUIET ${minLibtorrentVersion} COMPONENTS torrent-rasterbar) | 10 | + if (UNIX AND (NOT CYGWIN)) | |
11 | if (NOT LibtorrentRasterbar_FOUND) | 11 | find_package(LibtorrentRasterbar QUIET ${version} COMPONENTS torrent-rasterbar) | |
12 | include(FindPkgConfig) | 12 | if (NOT LibtorrentRasterbar_FOUND) | |
13 | include(FindPkgConfig) |
@@ -1,35 +1,35 @@ | @@ -1,35 +1,35 @@ | |||
1 | $NetBSD: patch-src_base_utils_fs.cpp,v 1.1 2019/12/16 18:03:20 nia Exp $ | 1 | $NetBSD: patch-src_base_utils_fs.cpp,v 1.2 2022/04/19 16:37:16 adam Exp $ | |
2 | 2 | |||
3 | Support NetBSD. | 3 | Support NetBSD. | |
4 | 4 | |||
5 | --- src/base/utils/fs.cpp.orig 2019-12-02 23:19:18.000000000 +0000 | 5 | --- src/base/utils/fs.cpp.orig 2022-03-22 14:14:07.000000000 +0000 | |
6 | +++ src/base/utils/fs.cpp | 6 | +++ src/base/utils/fs.cpp | |
7 | @@ -39,7 +39,7 @@ | 7 | @@ -40,7 +40,7 @@ | |
8 | 8 | |||
9 | #if defined(Q_OS_WIN) | 9 | #if defined(Q_OS_WIN) | |
10 | #include <Windows.h> | 10 | #include <Windows.h> | |
11 | -#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) | 11 | -#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) | |
12 | +#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) | 12 | +#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) | |
13 | #include <sys/param.h> | 13 | #include <sys/param.h> | |
14 | #include <sys/mount.h> | 14 | #include <sys/mount.h> | |
15 | #elif defined(Q_OS_HAIKU) | 15 | #elif defined(Q_OS_HAIKU) | |
16 | @@ -49,6 +49,10 @@ | 16 | @@ -50,6 +50,10 @@ | |
17 | #include <unistd.h> | 17 | #include <unistd.h> | |
18 | #endif | 18 | #endif | |
19 | 19 | |||
20 | +#if defined(Q_OS_NETBSD) | 20 | +#if defined(Q_OS_NETBSD) | |
21 | +#define statfs statvfs | 21 | +#define statfs statvfs | |
22 | +#endif | 22 | +#endif | |
23 | + | 23 | + | |
24 | #include <QDebug> | 24 | #include <QDebug> | |
25 | #include <QDir> | 25 | #include <QDir> | |
26 | #include <QDirIterator> | 26 | #include <QDirIterator> | |
27 | @@ -321,7 +325,7 @@ bool Utils::Fs::isNetworkFileSystem(cons | 27 | @@ -356,7 +360,7 @@ bool Utils::Fs::isNetworkFileSystem(cons | |
28 | if (statfs(file.toLocal8Bit().constData(), &buf) != 0) | |||
28 | return false; | 29 | return false; | |
29 | 30 | |||
30 | return (::GetDriveTypeW(volumePath.get()) == DRIVE_REMOTE); | 31 | -#if defined(Q_OS_OPENBSD) | |
31 | -#elif defined(Q_OS_MACOS) || defined(Q_OS_OPENBSD) | 32 | +#if defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) | |
32 | +#elif defined(Q_OS_MACOS) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) | 33 | return ((strncmp(buf.f_fstypename, "cifs", sizeof(buf.f_fstypename)) == 0) | |
33 | QString file = path; | 34 | || (strncmp(buf.f_fstypename, "nfs", sizeof(buf.f_fstypename)) == 0) | |
34 | if (!file.endsWith('/')) | 35 | || (strncmp(buf.f_fstypename, "smbfs", sizeof(buf.f_fstypename)) == 0)); | |
35 | file += '/'; |