summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-08-01 14:52:49 +0000
committerUlrich Müller <ulm@gentoo.org>2008-08-01 14:52:49 +0000
commitb09c07d3356175b7edb5e3867ef0fc9bfa427539 (patch)
tree4148f3e462a7d9c05405f9da095074309739a6f5 /app-emacs
parentstable on x86. (diff)
downloadgentoo-2-b09c07d3356175b7edb5e3867ef0fc9bfa427539.tar.gz
gentoo-2-b09c07d3356175b7edb5e3867ef0fc9bfa427539.tar.bz2
gentoo-2-b09c07d3356175b7edb5e3867ef0fc9bfa427539.zip
Version bump: new CVS snapshot.
(Portage version: 2.2_rc3/cvs/Linux 2.6.25-gentoo-r6 i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/slime/ChangeLog17
-rw-r--r--app-emacs/slime/slime-2.0_p20070816-r3.ebuild8
-rw-r--r--app-emacs/slime/slime-2.0_p20080731.ebuild83
3 files changed, 103 insertions, 5 deletions
diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog
index e688a62bcc20..b43c770a50c8 100644
--- a/app-emacs/slime/ChangeLog
+++ b/app-emacs/slime/ChangeLog
@@ -1,6 +1,21 @@
# ChangeLog for app-emacs/slime
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.57 2008/08/01 14:35:58 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.58 2008/08/01 14:52:49 ulm Exp $
+
+*slime-2.0_p20080731 (01 Aug 2008)
+
+ 01 Aug 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/2.0_p20080731/70slime-gentoo.el,
+ +files/2.0_p20080731/changelog-date.patch,
+ +files/2.0_p20080731/dont-call-init.patch,
+ +files/2.0_p20080731/fix-ecl.patch,
+ +files/2.0_p20080731/fix-slime-indentation.patch,
+ +files/2.0_p20080731/fix-swank-listener-hooks-contrib.patch,
+ +files/2.0_p20080731/inspect-presentations.patch,
+ +files/2.0_p20080731/module-load-gentoo.patch,
+ +files/2.0_p20080731/swank.asd, +slime-2.0_p20080731.ebuild:
+ Version bump: new CVS snapshot, everything contributed by Stelian Ionescu
+ <sionescu@common-lisp.net>.
*slime-2.0_p20070816-r3 (01 Aug 2008)
diff --git a/app-emacs/slime/slime-2.0_p20070816-r3.ebuild b/app-emacs/slime/slime-2.0_p20070816-r3.ebuild
index 9cd30c997941..c6c078ee0ddf 100644
--- a/app-emacs/slime/slime-2.0_p20070816-r3.ebuild
+++ b/app-emacs/slime/slime-2.0_p20070816-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/slime-2.0_p20070816-r3.ebuild,v 1.2 2008/08/01 14:35:58 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/slime-2.0_p20070816-r3.ebuild,v 1.3 2008/08/01 14:52:49 ulm Exp $
inherit common-lisp elisp eutils
@@ -51,11 +51,11 @@ src_install() {
|| die "Cannot install SLIME core"
elisp-site-file-install "${FILESDIR}"/${PV}/${SITEFILE} \
|| die "elisp-site-file-install failed"
- insinto "${CLSOURCEROOT}"/swank
+ insinto "${CLSOURCEROOT%/}"/swank
doins *.lisp "${FILESDIR}"/${PV}/swank.asd
dodir "${CLSYSTEMROOT}"
- dosym "${CLSOURCEROOT}"/swank/swank.asd "${CLSYSTEMROOT}"
- dosym "${SITELISP}"/${PN}/swank-version.el "${CLSOURCEROOT}"/swank
+ dosym "${CLSOURCEROOT%/}"/swank/swank.asd "${CLSYSTEMROOT}"
+ dosym "${SITELISP}"/${PN}/swank-version.el "${CLSOURCEROOT%/}"/swank
dodoc README* ChangeLog HACKING NEWS PROBLEMS || die "dodoc failed"
doinfo doc/slime.info
diff --git a/app-emacs/slime/slime-2.0_p20080731.ebuild b/app-emacs/slime/slime-2.0_p20080731.ebuild
new file mode 100644
index 000000000000..8a60f8fdd043
--- /dev/null
+++ b/app-emacs/slime/slime-2.0_p20080731.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/slime-2.0_p20080731.ebuild,v 1.1 2008/08/01 14:52:49 ulm Exp $
+
+inherit common-lisp elisp eutils
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2 xref.lisp"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND="virtual/commonlisp"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+SITEFILE=70${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}/module-load-gentoo.patch
+ epatch "${FILESDIR}"/${PV}/dont-call-init.patch
+ epatch "${FILESDIR}"/${PV}/inspect-presentations.patch
+ epatch "${FILESDIR}"/${PV}/fix-ecl.patch
+ epatch "${FILESDIR}"/${PV}/fix-swank-listener-hooks-contrib.patch
+ epatch "${FILESDIR}"/${PV}/fix-slime-indentation.patch
+ epatch "${FILESDIR}"/${PV}/changelog-date.patch
+
+ # extract date of last update from ChangeLog, bug 233270
+ SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
+ [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
+
+ sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp \
+ || die "sed swank.lisp failed"
+ sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el \
+ || die "sed slime.el failed"
+}
+
+src_compile() {
+ elisp-comp *.el || die "Cannot compile core Elisp files"
+ EMACSFLAGS="${EMACSFLAGS} -L . -L contrib -l slime" \
+ elisp-compile contrib/*.el || die "Cannot compile contrib Elisp files"
+ emake -j1 -C doc slime.info || die "Cannot build info docs"
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts \
+ emake -j1 -C doc slime.{ps,pdf} || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ ## install core
+ elisp-install ${PN} *.el{,c} "${FILESDIR}"/swank-loader.lisp \
+ || die "Cannot install SLIME core"
+ elisp-site-file-install "${FILESDIR}"/${PV}/${SITEFILE} \
+ || die "elisp-site-file-install failed"
+ cp "${FILESDIR}"/${PV}/swank.asd "${S}"
+ # remove upstream swank-loader, since it won't be used
+ rm "${S}"/swank-loader.lisp
+ insinto "${CLSOURCEROOT%/}"/swank
+ doins *.lisp "${FILESDIR}"/${PV}/swank.asd
+ dodir "${CLSYSTEMROOT}"
+ dosym "${CLSOURCEROOT%/}"/swank/swank.asd "${CLSYSTEMROOT}"
+ dosym "${SITELISP}"/${PN}/swank-version.el "${CLSOURCEROOT%/}"/swank
+
+ ## install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \
+ || die "Cannot install contribs"
+ insinto "${CLSOURCEROOT%/}"/swank/contrib
+ doins contrib/*.lisp
+
+ ## install docs
+ dodoc README* ChangeLog HACKING NEWS PROBLEMS
+ newdoc contrib/README README.contrib
+ newdoc contrib/ChangeLog ChangeLog.contrib
+ doinfo doc/slime.info
+ use doc && dodoc doc/slime.{ps,pdf}
+}