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.
- 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
-
v5
|
v6
|
|
24 | 24 | == End-user usage == |
25 | 25 | '''The project isn't usable yet.''' |
| 26 | |
26 | 27 | But if you really want to see something and you know how to use a command line, you can play with what's available: |
27 | 28 | |
… |
… |
|
36 | 37 | 5. Pidgin should says that no accounts are activated. Activate one if you want. |
37 | 38 | |
38 | | 6. Run as many other pidgin sessions as you want repeating step !#4. |
| 39 | 6. If you want, run as many finchs (again on the same host) as you want too typing {{{./finch/finch -r}}}. |
39 | 40 | |
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? |
| 41 | 7. Run as many other pidgin sessions as you want repeating step !#4. |
| 42 | |
| 43 | Now 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? |
41 | 44 | |
42 | 45 | == 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. |
| 46 | To 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. |
44 | 47 | {{{ |
45 | 48 | purple_core_set_running_mode(PURPLE_RUN_REMOTE_MODE); |
… |
… |
|
52 | 55 | |
53 | 56 | Then use the libpurple API normally. Your libpurple should contact the local dbus server and get synchronised with the purpled daemon. |
| 57 | Note that if your have core plugins, you'll probably have to add the dbus cflags to their makfiles to make them compile. |
54 | 58 | |
55 | 59 | = 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!