summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-14 13:34:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-14 19:20:45 +0200
commit0a5cab8eddb9197dc24ca393aacac05005ec79e9 (patch)
tree0c68b2ce4c4b9416e4f7197a36d6ffa1a45d410a /kde-apps/messagelib
parentnet-p2p/syncthing: bump to 1.5.0 (diff)
downloadgentoo-0a5cab8eddb9197dc24ca393aacac05005ec79e9.tar.gz
gentoo-0a5cab8eddb9197dc24ca393aacac05005ec79e9.tar.bz2
gentoo-0a5cab8eddb9197dc24ca393aacac05005ec79e9.zip
kde-apps/messagelib: Fix messageview header with Qt 5.15.0_rc
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/messagelib')
-rw-r--r--kde-apps/messagelib/files/messagelib-20.04.0-qt-5.15.patch25
-rw-r--r--kde-apps/messagelib/messagelib-20.04.0-r1.ebuild73
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/messagelib/files/messagelib-20.04.0-qt-5.15.patch b/kde-apps/messagelib/files/messagelib-20.04.0-qt-5.15.patch
new file mode 100644
index 000000000000..93f632bdc690
--- /dev/null
+++ b/kde-apps/messagelib/files/messagelib-20.04.0-qt-5.15.patch
@@ -0,0 +1,25 @@
+From 1f2548805df60707ffba2bba27d35d441232d140 Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Thu, 14 May 2020 13:27:14 +0200
+Subject: Fix load header with qt5.15
+
+---
+ messageviewer/src/viewer/webengine/mailwebenginepage.cpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
+index b9d7b9f..f1c3eab 100644
+--- a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
++++ b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
+@@ -40,7 +40,8 @@ void MailWebEnginePage::initialize()
+ settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, enableElement);
+ settings()->setAttribute(QWebEngineSettings::XSSAuditingEnabled, enableElement);
+ settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, enableElement);
+- settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, enableElement);
++ //We need to activate it in qt5.15 otherwise we can't load local css file and co
++ //settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, enableElement);
+ settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, enableElement);
+ settings()->setAttribute(QWebEngineSettings::HyperlinkAuditingEnabled, enableElement);
+ settings()->setAttribute(QWebEngineSettings::FullScreenSupportEnabled, enableElement);
+--
+cgit v1.1
diff --git a/kde-apps/messagelib/messagelib-20.04.0-r1.ebuild b/kde-apps/messagelib/messagelib-20.04.0-r1.ebuild
new file mode 100644
index 000000000000..f6471d93ddb2
--- /dev/null
+++ b/kde-apps/messagelib/messagelib-20.04.0-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional-recursive"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.69.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Libraries for messaging functions"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=app-crypt/gpgme-1.8.0-r1[cxx,qt5]
+ >=app-crypt/qca-2.3.0:2
+ >=dev-libs/grantlee-5.1.0:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtwebengine-${QTMIN}:5[widgets]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/akonadi-${PVCUT}:5
+ >=kde-apps/akonadi-contacts-${PVCUT}:5
+ >=kde-apps/akonadi-mime-${PVCUT}:5
+ >=kde-apps/grantleetheme-${PVCUT}:5
+ >=kde-apps/incidenceeditor-${PVCUT}:5
+ >=kde-apps/kdepim-apps-libs-${PVCUT}:5
+ >=kde-apps/kidentitymanagement-${PVCUT}:5
+ >=kde-apps/kldap-${PVCUT}:5
+ >=kde-apps/kmailtransport-${PVCUT}:5
+ >=kde-apps/kmbox-${PVCUT}:5
+ >=kde-apps/kmime-${PVCUT}:5
+ >=kde-apps/kpimtextedit-${PVCUT}:5
+ >=kde-apps/libgravatar-${PVCUT}:5
+ >=kde-apps/libkdepim-${PVCUT}:5
+ >=kde-apps/libkleo-${PVCUT}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcalendarcore-${KFMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcontacts-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemmodels-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+"
+RDEPEND="${DEPEND}"
+
+# bug 579630
+RESTRICT+=" test"
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" )