diff options
author | 2008-12-27 20:51:29 +0000 | |
---|---|---|
committer | 2008-12-27 20:51:29 +0000 | |
commit | 207bd78f90892651343046c8918d19e7e5f1b4e7 (patch) | |
tree | 26c8bbcd47514cff9beeea00df167fc262d567ab /app-emacs/emacs-daemon | |
parent | Revbump, update VDA patch (#239461) (diff) | |
download | gentoo-2-207bd78f90892651343046c8918d19e7e5f1b4e7.tar.gz gentoo-2-207bd78f90892651343046c8918d19e7e5f1b4e7.tar.bz2 gentoo-2-207bd78f90892651343046c8918d19e7e5f1b4e7.zip |
Version bump.
(Portage version: 2.2_rc19/cvs/Linux 2.6.27-gentoo-r4 i686)
Diffstat (limited to 'app-emacs/emacs-daemon')
-rw-r--r-- | app-emacs/emacs-daemon/ChangeLog | 9 | ||||
-rw-r--r-- | app-emacs/emacs-daemon/emacs-daemon-0.10.ebuild | 41 |
2 files changed, 49 insertions, 1 deletions
diff --git a/app-emacs/emacs-daemon/ChangeLog b/app-emacs/emacs-daemon/ChangeLog index fdf68b7b1311..0c0d191ba5fc 100644 --- a/app-emacs/emacs-daemon/ChangeLog +++ b/app-emacs/emacs-daemon/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emacs/emacs-daemon # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.3 2008/12/19 09:36:21 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.4 2008/12/27 20:51:29 ulm Exp $ + +*emacs-daemon-0.10 (27 Dec 2008) + + 27 Dec 2008; Ulrich Mueller <ulm@gentoo.org> +emacs-daemon-0.10.ebuild: + Version bump. + +*emacs-daemon-0.9 (19 Dec 2008) 19 Dec 2008; Ulrich Mueller <ulm@gentoo.org> -emacs-daemon-0.7.ebuild, +emacs-daemon-0.9.ebuild: diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.10.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.10.ebuild new file mode 100644 index 000000000000..9518406eb366 --- /dev/null +++ b/app-emacs/emacs-daemon/emacs-daemon-0.10.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.10.ebuild,v 1.1 2008/12/27 20:51:29 ulm Exp $ + +inherit elisp + +DESCRIPTION="Gentoo support for Emacs running as a server in the background" +HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/emacs-23" +RDEPEND="${DEPEND} + >=sys-apps/openrc-0.3.0-r1" + +SITEFILE="10${PN}-gentoo.el" + +pkg_setup() { + local has_daemon=$(${EMACS} ${EMACSFLAGS} \ + --eval "(princ (fboundp 'daemonp))") + if [ "${has_daemon}" != t ]; then + ewarn "Your current Emacs version does not support running as a daemon" + ewarn "which is required for ${CATEGORY}/${PN}." + ewarn "Use \"eselect emacs\" to select an Emacs version >= 23." + fi +} + +src_compile() { :; } + +src_install() { + newinitd emacs.rc emacs || die + newconfd emacs.conf emacs || die + exeinto /usr/libexec/emacs + doexe emacs-wrapper.sh || die + elisp-site-file-install "${SITEFILE}" || die + keepdir /var/run/emacs || die +} |