From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 4BAA3138334 for ; Sun, 11 Nov 2018 22:10:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01E93E0B6F; Sun, 11 Nov 2018 22:10:28 +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 BA7EFE0B6F for ; Sun, 11 Nov 2018 22:10:26 +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 5652B335C8C for ; Sun, 11 Nov 2018 22:10:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 803F1464 for ; Sun, 11 Nov 2018 22:10:22 +0000 (UTC) From: "Andreas Sturmlechner" 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" Message-ID: <1541972089.75cbd8e3abe4e81fa1288ef2ecab51a86dfdbb05.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdepim-runtime/, kde-apps/kdepim-runtime/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/kdepim-runtime/files/kdepim-runtime-18.08.3-gmail-resource-crash.patch kde-apps/kdepim-runtime/kdepim-runtime-18.08.3-r1.ebuild X-VCS-Directories: kde-apps/kdepim-runtime/files/ kde-apps/kdepim-runtime/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 75cbd8e3abe4e81fa1288ef2ecab51a86dfdbb05 X-VCS-Branch: master Date: Sun, 11 Nov 2018 22:10:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1c3937eb-1b7e-4676-bc50-3fba1b2e4c2e X-Archives-Hash: ae51c0b0aeaef90138d298b3ab1a81bb commit: 75cbd8e3abe4e81fa1288ef2ecab51a86dfdbb05 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Nov 11 09:49:59 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 11 21:34:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cbd8e3 kde-apps/kdepim-runtime: Fix GMail resource runtime crash KDE-bug: https://bugs.kde.org/show_bug.cgi?id=400400 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> ...epim-runtime-18.08.3-gmail-resource-crash.patch | 25 ++++++ .../kdepim-runtime-18.08.3-r1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/kde-apps/kdepim-runtime/files/kdepim-runtime-18.08.3-gmail-resource-crash.patch b/kde-apps/kdepim-runtime/files/kdepim-runtime-18.08.3-gmail-resource-crash.patch new file mode 100644 index 00000000000..37b67fd180f --- /dev/null +++ b/kde-apps/kdepim-runtime/files/kdepim-runtime-18.08.3-gmail-resource-crash.patch @@ -0,0 +1,25 @@ +From a4316a290e243fd71a565a9b936012d27f116029 Mon Sep 17 00:00:00 2001 +From: Allan Sandfeld Jensen +Date: Sun, 28 Oct 2018 20:38:49 +0100 +Subject: Fix crash in failing GMail resource + +BUG: 400400 +--- + resources/imap/gmailpasswordrequester.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/resources/imap/gmailpasswordrequester.h b/resources/imap/gmailpasswordrequester.h +index b5b8aa8..6f013c9 100644 +--- a/resources/imap/gmailpasswordrequester.h ++++ b/resources/imap/gmailpasswordrequester.h +@@ -45,7 +45,7 @@ private Q_SLOTS: + + private: + ImapResourceBase *mResource = nullptr; +- KGAPI2::AccountPromise *mPendingPromise = nullptr; ++ QPointer mPendingPromise; + }; + + #endif +-- +cgit v0.11.2 diff --git a/kde-apps/kdepim-runtime/kdepim-runtime-18.08.3-r1.ebuild b/kde-apps/kdepim-runtime/kdepim-runtime-18.08.3-r1.ebuild new file mode 100644 index 00000000000..87481aeb56d --- /dev/null +++ b/kde-apps/kdepim-runtime/kdepim-runtime-18.08.3-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Runtime plugin collection to extend the functionality of KDE PIM" +LICENSE="GPL-2+ LGPL-2.1+" +KEYWORDS="~amd64 ~x86" +IUSE="speech" + +# TODO kolab +CDEPEND=" + $(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 kholidays) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep akonadi) + $(add_kdeapps_dep akonadi-calendar) + $(add_kdeapps_dep akonadi-contacts) + $(add_kdeapps_dep akonadi-mime) + $(add_kdeapps_dep akonadi-notes) + $(add_kdeapps_dep kalarmcal) + $(add_kdeapps_dep kcalcore) + $(add_kdeapps_dep kcalutils) + $(add_kdeapps_dep kcontacts) + $(add_kdeapps_dep kdav) + $(add_kdeapps_dep kidentitymanagement) + $(add_kdeapps_dep kimap) + $(add_kdeapps_dep kmailtransport) + $(add_kdeapps_dep kmbox) + $(add_kdeapps_dep kmime) + $(add_kdeapps_dep libkgapi) + $(add_kdeapps_dep pimcommon) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwebengine 'widgets') + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + dev-libs/cyrus-sasl:2 + dev-libs/libical:= + speech? ( $(add_qt_dep qtspeech) ) +" +DEPEND="${CDEPEND} + $(add_qt_dep qtxmlpatterns) + dev-libs/libxslt + test? ( $(add_kdeapps_dep kimap 'test') ) +" +RDEPEND="${CDEPEND} + !kde-apps/kdepim-l10n + !kde-misc/akonadi-ews + $(add_frameworks_dep oxygen-icons) +" + +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}/${P}-gmail-resource-crash.patch" ) + +src_prepare() { + kde5_src_prepare + # We don't build kolab, so we can disable this + punt_bogus_dep KF5 KDELibs4Support +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package speech Qt5TextToSpeech) + ) + + kde5_src_configure +}