summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 12:27:36 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 12:27:59 +0100
commitedbd4611c2ce0adbb46d27c5eb4646f66cdc5d32 (patch)
tree7792a947a4735be69d381001c37a5c42e585fee9 /kde-apps
parentkde-apps/kmail: Fix apply filters (diff)
downloadgentoo-edbd4611c2ce0adbb46d27c5eb4646f66cdc5d32.tar.gz
gentoo-edbd4611c2ce0adbb46d27c5eb4646f66cdc5d32.tar.bz2
gentoo-edbd4611c2ce0adbb46d27c5eb4646f66cdc5d32.zip
kde-apps/kmailtransport: Fix draft message mailtransport
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kmailtransport/files/kmailtransport-17.12.1-draft-message-fix.patch27
-rw-r--r--kde-apps/kmailtransport/kmailtransport-17.12.1-r1.ebuild46
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kmailtransport/files/kmailtransport-17.12.1-draft-message-fix.patch b/kde-apps/kmailtransport/files/kmailtransport-17.12.1-draft-message-fix.patch
new file mode 100644
index 000000000000..78a52547561a
--- /dev/null
+++ b/kde-apps/kmailtransport/files/kmailtransport-17.12.1-draft-message-fix.patch
@@ -0,0 +1,27 @@
+From 424f0273dbebd115da6812e0b680fb911f282cd4 Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Mon, 15 Jan 2018 07:04:47 +0100
+Subject: Fix Bug 388573 - Draft message is confused about mail transport
+
+FIXED-IN: 5.7.2
+BUG: 388573
+---
+ src/kmailtransport/widgets/transportcombobox.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kmailtransport/widgets/transportcombobox.cpp b/src/kmailtransport/widgets/transportcombobox.cpp
+index b538f98..f198c4e 100644
+--- a/src/kmailtransport/widgets/transportcombobox.cpp
++++ b/src/kmailtransport/widgets/transportcombobox.cpp
+@@ -37,7 +37,7 @@ TransportComboBox::TransportComboBox(QWidget *parent)
+ : QComboBox(parent)
+ , d(new TransportComboBoxPrivate)
+ {
+- QMetaObject::invokeMethod(this, "updateComboboxList");
++ updateComboboxList();
+ connect(TransportManager::self(), &TransportManager::transportsChanged, this, &TransportComboBox::updateComboboxList);
+ connect(TransportManager::self(), &TransportManager::transportRemoved, this, &TransportComboBox::transportRemoved);
+ }
+--
+cgit v0.11.2
+
diff --git a/kde-apps/kmailtransport/kmailtransport-17.12.1-r1.ebuild b/kde-apps/kmailtransport/kmailtransport-17.12.1-r1.ebuild
new file mode 100644
index 000000000000..a954a87a9c26
--- /dev/null
+++ b/kde-apps/kmailtransport/kmailtransport-17.12.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Mail transport service"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_kdeapps_dep akonadi)
+ $(add_kdeapps_dep akonadi-mime)
+ $(add_kdeapps_dep kmime)
+ $(add_kdeapps_dep ksmtp)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtwidgets)
+"
+DEPEND="${COMMON_DEPEND}
+ test? ( $(add_frameworks_dep ktextwidgets) )
+"
+RDEPEND="${COMMON_DEPEND}
+ !kde-apps/kdepim-l10n
+ !kde-apps/kdepimlibs:4
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-17.11.80-deps.patch"
+ "${FILESDIR}/${P}-draft-message-fix.patch"
+)
+
+RESTRICT+=" test"