Tue Apr 19 16:37:16 2022 UTC ()
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 people


(adam)
diff -r1.39 -r1.40 pkgsrc/net/qbittorrent/Makefile
diff -r1.1 -r1.2 pkgsrc/net/qbittorrent/PLIST
diff -r1.18 -r1.19 pkgsrc/net/qbittorrent/distinfo
diff -r1.2 -r1.3 pkgsrc/net/qbittorrent/patches/patch-src_CMakeLists.txt
diff -r1.1 -r1.2 pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp

cvs diff -r1.39 -r1.40 pkgsrc/net/qbittorrent/Makefile (expand / switch to context diff)
--- pkgsrc/net/qbittorrent/Makefile 2022/04/18 19:11:53 1.39
+++ pkgsrc/net/qbittorrent/Makefile 2022/04/19 16:37:16 1.40
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2022/04/18 19:11:53 adam Exp $
+# $NetBSD: Makefile,v 1.40 2022/04/19 16:37:16 adam Exp $
 
-DISTNAME=	qbittorrent-4.3.9
-PKGREVISION=	3
+DISTNAME=	qbittorrent-4.4.2
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=qbittorrent/}
 GITHUB_PROJECT=	qBittorrent
@@ -21,7 +20,7 @@
 
 TOOL_DEPENDS+=	qt5-qttools-[0-9]*:../../x11/qt5-qttools
 
-GCC_REQD+=	6 # c++14
+GCC_REQD+=	10 # c++14
 
 LDFLAGS.NetBSD+=	-ljemalloc
 

cvs diff -r1.1 -r1.2 pkgsrc/net/qbittorrent/PLIST (expand / switch to context diff)
--- pkgsrc/net/qbittorrent/PLIST 2019/12/16 18:03:20 1.1
+++ pkgsrc/net/qbittorrent/PLIST 2022/04/19 16:37:16 1.2
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/12/16 18:03:20 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/04/19 16:37:16 adam Exp $
 bin/qbittorrent
 man/man1/qbittorrent.1
 share/applications/org.qbittorrent.qBittorrent.desktop
@@ -24,6 +24,7 @@
 share/icons/hicolor/72x72/status/qbittorrent-tray.png
 share/icons/hicolor/96x96/apps/qbittorrent.png
 share/icons/hicolor/96x96/status/qbittorrent-tray.png
+share/icons/hicolor/scalable/apps/qbittorrent.svg
 share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg
 share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg
 share/icons/hicolor/scalable/status/qbittorrent-tray.svg

cvs diff -r1.18 -r1.19 pkgsrc/net/qbittorrent/distinfo (expand / switch to context diff)
--- pkgsrc/net/qbittorrent/distinfo 2021/11/10 16:07:38 1.18
+++ pkgsrc/net/qbittorrent/distinfo 2022/04/19 16:37:16 1.19
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.18 2021/11/10 16:07:38 adam Exp $
+$NetBSD: distinfo,v 1.19 2022/04/19 16:37:16 adam Exp $
 
-BLAKE2s (qbittorrent-4.3.9.tar.gz) = 40679c47407d6c26b665f518f84f6910cfc9d116b681150c4e15277ecabcb837
-SHA512 (qbittorrent-4.3.9.tar.gz) = ec33f67895fbf47acc2f79d9c9e16db8b96c756cf493b76eb24b90e13a790a709104ea9aa378ee111d8c38b605bed5192b366d1917bbf160b21aa2ae3aacd2d1
-Size (qbittorrent-4.3.9.tar.gz) = 8510414 bytes
+BLAKE2s (qbittorrent-4.4.2.tar.gz) = 64949c1960b9735c6ee95ddef0e82d6d449ea46e5527820e6ea973b7e4c513c9
+SHA512 (qbittorrent-4.4.2.tar.gz) = 55656fb5fd282a3ed0e703b9b47ec9733a70cf6242cae956a5b2487ef2aeb88a04bf5d37c8fa88554edf95ab0821b76ebebb53e8fc43dc5889f8c730075d6e26
+Size (qbittorrent-4.4.2.tar.gz) = 9197188 bytes
 SHA1 (patch-dist_CMakeLists.txt) = 2c426222aa168c24a2e39a665f3152eca848e4a8
-SHA1 (patch-src_CMakeLists.txt) = 534447977b76939816a2549201e0fb9dd606b77d
+SHA1 (patch-src_CMakeLists.txt) = 2359af057f1d4913c2126cbd3564ebf25d1a7879
 SHA1 (patch-src_app_CMakeLists.txt) = 2f609b9cb173d825f0207e3267e51dce0be9b4fa
