[kde-workspace/f20] autostart debugging

Rex Dieter rdieter at fedoraproject.org
Fri Dec 6 21:31:59 UTC 2013


commit 13bba1599318642d408357b1a3a83f7500b02be9
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Dec 6 15:31:51 2013 -0600

    autostart debugging

 kde-workspace-4.11.3-autostart-debug.patch |   23 +++++++++++++++++++++++
 kde-workspace.spec                         |    9 ++++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/kde-workspace-4.11.3-autostart-debug.patch b/kde-workspace-4.11.3-autostart-debug.patch
new file mode 100644
index 0000000..25ac2fd
--- /dev/null
+++ b/kde-workspace-4.11.3-autostart-debug.patch
@@ -0,0 +1,23 @@
+diff -up kde-workspace-4.11.3/ksmserver/startup.cpp.autostart-debug kde-workspace-4.11.3/ksmserver/startup.cpp
+--- kde-workspace-4.11.3/ksmserver/startup.cpp.autostart-debug	2013-06-28 18:10:44.000000000 +0100
++++ kde-workspace-4.11.3/ksmserver/startup.cpp	2013-12-06 15:32:48.443881822 +0000
+@@ -29,6 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE
+ 
+ ******************************************************************/
+ 
++
+ #include <kglobalsettings.h>
+ #include <QDir>
+ #include <krun.h>
+@@ -278,8 +279,11 @@ void KSMServer::autoStart1()
+ #ifdef KSMSERVER_STARTUP_DEBUG1
+     kDebug() << t.elapsed();
+ #endif
++		kWarning() << "Creating autostart 1 launcher";
+     org::kde::KLauncher klauncher("org.kde.klauncher", "/KLauncher", QDBusConnection::sessionBus());
++		kWarning() << "Sending autostart 1";
+     klauncher.autoStart((int)1);
++		kWarning() << "Autostart 1 sent";
+ }
+ 
+ void KSMServer::autoStart1Done()
diff --git a/kde-workspace.spec b/kde-workspace.spec
index f28237c..17d4aa2 100644
--- a/kde-workspace.spec
+++ b/kde-workspace.spec
@@ -17,7 +17,7 @@
 Summary: KDE Workspace
 Name:    kde-workspace
 Version: 4.11.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 License: GPLv2
 URL:     https://projects.kde.org/projects/kde/kde-workspace
@@ -47,6 +47,9 @@ Patch3: kde-workspace-4.10.4-new-session-vt-numbers.patch
 # RH/Fedora-specific: Force kdm and kdm_greet to be hardened
 Patch4: kde-workspace-4.10.4-kdm-harden.patch
 
+# autostart debugging
+Patch5: http://john5342.fedorapeople.org/patches/kde-workspace-4.11.3-autostart-debug.patch
+
 # 441062: packagekit tools do not show icons correctly on KDE
 Patch7: kdebase-workspace-4.6.80-krdb.patch
 
@@ -468,6 +471,7 @@ Requires: akonadi
 %patch2 -p1 -b .plasma-konsole
 %patch3 -p1 -b .vtnumbers
 %patch4 -p1 -b .harden
+%patch5 -p1 -b .autostart_debug
 %patch7 -p1 -b .krdb
 %patch8 -p1 -b .klipper-url
 %patch9 -p1 -b .rootprivs
@@ -1063,6 +1067,9 @@ fi
 
 
 %changelog
+* Fri Dec 06 2013 Rex Dieter <rdieter at fedoraproject.org> 4.11.3-6
+- autostart debugging
+
 * Mon Nov 25 2013 Rex Dieter <rdieter at fedoraproject.org> 4.11.3-5
 - followup screenlocker fixes/polish (#1029917, #1032612)
 


More information about the scm-commits mailing list