summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-03-18 19:51:31 +0000
committerUlrich Müller <ulm@gentoo.org>2009-03-18 19:51:31 +0000
commit96b87dea0814aeacdbe8242de138434f194d7d3e (patch)
tree3f0f2be5da95185293508d6eb945f3a94fd77b89 /app-emacs
parentStable on alpha, bug #262849 (diff)
downloadgentoo-2-96b87dea0814aeacdbe8242de138434f194d7d3e.tar.gz
gentoo-2-96b87dea0814aeacdbe8242de138434f194d7d3e.tar.bz2
gentoo-2-96b87dea0814aeacdbe8242de138434f194d7d3e.zip
Version bump. Remove old.
(Portage version: 2.2_rc25/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/emacs-daemon/ChangeLog8
-rw-r--r--app-emacs/emacs-daemon/emacs-daemon-0.14.ebuild (renamed from app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild)25
2 files changed, 20 insertions, 13 deletions
diff --git a/app-emacs/emacs-daemon/ChangeLog b/app-emacs/emacs-daemon/ChangeLog
index 6db564a404a0..82d8aa179313 100644
--- a/app-emacs/emacs-daemon/ChangeLog
+++ b/app-emacs/emacs-daemon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/emacs-daemon
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.8 2009/02/25 08:57:50 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.9 2009/03/18 19:51:31 ulm Exp $
+
+*emacs-daemon-0.14 (18 Mar 2009)
+
+ 18 Mar 2009; Ulrich Mueller <ulm@gentoo.org> -emacs-daemon-0.12.ebuild,
+ +emacs-daemon-0.14.ebuild:
+ Version bump. Remove old.
25 Feb 2009; Ulrich Mueller <ulm@gentoo.org> emacs-daemon-0.13.ebuild:
Remove check for daemon option in pkg_setup, use NEED_EMACS=23 instead.
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.14.ebuild
index 91de399961bc..b9a400742559 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.12.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.14.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 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.12.ebuild,v 1.1 2009/02/01 19:01:54 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.14.ebuild,v 1.1 2009/03/18 19:51:31 ulm Exp $
+
+NEED_EMACS=23
inherit elisp
@@ -13,20 +15,19 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=virtual/emacs-23"
-RDEPEND="${DEPEND}
- >=sys-apps/openrc-0.3.0-r1"
+RDEPEND=">=sys-apps/openrc-0.4"
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_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # compatibility code, to be removed later
+ sed -i -e "/^(/i\\" \
+ -e "(or (fboundp 'process-attributes)\\" \
+ -e " (defalias 'process-attributes 'system-process-attributes))" \
+ ${SITEFILE} || die "sed failed"
}
src_compile() { :; }