Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] emacs r1227 - emacs-daemon
Date: Wed, 28 Jan 2009 22:03:58
Message-Id: E1LSIVn-0001Qk-HK@stork.gentoo.org
1 Author: ulm
2 Date: 2009-01-28 22:03:55 +0000 (Wed, 28 Jan 2009)
3 New Revision: 1227
4
5 Modified:
6 emacs-daemon/ChangeLog
7 emacs-daemon/emacs.rc
8 Log:
9 Depend on dbus in rc script.
10
11 Modified: emacs-daemon/ChangeLog
12 ===================================================================
13 --- emacs-daemon/ChangeLog 2009-01-27 21:11:27 UTC (rev 1226)
14 +++ emacs-daemon/ChangeLog 2009-01-28 22:03:55 UTC (rev 1227)
15 @@ -1,3 +1,10 @@
16 +2009-01-28 Ulrich Mueller <ulm@g.o>
17 +
18 + * emacs.rc (depend): Add dependencies and start after dbus daemon.
19 + Emacs must register with D-Bus at load time, otherwise notify.el
20 + doesn't work. Thanks to Tassilo Horn <tassilo@××××××××××.org> for
21 + pointing this out. Depend on localmount and bootmisc, too.
22 +
23 2009-01-21 Ulrich Mueller <ulm@g.o>
24
25 * emacs.rc: Use different syntax for assignment of default values.
26
27 Modified: emacs-daemon/emacs.rc
28 ===================================================================
29 --- emacs-daemon/emacs.rc 2009-01-27 21:11:27 UTC (rev 1226)
30 +++ emacs-daemon/emacs.rc 2009-01-28 22:03:55 UTC (rev 1227)
31 @@ -13,6 +13,11 @@
32
33 description="Start an Emacs server running in the background"
34
35 +depend() {
36 + need localmount
37 + after bootmisc dbus
38 +}
39 +
40 checkconfig() {
41 if [ "${USER}" = "${RC_SVCNAME}" ]; then
42 eerror "You have to create an init script for each user:"