From 61392c13aa7518418d6b7cca24908968f424ec96d67ad7ff725351695608aaf4 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sat, 26 Jul 2014 13:04:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinit?expand=0&rev=37 --- more_verbose.patch | 64 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/more_verbose.patch b/more_verbose.patch index b25db7e..ad094d5 100644 --- a/more_verbose.patch +++ b/more_verbose.patch @@ -206,7 +206,7 @@ diff -Naur kinit-5.0.0/src/kdeinit/kinit.cpp kinit-5.0.0.new/src/kdeinit/kinit.c } diff -Naur kinit-5.0.0/src/klauncher/klauncher.cpp kinit-5.0.0.new/src/klauncher/klauncher.cpp --- kinit-5.0.0/src/klauncher/klauncher.cpp 2014-07-01 20:31:22.000000000 +0200 -+++ kinit-5.0.0.new/src/klauncher/klauncher.cpp 2014-07-26 15:00:17.385754202 +0200 ++++ kinit-5.0.0.new/src/klauncher/klauncher.cpp 2014-07-26 15:02:27.770124173 +0200 @@ -65,7 +65,7 @@ // Dispose slaves after being idle for SLAVE_MAX_IDLE seconds #define SLAVE_MAX_IDLE 30 @@ -225,3 +225,65 @@ diff -Naur kinit-5.0.0/src/klauncher/klauncher.cpp kinit-5.0.0.new/src/klauncher << "cmd=" << commandToString(request_header.cmd); #endif +@@ -782,7 +782,7 @@ + } + + #ifdef KLAUNCHER_VERBOSE_OUTPUT +- // qDebug() << "name=" << request->name << "dbus_name=" << request->dbus_name ++ qDebug() << "name=" << request->name << "dbus_name=" << request->dbus_name + << "startup type=" << s_DBusStartupTypeToString[request->dbus_startup_type]; + #endif + +@@ -957,7 +957,7 @@ + if (request->status != KLaunchRequest::Launching) { + // Request handled. + #ifdef KLAUNCHER_VERBOSE_OUTPUT +- // qDebug() << "Request handled already"; ++ qDebug() << "Request handled already"; + #endif + requestDone(request); + continue; +@@ -1063,8 +1063,8 @@ + QString name = slaveModulePath; + #endif + +- // qDebug() << "KLauncher: launching new slave " << name << " with protocol=" << protocol +- // << " args=" << arg_list << endl; ++ qDebug() << "KLauncher: launching new slave " << name << " with protocol=" << protocol ++ << " args=" << arg_list << endl; + + #ifdef Q_OS_UNIX + #ifndef USE_KPROCESS_FOR_KIOSLAVES +@@ -1104,7 +1104,7 @@ + requestStart(request); + pid_t pid = request->pid; + +-// qDebug() << "Slave launched, pid = " << pid; ++ qDebug() << "Slave launched, pid = " << pid; + + // We don't care about this request any longer.... + requestDone(request); +@@ -1208,7 +1208,7 @@ + #ifdef USE_KPROCESS_FOR_KIOSLAVES + QProcess *p = static_cast(sender()); + QByteArray _stdout = p->readAllStandardOutput(); +- // qDebug() << _stdout.data(); ++ qDebug() << _stdout.data(); + #endif + } + +@@ -1217,12 +1217,12 @@ + { + #ifdef USE_KPROCESS_FOR_KIOSLAVES + QProcess *p = static_cast(sender()); +- // qDebug() << "process finished exitcode=" << exitCode << "exitStatus=" << exitStatus; ++ qDebug() << "process finished exitcode=" << exitCode << "exitStatus=" << exitStatus; + + foreach (KLaunchRequest *request, requestList) { + if (request->process == p) { + #ifdef KLAUNCHER_VERBOSE_OUTPUT +- // qDebug() << "found KProcess, request done"; ++ qDebug() << "found KProcess, request done"; + #endif + if (exitCode == 0 && exitStatus == QProcess::NormalExit) { + request->status = KLaunchRequest::Done;