[SCM] konsole packaging branch, master, updated. debian/4.8.4-3-1-g6ebc460

Maximiliano Curia maxy at alioth.debian.org
Wed Feb 20 15:54:14 UTC 2013


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/konsole.git;a=commitdiff;h=6ebc460

The following commit has been merged in the master branch:
commit 6ebc460fd2470394286580147c8b05e200b19b36
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Wed Feb 20 16:13:09 2013 +0100

    Add avoid-chdir-home.patch, reverts the chdir $HOME fallback
    
    Git-Dch: Full
    Closes: #586030
---
 debian/changelog                      |   10 ++++++++++
 debian/patches/avoid-chdir-home.patch |   26 ++++++++++++++++++++++++++
 debian/patches/series                 |    1 +
 3 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8c233a4..ac7ae77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+konsole (4:4.8.4-4) UNRELEASED; urgency=low
+
+  * Team upload.
+
+  [ Maximiliano Curia ]
+  * Add avoid-chdir-home.patch, reverts the chdir $HOME fallback.
+    (Closes: #586030)
+
+ -- Maximiliano Curia <maxy at debian.org>  Wed, 20 Feb 2013 16:00:49 +0100
+
 konsole (4:4.8.4-3) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/patches/avoid-chdir-home.patch b/debian/patches/avoid-chdir-home.patch
new file mode 100644
index 0000000..cd75093
--- /dev/null
+++ b/debian/patches/avoid-chdir-home.patch
@@ -0,0 +1,26 @@
+Author: Jekyll Wu <adaptee at gmail.com>
+Date:   Wed Oct 3 16:45:55 2012 +0800
+
+    Remove the hack of resetting working directory to $HOME
+    
+    That hack is added due to the the "single process" model used by konsole.
+    However, That hack seems to make the thing more confusing as reflected in bug
+    302903
+    
+    So here is a known issue: if you set konsole as the terminal emulator
+    used in pcmanfm, pressing F4 twice in different folder will open two
+    konsole window in the same folder.
+
+Index: konsole/src/Session.cpp
+===================================================================
+--- konsole.orig/src/Session.cpp	2013-02-20 16:05:22.075301582 +0100
++++ konsole/src/Session.cpp	2013-02-20 16:07:14.862690867 +0100
+@@ -470,7 +470,7 @@
+     if (!_initialWorkingDir.isEmpty())
+         _shellProcess->setInitialWorkingDirectory(_initialWorkingDir);
+     else
+-        _shellProcess->setInitialWorkingDirectory(QDir::homePath());
++        _shellProcess->setInitialWorkingDirectory(QDir::currentPath());
+ 
+     _shellProcess->setFlowControlEnabled(_flowControl);
+     _shellProcess->setEraseChar(_emulation->eraseChar());
diff --git a/debian/patches/series b/debian/patches/series
index 4ee50d8..7303330 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ debian-T-addition.diff
 upstream_No-need-to-lookup-executable-PATH-when-absolute-path.patch
 avoid-lineSpacing.diff
 drawText-alignBottom.diff
+avoid-chdir-home.patch

-- 
konsole packaging



More information about the pkg-kde-commits mailing list