summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-11-12 00:12:28 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-11-12 00:12:28 +0000
commitf0f299b2ef4ee64eb09bb31e810b969d2b90578b (patch)
treebf2846f4daeeee21134fa30bb35fe8e6ec4e86be
parentinitial import (diff)
downloadgentoo-2-f0f299b2ef4ee64eb09bb31e810b969d2b90578b.tar.gz
gentoo-2-f0f299b2ef4ee64eb09bb31e810b969d2b90578b.tar.bz2
gentoo-2-f0f299b2ef4ee64eb09bb31e810b969d2b90578b.zip
initial import
-rw-r--r--app-emacs/slime-cvs/ChangeLog10
-rw-r--r--app-emacs/slime-cvs/Manifest10
-rw-r--r--app-emacs/slime-cvs/files/70slime-gentoo.el16
-rw-r--r--app-emacs/slime-cvs/files/digest-slime-cvs-00
-rw-r--r--app-emacs/slime-cvs/files/swank-loader.lisp4
-rw-r--r--app-emacs/slime-cvs/files/swank.asd19
-rw-r--r--app-emacs/slime-cvs/metadata.xml5
-rw-r--r--app-emacs/slime-cvs/slime-cvs-0.ebuild59
8 files changed, 118 insertions, 5 deletions
diff --git a/app-emacs/slime-cvs/ChangeLog b/app-emacs/slime-cvs/ChangeLog
new file mode 100644
index 000000000000..8161cfafabde
--- /dev/null
+++ b/app-emacs/slime-cvs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emacs/slime-cvs
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/ChangeLog,v 1.1 2003/11/12 00:12:25 mkennedy Exp $
+
+*slime-cvs-0 (11 Nov 2003)
+
+ 11 Nov 2003; <mkennedy@gentoo.org> metadata.xml, slime-cvs-0.ebuild,
+ files/70slime-gentoo.el, files/swank-loader.lisp, files/swank.asd:
+ intial import. ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>
+
diff --git a/app-emacs/slime-cvs/Manifest b/app-emacs/slime-cvs/Manifest
index 0326ebf25a1a..98585f965d3d 100644
--- a/app-emacs/slime-cvs/Manifest
+++ b/app-emacs/slime-cvs/Manifest
@@ -1,7 +1,7 @@
-MD5 b41b8160f604cc74ee92eaff8ae68ddc slime-cvs-0.ebuild~ 2064
-MD5 a4af13f5c0e60b461d7df36b92bd8d5d slime-cvs-0.ebuild 1155
+MD5 88fbaf7d6a3ffc326712100145f7662f ChangeLog 468
+MD5 9a7293412ddb3c119d729f87a086fc3f slime-cvs-0.ebuild 1622
MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
-MD5 9b253aa445c6c9f0a5583cfae4b471de files/50ilisp-gentoo.el 4832
-MD5 e364ba1a9e3718f3ea4725ee9dca96da files/50ilispclc-gentoo.el 165
-MD5 aac55295763243322ae93f42747c6271 files/swank.asd 656
+MD5 16ddd3017bd868952a42f46c9f8edec2 files/swank.asd 624
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0 0
+MD5 910993d2e23f61b956f2df6fad49b657 files/70slime-gentoo.el 577
+MD5 e4086b50bade07de735b2e62d60c41cb files/swank-loader.lisp 50
diff --git a/app-emacs/slime-cvs/files/70slime-gentoo.el b/app-emacs/slime-cvs/files/70slime-gentoo.el
new file mode 100644
index 000000000000..4fde74012ac1
--- /dev/null
+++ b/app-emacs/slime-cvs/files/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-cvs/files/digest-slime-cvs-0 b/app-emacs/slime-cvs/files/digest-slime-cvs-0
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-emacs/slime-cvs/files/digest-slime-cvs-0
diff --git a/app-emacs/slime-cvs/files/swank-loader.lisp b/app-emacs/slime-cvs/files/swank-loader.lisp
new file mode 100644
index 000000000000..497b877c7a36
--- /dev/null
+++ b/app-emacs/slime-cvs/files/swank-loader.lisp
@@ -0,0 +1,4 @@
+
+;;; fake swank-loader.lisp file
+
+(require :swank) \ No newline at end of file
diff --git a/app-emacs/slime-cvs/files/swank.asd b/app-emacs/slime-cvs/files/swank.asd
new file mode 100644
index 000000000000..3670a09044a3
--- /dev/null
+++ b/app-emacs/slime-cvs/files/swank.asd
@@ -0,0 +1,19 @@
+;;; -*- mode: lisp; syntax: common-lisp; base: 10; package: common-lisp-user -*-
+
+(in-package #:common-lisp-user)
+
+(defpackage #:swank-system
+ (:use #:asdf
+ #:common-lisp))
+
+(in-package #:swank-system)
+
+(defsystem #:swank
+ :name "Swank is the Common Lisp back-end to Slime"
+ :author "Matthew Kennedy <mkennedy@gentoo.org>"
+ :maintainer "Matthew Kennedy <mkennedy@gentoo.org>"
+ :licence "GPL-2"
+ :components ((:file "swank")
+ (:file "null-swank-impl" :depends-on ("swank"))
+ #+cmu (:file "swank-cmucl" :depends-on ("null-swank-impl"))
+ #+sbcl (:file "swank-sbcl" :depends-on ("null-swank-impl"))))
diff --git a/app-emacs/slime-cvs/metadata.xml b/app-emacs/slime-cvs/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/slime-cvs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/slime-cvs/slime-cvs-0.ebuild b/app-emacs/slime-cvs/slime-cvs-0.ebuild
new file mode 100644
index 000000000000..430fd0f5c886
--- /dev/null
+++ b/app-emacs/slime-cvs/slime-cvs-0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/slime-cvs-0.ebuild,v 1.1 2003/11/12 00:12:26 mkennedy Exp $
+
+ECVS_SERVER="common-lisp.net:/project/slime/cvsroot"
+ECVS_MODULE="slime"
+ECVS_USER="anonymous"
+ECVS_PASS="anonymous"
+ECVS_CVS_OPTIONS="-dP"
+
+inherit elisp cvs
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+SRC_URI=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/emacs
+ dev-lisp/common-lisp-controller"
+
+S="${WORKDIR}/slime"
+
+CLPACKAGE=swank
+
+# TODO: ilisp and slime both provide a hyperspec.el. Erik Naggum's
+# hyperspec.el doesn't seem to be accessible anymore, but it would be
+# best to compare differences and provide app-emacs/hyperspec
+
+src_compile() {
+ elisp-comp hyperspec.el slime.el 2>/dev/null || die
+}
+
+src_install() {
+ elisp-install ${PN} hyperspec.el slime.el slime.elc ${FILESDIR}/swank-loader.lisp
+ elisp-site-file-install ${FILESDIR}/70slime-gentoo.el
+ dodoc README* ChangeLog
+ insinto /usr/share/common-lisp/source/swank
+ doins null-swank-impl.lisp swank-{cmucl,sbcl}.lisp swank.lisp ${FILESDIR}/swank.asd
+ dodir /usr/share/common-lisp/systems
+ dosym /usr/share/common-lisp/source/swank/swank.asd \
+ /usr/share/common-lisp/systems
+}
+
+pkg_preinst() {
+ rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true
+}
+
+pkg_postrm() {
+ rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true
+ elisp-site-regen
+}
+
+pkg_postinst() {
+ /usr/sbin/register-common-lisp-source $CLPACKAGE
+ elisp-site-regen
+}