Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/emacs-daemon: ChangeLog emacs-daemon-0.21.ebuild
Date: Sun, 02 Feb 2014 11:28:28
Message-Id: 20140202112825.5D0D72004C@flycatcher.gentoo.org
1 ulm 14/02/02 11:28:25
2
3 Modified: ChangeLog
4 Added: emacs-daemon-0.21.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
9
10 Revision Changes Path
11 1.73 app-emacs/emacs-daemon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/emacs-daemon/ChangeLog?rev=1.73&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/emacs-daemon/ChangeLog?rev=1.73&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/emacs-daemon/ChangeLog?r1=1.72&r2=1.73
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v
20 retrieving revision 1.72
21 retrieving revision 1.73
22 diff -u -r1.72 -r1.73
23 --- ChangeLog 29 Dec 2013 12:53:24 -0000 1.72
24 +++ ChangeLog 2 Feb 2014 11:28:25 -0000 1.73
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emacs/emacs-daemon
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.72 2013/12/29 12:53:24 ulm Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.73 2014/02/02 11:28:25 ulm Exp $
31 +
32 +*emacs-daemon-0.21 (02 Feb 2014)
33 +
34 + 02 Feb 2014; Ulrich Müller <ulm@g.o> +emacs-daemon-0.21.ebuild:
35 + Version bump.
36
37 29 Dec 2013; Ulrich Müller <ulm@g.o> emacs-daemon-0.20.ebuild:
38 Drop to unstable keyword on s390 and sh.
39
40
41
42 1.1 app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild?rev=1.1&content-type=text/plain
46
47 Index: emacs-daemon-0.21.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild,v 1.1 2014/02/02 11:28:25 ulm Exp $
52
53 EAPI=5
54
55 inherit elisp
56
57 DESCRIPTION="Gentoo support for Emacs running as a server in the background"
58 HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
59 SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
60
61 LICENSE="GPL-2+"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
64
65 DEPEND=">=virtual/emacs-23"
66 RDEPEND="${DEPEND}"
67
68 SITEFILE="10${PN}-gentoo.el"
69
70 pkg_setup() {
71 local has_daemon has_gtk line
72 has_daemon=$(${EMACS} ${EMACSFLAGS} --eval "(princ (fboundp 'daemonp))")
73 has_gtk=$(${EMACS} ${EMACSFLAGS} --eval "(princ (featurep 'gtk))")
74
75 if [[ ${has_daemon} != t ]]; then
76 while read line; do ewarn "${line}"; done <<-EOF
77 Your current Emacs version does not support running as a daemon which
78 is required for ${CATEGORY}/${PN}.
79 Use "eselect emacs" to select an Emacs version >= 23.
80 EOF
81 elif [[ ${has_gtk} == t ]]; then
82 while read line; do ewarn "${line}"; done <<-EOF
83 Your current Emacs is compiled with GTK+. There is a long-standing bug
84 in GTK+ that prevents Emacs from recovering from X disconnects:
85 <http://bugzilla.gnome.org/show_bug.cgi?id=85715>
86 If you run Emacs as a daemon, then it is strongly recommended that you
87 compile it with the Lucid or the Motif toolkit instead, i.e. with
88 USE="athena Xaw3d -gtk -motif" or USE="motif -gtk -athena -Xaw3d".
89 EOF
90 fi
91 }
92
93 src_compile() { :; }
94
95 src_install() {
96 newinitd emacs.rc emacs
97 newconfd emacs.conf emacs
98 exeinto /usr/libexec/emacs
99 doexe emacs-wrapper.sh emacs-stop.sh
100 elisp-site-file-install "${SITEFILE}"
101 dodoc README ChangeLog
102 }