Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 5 and Version 6 of GSoC2010/DetachableLibpurple


Ignore:
Timestamp:
Aug 11, 2010, 6:47:29 PM (13 years ago)
Author:
gillux
Comment:

Added finch, dbus notes and fixed a typo.

Legend:

Unmodified
Added
Removed
Modified
  • GSoC2010/DetachableLibpurple

    v5 v6  
    2424== End-user usage ==
    2525'''The project isn't usable yet.'''
     26
    2627But if you really want to see something and you know how to use a command line, you can play with what's available:
    2728
     
    36375. Pidgin should says that no accounts are activated. Activate one if you want.
    3738
    38 6. Run as many other pidgin sessions as you want repeating step !#4.
     396. If you want, run as many finchs (again on the same host) as you want too typing {{{./finch/finch -r}}}.
    3940
    40 Now you can try to manipulate the ''Accounts'' window of all the running pidgins, and see that they are syncronized. Awsome, isn't it?
     417. Run as many other pidgin sessions as you want repeating step !#4.
     42
     43Now you can try to manipulate the ''Accounts'' window of all the running pidgins and finchs, and see that they are syncronized. Awsome, isn't it?
    4144
    4245== Applications that uses libpurple ==
    43 To make your fancy libpurple-based GUI to work in the so-called detachable mode, juste add the following code before the {{{purple_core_init()}}} call.
     46To make your fancy libpurple-based GUI to work in the so-called detachable (or remote) mode, first make sure the libpurple you are used have dbus support enabled. Then just add the following code before the {{{purple_core_init()}}} call.
    4447{{{
    4548purple_core_set_running_mode(PURPLE_RUN_REMOTE_MODE);
     
    5255
    5356Then use the libpurple API normally. Your libpurple should contact the local dbus server and get synchronised with the purpled daemon.
     57Note that if your have core plugins, you'll probably have to add the dbus cflags to their makfiles to make them compile.
    5458
    5559= Details of the hack =
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!