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 C00CB139695 for ; Fri, 26 May 2017 15:41:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBB0F21C1BC; Fri, 26 May 2017 15:41:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7210021C1BC for ; Fri, 26 May 2017 15:41:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 0D6E733FE49 for ; Fri, 26 May 2017 15:41:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73F997454 for ; Fri, 26 May 2017 15:40:59 +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: <1495813018.7738f0b375720dd9e0fa71a9a8aa6d0df8501b23.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-17.04.1-imap-resource-crash.patch kde-apps/kdepim-runtime/kdepim-runtime-17.04.1-r1.ebuild X-VCS-Directories: kde-apps/kdepim-runtime/ kde-apps/kdepim-runtime/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7738f0b375720dd9e0fa71a9a8aa6d0df8501b23 X-VCS-Branch: master Date: Fri, 26 May 2017 15:40:59 +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: 0e651b55-c6fa-4a76-9526-a4a05c707dc7 X-Archives-Hash: a44f979bf2072d8ca7c5f5451776e19d commit: 7738f0b375720dd9e0fa71a9a8aa6d0df8501b23 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri May 26 15:36:58 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri May 26 15:36:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7738f0b3 kde-apps/kdepim-runtime: Fix runtime crash when configuring imap resource Reported-by: Niels Dettenbach syndicat.com> Gentoo-bug: 619548 Package-Manager: Portage-2.3.5, Repoman-2.3.1 ...depim-runtime-17.04.1-imap-resource-crash.patch | 37 ++++++++++ .../kdepim-runtime-17.04.1-r1.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/kde-apps/kdepim-runtime/files/kdepim-runtime-17.04.1-imap-resource-crash.patch b/kde-apps/kdepim-runtime/files/kdepim-runtime-17.04.1-imap-resource-crash.patch new file mode 100644 index 00000000000..6b9eb2266a0 --- /dev/null +++ b/kde-apps/kdepim-runtime/files/kdepim-runtime-17.04.1-imap-resource-crash.patch @@ -0,0 +1,37 @@ +From 611510d0a005bc93102aa4b9f1a5b5f9905c4179 Mon Sep 17 00:00:00 2001 +From: Montel Laurent +Date: Mon, 24 Apr 2017 12:32:36 +0200 +Subject: Fix Bug 379155 - Imap resources crash when trying to open settings + +BUG: 379155 +--- + resources/imap/setupserver.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/resources/imap/setupserver.cpp b/resources/imap/setupserver.cpp +index afaa678..2912972 100644 +--- a/resources/imap/setupserver.cpp ++++ b/resources/imap/setupserver.cpp +@@ -597,8 +597,8 @@ void SetupServer::slotComplete() + + void SetupServer::slotSafetyChanged() + { +-#ifdef WITH_GMAIL_XOAUTH2 + if (m_serverTest == nullptr) { ++#ifdef WITH_GMAIL_XOAUTH2 + const bool isGmail = Utils::isGmail(m_ui->imapServer->text()); + qCDebug(IMAPRESOURCE_LOG) << "serverTest null"; + m_ui->noRadio->setEnabled(!isGmail); +@@ -606,9 +606,9 @@ void SetupServer::slotSafetyChanged() + m_ui->tlsRadio->setEnabled(!isGmail); + + m_ui->authenticationCombo->setEnabled(!isGmail); ++#endif + return; + } +-#endif + QVector protocols; + + switch (m_ui->safeImapGroup->checkedId()) { +-- +cgit v0.11.2 diff --git a/kde-apps/kdepim-runtime/kdepim-runtime-17.04.1-r1.ebuild b/kde-apps/kdepim-runtime/kdepim-runtime-17.04.1-r1.ebuild new file mode 100644 index 00000000000..0bc02e395f6 --- /dev/null +++ b/kde-apps/kdepim-runtime/kdepim-runtime-17.04.1-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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="google" + +# TODO kolab, Qt5TextToSpeech +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 kdelibs4support) + $(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_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:= + google? ( $(add_kdeapps_dep libkgapi) ) +" +DEPEND="${CDEPEND} + $(add_qt_dep qtxmlpatterns) + dev-libs/libxslt +" +RDEPEND="${CDEPEND} + !kde-apps/kdepim-l10n + $(add_frameworks_dep oxygen-icons) +" + +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}/${P}-imap-resource-crash.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package google KPimGAPI) + ) + + kde5_src_configure +}