Package: gnome-rdp
Version: 0.2.2-5
Severity: important

Hi,
gnome-rdp FTBFS with glib-sharp 2.12 and maybe also with older versions
(can't check right now). Attached patch fixes this, please include it...
thanks :)


> ./ProcessCaller.cs(65,44): error CS0104: `Process' is an ambiguous reference 
> between `System.Diagnostics.Process' and `GLib.Process'
> /usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll (Location of 
> the symbol related to previous error)
> /usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll 
> (Location of the symbol related to previous error)
> ./ProcessCaller.cs(66,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(67,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(68,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(69,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(70,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(71,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(72,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(73,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(74,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
> ./ProcessCaller.cs(75,27): error CS0246: The type or namespace name `Process' 
> could not be found. Are you missing a using directive or an assembly 
> reference?
--- src/ProcessCaller.cs.old	2008-03-13 20:48:43.000000000 +0100
+++ src/ProcessCaller.cs	2008-03-13 20:49:39.000000000 +0100
@@ -62,17 +62,17 @@
 			this._vnc = vnc;
 			this._passwd = passwd;
 			this._wnd = pwnd;
-			_processes.Add(new Process());
-			((Process)_processes[_processes.Count-1]).StartInfo.UseShellExecute 		= false;
-			((Process)_processes[_processes.Count-1]).StartInfo.RedirectStandardOutput	= true;
-			((Process)_processes[_processes.Count-1]).StartInfo.RedirectStandardError	= true;
-			((Process)_processes[_processes.Count-1]).StartInfo.RedirectStandardInput	= true;
-			((Process)_processes[_processes.Count-1]).StartInfo.CreateNoWindow 			= true;
-			((Process)_processes[_processes.Count-1]).StartInfo.FileName	 			= this._fileName;
-			((Process)_processes[_processes.Count-1]).StartInfo.Arguments 			 	= this._arguments;
-			((Process)_processes[_processes.Count-1]).StartInfo.WorkingDirectory	 	= this._workingDirectory;
-			((Process)_processes[_processes.Count-1]).EnableRaisingEvents 			 	= true;
-			((Process)_processes[_processes.Count-1]).WaitForInputIdle();			
+			_processes.Add(new System.Diagnostics.Process());
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.UseShellExecute 		= false;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.RedirectStandardOutput	= true;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.RedirectStandardError	= true;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.RedirectStandardInput	= true;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.CreateNoWindow 			= true;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.FileName	 			= this._fileName;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.Arguments 			 	= this._arguments;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.WorkingDirectory	 	= this._workingDirectory;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).EnableRaisingEvents 			 	= true;
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).WaitForInputIdle();			
 		}
 		
 		public void StartProcess()
@@ -85,12 +85,12 @@
 		{
 			_connectionCount++;
 			try {
-				((Process)_processes[_processes.Count-1]).Start();
+				((System.Diagnostics.Process)_processes[_processes.Count-1]).Start();
 			}
 			catch (Exception ex) {
 				Console.WriteLine(ex.Message);
 				Gdk.Threads.Enter();
-				MessageDialog md = new MessageDialog(this._wnd, DialogFlags.Modal, MessageType.Error, ButtonsType.Close, String.Format(Catalog.GetString("{0} seems not to be installed."), ((Process)_processes[_processes.Count-1]).StartInfo.FileName));
+				MessageDialog md = new MessageDialog(this._wnd, DialogFlags.Modal, MessageType.Error, ButtonsType.Close, String.Format(Catalog.GetString("{0} seems not to be installed."), ((System.Diagnostics.Process)_processes[_processes.Count-1]).StartInfo.FileName));
 				md.Run();
 				md.Destroy();
 				Gdk.Threads.Leave();
@@ -103,7 +103,7 @@
 			{
 				try
 				{
-					((Process)_processes[_processes.Count-1]).StandardInput.WriteLine(this._passwd);
+					((System.Diagnostics.Process)_processes[_processes.Count-1]).StandardInput.WriteLine(this._passwd);
 
 				}
 				catch (Exception e)
@@ -111,13 +111,13 @@
 					Console.WriteLine(e.Message);
 				}
 			}
-			((Process)_processes[_processes.Count-1]).WaitForExit();
+			((System.Diagnostics.Process)_processes[_processes.Count-1]).WaitForExit();
 			_connectionCount--;
 		}	
 		
 		public virtual void ReadStdOut()
 		{
-			string msg = GLib.Markup.EscapeText(((Process)_processes[_processes.Count-1]).StandardOutput.ReadToEnd());
+			string msg = GLib.Markup.EscapeText(((System.Diagnostics.Process)_processes[_processes.Count-1]).StandardOutput.ReadToEnd());
 			if (msg != null)
 			{
 				if (msg.Trim().Length > 0)
@@ -133,7 +133,7 @@
 		
 		public virtual void ReadStdErr()
 		{
-			string msg = GLib.Markup.EscapeText(((Process)_processes[_processes.Count-1]).StandardError.ReadToEnd());
+			string msg = GLib.Markup.EscapeText(((System.Diagnostics.Process)_processes[_processes.Count-1]).StandardError.ReadToEnd());
 			if (msg != null)
 			{
 				if (msg.Trim().Length > 0)

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to