summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-03-03 17:12:51 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-03-03 17:12:51 +0000
commit8a32bde617d388b2d65aea6e3df755cb1ac11006 (patch)
tree357a310128ad07718aeb4c09bf1b564b3ad219ff /app-emacs/slime
parentMove sys-apps/procps -> sys-process/procps (diff)
downloadhistorical-8a32bde617d388b2d65aea6e3df755cb1ac11006.tar.gz
historical-8a32bde617d388b2d65aea6e3df755cb1ac11006.tar.bz2
historical-8a32bde617d388b2d65aea6e3df755cb1ac11006.zip
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'app-emacs/slime')
-rw-r--r--app-emacs/slime/ChangeLog11
-rw-r--r--app-emacs/slime/Manifest8
-rw-r--r--app-emacs/slime/files/1.0.20050303/70slime-gentoo.el16
-rw-r--r--app-emacs/slime/files/1.0.20050303/README.Gentoo12
-rw-r--r--app-emacs/slime/files/1.0.20050303/swank-loader.lisp4
-rw-r--r--app-emacs/slime/files/1.0.20050303/swank.asd49
-rw-r--r--app-emacs/slime/files/digest-slime-1.0.200503032
-rw-r--r--app-emacs/slime/slime-1.0.20050303.ebuild71
8 files changed, 171 insertions, 2 deletions
diff --git a/app-emacs/slime/ChangeLog b/app-emacs/slime/ChangeLog
index 10e8734168cd..5a72dbdc3001 100644
--- a/app-emacs/slime/ChangeLog
+++ b/app-emacs/slime/ChangeLog
@@ -1,6 +1,15 @@
# 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.11 2005/02/21 07:16:12 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime/ChangeLog,v 1.12 2005/03/03 17:12:51 mkennedy Exp $
+
+*slime-1.0.20050303 (03 Mar 2005)
+
+ 03 Mar 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/1.0.20050303/70slime-gentoo.el, +files/1.0.20050303/README.Gentoo,
+ +files/1.0.20050303/swank-loader.lisp, +files/1.0.20050303/swank.asd,
+ +slime-1.0.20050303.ebuild:
+ CVS snapshot refresh; This includes the changes necessary to support the
+ recent changes introduced in SBCL 0.8.20; It should be backward compatible.
21 Feb 2005; Matthew Kennedy <mkennedy@gentoo.org>
slime-1.0.20050207.ebuild:
diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest
index 4941daf535e6..5c23309faa32 100644
--- a/app-emacs/slime/Manifest
+++ b/app-emacs/slime/Manifest
@@ -1,9 +1,10 @@
-MD5 874eec455628e8404ffd72d8fbf26d03 ChangeLog 2227
+MD5 39be9a0af1c1076e972d5c17aa025760 ChangeLog 2647
MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267
MD5 c0a5f7317eb724d2e79c8a94b4352a7c slime-1.0.20041010.ebuild 1966
MD5 b1b578e7c57b253d1fd49eeb57e5a5a1 slime-1.0.20050106.ebuild 2032
MD5 71bf8d592a6edf80d382304560e523e6 slime-1.0.20050207.ebuild 2024
MD5 c25320cc54771e316c36cc77f4985d8a slime-1.0.ebuild 1556
+MD5 d0a89659ed999b1862fbec0dc65e93c6 slime-1.0.20050303.ebuild 2024
MD5 910993d2e23f61b956f2df6fad49b657 files/70slime-gentoo.el 577
MD5 7eb1b2947936cd494ee8dd07fc2fbc0f files/README.Gentoo 284
MD5 0b5e3278ab8c3b8f5cfd7c96f947d302 files/digest-slime-1.0 61
@@ -12,10 +13,15 @@ MD5 be9acc04b4a1941a2b32e8027b931630 files/digest-slime-1.0.20050106 146
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 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
MD5 7afeaa3a16a2c20000633c9e57dc0a2f files/1.0.20050106/swank.asd 1636
+MD5 910993d2e23f61b956f2df6fad49b657 files/1.0.20050303/70slime-gentoo.el 577
+MD5 a6f665debad6ee005b99b5ae3d3aeedb files/1.0.20050303/README.Gentoo 349
+MD5 cd3eddef773c2bdc1eac336383f13ec6 files/1.0.20050303/swank-loader.lisp 68
+MD5 b3ba0a2b8052abb14c37d64c9c8c0e31 files/1.0.20050303/swank.asd 1637
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
diff --git a/app-emacs/slime/files/1.0.20050303/70slime-gentoo.el b/app-emacs/slime/files/1.0.20050303/70slime-gentoo.el
new file mode 100644
index 000000000000..4fde74012ac1
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050303/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.0.20050303/README.Gentoo b/app-emacs/slime/files/1.0.20050303/README.Gentoo
new file mode 100644
index 000000000000..168f91cd98db
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050303/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.0.20050303/swank-loader.lisp b/app-emacs/slime/files/1.0.20050303/swank-loader.lisp
new file mode 100644
index 000000000000..4d9b157312e6
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050303/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.0.20050303/swank.asd b/app-emacs/slime/files/1.0.20050303/swank.asd
new file mode 100644
index 000000000000..39a42b7e5e65
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050303/swank.asd
@@ -0,0 +1,49 @@
+;;; -*- 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-gray")
+#+cmu (define-swank-system "swank-source-path-parser" "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."
+ (probe-file (merge-pathnames (user-homedir-pathname)
+ (make-pathname :name ".swank" :type "lisp"))))
+
+(when (user-init-file)
+ (load (user-init-file)))
+
+;; swank.asd ends here
diff --git a/app-emacs/slime/files/digest-slime-1.0.20050303 b/app-emacs/slime/files/digest-slime-1.0.20050303
new file mode 100644
index 000000000000..34260b161e5f
--- /dev/null
+++ b/app-emacs/slime/files/digest-slime-1.0.20050303
@@ -0,0 +1,2 @@
+MD5 90666e8860d8d26e3cfa36365544ffcf slime-1.0.tar.gz 309374
+MD5 a3bcfee796731a14546d9867df45979e slime-1.0-CVS-2005-03-03-gentoo.patch.bz2 103501
diff --git a/app-emacs/slime/slime-1.0.20050303.ebuild b/app-emacs/slime/slime-1.0.20050303.ebuild
new file mode 100644
index 000000000000..ffd321ec6752
--- /dev/null
+++ b/app-emacs/slime/slime-1.0.20050303.ebuild
@@ -0,0 +1,71 @@
+# 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.0.20050303.ebuild,v 1.1 2005/03/03 17:12:51 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"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="doc"
+
+DEPEND="virtual/emacs
+ dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ doc? ( virtual/tetex sys-apps/texinfo )"
+
+S="${WORKDIR}/slime-${MY_PV_BASE}"
+
+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
+}