summaryrefslogtreecommitdiff
path: root/kde-apps/messagelib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
commitb24bd25253fe093f722ab576d29fdc41d04cb1ee (patch)
tree0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /kde-apps/messagelib
parent121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff)
gentoo resync : 02.08.2019
Diffstat (limited to 'kde-apps/messagelib')
-rw-r--r--kde-apps/messagelib/Manifest5
-rw-r--r--kde-apps/messagelib/files/messagelib-18.12.3-qtwebengine-5.12.3.patch172
-rw-r--r--kde-apps/messagelib/messagelib-18.12.3-r2.ebuild71
-rw-r--r--kde-apps/messagelib/messagelib-19.04.3.ebuild2
4 files changed, 2 insertions, 248 deletions
diff --git a/kde-apps/messagelib/Manifest b/kde-apps/messagelib/Manifest
index df73018e6033..fecf93ddd613 100644
--- a/kde-apps/messagelib/Manifest
+++ b/kde-apps/messagelib/Manifest
@@ -1,6 +1,3 @@
-AUX messagelib-18.12.3-qtwebengine-5.12.3.patch 6953 BLAKE2B f69a90bedaa477609a464c5430792944cc4eeacd38b90c1d39b6eeb53d880e8551203c9912c539db60bfbd4478803561691dbb15a14ef2ac651dcf8049f78e98 SHA512 0cbf1b934890073083a2ef1a5099a27a8d5e5857b3a0a4690ef2b889650574341d442acda3154a2911eb3ba80319c5fd1fe3c9d50f454cce102a0437157792d2
-DIST messagelib-18.12.3.tar.xz 10428172 BLAKE2B 549089a1cbfa3d27b6a69b8efe11299c377bb761b223d4a3e00bbf241dccf29a7e49607b665e565bb11fa5c2b0d54543ab91a42180122664c47f8f38c45c606b SHA512 06ef96514d4d54d0c25114cac358de039874622c307d71bb9bd23e01c6fb665001e22930e2f2ccf7ef4b083544619a8c382ad8c40c8ee227039a9c33b34cf220
DIST messagelib-19.04.3.tar.xz 10476616 BLAKE2B bf853931d7c4cb352156ce415f0e53f75c7baefb9083fab4f16d908d0b1aa3e4b85f65e0aac8b9a22bc0731080521cf072c7d5eab8bcc9f9130edb189419143b SHA512 ae1c9df358a7eda251b63d2c7b16b230b62e005eb470923d00667402614ae0b199aa1c563f89200379f9f3f746c36104a14a84538508ddcd2d3cea4db820d91b
-EBUILD messagelib-18.12.3-r2.ebuild 1988 BLAKE2B 0a1aeb8237c306928d30be394002f98f2dde244db93b22cab1a487bf98a98ae2b2c0084ec3934a924c33553ab0cba44306c257064c02aef93dc97a2bd53b1519 SHA512 e52766970667ee8c186ac0f986ee31d26595fc48cf617c943f3bd075a67c98f715deebb42fdcc6bbd2c9c02864ffa20fa886aeb9f518ebf6f3cccd2d8fe1855a
-EBUILD messagelib-19.04.3.ebuild 1906 BLAKE2B 3e76af59153ae82a52abb94a9eee0ee326583a05ad559a9c102d167690dbb45c577cc1b43211911ccaf647eed4033d4cc0dd21e41ab3dcecc256d6162df95f24 SHA512 42d8025849c6252a16b00c19379578aed74ab8c848c3853cbdfaac8daefc8bbcb17b14111a36c7189e7de585f73c5111d2d232dac8bb2bb825ead7d5e09f46de
+EBUILD messagelib-19.04.3.ebuild 1903 BLAKE2B 10326783f1df4d08e2b3c19feda4fba0302b8077be0aaae4696bf8bc871f349e1ff2727e0f24df3e85651414a50a679b3c9932d4092c9d67f7bc4c9bd7f6718b SHA512 1d7d5264fc6e258f0dee9439fe9707086bd556a1755a936c178b27f983a918a6cb08332e8995b3e92ed7f4cb57ff3d2ec7d002ab72da10fa170ad81d6b480a62
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/kde-apps/messagelib/files/messagelib-18.12.3-qtwebengine-5.12.3.patch b/kde-apps/messagelib/files/messagelib-18.12.3-qtwebengine-5.12.3.patch
deleted file mode 100644
index 3fdc1527951a..000000000000
--- a/kde-apps/messagelib/files/messagelib-18.12.3-qtwebengine-5.12.3.patch
+++ /dev/null
@@ -1,172 +0,0 @@
-From 9f0ce086c6a4e487cee1f01acb15290ebff19ac3 Mon Sep 17 00:00:00 2001
-From: Jonathan Marten <jjm@keelhaul.me.uk>
-Date: Tue, 12 Mar 2019 08:47:43 +0000
-Subject: Move management of QWebEngineProfile to WebEnginePage
-
-To avoid a crash on KMail quit or viewer window close, caused by the
-MailWebEnginePage being deleted while its QWebEngineProfile is still
-active. Simplified management of the profile by handling its creation
-and deletion within WebEnginePage.
-
-Deprecate the 2-argument WebEnginePage constructor which allows an
-already allocated profile to be used. This constructor is used by
-Akregator which specifies the global profile; it will be changed to
-use a private profile instead.
-
-Differential Revision: https://phabricator.kde.org/D19559
----
- .../src/viewer/webengine/mailwebenginepage.cpp | 10 -------
- .../src/viewer/webengine/mailwebenginepage.h | 3 +-
- .../src/viewer/webengine/mailwebengineview.cpp | 3 +-
- webengineviewer/src/webenginepage.cpp | 22 ++++++++++----
- webengineviewer/src/webenginepage.h | 35 ++++++++++++++++++++--
- 5 files changed, 52 insertions(+), 21 deletions(-)
-
-diff --git a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
-index cd91494..f3790b9 100644
---- a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
-+++ b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
-@@ -29,16 +29,6 @@ MailWebEnginePage::MailWebEnginePage(QObject *parent)
- initialize();
- }
-
--MailWebEnginePage::MailWebEnginePage(QWebEngineProfile *profile, QObject *parent)
-- : WebEngineViewer::WebEnginePage(profile, parent)
--{
-- initialize();
--}
--
--MailWebEnginePage::~MailWebEnginePage()
--{
--}
--
- void MailWebEnginePage::initialize()
- {
- settings()->setAttribute(QWebEngineSettings::JavascriptEnabled, false);
-diff --git a/messageviewer/src/viewer/webengine/mailwebenginepage.h b/messageviewer/src/viewer/webengine/mailwebenginepage.h
-index 7f8e6eb..d581efd 100644
---- a/messageviewer/src/viewer/webengine/mailwebenginepage.h
-+++ b/messageviewer/src/viewer/webengine/mailwebenginepage.h
-@@ -28,8 +28,7 @@ class MESSAGEVIEWER_EXPORT MailWebEnginePage : public WebEngineViewer::WebEngine
- Q_OBJECT
- public:
- explicit MailWebEnginePage(QObject *parent = nullptr);
-- explicit MailWebEnginePage(QWebEngineProfile *profile, QObject *parent = nullptr);
-- ~MailWebEnginePage();
-+ virtual ~MailWebEnginePage() = default;
-
- void setPrintElementBackground(bool printElementBackground);
-
-diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.cpp b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
-index 0685a8d..09224cf 100644
---- a/messageviewer/src/viewer/webengine/mailwebengineview.cpp
-+++ b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
-@@ -34,7 +34,6 @@
- #include <QContextMenuEvent>
- #include <WebEngineViewer/WebHitTest>
-
--#include <QWebEngineProfile>
- #include <QPrinter>
-
- #include <WebEngineViewer/WebHitTestResult>
-@@ -81,7 +80,7 @@ MailWebEngineView::MailWebEngineView(KActionCollection *ac, QWidget *parent)
- : WebEngineViewer::WebEngineView(parent)
- , d(new MessageViewer::MailWebEngineViewPrivate)
- {
-- d->mPageEngine = new MailWebEnginePage(new QWebEngineProfile(this), this);
-+ d->mPageEngine = new MailWebEnginePage(this);
- setPage(d->mPageEngine);
- d->mWebViewAccessKey = new WebEngineViewer::WebEngineAccessKey(this, this);
- d->mWebViewAccessKey->setActionCollection(ac);
-diff --git a/webengineviewer/src/webenginepage.cpp b/webengineviewer/src/webenginepage.cpp
-index 447ac26..2fcb6c2 100644
---- a/webengineviewer/src/webenginepage.cpp
-+++ b/webengineviewer/src/webenginepage.cpp
-@@ -33,8 +33,24 @@
- using namespace WebEngineViewer;
-
- WebEnginePage::WebEnginePage(QObject *parent)
-- : QWebEnginePage(parent)
-+ : QWebEnginePage(new QWebEngineProfile, parent)
- {
-+ // Create a private (off the record) QWebEngineProfile here to isolate the
-+ // browsing settings, and adopt it as a child so that it will be deleted
-+ // when we are destroyed. The profile must remain active for as long as
-+ // any QWebEnginePage's belonging to it exist, see the API documentation
-+ // of QWebEnginePage::QWebEnginePage(QWebEngineProfile *, QObject *).
-+ // Deleting it as our child on destruction is safe.
-+ //
-+ // Do not try to save a line of code by setting the parent on construction:
-+ //
-+ // WebEnginePage::WebEnginePage(QObject *parent)
-+ // : QWebEnginePage(new QWebEngineProfile(this), parent)
-+ //
-+ // because the QWebEngineProfile constructor will call out to the QWebEnginePage
-+ // and crash because the QWebEnginePage is not fully constructed yet.
-+ profile()->setParent(this);
-+
- init();
- }
-
-@@ -44,10 +60,6 @@ WebEnginePage::WebEnginePage(QWebEngineProfile *profile, QObject *parent)
- init();
- }
-
--WebEnginePage::~WebEnginePage()
--{
--}
--
- void WebEnginePage::init()
- {
- connect(profile(), &QWebEngineProfile::downloadRequested, this, &WebEnginePage::saveHtml);
-diff --git a/webengineviewer/src/webenginepage.h b/webengineviewer/src/webenginepage.h
-index be38368..95c7c76 100644
---- a/webengineviewer/src/webenginepage.h
-+++ b/webengineviewer/src/webenginepage.h
-@@ -31,10 +31,41 @@ class WEBENGINEVIEWER_EXPORT WebEnginePage : public QWebEnginePage
- {
- Q_OBJECT
- public:
-+ /**
-+ * Constructor.
-+ *
-+ * A private QWebEngineProfile, only applying to this QWebEnginePage,
-+ * will be created to implement browser settings. It can be accessed via
-+ * @c profile(), but it should not be shared or reused unless care is
-+ * taken that the profile is not deleted until all of the QWebEnginePage's
-+ * belonging to it are deleted first.
-+ *
-+ * @param parent The parent object
-+ **/
- explicit WebEnginePage(QObject *parent = nullptr);
-- explicit WebEnginePage(QWebEngineProfile *profile, QObject *parent = nullptr);
-
-- ~WebEnginePage() override;
-+ /**
-+ * Constructor.
-+ *
-+ * The specified QWebEngineProfile will be used. See the description of
-+ * @c WebEnginePage(QObject *) and the API documentation of QWebEnginePage
-+ * for caution regarding the lifetime of the profile.
-+ *
-+ * @param profile The profile to be used
-+ * @param parent The parent object
-+ * @deprecated Use the single argument constructor, which creates and uses
-+ * a private profile.
-+ **/
-+#ifndef WEBENGINEVIEWER_NO_DEPRECATED
-+ explicit WEBENGINEVIEWER_DEPRECATED WebEnginePage(QWebEngineProfile *profile, QObject *parent = nullptr);
-+#endif
-+
-+ /**
-+ * Destructor. If there is a private QWebEngineProfile then it will also
-+ * be destroyed.
-+ **/
-+ virtual ~WebEnginePage() override = default;
-+
- WebEngineViewer::WebHitTest *hitTestContent(const QPoint &pos);
-
- void saveHtml(QWebEngineDownloadItem *download);
---
-cgit v1.1
-
diff --git a/kde-apps/messagelib/messagelib-18.12.3-r2.ebuild b/kde-apps/messagelib/messagelib-18.12.3-r2.ebuild
deleted file mode 100644
index 6dd0db1af4af..000000000000
--- a/kde-apps/messagelib/messagelib-18.12.3-r2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-KDE_TEST="forceoptional-recursive"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="Libraries for messaging functions"
-LICENSE="GPL-2+ LGPL-2.1+"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE=""
-
-DEPEND="
- $(add_frameworks_dep karchive)
- $(add_frameworks_dep kcodecs)
- $(add_frameworks_dep kcompletion)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kitemmodels)
- $(add_frameworks_dep kitemviews)
- $(add_frameworks_dep kjobwidgets)
- $(add_frameworks_dep knotifications)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep ktextwidgets)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kwindowsystem)
- $(add_frameworks_dep kxmlgui)
- $(add_frameworks_dep sonnet)
- $(add_frameworks_dep syntax-highlighting)
- $(add_kdeapps_dep akonadi '' 18.12.3-r1)
- $(add_kdeapps_dep akonadi-contacts)
- $(add_kdeapps_dep akonadi-mime)
- $(add_kdeapps_dep grantleetheme)
- $(add_kdeapps_dep incidenceeditor)
- $(add_kdeapps_dep kcalcore)
- $(add_kdeapps_dep kcontacts)
- $(add_kdeapps_dep kdepim-apps-libs)
- $(add_kdeapps_dep kidentitymanagement)
- $(add_kdeapps_dep kldap)
- $(add_kdeapps_dep kmailtransport)
- $(add_kdeapps_dep kmbox)
- $(add_kdeapps_dep kmime)
- $(add_kdeapps_dep kpimtextedit)
- $(add_kdeapps_dep libgravatar)
- $(add_kdeapps_dep libkdepim)
- $(add_kdeapps_dep libkleo)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtnetwork)
- $(add_qt_dep qtprintsupport)
- $(add_qt_dep qtwebengine 'widgets')
- $(add_qt_dep qtwidgets)
- >=app-crypt/gpgme-1.8.0-r1[cxx,qt5]
- >=dev-libs/grantlee-5.1.0:5
-"
-RDEPEND="${DEPEND}
- !kde-apps/kdepim-common-libs:4
- !kde-apps/kdepim-l10n
- !=kde-apps/kmail-4.4*:4
-"
-
-# bug 579630
-RESTRICT+=" test"
-
-PATCHES=( "${FILESDIR}/${P}-qtwebengine-5.12.3.patch" ) # bug 686842
diff --git a/kde-apps/messagelib/messagelib-19.04.3.ebuild b/kde-apps/messagelib/messagelib-19.04.3.ebuild
index 927ca7e713d4..d2a1f8a26f9b 100644
--- a/kde-apps/messagelib/messagelib-19.04.3.ebuild
+++ b/kde-apps/messagelib/messagelib-19.04.3.ebuild
@@ -9,7 +9,7 @@ inherit kde5
DESCRIPTION="Libraries for messaging functions"
LICENSE="GPL-2+ LGPL-2.1+"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 arm64 x86"
IUSE=""
DEPEND="