[SCM] kate packaging branch, master, updated. debian/14.12.3-1-38-gbec3ff2

Maximiliano Curia maxy at moszumanska.debian.org
Sun Jul 12 12:40:15 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/kate.git;a=commitdiff;h=903196c

The following commit has been merged in the master branch:
commit 903196c3780a01fbe8719d4750da39ad0c4fdb76
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Thu Jul 2 13:55:11 2015 +0200

    Delete obsolete patch
---
 ...stream_Register_with_dbus_to_wake_up_KRun.patch | 69 ----------------------
 1 file changed, 69 deletions(-)

diff --git a/debian/patches/upstream_Register_with_dbus_to_wake_up_KRun.patch b/debian/patches/upstream_Register_with_dbus_to_wake_up_KRun.patch
deleted file mode 100644
index 32262e0..0000000
--- a/debian/patches/upstream_Register_with_dbus_to_wake_up_KRun.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From: Liu Zhe <cruise.pas at gmail.com>
-Date: Tue, 10 Mar 2015 11:58:51 +0000
-Subject: Register with dbus to wake up KRun, and unregister then
-X-Git-Tag: v15.03.90
-X-Git-Url: http://quickgit.kde.org/?p=kate.git&a=commitdiff&h=5207e49a84145e21060f3b5beff302a437cfeccd
----
-Register with dbus to wake up KRun, and unregister then
-
-This fixes the "KDEInit could not launch Kate" error
-when opening second file with Kate
-
-REVIEW: 122498
-BUG: 343673
-BUG: 339094
----
-
-
---- a/kate/src/kateapp.cpp
-+++ b/kate/src/kateapp.cpp
-@@ -151,10 +151,8 @@
-     } else if (!m_args.isSet(QStringLiteral("stdin")) && (m_args.positionalArguments().count() == 0)) { // only start session if no files specified
-         // let the user choose session if possible
-         if (!sessionManager()->chooseSession()) {
--#ifdef Q_WS_X11
-             // we will exit kate now, notify the rest of the world we are done
--            KStartupInfo::appStarted(startupId());
--#endif
-+            KStartupInfo::appStarted(KStartupInfo::startupId());
-             return false;
-         }
-     } else {
-@@ -167,9 +165,7 @@
-     }
- 
-     // notify about start
--#ifdef Q_WS_X11
--    KStartupInfo::setNewStartupId(activeKateMainWindow(), startupId());
--#endif
-+    KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId());
- 
-     QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : 0;
-     bool tempfileSet = m_args.isSet(QStringLiteral("tempfile"));
-
---- a/kate/src/main.cpp
-+++ b/kate/src/main.cpp
-@@ -25,6 +25,7 @@
- 
- #include <KAboutData>
- #include <KLocalizedString>
-+#include <KStartupInfo>
- #include <kdbusservice.h>
- 
- #include <QByteArray>
-@@ -395,10 +396,12 @@
-                 QDBusConnection::sessionBus().connect(serviceName, QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("documentClosed"), waiter, SLOT(documentClosed(QString)));
-             }
- 
--    #ifdef Q_WS_X11
-+            // KToolInvocation (and KRun) will wait until we register on dbus
-+            KDBusService dbusService(KDBusService::Multiple);
-+            dbusService.unregister();
-+
-             // make the world happy, we are started, kind of...
-             KStartupInfo::appStarted();
--    #endif
- 
-             // this will wait until exiting is emitted by the used instance, if wanted...
-             return needToBlock ? app.exec() : 0;
-

-- 
kate packaging



More information about the pkg-kde-commits mailing list