Hello community,

here is the log from the commit of package qbittorrent for openSUSE:Factory 
checked in at 2019-10-28 16:59:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qbittorrent (Old)
 and      /work/SRC/openSUSE:Factory/.qbittorrent.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qbittorrent"

Mon Oct 28 16:59:00 2019 rev:73 rq:743430 version:4.1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/qbittorrent/qbittorrent.changes  2019-09-26 
20:48:44.977337625 +0200
+++ /work/SRC/openSUSE:Factory/.qbittorrent.new.2990/qbittorrent.changes        
2019-10-28 17:00:12.993747062 +0100
@@ -1,0 +2,10 @@
+Mon Oct 28 07:50:22 UTC 2019 - Luigi Baldoni <[email protected]>
+
+- Update to version 4.1.9
+  * BUGFIX: Preserve relative order when moving to top/bottom in
+    queue (Chocobo1)
+  * WEBUI: Bump Web API version
+
+- Spec cleanup. Use cmake() instead of pkgconfig() where possible
+
+-------------------------------------------------------------------

Old:
----
  qbittorrent-4.1.8.tar.xz
  qbittorrent-4.1.8.tar.xz.asc

New:
----
  qbittorrent-4.1.9.tar.xz
  qbittorrent-4.1.9.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qbittorrent.spec ++++++
--- /var/tmp/diff_new_pack.iRkHfu/_old  2019-10-28 17:00:13.757747979 +0100
+++ /var/tmp/diff_new_pack.iRkHfu/_new  2019-10-28 17:00:13.765747989 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           qbittorrent
-Version:        4.1.8
+Version:        4.1.9
 Release:        0
 Summary:        A BitTorrent client in Qt
 License:        GPL-2.0-or-later
@@ -30,16 +30,16 @@
 BuildRequires:  cmake >= 3.9
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  libqt5-linguist-devel
-BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(Qt5Concurrent)
-BuildRequires:  pkgconfig(Qt5Core)
-BuildRequires:  pkgconfig(Qt5DBus)
-BuildRequires:  pkgconfig(Qt5Gui)
-BuildRequires:  pkgconfig(Qt5Network)
-BuildRequires:  pkgconfig(Qt5Svg)
-BuildRequires:  pkgconfig(Qt5Widgets)
-BuildRequires:  pkgconfig(Qt5Xml)
+BuildRequires:  libboost_system-devel
+BuildRequires:  cmake(Qt5Concurrent)
+BuildRequires:  cmake(Qt5Core)
+BuildRequires:  cmake(Qt5DBus)
+BuildRequires:  cmake(Qt5Gui)
+BuildRequires:  cmake(Qt5LinguistTools)
+BuildRequires:  cmake(Qt5Network)
+BuildRequires:  cmake(Qt5Svg)
+BuildRequires:  cmake(Qt5Widgets)
+BuildRequires:  cmake(Qt5Xml)
 BuildRequires:  pkgconfig(libtorrent-rasterbar) >= 1.1.4
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(zlib)
@@ -49,12 +49,6 @@
 Recommends:     python
 # For search engines.
 Recommends:     python3
-%if 0%{?suse_version} >= 1500
-BuildRequires:  libboost_system-devel
-%else
-BuildRequires:  boost-devel
-BuildRequires:  update-desktop-files
-%endif
 
 %description
 qBittorrent is a bittorrent client programmed in C++ and Qt that
@@ -112,16 +106,6 @@
 %post nox
 %service_add_post %{name}[email protected]
 
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-%endif
-
 %files
 %license COPYING
 %doc AUTHORS Changelog README.md TODO

++++++ qbittorrent-4.1.8.tar.xz -> qbittorrent-4.1.9.tar.xz ++++++
++++ 5261 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/Changelog new/qbittorrent-4.1.9/Changelog
--- old/qbittorrent-4.1.8/Changelog     2019-09-23 21:07:21.000000000 +0200
+++ new/qbittorrent-4.1.9/Changelog     2019-10-27 16:35:46.000000000 +0100
@@ -1,3 +1,8 @@
+* Sun Oct 27 2019 - sledgehammer999 <[email protected]> - v4.1.9
+    - BUGFIX: Preserve relative order when moving to top/bottom in queue 
(Chocobo1)
+    - WINDOWS: Use real physical screen DPI (Chocobo1)
+    - WEBUI: Bump Web API version
+
 * Mon Sep 23 2019 - sledgehammer999 <[email protected]> - v4.1.8
     - BUGFIX: Fix filename validation on non-Windows OS (Chocobo1)
     - BUGFIX: ScanFolders/FileSystemWatcher now detect magnet files with case 
