[Pkg-kde-commits] rev 431 - in trunk/packages/kdelibs/debian: . patches
Christopher Martin
chrsmrtn-guest@costa.debian.org
Thu, 20 Jan 2005 21:23:42 +0100
Author: chrsmrtn-guest
Date: 2005-01-20 21:23:41 +0100 (Thu, 20 Jan 2005)
New Revision: 431
Added:
trunk/packages/kdelibs/debian/patches/15_strip_directory.diff
Modified:
trunk/packages/kdelibs/debian/changelog
Log:
Add new patch - fixes starting of games from Run Dialog.
Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog 2005-01-20 16:15:27 UTC (rev 430)
+++ trunk/packages/kdelibs/debian/changelog 2005-01-20 20:23:41 UTC (rev 431)
@@ -1,3 +1,14 @@
+kdelibs (4:3.3.2-2) unstable; urgency=low
+
+ +++ Changes by Christopher Martin:
+
+ * Add patch from upstream that solves the problem wherein programs whose
+ .desktop entry contained their full path, rather than just the binary
+ to be executed (mainly games), confused kdeinit.
+ (Closes: #270592, #290323)
+
+ -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Date
+
kdelibs (4:3.3.2-1) unstable; urgency=medium
+++ Changes by Adeodato Simó:
Added: trunk/packages/kdelibs/debian/patches/15_strip_directory.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/15_strip_directory.diff 2005-01-20 16:15:27 UTC (rev 430)
+++ trunk/packages/kdelibs/debian/patches/15_strip_directory.diff 2005-01-20 20:23:41 UTC (rev 431)
@@ -0,0 +1,14 @@
+--- kdelibs-orig/kinit/klauncher.cpp
++++ kdelibs-patched/kinit/klauncher.cpp
+@@ -990,7 +990,11 @@
+ if (v.isValid())
+ request->dcop_name = v.toString().utf8();
+ if (request->dcop_name.isEmpty())
++ {
+ request->dcop_name = request->name;
++ // Strip directory
++ request->dcop_name = request->dcop_name.mid(request->dcop_name.findRev('/')+1);
++ }
+ }
+
+ request->pid = 0;