summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/slime/ChangeLog10
-rw-r--r--app-emacs/slime/Manifest6
-rw-r--r--app-emacs/slime/files/1.2.1/70slime-gentoo.el16
-rw-r--r--app-emacs/slime/files/1.2.1/README.Gentoo12
-rw-r--r--app-emacs/slime/files/1.2.1/swank-loader.lisp4
-rw-r--r--app-emacs/slime/files/1.2.1/swank.asd79
-rw-r--r--app-emacs/slime/files/digest-slime-1.2.11
-rw-r--r--app-emacs/slime/slime-1.2.1.ebuild75
8 files changed, 202 insertions, 1 deletions
diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog
index 0dd5129433d7..6171e88058e6 100644
--- a/app-emacs/slime/ChangeLog
+++ b/app-emacs/slime/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emacs/slime
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.14 2005/04/18 15:53:47 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.15 2005/05/11 06:44:16 mkennedy Exp $
+
+*slime-1.2.1 (11 May 2005)
+
+ 11 May 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/1.2.1/README.Gentoo, +files/1.2.1/70slime-gentoo.el,
+ +files/1.2.1/swank.asd, +files/1.2.1/swank-loader.lisp,
+ +slime-1.2.1.ebuild:
+ New upstream version.
18 Apr 2005; Matthew Kennedy <mkennedy@gentoo.org>
slime-1.0.20050303.ebuild:
diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest
index 82c038fd4029..860d3bf6eb1b 100644
--- a/app-emacs/slime/Manifest
+++ b/app-emacs/slime/Manifest
@@ -5,6 +5,7 @@ MD5 b1b578e7c57b253d1fd49eeb57e5a5a1 slime-1.0.20050106.ebuild 2032
MD5 71bf8d592a6edf80d382304560e523e6 slime-1.0.20050207.ebuild 2024
MD5 c25320cc54771e316c36cc77f4985d8a slime-1.0.ebuild 1556
MD5 51dab10f85afab8d266061dcfb71b8f7 slime-1.0.20050303.ebuild 2030
+MD5 d78b59d12c049d05f762a12141489889 slime-1.2.1.ebuild 2121
MD5 910993d2e23f61b956f2df6fad49b657 files/70slime-gentoo.el 577
MD5 7eb1b2947936cd494ee8dd07fc2fbc0f files/README.Gentoo 284
MD5 0b5e3278ab8c3b8f5cfd7c96f947d302 files/digest-slime-1.0 61
@@ -14,6 +15,7 @@ MD5 d7222ed8d3e9c8a5f88d61d8037dfae0 files/digest-slime-1.0.20050207 146
MD5 e4086b50bade07de735b2e62d60c41cb files/swank-loader.lisp 50
MD5 4ea22499288a1d3aed28b7a885dfabea files/swank.asd 1239
MD5 56884f9bea56deb1d0510930f7d6afc4 files/digest-slime-1.0.20050303 147
+MD5 4afafaded4b9fd3dbc6b81b7478bfd1c files/digest-slime-1.2.1 63
MD5 910993d2e23f61b956f2df6fad49b657 files/1.0.20050106/70slime-gentoo.el 577
MD5 50dd21e3645cb3b1daba49d208904103 files/1.0.20050106/swank-loader-init.lisp 526
MD5 9835cc99bd025c7544ab31cad4a0fab1 files/1.0.20050106/swank-loader.lisp 239
@@ -26,3 +28,7 @@ MD5 910993d2e23f61b956f2df6fad49b657 files/1.0.20050207/70slime-gentoo.el 577
MD5 a6f665debad6ee005b99b5ae3d3aeedb files/1.0.20050207/README.Gentoo 349
MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.0.20050207/swank-loader.lisp 68
MD5 b3ba0a2b8052abb14c37d64c9c8c0e31 files/1.0.20050207/swank.asd 1637
+MD5 910993d2e23f61b956f2df6fad49b657 files/1.2.1/70slime-gentoo.el 577
+MD5 a6f665debad6ee005b99b5ae3d3aeedb files/1.2.1/README.Gentoo 349
+MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.2.1/swank-loader.lisp 68
+MD5 55b1e1f6cc1b0ea4f879b66a0b991009 files/1.2.1/swank.asd 2340
diff --git a/app-emacs/slime/files/1.2.1/70slime-gentoo.el b/app-emacs/slime/files/1.2.1/70slime-gentoo.el
new file mode 100644
index 000000000000..4fde74012ac1
--- /dev/null
+++ b/app-emacs/slime/files/1.2.1/70slime-gentoo.el
@@ -0,0 +1,16 @@
+
+;;; site-lisp configuration for slime-cvs
+
+(add-to-list 'load-path "@SITELISP@")
+(require 'slime)
+(add-hook 'lisp-mode-hook
+ (lambda () (slime-mode t)))
+(add-hook 'inferior-lisp-mode-hook
+ (lambda () (inferior-slime-mode t)))
+
+;; this prevents us from requiring the user get dev-lisp/hyperspec
+;; (which is non-free) as a hard dependency
+
+(if (file-exists-p "/usr/share/doc/hyperspec-6.0/HyperSpec")
+ (setq common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec-6.0/HyperSpec/")
+ (setq common-lisp-hyperspec-root "http://www.lispworks.com/reference/HyperSpec/"))
diff --git a/app-emacs/slime/files/1.2.1/README.Gentoo b/app-emacs/slime/files/1.2.1/README.Gentoo
new file mode 100644
index 000000000000..168f91cd98db
--- /dev/null
+++ b/app-emacs/slime/files/1.2.1/README.Gentoo
@@ -0,0 +1,12 @@
+SLIME notes for Gentoo
+----------------------
+
+If you're interested in hacking this ebuild, slime-cvs uses its own
+swank.asd system definition file and swank-loader.lisp.
+
+As always with CVS ebuilds, DO NOT report problems to upstream.
+Always report problems to the Gentoo Bugzilla at
+http://bugs.gentoo.org.
+
+Matthew Kennedy <mkennedy@gentoo.org>
+
diff --git a/app-emacs/slime/files/1.2.1/swank-loader.lisp b/app-emacs/slime/files/1.2.1/swank-loader.lisp
new file mode 100644
index 000000000000..4d9b157312e6
--- /dev/null
+++ b/app-emacs/slime/files/1.2.1/swank-loader.lisp
@@ -0,0 +1,4 @@
+
+;; This file is NOT part of SLIME
+
+(asdf:oos 'asdf:load-op :swank)
diff --git a/app-emacs/slime/files/1.2.1/swank.asd b/app-emacs/slime/files/1.2.1/swank.asd
new file mode 100644
index 000000000000..d1c2c40aa186
--- /dev/null
+++ b/app-emacs/slime/files/1.2.1/swank.asd
@@ -0,0 +1,79 @@
+;;; -*- mode: lisp; syntax: common-lisp; package: common-lisp -*-
+
+(defpackage #:swank-system
+ (:use #:common-lisp
+ #:asdf))
+
+(defpackage #:swank-loader
+ (:use #:common-lisp))
+
+(in-package #:swank-system)
+
+;; http://www.caddr.com/macho/archives/sbcl-devel/2004-3/3014.html
+
+(defclass unsafe-file (cl-source-file) ())
+
+(defmethod perform :around ((op compile-op) (c unsafe-file))
+ (setf (operation-on-warnings op) :ignore
+ (operation-on-failure op) :warn) ; adjust to taste
+ (call-next-method))
+
+(defmacro define-swank-system (&rest sysdep-components)
+ `(defsystem swank
+ :name "Swank is the Common Lips back-end to SLIME"
+ :serial t
+ :components ((:file "swank-backend")
+ (:file "nregex")
+ ,@(mapcar #'(lambda (component)
+ (if (atom component)
+ (list :file component)
+ component))
+ sysdep-components)
+ (:file "swank"))
+ :depends-on (#+sbcl sb-bsd-sockets)))
+
+#+sbcl (define-swank-system
+ "swank-sbcl"
+ "swank-source-path-parser"
+ "swank-source-file-cache"
+ "swank-gray")
+
+#+cmu (define-swank-system
+ "swank-source-path-parser"
+ "swank-source-file-cache"
+ "swank-cmucl")
+
+#+clisp (define-swank-system
+ "xref"
+ "metering"
+ "swank-clisp"
+ "swank-gray")
+
+(in-package #:swank-loader)
+
+(defun user-init-file ()
+ "Return the name of the user init file or NIL if it does not exist."
+ (probe-file (merge-pathnames (user-homedir-pathname)
+ (make-pathname :name ".swank" :type "lisp"))))
+
+(defun site-init-file ()
+ "Return the name of the site init file or NIL if it does not exist."
+ (probe-file (make-pathname :name "site-init" :type "lisp" :defaults *load-truename*)))
+
+;; The strategy for loading the site init file and the user init file here
+;; differs significantly from the original in swank-loader.lisp.
+;; swank-loader.lisp does:
+;;
+;; (or (load-site-init-file)
+;; (load-user-init-file))
+;;
+;; But that has the effect of never loading the user init file, which is odd.
+;; Perhaps they mean PROGN rather than OR?
+
+(when (site-init-file)
+ (load (site-init-file)))
+
+(when (user-init-file)
+ (load (user-init-file)))
+
+;; swank.asd ends here
diff --git a/app-emacs/slime/files/digest-slime-1.2.1 b/app-emacs/slime/files/digest-slime-1.2.1
new file mode 100644
index 000000000000..bc4e9f527a1d
--- /dev/null
+++ b/app-emacs/slime/files/digest-slime-1.2.1
@@ -0,0 +1 @@
+MD5 f7fabc03e1ec5a4d380f0890141058d9 slime-1.2.1.tar.gz 373957
diff --git a/app-emacs/slime/slime-1.2.1.ebuild b/app-emacs/slime/slime-1.2.1.ebuild
new file mode 100644
index 000000000000..77d73decbdda
--- /dev/null
+++ b/app-emacs/slime/slime-1.2.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/slime-1.2.1.ebuild,v 1.1 2005/05/11 06:44:16 mkennedy Exp $
+
+inherit elisp cvs eutils
+
+# MY_PV_CVS=${PV:4:4}-${PV:8:2}-${PV:10:2}
+# MY_PV_BASE=${PV:0:3}
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+
+# SRC_URI="http://www.common-lisp.net/project/slime/slime-${MY_PV_BASE}.tar.gz
+# mirror://gentoo/slime-${MY_PV_BASE}-CVS-${MY_PV_CVS}-gentoo.patch.bz2"
+SRC_URI="http://common-lisp.net/project/slime/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~amd64"
+IUSE="doc"
+
+DEPEND="virtual/emacs
+ dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ doc? ( virtual/tetex sys-apps/texinfo )"
+
+# S="${WORKDIR}/slime-${MY_PV_BASE}"
+S="${WORKDIR}/${P}"
+
+CLPACKAGE=swank
+
+src_unpack() {
+ unpack ${A}
+# epatch slime-${MY_PV_BASE}-CVS-${MY_PV_CVS}-gentoo.patch || die
+}
+
+src_compile() {
+ echo "(add-to-list 'load-path \".\")" >load-path
+ emacs --batch -q -l load-path -f batch-byte-compile *.el || die
+ use doc && make -C doc all slime.pdf
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc} ${FILESDIR}/${PV}/swank-loader.lisp
+ elisp-site-file-install ${FILESDIR}/${PV}/70slime-gentoo.el
+ dodoc README* ChangeLog
+ zcat ${D}/usr/share/doc/${PF}/ChangeLog.gz \
+ >${D}/usr/share/emacs/site-lisp/slime/ChangeLog
+ insinto /usr/share/common-lisp/source/swank
+ doins *.lisp ${FILESDIR}/${PV}/swank.asd
+ dodir /usr/share/common-lisp/systems
+ dosym /usr/share/common-lisp/source/swank/swank.asd \
+ /usr/share/common-lisp/systems
+ if use doc; then
+ dodoc doc/slime.{ps,pdf}
+ doinfo doc/slime.info
+ fi
+}
+
+pkg_preinst() {
+ unregister-common-lisp-source $CLPACKAGE || die
+}
+
+pkg_postrm() {
+ if ! [ -d /usr/share/common-lisp/source/$CLPACKAGE ]; then
+ unregister-common-lisp-source $CLPACKAGE || die
+ fi
+ elisp-site-regen || die
+}
+
+pkg_postinst() {
+ register-common-lisp-source $CLPACKAGE || die
+ elisp-site-regen || die
+ while read line; do einfo "${line}"; done <${FILESDIR}/${PV}/README.Gentoo
+}