Skip to contentSkip to conversation

Need clarification about glib and dbus

Buildroot Cédric HEYMAN 3 participants 3 messages Feb 11, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I intend to use dbus and its C binding Glib on custom distribution built with buildroot 2014.11 for sama5d3 target.

When I take a look at
http://www.freedesktop.org/wiki/Software/DBusBindings/, I see that DBus-GLib (obsolete) must not be used. It is recommended to use GDBus instead which is the support of DBus in GLib since version 2.26 of GLib.

If I compare with package available in buildroot-2014.11, I read "DBUS_GLIB_VERSION = 0.102" in dbus-glib/dbus-glib.mk.

I feel confused :
- Does buildroot compiles dbus-glib (which is indicated deprecated on
freedesktop.org) ? what does 0.102 version correspond ?
- Does buildroot compiles glib upper than 2.26 which supports gdbus ?

Regards,

C?dric HEYMAN
Ing?nieur en D?veloppement embarqu?
T?l : 04.42.37.17.10| Fax : 04.42.24.28.98
Si?ge social : 350 rue de la Lauzi?re - Parc du Golf B?t 43 - CS 60481 - 13592 AIX-EN-PROVENCE CEDEX 3

<font face="Tahoma" size="1" color="#575F5E">
<a href="http://www.til-technologies.fr/bandeau_signature/redirection.html" target="_blank">
<img src="http://www.til-technologies.fr/bandeau_signature/bandeau.jpg" width="600" height="80" border="0" alt="Plus d'actualit?s sur www.til-technologies.fr" />
</a>
<br>
Les informations pr?c?dentes peuvent ?tre confidentielles ou privil?gi?es. Si vous n'?tes pas le destinataire pr?vu de ce mail, veuillez en notifier l'exp?diteur en r?pondant ? ce message puis supprimez-en toute trace de vos syst?mes. </font>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150211/d9c1b943/attachment.html>

#1 lore raw

Hi,

Quoted 11 lines · C?dric HEYMAN

Hi,

I intend to use dbus and its C binding Glib on custom distribution built with buildroot 2014.11 for sama5d3 target.

When I take a look at http://www.freedesktop.org/wiki/Software/DBusBindings/, I see that DBus-GLib (obsolete) must not be used. It is recommended to use GDBus instead which is the support of DBus in GLib since version 2.26 of GLib.

If I compare with package available in buildroot-2014.11, I read " DBUS_GLIB_VERSION = 0.102" in dbus-glib/dbus-glib.mk.

I feel confused :
- Does buildroot compiles dbus-glib (which is indicated deprecated on freedesktop.org) ? what does 0.102 version correspond ?

0.102 is the dbus-glib version, which is obvioulsy not synchronized with the version of glib (the libglib2 package in buildroot). Buildroot certainly builds dbus-glib (otherwise there should be some entry in the autobuilders [1]), even if it is mark as deprecated by freedesktop developers.

Quoted 1 line

- Does buildroot compiles glib upper than 2.26 which supports gdbus ?

gdbus is provided by glib (so, the libglib2 package), for the glib version packaged in the 2014.11 package, check [2].

[1] http://autobuild.buildroot.net/?reason=dbus-glib-0.102
[2] http://git.buildroot.org/buildroot/tree/package/libglib2/libglib2.mk?id=2014.11#n7

Regards,

Signature · 1 line
Samuel
#2 lore raw

Dear Samuel Martin,

Quoted 5 lines · Samuel Martin

0.102 is the dbus-glib version, which is obvioulsy not synchronized with the version of glib (the libglib2 package in buildroot). Buildroot certainly builds dbus-glib (otherwise there should be some entry in the autobuilders [1]), even if it is mark as deprecated by freedesktop developers.

Then we should update the Config.in help text of the dbus-glib package to indicate this, I believe.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com