Hello community, here is the log from the commit of package akregator for openSUSE:Factory checked in at 2018-12-19 13:45:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/akregator (Old) and /work/SRC/openSUSE:Factory/.akregator.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "akregator" Wed Dec 19 13:45:18 2018 rev:28 rq:658659 version:18.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/akregator/akregator.changes 2018-11-12 09:25:20.050451513 +0100 +++ /work/SRC/openSUSE:Factory/.akregator.new.28833/akregator.changes 2018-12-19 13:45:28.051615115 +0100 @@ -1,0 +2,42 @@ +Sat Dec 15 16:02:57 UTC 2018 - [email protected] + +- Add Dont-crash-with-Qt-5.11.patch to fix possible crashes when + opening and closing webpages in Akregator (boo#1118052, + kde#371511) + +------------------------------------------------------------------- +Fri Dec 14 06:08:45 UTC 2018 - [email protected] + +- Update to 18.12.0 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-18.12.0.php +- Changes since 18.11.90: + * No code changes since 18.11.90 + +------------------------------------------------------------------- +Mon Dec 03 20:55:44 UTC 2018 - [email protected] + +- Update to 18.11.90 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-18.12-rc.php +- Changes since 18.11.80: + * Zoom is not implemented so remove it from the settings + +------------------------------------------------------------------- +Tue Nov 20 06:21:47 UTC 2018 - Luca Beltrame <[email protected]> + +- Run spec-cleaner + +------------------------------------------------------------------- +Tue Nov 20 05:56:34 UTC 2018 - [email protected] + +- Update to 18.11.80 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-18.12-beta.php +- Changes since 18.08.3: + * Too many changes to list here + +------------------------------------------------------------------- @@ -57 +99 @@ - * https://www.kde.org/announcements/announce-applications-18.07.80.php + * https://www.kde.org/announcements/announce-applications-18.08-beta.php @@ -107 +149 @@ - * https://www.kde.org/announcements/announce-applications-18.03.90.php + * https://www.kde.org/announcements/announce-applications-18.04-rc.php @@ -228 +270 @@ - * https://www.kde.org/announcements/announce-applications-17.07.90.php + * https://www.kde.org/announcements/announce-applications-17.08-rc.php @@ -307 +349 @@ - * https://www.kde.org/announcements/announce-applications-17.03.80.php + * https://www.kde.org/announcements/announce-applications-17.04-beta.php Old: ---- akregator-18.08.3.tar.xz New: ---- Dont-crash-with-Qt-5.11.patch akregator-18.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ akregator.spec ++++++ --- /var/tmp/diff_new_pack.h0yP2q/_old 2018-12-19 13:45:29.483613112 +0100 +++ /var/tmp/diff_new_pack.h0yP2q/_new 2018-12-19 13:45:29.483613112 +0100 @@ -16,19 +16,20 @@ # -%bcond_without lang - -Name: akregator -Version: 18.08.3 -Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} +%bcond_without lang +Name: akregator +Version: 18.12.0 +Release: 0 Summary: RSS Feed Reader License: GPL-2.0-or-later Group: Productivity/Networking/News/Utilities -Url: http://www.kde.org +URL: http://www.kde.org Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch: Dont-crash-with-Qt-5.11.patch BuildRequires: akonadi-mime-devel >= %{_kapp_version} BuildRequires: extra-cmake-modules >= %{kf5_version} BuildRequires: fdupes @@ -65,6 +66,10 @@ BuildRequires: pkgconfig(Qt5WebEngine) >= 5.7.0 BuildRequires: pkgconfig(Qt5WebEngineWidgets) >= 5.7.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.7.0 +Provides: akregator5 = %{version} +Obsoletes: akregator5 < %{version} +# It can only build on the same platforms as Qt Webengine +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64 # Needed for 42.3 %if 0%{?suse_version} < 1330 # It does not build with the default compiler (GCC 4.8) on Leap 42.x @@ -74,14 +79,9 @@ BuildRequires: gcc7-c++ %endif %endif -Provides: akregator5 = %{version} -Obsoletes: akregator5 < %{version} %if %{with lang} Recommends: %{name}-lang %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# It can only build on the same platforms as Qt Webengine -ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64 %description Akregator is a news feed reader. It enables you to follow news sites, @@ -97,6 +97,7 @@ %prep %setup -q +%autopatch -p1 %build %if 0%{?suse_version} < 1330 @@ -116,7 +117,7 @@ %kf5_makeinstall -C build %if %{with lang} %find_lang %{name} --with-man --all-name - %kf5_find_htmldocs + %{kf5_find_htmldocs} %endif rm %{buildroot}%{_kf5_libdir}/*.so %suse_update_desktop_file -r org.kde.akregator Network RSS-News @@ -125,10 +126,8 @@ %postun -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc COPYING COPYING.LIB COPYING.DOC README -%dir %{_kf5_iconsdir}/hicolor/256x256 -%dir %{_kf5_iconsdir}/hicolor/256x256/apps +%license COPYING COPYING.LIB COPYING.DOC +%doc README %dir %{_kf5_appstreamdir}/ %config %{_kf5_configdir}/akregator.categories %config %{_kf5_configdir}/akregator.renamecategories @@ -139,6 +138,7 @@ %{_kf5_dbusinterfacesdir}/org.kde.akregator.part.xml %doc %lang(en) %{_kf5_htmldir}/en/akregator/ %{_kf5_iconsdir}/hicolor/*/apps/akregator*.png +%{_kf5_iconsdir}/hicolor/scalable/apps/akregator.svg %{_kf5_libdir}/libakregatorinterfaces.so* %{_kf5_libdir}/libakregatorprivate.so.* %{_kf5_notifydir}/akregator.notifyrc @@ -154,7 +154,7 @@ %if %{with lang} %files lang -f %{name}.lang -%doc COPYING* +%license COPYING* %endif %changelog ++++++ Dont-crash-with-Qt-5.11.patch ++++++ >From 91a4ab57a82970bd75eee4a7aee61a7e1c1321ef Mon Sep 17 00:00:00 2001 From: Andras Mantia <[email protected]> Date: Thu, 13 Dec 2018 17:32:52 +0200 Subject: Don't crash with Qt 5.11+ Summary: Based on the patch from https://bugs.kde.org/show_bug.cgi?id=371511 See also https://bugreports.qt.io/browse/QTBUG-72260 BUG: 371511 Reviewers: PHID-PROJ-odxxyyfgujhgbu6ergrt, mlaurent Reviewed By: PHID-PROJ-odxxyyfgujhgbu6ergrt, mlaurent Subscribers: marten, asturmlechner, kfunk, kde-pim Tags: #kde_pim Differential Revision: https://phabricator.kde.org/D17563 --- .../webengine/articleviewerwebengine.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/articleviewer-ng/webengine/articleviewerwebengine.cpp b/src/articleviewer-ng/webengine/articleviewerwebengine.cpp index 2463fdf..174c09a 100644 --- a/src/articleviewer-ng/webengine/articleviewerwebengine.cpp +++ b/src/articleviewer-ng/webengine/articleviewerwebengine.cpp @@ -46,6 +46,7 @@ #include <QMenu> #include <viewerplugintoolmanager.h> #include <QWebEngineProfile> +#include <QWebEngineUrlRequestInterceptor> #include <WebEngineViewer/WebHitTestResult> #include <WebEngineViewer/WebHitTest> @@ -57,6 +58,19 @@ using namespace Akregator; +class AkregatorRequestInterceptor : public QWebEngineUrlRequestInterceptor +{ + Q_OBJECT + +public: + explicit AkregatorRequestInterceptor(QObject *parent = nullptr) : QWebEngineUrlRequestInterceptor(parent) { + } + + void interceptRequest(QWebEngineUrlRequestInfo &info) override { + Q_UNUSED(info); + } +}; + ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget *parent) : WebEngineViewer::WebEngineView(parent) , mActionCollection(ac) @@ -64,10 +78,16 @@ ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget *p , mViewerPluginToolManager(nullptr) { mNetworkAccessManager = new WebEngineViewer::InterceptorManager(this, ac, this); + QWebEngineProfile *profile = QWebEngineProfile::defaultProfile(); mPageEngine = new ArticleViewerWebEnginePage(profile, this); profile->setPersistentCookiesPolicy(QWebEngineProfile::ForcePersistentCookies); + // Needed to workaround crash in webengine, see https://bugreports.qt.io/browse/QTBUG-72260 + auto webEngineUrlInterceptor = new AkregatorRequestInterceptor(); + profile->setRequestInterceptor(webEngineUrlInterceptor); + connect(profile, &QObject::destroyed, webEngineUrlInterceptor, &AkregatorRequestInterceptor::deleteLater); + setPage(mPageEngine); connect(this, &ArticleViewerWebEngine::showContextMenu, this, &ArticleViewerWebEngine::slotShowContextMenu); @@ -494,3 +514,5 @@ void ArticleViewerWebEngine::slotActivatePlugin(MessageViewer::ViewerPluginInter interface->setUrl(mCurrentUrl); interface->execute(); } + +#include "articleviewerwebengine.moc" -- cgit v1.1 ++++++ akregator-18.08.3.tar.xz -> akregator-18.12.0.tar.xz ++++++ ++++ 7811 lines of diff (skipped)
