[Pkg-mono-svn-commits] rev 3010 - non-group/monodevelop/trunk/debian/patches

Mirco Bauer meebey-guest at alioth.debian.org
Sun Apr 1 22:51:19 UTC 2007


Author: meebey-guest
Date: 2007-04-01 22:51:19 +0000 (Sun, 01 Apr 2007)
New Revision: 3010

Added:
   non-group/monodevelop/trunk/debian/patches/use_x-terminal-emulator.dpatch
Log:
- new patch



Added: non-group/monodevelop/trunk/debian/patches/use_x-terminal-emulator.dpatch
===================================================================
--- non-group/monodevelop/trunk/debian/patches/use_x-terminal-emulator.dpatch	2007-04-01 22:50:46 UTC (rev 3009)
+++ non-group/monodevelop/trunk/debian/patches/use_x-terminal-emulator.dpatch	2007-04-01 22:51:19 UTC (rev 3010)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## use_x-terminal-emulator.dpatch by Mirco Bauer <meebey at meebey.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad monodevelop-0.13.1~/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs monodevelop-0.13.1/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs
+--- monodevelop-0.13.1~/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs	2007-03-08 00:02:14.000000000 +0100
++++ monodevelop-0.13.1/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs	2007-04-01 22:57:37.000000000 +0200
+@@ -116,8 +116,8 @@
+ 				string additionalCommands = "";
+ 				if (!console.CloseOnDispose)
+ 					additionalCommands = @"echo; read -p 'Press any key to continue...' -n1;";
+-				ProcessStartInfo psi = new ProcessStartInfo("xterm",
+-					String.Format (@"-e ""cd {3} ; '{0}' {1} ; {2}""", command, arguments, additionalCommands, workingDirectory.Replace (" ", "\\ ")));
++				ProcessStartInfo psi = new ProcessStartInfo("x-terminal-emulator",
++					String.Format (@"-e /bin/sh -c ""cd {3} ; '{0}' {1} ; {2}""", command, arguments, additionalCommands, workingDirectory.Replace (" ", "\\ ")));
+ 				psi.UseShellExecute = false;
+ 				
+ 				if (workingDirectory != null)




More information about the Pkg-mono-svn-commits mailing list