From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A322E1384B4 for ; Thu, 26 Nov 2015 16:06:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F269B21C04C; Thu, 26 Nov 2015 16:06:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5161321C04C for ; Thu, 26 Nov 2015 16:06:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34097340688 for ; Thu, 26 Nov 2015 16:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4BD7AE54 for ; Thu, 26 Nov 2015 16:06:35 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1448553977.2b17a8c3045a236a3931d59ac9cddd03ae72bc2b.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/, kde-plasma/plasma-workspace/files/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch kde-plasma/plasma-workspace/plasma-workspace-5.4.95.ebuild kde-plasma/plasma-workspace/plasma-workspace-5.5.49.9999.ebuild kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild X-VCS-Directories: kde-plasma/plasma-workspace/ kde-plasma/plasma-workspace/files/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 2b17a8c3045a236a3931d59ac9cddd03ae72bc2b X-VCS-Branch: master Date: Thu, 26 Nov 2015 16:06:35 +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: b4893dee-0c2a-46a8-91c1-d433d67ba51a X-Archives-Hash: 9173e519249c18c04998bfb07aebb9a5 commit: 2b17a8c3045a236a3931d59ac9cddd03ae72bc2b Author: Andreas Sturmlechner gmail com> AuthorDate: Mon Nov 23 19:46:42 2015 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu Nov 26 16:06:17 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2b17a8c3 kde-plasma/plasma-workspace: Block dev-libs/xembed-sni-proxy Fixes bug 566354 Package-Manager: portage-2.2.25 .../files/plasma-workspace-5.4-consolekit2.patch | 189 --------------------- .../files/plasma-workspace-5.4.3-fix-drkonqi.patch | 32 ---- .../plasma-workspace-5.4.95.ebuild | 1 + .../plasma-workspace-5.5.49.9999.ebuild | 1 + .../plasma-workspace/plasma-workspace-9999.ebuild | 1 + 5 files changed, 3 insertions(+), 221 deletions(-) diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch deleted file mode 100644 index 6131c90..0000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch +++ /dev/null @@ -1,189 +0,0 @@ -From: Eric Koegel -Date: Wed, 12 Aug 2015 08:33:39 +0000 -Subject: ConsoleKit2 support for screenlocker -X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=72578284a1fda5f012cafcaccad6069fadbf9a25 ---- -ConsoleKit2 support for screenlocker - -ConsoleKit2 has the same API as systemd-logind for Lock, Unlock, -PrepareForSleep, and Inhibit. This patch adds the functionality -for ConsoleKit2 while attempting to minimize code duplication. - -REVIEW: 124469 ---- - - ---- a/ksmserver/screenlocker/logind.cpp -+++ b/ksmserver/screenlocker/logind.cpp -@@ -25,13 +25,17 @@ - #include - #include - #include --#include - #include - - const static QString s_login1Service = QStringLiteral("org.freedesktop.login1"); - const static QString s_login1Path = QStringLiteral("/org/freedesktop/login1"); - const static QString s_login1ManagerInterface = QStringLiteral("org.freedesktop.login1.Manager"); - const static QString s_login1SessionInterface = QStringLiteral("org.freedesktop.login1.Session"); -+ -+const static QString s_consolekitService = QStringLiteral("org.freedesktop.ConsoleKit"); -+const static QString s_consolekitPath = QStringLiteral("/org/freedesktop/ConsoleKit/Manager"); -+const static QString s_consolekitManagerInterface = QStringLiteral("org.freedesktop.ConsoleKit.Manager"); -+const static QString s_consolekitSessionInterface = QStringLiteral("org.freedesktop.ConsoleKit.Session"); - - LogindIntegration::LogindIntegration(const QDBusConnection &connection, QObject *parent) - : QObject(parent) -@@ -42,6 +46,10 @@ - this)) - , m_connected(false) - , m_inhibitFileDescriptor() -+ , m_service(nullptr) -+ , m_path(nullptr) -+ , m_managerInterface(nullptr) -+ , m_sessionInterface(nullptr) - { - connect(m_logindServiceWatcher, &QDBusServiceWatcher::serviceRegistered, this, &LogindIntegration::logindServiceRegistered); - connect(m_logindServiceWatcher, &QDBusServiceWatcher::serviceUnregistered, this, -@@ -67,6 +75,11 @@ - } - if (reply.value().contains(s_login1Service)) { - logindServiceRegistered(); -+ // Don't register ck if we have logind -+ return; -+ } -+ if (reply.value().contains(s_consolekitService)) { -+ consolekitServiceRegistered(); - } - } - ); -@@ -89,6 +102,40 @@ - message.setArguments(QVariantList() << (quint32) QCoreApplication::applicationPid()); - QDBusPendingReply session = m_bus.asyncCall(message); - QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(session, this); -+ -+ m_service = &s_login1Service; -+ m_path = &s_login1Path; -+ m_managerInterface = &s_login1ManagerInterface; -+ m_sessionInterface = &s_login1SessionInterface; -+ -+ commonServiceRegistered(watcher); -+} -+ -+void LogindIntegration::consolekitServiceRegistered() -+{ -+ // Don't try to register with ck if we have logind -+ if (m_connected) { -+ return; -+ } -+ -+ // get the current session -+ QDBusMessage message = QDBusMessage::createMethodCall(s_consolekitService, -+ s_consolekitPath, -+ s_consolekitManagerInterface, -+ QStringLiteral("GetCurrentSession")); -+ QDBusPendingReply session = m_bus.asyncCall(message); -+ QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(session, this); -+ -+ m_service = &s_consolekitService; -+ m_path = &s_consolekitPath; -+ m_managerInterface = &s_consolekitManagerInterface; -+ m_sessionInterface = &s_consolekitSessionInterface; -+ -+ commonServiceRegistered(watcher); -+} -+ -+void LogindIntegration::commonServiceRegistered(QDBusPendingCallWatcher *watcher) -+{ - connect(watcher, &QDBusPendingCallWatcher::finished, this, - [this](QDBusPendingCallWatcher *self) { - QDBusPendingReply reply = *self; -@@ -97,7 +144,7 @@ - return; - } - if (!reply.isValid()) { -- qDebug() << "The session is not registered with logind" << reply.error().message(); -+ qDebug() << "The session is not registered: " << reply.error().message(); - return; - } - const QString sessionPath = reply.value().path(); -@@ -105,15 +152,15 @@ - - // connections need to be done this way as the object exposes both method and signal - // with name "Lock"/"Unlock". Qt is not able to automatically handle this. -- m_bus.connect(s_login1Service, -+ m_bus.connect(*m_service, - sessionPath, -- s_login1SessionInterface, -+ *m_sessionInterface, - QStringLiteral("Lock"), - this, - SIGNAL(requestLock())); -- m_bus.connect(s_login1Service, -+ m_bus.connect(*m_service, - sessionPath, -- s_login1SessionInterface, -+ *m_sessionInterface, - QStringLiteral("Unlock"), - this, - SIGNAL(requestUnlock())); -@@ -123,9 +170,9 @@ - ); - - // connect to manager object's signals we need -- m_bus.connect(s_login1Service, -- s_login1Path, -- s_login1ManagerInterface, -+ m_bus.connect(*m_service, -+ *m_path, -+ *m_managerInterface, - QStringLiteral("PrepareForSleep"), - this, - SIGNAL(prepareForSleep(bool))); -@@ -136,9 +183,14 @@ - if (m_inhibitFileDescriptor.isValid()) { - return; - } -- QDBusMessage message = QDBusMessage::createMethodCall(s_login1Service, -- s_login1Path, -- s_login1ManagerInterface, -+ -+ if (!m_connected) { -+ return; -+ } -+ -+ QDBusMessage message = QDBusMessage::createMethodCall(*m_service, -+ *m_path, -+ *m_managerInterface, - QStringLiteral("Inhibit")); - message.setArguments(QVariantList({QStringLiteral("sleep"), - i18n("Screen Locker"), - ---- a/ksmserver/screenlocker/logind.h -+++ b/ksmserver/screenlocker/logind.h -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - class QDBusServiceWatcher; - -@@ -59,10 +60,16 @@ - **/ - explicit LogindIntegration(const QDBusConnection &connection, QObject *parent = nullptr); - void logindServiceRegistered(); -+ void consolekitServiceRegistered(); -+ void commonServiceRegistered(QDBusPendingCallWatcher *watcher); - QDBusConnection m_bus; - QDBusServiceWatcher *m_logindServiceWatcher; - bool m_connected; - QDBusUnixFileDescriptor m_inhibitFileDescriptor; -+ const QString *m_service; -+ const QString *m_path; -+ const QString *m_managerInterface; -+ const QString *m_sessionInterface; - }; - - #endif - diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch deleted file mode 100644 index 9aa89ca..0000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: David Edmundson -Date: Wed, 21 Oct 2015 16:42:01 +0000 -Subject: Don't connect to signals which don't exist -X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=2441d350ef571329b67848f79668f3956534806e ---- -Don't connect to signals which don't exist - -Fix KDialog porting ---- - - ---- a/drkonqi/bugzillaintegration/reportassistantpages_bugzilla_duplicates.cpp -+++ b/drkonqi/bugzillaintegration/reportassistantpages_bugzilla_duplicates.cpp -@@ -574,7 +574,7 @@ - QIcon::fromTheme("view-refresh"), - i18nc("@info:tooltip", "Use this button to retry " - "loading the bug report."))); -- connect(ui.m_retryButton, SIGNAL(clicked()), this, SLOT(reloadReport())); -+ connect(ui.m_retryButton, &QPushButton::clicked, this, &BugzillaReportInformationDialog::reloadReport); - - m_suggestButton = new QPushButton(this); - ui.buttonBox->addButton(m_suggestButton, QDialogButtonBox::ActionRole); -@@ -583,7 +583,7 @@ - QIcon::fromTheme("list-add"), i18nc("@info:tooltip", "Use this button to suggest that " - "the crash you experienced is related to this bug " - "report"))); -- connect(this, SIGNAL(user1Clicked()) , this, SLOT(relatedReportClicked())); -+ connect(m_suggestButton, &QPushButton::clicked, this, &BugzillaReportInformationDialog::relatedReportClicked); - - connect(ui.m_showOwnBacktraceCheckBox, SIGNAL(toggled(bool)), this, SLOT(toggleShowOwnBacktrace(bool))); - - diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.4.95.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.4.95.ebuild index 704b6fb..4c4ba5c 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.4.95.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.4.95.ebuild @@ -99,6 +99,7 @@ RDEPEND="${COMMON_DEPEND} x11-apps/xrdb x11-apps/xset x11-apps/xsetroot + !dev-libs/xembed-sni-proxy !kde-base/freespacenotifier:4 !kde-base/libtaskmanager:4 !kde-base/kcminit:4 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.5.49.9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.5.49.9999.ebuild index b432c4c..ab72864 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.5.49.9999.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.5.49.9999.ebuild @@ -99,6 +99,7 @@ RDEPEND="${COMMON_DEPEND} x11-apps/xrdb x11-apps/xset x11-apps/xsetroot + !dev-libs/xembed-sni-proxy !kde-base/freespacenotifier:4 !kde-base/libtaskmanager:4 !kde-base/kcminit:4 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild index 971bf3e..b1366d9 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild @@ -99,6 +99,7 @@ RDEPEND="${COMMON_DEPEND} x11-apps/xrdb x11-apps/xset x11-apps/xsetroot + !dev-libs/xembed-sni-proxy !kde-base/freespacenotifier:4 !kde-base/libtaskmanager:4 !kde-base/kcminit:4