[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.cs2007-10-11 20:01:11.0 + +++ ndesk-dbus-0.6.0/src/TypeImplementer.cs2010-01-29 18:11:32.0 + @@ -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.
Re: [arch-general] ndesk-dbus 0.6.0 bugfix
On Fri, Jan 29, 2010 at 3:34 PM, Andrea Fagiani andfagi...@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.0 + +++ ndesk-dbus-0.6.0/src/TypeImplementer.cs 2010-01-29 18:11:32.0 + @@ -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
Re: [arch-general] ndesk-dbus 0.6.0 bugfix
On 01/29/2010 05:54 PM, Angel Velásquez wrote: On Fri, Jan 29, 2010 at 3:34 PM, Andrea Fagianiandfagi...@gmail.com wrote: Bug #377672https://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.cs2007-10-11 20:01:11.0 + +++ ndesk-dbus-0.6.0/src/TypeImplementer.cs2010-01-29 18:11:32.0 + @@ -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 ;-) .