-SHA1 (patch-src_base_utils_fs.cpp) = 88355e2698f5298c597f2240e853238831eb7994
+SHA1 (patch-src_base_utils_fs.cpp) = 7a3ba8533682373e7dc202200f98a7f7da88d5c5

cvs diff -r1.2 -r1.3 pkgsrc/net/qbittorrent/patches/Attic/patch-src_CMakeLists.txt (expand / switch to context diff)
--- pkgsrc/net/qbittorrent/patches/Attic/patch-src_CMakeLists.txt 2021/01/06 14:27:45 1.2
+++ pkgsrc/net/qbittorrent/patches/Attic/patch-src_CMakeLists.txt 2022/04/19 16:37:16 1.3
@@ -1,12 +1,13 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.2 2021/01/06 14:27:45 adam Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.3 2022/04/19 16:37:16 adam Exp $
 
 Treat Darwin as any other UNIX.
 
---- src/CMakeLists.txt.orig	2020-12-27 11:42:41.000000000 +0000
+--- src/CMakeLists.txt.orig	2022-04-19 13:04:41.000000000 +0000
 +++ src/CMakeLists.txt
-@@ -1,4 +1,4 @@
+@@ -1,5 +1,5 @@
--if (UNIX AND (NOT APPLE) AND (NOT CYGWIN))
+ macro(find_libtorrent version)
-+if (UNIX AND (NOT CYGWIN))
+-    if (UNIX AND (NOT APPLE) AND (NOT CYGWIN))
-     find_package(LibtorrentRasterbar QUIET ${minLibtorrentVersion} COMPONENTS torrent-rasterbar)
++    if (UNIX AND (NOT CYGWIN))
-     if (NOT LibtorrentRasterbar_FOUND)
+         find_package(LibtorrentRasterbar QUIET ${version} COMPONENTS torrent-rasterbar)
-         include(FindPkgConfig)
+         if (NOT LibtorrentRasterbar_FOUND)
+             include(FindPkgConfig)

cvs diff -r1.1 -r1.2 pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp (expand / switch to context diff)
--- pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp 2019/12/16 18:03:20 1.1
+++ pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp 2022/04/19 16:37:16 1.2
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_base_utils_fs.cpp,v 1.1 2019/12/16 18:03:20 nia Exp $
+$NetBSD: patch-src_base_utils_fs.cpp,v 1.2 2022/04/19 16:37:16 adam Exp $
 
 Support NetBSD.
 
---- src/base/utils/fs.cpp.orig	2019-12-02 23:19:18.000000000 +0000
+--- src/base/utils/fs.cpp.orig	2022-03-22 14:14:07.000000000 +0000
 +++ src/base/utils/fs.cpp
-@@ -39,7 +39,7 @@
+@@ -40,7 +40,7 @@
  
  #if defined(Q_OS_WIN)
  #include <Windows.h>
@@ -13,7 +13,7 @@
  #include <sys/param.h>
  #include <sys/mount.h>
  #elif defined(Q_OS_HAIKU)
-@@ -49,6 +49,10 @@
+@@ -50,6 +50,10 @@
  #include <unistd.h>
  #endif
  
@@ -24,12 +24,12 @@
  #include <QDebug>
  #include <QDir>
  #include <QDirIterator>
-@@ -321,7 +325,7 @@ bool Utils::Fs::isNetworkFileSystem(cons
+@@ -356,7 +360,7 @@ bool Utils::Fs::isNetworkFileSystem(cons
+     if (statfs(file.toLocal8Bit().constData(), &buf) != 0)
          return false;
  
-     return (::GetDriveTypeW(volumePath.get()) == DRIVE_REMOTE);
+-#if defined(Q_OS_OPENBSD)
--#elif defined(Q_OS_MACOS) || defined(Q_OS_OPENBSD)
++#if defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD)
-+#elif defined(Q_OS_MACOS) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+     return ((strncmp(buf.f_fstypename, "cifs", sizeof(buf.f_fstypename)) == 0)
-     QString file = path;
+         || (strncmp(buf.f_fstypename, "nfs", sizeof(buf.f_fstypename)) == 0)
-     if (!file.endsWith('/'))
+         || (strncmp(buf.f_fstypename, "smbfs", sizeof(buf.f_fstypename)) == 0));
-         file += '/';