Hello community, here is the log from the commit of package dbus-1-mono checked in at Thu Aug 17 18:06:26 CEST 2006. -------- --- dbus-1-mono/dbus-1-mono.changes 2006-08-16 19:33:20.000000000 +0200 +++ dbus-1-mono/dbus-1-mono.changes 2006-08-17 13:13:59.000000000 +0200 @@ -1,0 +2,9 @@ +Thu Aug 17 13:06:29 CEST 2006 - thoenig@suse.de + +- Add patch dbus-mono-exit-on-disconnect-thoenig-01.patch: Add + support for dbus_connection_set_exit_on_disconnect. +- Add patch dbus-mono-api-fix-thoenig-01.patch: Do not wrap + depreciated function dbus_connection_disconnect. Use + dbus_connection_close instead. + +------------------------------------------------------------------- New: ---- dbus-mono-api-fix-thoenig-01.patch dbus-mono-exit-on-disconnect-thoenig-01.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbus-1-mono.spec ++++++ --- /var/tmp/diff_new_pack.fjVorQ/_old 2006-08-17 18:06:01.000000000 +0200 +++ /var/tmp/diff_new_pack.fjVorQ/_new 2006-08-17 18:06:01.000000000 +0200 @@ -16,12 +16,14 @@ License: Other uncritical OpenSource License, Other License(s), see package Group: Development/Libraries/Other Version: 0.63 -Release: 3 +Release: 4 Autoreqprov: on Summary: Mono Bindings for D-Bus Source0: dbus-sharp-%{version}.tar.gz Patch0: dbus-mono-dont-build-examples-thoenig-01.patch Patch1: dbus-mono-libdir-thoenig-01.patch +Patch2: dbus-mono-exit-on-disconnect-thoenig-01.patch +Patch3: dbus-mono-api-fix-thoenig-01.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dbus-1 = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) @@ -51,6 +53,8 @@ %setup -n dbus-sharp-%{version} -q %patch0 %patch1 +%patch2 +%patch3 autoreconf -fi %build @@ -88,6 +92,12 @@ %{_prefix}/lib/mono/dbus-sharp/* %changelog -n dbus-1-mono +* Thu Aug 17 2006 - thoenig@suse.de +- Add patch dbus-mono-exit-on-disconnect-thoenig-01.patch: Add + support for dbus_connection_set_exit_on_disconnect. +- Add patch dbus-mono-api-fix-thoenig-01.patch: Do not wrap + depreciated function dbus_connection_disconnect. Use + dbus_connection_close instead. * Wed Aug 16 2006 - thoenig@suse.de - Add patch dbus-mono-libdir-thoenig-01.patch: Install Mono bindings in /usr/lib -- not /usr/lib64 -- on 64bit ++++++ dbus-mono-api-fix-thoenig-01.patch ++++++ --- mono/Connection.cs_org 2006-08-17 13:07:32.000000000 +0200 +++ mono/Connection.cs 2006-08-17 13:07:46.000000000 +0200 @@ -91,7 +91,7 @@ { if (disposing && RawConnection != IntPtr.Zero) { - dbus_connection_disconnect(rawConnection); + dbus_connection_close(rawConnection); RawConnection = IntPtr.Zero; // free the native object } @@ -324,7 +324,7 @@ int slot); [DllImport ("dbus-1")] - private extern static void dbus_connection_disconnect (IntPtr ptr); + private extern static void dbus_connection_close(IntPtr ptr); [DllImport ("dbus-1")] private extern static IntPtr dbus_bus_get_unique_name (IntPtr ptr); ++++++ dbus-mono-exit-on-disconnect-thoenig-01.patch ++++++ --- 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... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org