Hello community, here is the log from the commit of package dbus-1 checked in at Mon Apr 24 15:56:40 CEST 2006. -------- --- dbus-1/dbus-1-mono.changes 2006-03-15 15:45:16.000000000 +0100 +++ STABLE/dbus-1/dbus-1-mono.changes 2006-04-24 15:24:17.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Apr 24 15:08:07 CEST 2006 - thoenig@suse.de + +- Add patch (dbus-mono-exit-on-disconnect.diff) from Aaron Bockover + to extend the API of the mono bindings for exit_on_disconnect() + (Novell bug #167824). + +------------------------------------------------------------------- dbus-1.changes: same change New: ---- dbus-mono-exit-on-disconnect.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbus-1-mono.spec ++++++ --- /var/tmp/diff_new_pack.FxE2hu/_old 2006-04-24 15:55:25.000000000 +0200 +++ /var/tmp/diff_new_pack.FxE2hu/_new 2006-04-24 15:55:25.000000000 +0200 @@ -16,7 +16,7 @@ License: Other uncritical OpenSource License, Other License(s), see package Group: Development/Libraries/Other Version: 0.60 -Release: 21 +Release: 26 Autoreqprov: on Summary: Mono Bindings for D-BUS Source0: dbus-%{version}.tar.gz @@ -39,6 +39,7 @@ Patch14: dbus-glib-nameownerchange-workaround.diff Patch15: dbus-reply_pending_limit.diff Patch16: dbus-connection-blocks-on-poll.diff +Patch17: dbus-mono-exit-on-disconnect.diff Requires: dbus-1 = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -365,6 +366,7 @@ %patch15 #disabled for now, causes crashes #%patch16 +%patch17 autoreconf -fi %build @@ -540,6 +542,10 @@ %{_mandir}/man1/dbus-launch.1.gz %changelog -n dbus-1-mono +* Mon Apr 24 2006 - thoenig@suse.de +- Add patch (dbus-mono-exit-on-disconnect.diff) from Aaron Bockover + to extend the API of the mono bindings for exit_on_disconnect() + (Novell bug #167824). * Wed Mar 15 2006 - thoenig@suse.de - disable dbus-connection-blocks-on-poll.diff as it leads to crashes in applications using ++++++ dbus-1.spec ++++++ --- /var/tmp/diff_new_pack.FxE2hu/_old 2006-04-24 15:55:25.000000000 +0200 +++ /var/tmp/diff_new_pack.FxE2hu/_new 2006-04-24 15:55:25.000000000 +0200 @@ -16,7 +16,7 @@ License: Other License(s), see package Group: System/Daemons Version: 0.60 -Release: 21 +Release: 26 Autoreqprov: on Summary: D-BUS Message Bus System Source0: dbus-%{version}.tar.gz @@ -39,6 +39,7 @@ Patch14: dbus-glib-nameownerchange-workaround.diff Patch15: dbus-reply_pending_limit.diff Patch16: dbus-connection-blocks-on-poll.diff +Patch17: dbus-mono-exit-on-disconnect.diff Prereq: /usr/sbin/groupadd /usr/sbin/useradd /sbin/insserv /etc/init.d/boot.localfs Requires: aaa_base BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -155,6 +156,7 @@ %patch15 # disabled for now, causes crashes #%patch16 +%patch17 autoreconf -fi %build @@ -259,6 +261,10 @@ %{_mandir}/man1/dbus-monitor.1.gz %changelog -n dbus-1 +* Mon Apr 24 2006 - thoenig@suse.de +- Add patch (dbus-mono-exit-on-disconnect.diff) from Aaron Bockover + to extend the API of the mono bindings for exit_on_disconnect() + (Novell bug #167824). * Wed Mar 15 2006 - thoenig@suse.de - disable dbus-connection-blocks-on-poll.diff as it leads to crashes in applications using ++++++ dbus-mono-exit-on-disconnect.diff ++++++ --- mono/Connection.cs.orig 2006-04-21 00:06:59.000000000 -0400 +++ mono/Connection.cs 2006-04-21 00:24:34.000000000 -0400 @@ -62,6 +62,7 @@ internal Connection(IntPtr rawConnection) { RawConnection = rawConnection; + ExitOnDisconnect = true; } public Connection(string address) @@ -77,6 +78,7 @@ } SetupWithMain(); + ExitOnDisconnect = true; } public void Dispose() @@ -192,6 +194,14 @@ this.timeout = value; } } + + public bool ExitOnDisconnect + { + set + { + dbus_connection_set_exit_on_disconnect(RawConnection, value); + } + } private int Slot { @@ -350,5 +360,8 @@ private extern static void dbus_connection_unregister_object_path (IntPtr rawConnection, string path); + [DllImport ("dbus-1")] + private extern static void dbus_connection_set_exit_on_disconnect (IntPtr rawConnection, + bool exitOnDisconnect); } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...