Mercurial > pidgin.yaz
comparison README.dbus @ 11055:df0241eb602c
[gaim-migrate @ 12996]
Added preliminary DBUS support to gaim, the details are described in
README.dbus.
committer: Tailor Script <tailor@pidgin.im>
author | Piotr Zielinski <zielaj> |
---|---|
date | Sun, 03 Jul 2005 21:48:56 +0000 |
parents | |
children | 2eca9ed49469 |
comparison
equal
deleted
inserted
replaced
11054:bc700cc98b82 | 11055:df0241eb602c |
---|---|
1 This file describes how to compile and run gaim with dbus support. | |
2 Hopefully, most of the steps from point 3 will soon be automated. | |
3 | |
4 | |
5 1. Make sure you have the latest version (0.34) of the dbus library | |
6 installed, including glib bindings. | |
7 | |
8 http://www.freedesktop.org/Software/dbus | |
9 | |
10 | |
11 2. Compile gaim | |
12 | |
13 ./configure --enable-dbus | |
14 make | |
15 make install | |
16 | |
17 | |
18 3. Configure your dbus instalation for gaim | |
19 | |
20 A. Find your dbus session configuration file, usually | |
21 | |
22 /etc/dbus-1/session.conf | |
23 | |
24 B. In that file, find the <servicedir> section. This section | |
25 contains the directory that stores files describing services, | |
26 usually | |
27 | |
28 /usr/share/dbus-1/services | |
29 | |
30 C. Copy src/dbus-gaim.service to that directory | |
31 | |
32 D. Edit the dbus-gaim.service file you've just copied, and replace | |
33 the path in the "Exec=" line with the path to your gaim | |
34 executable. | |
35 | |
36 | |
37 4. Start DBUS if you haven't done it already | |
38 | |
39 eval `dbus-launch --session` | |
40 export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID | |
41 | |
42 These commands will set the two above shell variables. These | |
43 variables must be set before running any dbus-aware programs. | |
44 | |
45 | |
46 Now you can start gaim as usual. A new program, gaim-client can be | |
47 used to issue commands to a running gaim process | |
48 | |
49 gaim-client command1 command2 ... | |
50 | |
51 At the moment there are only three commands: ping, quit, and connect. | |
52 When you execute gaim-client, the dbus system will automatically start | |
53 a gaim process if one is not running already. |