Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
dbus_connection_disconnect() has been renamed dbus_connection_close(). according to the NEWS and Changelogs. Interesting parts: /var/tmp/portage/sys-apps/dbus-1.0.2/work/dbus-1.0.2/NEWS Line 108: D-Bus 0.90 (17 July 2006) ... - Removed deprecated dbus_connection_disconnect (use dbus_connection_close) /var/tmp/portage/sys-apps/dbus-1.0.2/work/dbus-1.0.2/Changelog Line 4901: 2005-06-06 David Zeuthen <davidz@redhat.com> ... * dbus/dbus-connection.h: Add prototype for dbus_connection_disconnect ---> This appears to have been reverted without a newer changelog entry (NEWS entry 6 months ago) /var/tmp/portage/sys-apps/hal-0.5.7-r3/work/hal-0.5.7/tools/hal-device.c Line 158: dbus_connection_disconnect(conn); /var/tmp/portage/sys-apps/hal-0.5.7-r3/work/hal-0.5.7/tools/lshal.c Line 704: dbus_connection_disconnect (conn); Change above 2 references to: dbus_connection_close(conn); Patches attached. (and below) :-) ========================================================================= --- hal-0.5.7/tools/lshal.c~ 2006-12-21 07:04:52.000000000 -0700 +++ hal-0.5.7/tools/lshal.c 2006-12-21 07:04:52.000000000 -0700 @@ -701,7 +701,8 @@ libhal_ctx_shutdown (hal_ctx, &error); libhal_ctx_free (hal_ctx); - dbus_connection_disconnect (conn); +/* dbus_connection_disconnect (conn); */ + dbus_connection_close (conn); dbus_connection_unref (conn); if (show_device) ========================================================================= --- hal-0.5.7/tools/hal-device.c~ 2006-12-21 07:04:36.000000000 -0700 +++ hal-0.5.7/tools/hal-device.c 2006-12-21 07:04:36.000000000 -0700 @@ -155,7 +155,8 @@ libhal_ctx_shutdown(hal_ctx, &error); libhal_ctx_free(hal_ctx); - dbus_connection_disconnect(conn); +/* dbus_connection_disconnect(conn); */ + dbus_connection_close(conn); dbus_connection_unref(conn); dbus_error_free(&error); =========================================================================
Created an attachment (id=104510) [details] Modified ebuild
Created an attachment (id=104511) [details] lshal patch
Created an attachment (id=104512) [details] hal-devices patch
*** This bug has been marked as a duplicate of 157220 ***
This has apparently been fixed in sys-apps/hal-0.5.7.1-r2 with hal-0.5.7.1-dbus-close.patch but the patch should be applied to sys-apps/hal-0.5.7.-r3 as well. Sorry for the confusion.