11055
|
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
|
11067
|
37 4. Start Session DBUS if you haven't done it already
|
11055
|
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
|
11067
|
45 Start gaim as usual. To communicate with it, use "gaim-send". When
|
|
46 you execute gaim-send, the dbus system will automatically start a gaim
|
|
47 process if one is not running already.
|
11055
|
48
|