From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1071125-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F07B138335 for <garchives@archives.gentoo.org>; Sat, 9 Feb 2019 09:52:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16D5DE0982; Sat, 9 Feb 2019 09:52:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA4DCE0982 for <gentoo-commits@lists.gentoo.org>; Sat, 9 Feb 2019 09:52:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DDCD335D74 for <gentoo-commits@lists.gentoo.org>; Sat, 9 Feb 2019 09:52:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 605EA53C for <gentoo-commits@lists.gentoo.org>; Sat, 9 Feb 2019 09:52:19 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org> Message-ID: <1549705920.26d44ed1713e1e1e3d08c32419ba16ec9cbd5d7f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/akregator/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/akregator/files/akregator-18.12.0-qt-5.11-crashfix.patch X-VCS-Directories: kde-apps/akregator/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 26d44ed1713e1e1e3d08c32419ba16ec9cbd5d7f X-VCS-Branch: master Date: Sat, 9 Feb 2019 09:52:19 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2cf89b08-259f-4e17-8417-6082a748a252 X-Archives-Hash: c38bd439dead4d83936b3aaa5c2c5d16 commit: 26d44ed1713e1e1e3d08c32419ba16ec9cbd5d7f Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Fri Feb 8 16:00:13 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Feb 9 09:52:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d44ed1 kde-apps/akregator: remove unused patch Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/akregator-18.12.0-qt-5.11-crashfix.patch | 81 ---------------------- 1 file changed, 81 deletions(-) diff --git a/kde-apps/akregator/files/akregator-18.12.0-qt-5.11-crashfix.patch b/kde-apps/akregator/files/akregator-18.12.0-qt-5.11-crashfix.patch deleted file mode 100644 index f13512117a9..00000000000 --- a/kde-apps/akregator/files/akregator-18.12.0-qt-5.11-crashfix.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 91a4ab57a82970bd75eee4a7aee61a7e1c1321ef Mon Sep 17 00:00:00 2001 -From: Andras Mantia <andras@kdab.com> -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