Hello community, here is the log from the commit of package rssguard for openSUSE:Leap:15.2 checked in at 2020-04-12 15:38:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/rssguard (Old) and /work/SRC/openSUSE:Leap:15.2/.rssguard.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rssguard" Sun Apr 12 15:38:25 2020 rev:17 rq:792746 version:3.5.9 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/rssguard/rssguard.changes 2020-01-15 15:58:04.647755555 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.rssguard.new.3248/rssguard.changes 2020-04-12 15:38:26.374014321 +0200 @@ -1,0 +2,71 @@ +Thu Sep 5 17:50:40 UTC 2019 - Luigi Baldoni <[email protected]> + +- Disable LTO + +------------------------------------------------------------------- +Thu Jun 6 08:27:16 UTC 2019 - [email protected] + +- Add rssguard-3.5.9-Qt59.patch to fix build on Leap + +------------------------------------------------------------------- +Tue Jun 4 13:22:23 UTC 2019 - Luigi Baldoni <[email protected]> + +- Update to version 3.5.9 + * Font in message and feed lists is now changeable, including + its size. (#187) + Fixed: + * Broken backward compatibility to Qt 5.7. + +------------------------------------------------------------------- +Fri May 31 07:31:36 UTC 2019 - Luigi Baldoni <[email protected]> + +- Update to version 3.5.8 + Added: + * Image placeholders can now be completely disabled in + "nowebengine" RSS Guard variant. (#205) + Changed: + * Source code refactored, faster regexp-related operations. + * Optimized displaying of messages which do not have any + associated URLs. + Fixed: + * "optimize tables" command for MariaDB now works correctly. + * Fixed downloading of e-mail attachments in Gmail plugin. + * Parsing of datetime strings now works better with Gmail + plugin. + * Corrected logic of cleaning DB, which allows to really get + rid of all messages stored in DB. + * Fixed crash when closing settings dialog. + * Message datetime decoded correctly in Gmail plugin. + * I hope, that appveyor/travis CI are now fixed as well. + +------------------------------------------------------------------- +Thu Apr 4 09:21:04 UTC 2019 - Luigi Baldoni <[email protected]> + + - Update to version 3.5.7 + Added: + * "Default" icons of feeds/categories are now NOT directly + stored in RSS Guard DB and they are dynamically loaded from + active icon theme instead. (#200) + Fixed: + * Feeds that fail to update are now correctly shown in red. + * Newspaper mode is now correctly opened when clicked on "Open + feed in newspaper mode" context menu item. + * Built-in skins now properly embed HTML of displayed messages + and no HTML "underflowing" is visible. + * Icons are now installed to proper folders under Linux. + * Correct "desktop" file filename. + * Qt translations are now correctly loaded. + * Crash related to feed update to be finished in worker thread. + Changed: + * Default size of main window and sizes of its widgets are now + edited and when app is launched for the first time it just + looks better. + * Default width of columns in message view is now unified with + feeds view. + * Qt translations are now dynamically compiled and not + hard-coded. + * Synced translations. + * Enhanced behavior of "Select next/previous item" in feed's + list. + +------------------------------------------------------------------- Old: ---- rssguard-3.5.6.tar.gz New: ---- rssguard-3.5.9-Qt59.patch rssguard-3.5.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rssguard.spec ++++++ --- /var/tmp/diff_new_pack.VT81S7/_old 2020-04-12 15:38:26.726014587 +0200 +++ /var/tmp/diff_new_pack.VT81S7/_new 2020-04-12 15:38:26.726014587 +0200 @@ -1,7 +1,7 @@ # # spec file for package rssguard # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: rssguard -Version: 3.5.6 +Version: 3.5.9 Release: 0 Summary: RSS/ATOM/RDF feed reader License: GPL-3.0-only AND AGPL-3.0-or-later @@ -27,14 +27,16 @@ Source1: %{name}.changes # PATCH-FIX-UPSTREAM rssguard-3.5.2-fix_no_return_nonvoid.patch Patch0: rssguard-3.5.2-fix_no_return_nonvoid.patch +# PATCH-FIX-UPSTREAM rssguard-3.5.9-Qt59.patch +Patch1: rssguard-3.5.9-Qt59.patch BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist BuildRequires: libqt5-qtbase-common-devel -BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Concurrent) -BuildRequires: pkgconfig(Qt5Core) >= 5.8 +BuildRequires: pkgconfig(Qt5Core) >= 5.9 BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Sql) @@ -51,35 +53,31 @@ %prep %setup -q %patch0 -p1 - -# Remove build time references so build-compare can do its work -FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M') -FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE1} '+%%b %%e %%Y') -sed -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" -i src/gui/dialogs/formabout.cpp -sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i src/gui/dialogs/formabout.cpp +%patch1 -p1 +chmod -x resources/desktop/com.github.rssguard.appdata.xml %build -lrelease-qt5 rssguard.pro +# resources_big is not compatible with LTO +%define _lto_cflags %{nil} %qmake5 PREFIX=%{_prefix} USE_WEBENGINE=true %make_jobs %install %qmake5_install -# install desktop icon & autostart +# install autostart mkdir -pv %{buildroot}%{_datadir}/autostart install -m0644 resources/desktop/com.github.%{name}.desktop.autostart -t %{buildroot}%{_datadir}/autostart -chmod -x %{buildroot}%{_datadir}/metainfo/com.github.%{name}.appdata.xml %fdupes -s %{buildroot} %files -%doc LICENSE.md +%license LICENSE.md %dir %{_datadir}/applications %dir %{_datadir}/autostart %dir %{_datadir}/metainfo %{_bindir}/%{name} %{_datadir}/applications/com.github.%{name}.desktop %{_datadir}/autostart/com.github.%{name}.desktop.autostart +%{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/metainfo/com.github.%{name}.appdata.xml -%{_datadir}/pixmaps/%{name}.png %changelog ++++++ rssguard-3.5.9-Qt59.patch ++++++ >From cfb0c3490eec11e47790c1efd913c0fdd9a579b4 Mon Sep 17 00:00:00 2001 From: Martin Rotter <[email protected]> Date: Thu, 6 Jun 2019 09:07:04 +0200 Subject: [PATCH] min qt required is now 5.9.0 + fixed pw saving in tt-rss plugin in some circumstances + fix #208 diff --git a/src/miscellaneous/textfactory.cpp b/src/miscellaneous/textfactory.cpp index 53451d63..f371d02d 100755 --- a/src/miscellaneous/textfactory.cpp +++ b/src/miscellaneous/textfactory.cpp @@ -10,10 +10,11 @@ #include <QDir> #include <QLocale> -#include <QRandomGenerator> #include <QString> #include <QStringList> +#include <random> + quint64 TextFactory::s_encryptionKey = 0x0; TextFactory::TextFactory() = default; @@ -128,7 +129,10 @@ quint64 TextFactory::initializeSecretEncryptionKey() { QString encryption_file_path = qApp->settings()->pathName() + QDir::separator() + ENCRYPTION_FILE_NAME; try { - s_encryptionKey = quint64(QString(IOFactory::readFile(encryption_file_path)).toLongLong()); + s_encryptionKey = quint64(QString(IOFactory::readFile(encryption_file_path)).toULongLong()); + + auto aa = s_encryptionKey; + auto bb = false; } catch (ApplicationException&) { // Well, key does not exist or is invalid, generate and save one. @@ -148,5 +152,10 @@ quint64 TextFactory::initializeSecretEncryptionKey() { } quint64 TextFactory::generateSecretEncryptionKey() { - return QRandomGenerator().generate64(); + std::random_device rd; + std::mt19937 mt(rd()); + std::uniform_int<quint64> dist(std::numeric_limits<quint64>().min() + 1000000UL, + std::numeric_limits<quint64>().max()); + + return dist(mt); } >From d347ba63072ab13c0dbc1792d1a2b837af997a46 Mon Sep 17 00:00:00 2001 From: Martin Rotter <[email protected]> Date: Thu, 6 Jun 2019 11:35:25 +0200 Subject: [PATCH] Fix random class name --- src/miscellaneous/textfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miscellaneous/textfactory.cpp b/src/miscellaneous/textfactory.cpp index 48597235..1ac6f049 100755 --- a/src/miscellaneous/textfactory.cpp +++ b/src/miscellaneous/textfactory.cpp @@ -151,8 +151,8 @@ quint64 TextFactory::initializeSecretEncryptionKey() { quint64 TextFactory::generateSecretEncryptionKey() { std::random_device rd; std::mt19937 mt(rd()); - std::uniform_int<quint64> dist(std::numeric_limits<quint64>().min() + 1000000UL, - std::numeric_limits<quint64>().max()); + std::uniform_int_distribution<quint64> dist(std::numeric_limits<quint64>().min() + 1000000UL, + std::numeric_limits<quint64>().max()); return dist(mt); } ++++++ rssguard-3.5.6.tar.gz -> rssguard-3.5.9.tar.gz ++++++ /work/SRC/openSUSE:Leap:15.2/rssguard/rssguard-3.5.6.tar.gz /work/SRC/openSUSE:Leap:15.2/.rssguard.new.3248/rssguard-3.5.9.tar.gz differ: char 12, line 1