insensitivity in filename (Chocobo1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/build-aux/compile new/qbittorrent-4.1.9/build-aux/compile
--- old/qbittorrent-4.1.8/build-aux/compile     2019-09-23 21:07:21.000000000 
+0200
+++ new/qbittorrent-4.1.9/build-aux/compile     2019-10-27 16:35:46.000000000 
+0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -255,7 +255,8 @@
     echo "compile $scriptversion"
     exit $?
     ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
 esac
@@ -339,9 +340,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/build-aux/missing new/qbittorrent-4.1.9/build-aux/missing
--- old/qbittorrent-4.1.8/build-aux/missing     2019-09-23 21:07:21.000000000 
+0200
+++ new/qbittorrent-4.1.9/build-aux/missing     2019-10-27 16:35:46.000000000 
+0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
   exit $st
 fi
 
-perl_URL=http://www.perl.org/
-flex_URL=http://flex.sourceforge.net/
-gnu_software_URL=http://www.gnu.org/software
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
 
 program_details ()
 {
@@ -207,9 +207,9 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/configure.ac new/qbittorrent-4.1.9/configure.ac
--- old/qbittorrent-4.1.8/configure.ac  2019-09-23 21:07:21.000000000 +0200
+++ new/qbittorrent-4.1.9/configure.ac  2019-10-27 16:35:46.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([qbittorrent], [v4.1.8], [bugs.qbittorrent.org], [], 
[https://www.qbittorrent.org/])
+AC_INIT([qbittorrent], [v4.1.9], [bugs.qbittorrent.org], [], 
[https://www.qbittorrent.org/])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 AC_PROG_CC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/dist/mac/Info.plist 
new/qbittorrent-4.1.9/dist/mac/Info.plist
--- old/qbittorrent-4.1.8/dist/mac/Info.plist   2019-09-23 21:07:21.000000000 
+0200
+++ new/qbittorrent-4.1.9/dist/mac/Info.plist   2019-10-27 16:35:46.000000000 
+0100
@@ -55,7 +55,7 @@
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
-       <string>4.1.8</string>
+       <string>4.1.9</string>
        <key>CFBundleExecutable</key>
        <string>@EXECUTABLE@</string>
        <key>CFBundleIdentifier</key>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/dist/windows/options.nsi 
new/qbittorrent-4.1.9/dist/windows/options.nsi
--- old/qbittorrent-4.1.8/dist/windows/options.nsi      2019-09-23 
21:07:21.000000000 +0200
+++ new/qbittorrent-4.1.9/dist/windows/options.nsi      2019-10-27 
16:35:46.000000000 +0100
@@ -27,7 +27,7 @@
 !define CSIDL_LOCALAPPDATA '0x1C' ;Local Application Data path
 
 ; Program specific
-!define PROG_VERSION "4.1.8"
+!define PROG_VERSION "4.1.9"
 
 !define MUI_FINISHPAGE_RUN
 !define MUI_FINISHPAGE_RUN_FUNCTION PageFinishRun
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/m4/ax_boost_base.m4 
new/qbittorrent-4.1.9/m4/ax_boost_base.m4
--- old/qbittorrent-4.1.8/m4/ax_boost_base.m4   2019-09-23 21:07:21.000000000 
+0200
+++ new/qbittorrent-4.1.9/m4/ax_boost_base.m4   2019-10-27 16:35:46.000000000 
+0100
@@ -33,7 +33,7 @@
 #   and this notice are preserved. This file is offered as-is, without any
 #   warranty.
 
-#serial 42
+#serial 47
 
 # example boost program (need to pass version)
 m4_define([_AX_BOOST_BASE_PROGRAM],
@@ -113,7 +113,8 @@
     dnl are found, e.g. when only header-only libraries are installed!
     AS_CASE([${host_cpu}],
       [x86_64],[libsubdirs="lib64 libx32 lib lib64"],
-      [ppc64|s390x|sparc64|aarch64|ppc64le],[libsubdirs="lib64 lib lib64"],
+      [mips*64*],[libsubdirs="lib64 lib32 lib lib64"],
+      
[ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64],[libsubdirs="lib64
 lib lib64"],
       [libsubdirs="lib"]
     )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/m4/ax_boost_system.m4 
new/qbittorrent-4.1.9/m4/ax_boost_system.m4
--- old/qbittorrent-4.1.8/m4/ax_boost_system.m4 2019-09-23 21:07:21.000000000 
+0200
+++ new/qbittorrent-4.1.9/m4/ax_boost_system.m4 2019-10-27 16:35:46.000000000 
+0100
@@ -31,7 +31,7 @@
 #   and this notice are preserved. This file is offered as-is, without any
 #   warranty.
 
-#serial 19
+#serial 20
 
 AC_DEFUN([AX_BOOST_SYSTEM],
 [
@@ -108,7 +108,7 @@
 
             fi
             if test "x$ax_lib" = "x"; then
-                AC_MSG_ERROR(Could not find a version of the library!)
+                AC_MSG_ERROR(Could not find a version of the Boost::System 
library!)
             fi
                        if test "x$link_system" = "xno"; then
                                AC_MSG_ERROR(Could not link against $ax_lib !)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/src/base/bittorrent/session.cpp 
new/qbittorrent-4.1.9/src/base/bittorrent/session.cpp
--- old/qbittorrent-4.1.8/src/base/bittorrent/session.cpp       2019-09-23 
21:07:21.000000000 +0200
+++ new/qbittorrent-4.1.9/src/base/bittorrent/session.cpp       2019-10-27 
16:35:46.000000000 +0100
@@ -2034,7 +2034,7 @@
 {
     std::priority_queue<QPair<int, TorrentHandle *>,
             std::vector<QPair<int, TorrentHandle *>>,
-            std::greater<QPair<int, TorrentHandle *>>> torrentQueue;
+            std::less<QPair<int, TorrentHandle *>>> torrentQueue;
 
     // Sort torrents by priority
     for (const InfoHash infoHash : hashes) {
@@ -2043,7 +2043,7 @@
             torrentQueue.push(qMakePair(torrent->queuePosition(), torrent));
     }
 
-    // Top torrents priority (starting with the ones with highest priority)
+    // Top torrents priority (starting with the ones with lowest priority)
     while (!torrentQueue.empty()) {
         TorrentHandle *const torrent = torrentQueue.top().second;
         torrentQueuePositionTop(torrent->nativeHandle());
@@ -2057,7 +2057,7 @@
 {
     std::priority_queue<QPair<int, TorrentHandle *>,
             std::vector<QPair<int, TorrentHandle *>>,
-            std::less<QPair<int, TorrentHandle *>>> torrentQueue;
+            std::greater<QPair<int, TorrentHandle *>>> torrentQueue;
 
     // Sort torrents by priority
     for (const InfoHash infoHash : hashes) {
@@ -2066,7 +2066,7 @@
             torrentQueue.push(qMakePair(torrent->queuePosition(), torrent));
     }
 
-    // Bottom torrents priority (starting with the ones with lowest priority)
+    // Bottom torrents priority (starting with the ones with highest priority)
     while (!torrentQueue.empty()) {
         TorrentHandle *const torrent = torrentQueue.top().second;
         torrentQueuePositionBottom(torrent->nativeHandle());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/src/gui/utils.cpp new/qbittorrent-4.1.9/src/gui/utils.cpp
--- old/qbittorrent-4.1.8/src/gui/utils.cpp     2019-09-23 21:07:21.000000000 
+0200
+++ new/qbittorrent-4.1.9/src/gui/utils.cpp     2019-10-27 16:35:46.000000000 
+0100
@@ -50,8 +50,9 @@
         return 1;
 
 #ifdef Q_OS_WIN
-    const int screen = qApp->desktop()->screenNumber(widget);
-    return (QApplication::screens()[screen]->logicalDotsPerInch() / 96);
+    const int screenNumber = qApp->desktop()->screenNumber(widget);
+    const QScreen *screen = QApplication::screens()[screenNumber];
+    return (screen->logicalDotsPerInch() / screen->physicalDotsPerInch());
 #elif defined(Q_OS_MAC)
     return 1;
 #else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/src/webui/webapplication.h 
new/qbittorrent-4.1.9/src/webui/webapplication.h
--- old/qbittorrent-4.1.8/src/webui/webapplication.h    2019-09-23 
21:07:21.000000000 +0200
+++ new/qbittorrent-4.1.9/src/webui/webapplication.h    2019-10-27 
16:35:46.000000000 +0100
@@ -43,8 +43,8 @@
 #include "base/utils/net.h"
 #include "base/utils/version.h"
 
-constexpr Utils::Version<int, 3, 2> API_VERSION {2, 2, 0};
-constexpr int COMPAT_API_VERSION = 23;
+constexpr Utils::Version<int, 3, 2> API_VERSION {2, 2, 1};
+constexpr int COMPAT_API_VERSION = 24;
 constexpr int COMPAT_API_VERSION_MIN = 23;
 
 class APIController;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/qbittorrent-4.1.8/version.pri new/qbittorrent-4.1.9/version.pri
--- old/qbittorrent-4.1.8/version.pri   2019-09-23 21:07:21.000000000 +0200
+++ new/qbittorrent-4.1.9/version.pri   2019-10-27 16:35:46.000000000 +0100
@@ -4,7 +4,7 @@
 # Define version numbers here
 VER_MAJOR = 4
 VER_MINOR = 1
-VER_BUGFIX = 8
+VER_BUGFIX = 9
 VER_BUILD = 0
 VER_STATUS = # Should be empty for stable releases!
 



Reply via email to