After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622895 - liboobs: Migrate from dbus-glib to glib's GDBus
liboobs: Migrate from dbus-glib to glib's GDBus
Status: RESOLVED WONTFIX
Product: gnome-system-tools
Classification: Deprecated
Component: liboobs
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: system-tools-maint
system-tools-maint
Depends on:
Blocks: 622871
 
 
Reported: 2010-06-27 10:58 UTC by André Klapper
Modified: 2010-06-27 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2010-06-27 10:58:24 UTC
For GLib 2.25.5 GDBus D-Bus support was merged, providing an API to replace dbus-glib.

See http://library.gnome.org/devel/gio/unstable/gdbus.html and http://library.gnome.org/devel/gio/unstable/ch28.html .

According to a quick grep this module seems to use dbus-glib:

./liboobs/configure.in:
DBUS_REQUIRED=0.70
dbus-glib-1 >= $DBUS_REQUIRED
Comment 1 Milan Bouchet-Valat 2010-06-27 12:41:02 UTC
Actually liboobs uses libdbus direclty most of the time. So I thought it didn't depend on dbus-glib at all (and I committed a wrong fix ;-), but it uses dbus_connection_setup_with_g_main() in one place. Maybe we could get rid of this, but GDBus cannot replace it since it doesn't use libdbus, and I'm not sure handling this manually (e.g. copy/paste) is a good idea.

Anyway, I won't port liboobs to GDBus because it's likely to disappear progressively, really not worth the pain.

Thanks for reporting!