Again with some DBUS stuff

Yesterday was another intensive hackfest afternoon. But this time no one came neither with food nor drinks :( . We should review our policy about hackfests.

Anyway, Iago and me were reviewing our past work about DBUS. We were trying to port Gedit to use DBUS instead of its own “bacon-message-connection”. We coded some tests in order to know if we were understanding everything. Creating a client and a server was easy, and the API to perform a remote call to an object is easy too, but like other projects, I think there is a lack of documentation. This time we took some help from the DBUS missing tutorial

For example, we were in trouble because we were not able to connect to the session server. We read in the DBUS tutorial that libdbus automatically discovers the address of the per-session bus daemon by reading an environment variable. But what is its name? We found it, well we found them, because there are two: DBUS_SESSION_BUS_ADDRESS and DBUS_SESSION_BUS_PID.

Finally we were able to call our amazing method called foo from our really impressive GObject called Objectlet. What a great victory :-) . Next week, we’ll begin analizing the “bacon-message-connection” code, and then after reviewing the requirements, I hope we’ll begin the port.

GNOME 2.14 is out

… and I’m jhbuilding it of course

This entry was posted on Friday, March 17th, 2006 at 7:07 pm and is filed under Hacking. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

  • March 2006
    M T W T F S S
    « Jan   Jun »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  

Be the first to leave a comment.

Leave a Reply