[arch-general] ndesk-dbus 0.6.0 bugfix
Bug #377672 <https://bugs.launchpad.net/ndesk-dbus/+bug/377672> I stumbled upon this while trying to suspend my laptop using Gnome-DO's Gnome-session plugin. It may also cause problems with other C# apps. There's a quick fix for this in the first post of the launchpad's bug report : --- ndesk-dbus-0.6.0.orig/src/TypeImplementer.cs 2007-10-11 20:01:11.000000000 +0000 +++ ndesk-dbus-0.6.0/src/TypeImplementer.cs 2010-01-29 18:11:32.000000000 +0000 @@ -34,7 +34,7 @@ namespace NDesk.DBus InitHack (); - TypeBuilder typeB = modB.DefineType (declType.Name + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject)); + TypeBuilder typeB = modB.DefineType (declType.FullName + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject)); Implement (typeB, declType); Might want to add this quick fix to the package in extra.
On Fri, Jan 29, 2010 at 3:34 PM, Andrea Fagiani <andfagiani@gmail.com> wrote:
Bug #377672 <https://bugs.launchpad.net/ndesk-dbus/+bug/377672>
I stumbled upon this while trying to suspend my laptop using Gnome-DO's Gnome-session plugin. It may also cause problems with other C# apps. There's a quick fix for this in the first post of the launchpad's bug report :
--- ndesk-dbus-0.6.0.orig/src/TypeImplementer.cs 2007-10-11 20:01:11.000000000 +0000 +++ ndesk-dbus-0.6.0/src/TypeImplementer.cs 2010-01-29 18:11:32.000000000 +0000 @@ -34,7 +34,7 @@ namespace NDesk.DBus
InitHack ();
- TypeBuilder typeB = modB.DefineType (declType.Name + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject)); + TypeBuilder typeB = modB.DefineType (declType.FullName + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
Implement (typeB, declType);
Might want to add this quick fix to the package in extra.
Thanks for the patch Andrea, I am posting this mail on the opened bug on the Arch Linux Bug Tracker [1]. Thanks for your contribution, next time try to see if the bug is reported on the Arch Linux Bug Tracker [2] in order to have the things better organized [1] http://bugs.archlinux.org/task/17900 [2] http://bugs.archlinux.org -- Angel Velásquez angvp @ irc.freenode.net Arch Linux Trusted User Linux Counter: #359909 http://www.angvp.com
On 01/29/2010 05:54 PM, Angel Velásquez wrote:
On Fri, Jan 29, 2010 at 3:34 PM, Andrea Fagiani<andfagiani@gmail.com> wrote:
Bug #377672<https://bugs.launchpad.net/ndesk-dbus/+bug/377672>
I stumbled upon this while trying to suspend my laptop using Gnome-DO's Gnome-session plugin. It may also cause problems with other C# apps. There's a quick fix for this in the first post of the launchpad's bug report :
--- ndesk-dbus-0.6.0.orig/src/TypeImplementer.cs 2007-10-11 20:01:11.000000000 +0000 +++ ndesk-dbus-0.6.0/src/TypeImplementer.cs 2010-01-29 18:11:32.000000000 +0000 @@ -34,7 +34,7 @@ namespace NDesk.DBus
InitHack ();
- TypeBuilder typeB = modB.DefineType (declType.Name + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject)); + TypeBuilder typeB = modB.DefineType (declType.FullName + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
Implement (typeB, declType);
Might want to add this quick fix to the package in extra.
Thanks for the patch Andrea,
I am posting this mail on the opened bug on the Arch Linux Bug Tracker [1].
Thanks for your contribution, next time try to see if the bug is reported on the Arch Linux Bug Tracker [2] in order to have the things better organized
[1] http://bugs.archlinux.org/task/17900 [2] http://bugs.archlinux.org
Thanks Angel, I'll keep that in mind ;-) .
participants (2)
-
Andrea Fagiani
-
Angel Velásquez