summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-05-11 05:23:51 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-05-11 05:23:51 +0000
commitc87de7aa1e747d423f2636b09a926f3c472349e2 (patch)
treed39176e22790d0cffc6973535708bfb2b5b250f9 /app-emacs/slime/files
parent~amd64,~ppc (Manifest recommit) (diff)
downloadgentoo-2-c87de7aa1e747d423f2636b09a926f3c472349e2.tar.gz
gentoo-2-c87de7aa1e747d423f2636b09a926f3c472349e2.tar.bz2
gentoo-2-c87de7aa1e747d423f2636b09a926f3c472349e2.zip
*** empty log message ***
Diffstat (limited to 'app-emacs/slime/files')
-rw-r--r--app-emacs/slime/files/70slime-gentoo.el16
-rw-r--r--app-emacs/slime/files/digest-slime-0.131
-rw-r--r--app-emacs/slime/files/swank-loader.lisp4
-rw-r--r--app-emacs/slime/files/swank.asd42
4 files changed, 63 insertions, 0 deletions
diff --git a/app-emacs/slime/files/70slime-gentoo.el b/app-emacs/slime/files/70slime-gentoo.el
new file mode 100644
index 000000000000..4fde74012ac1
--- /dev/null
+++ b/app-emacs/slime/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/files/digest-slime-0.13 b/app-emacs/slime/files/digest-slime-0.13
new file mode 100644
index 000000000000..505c4fe37d93
--- /dev/null
+++ b/app-emacs/slime/files/digest-slime-0.13
@@ -0,0 +1 @@
+MD5 183e8af3e4561dfbe801e23a44c5a4b4 slime-0.13.tar.bz2 198978
diff --git a/app-emacs/slime/files/swank-loader.lisp b/app-emacs/slime/files/swank-loader.lisp
new file mode 100644
index 000000000000..497b877c7a36
--- /dev/null
+++ b/app-emacs/slime/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/files/swank.asd b/app-emacs/slime/files/swank.asd
new file mode 100644
index 000000000000..991c3822d637
--- /dev/null
+++ b/app-emacs/slime/files/swank.asd
@@ -0,0 +1,42 @@
+;;; -*- mode: lisp; syntax: common-lisp; indent-tabs-mode: nil; package: cl-user -*-
+
+(defpackage #:swank-system
+ (:use #:common-lisp
+ #:asdf))
+
+(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))
+
+(defsystem #:swank
+ :name "Swank is the Common Lisp back-end to Slime"
+ :licence "GPL-2"
+ :components
+ #+cmu ((:file "swank-backend")
+ (:file "nregex")
+ (:file "swank-source-path-parser")
+ (:file "swank-cmucl")
+ (:file "swank"))
+ #+sbcl ((:file "swank-backend")
+ (:file "swank-sbcl")
+ (:file "nregex")
+ (:file "swank-source-path-parser")
+ (:file "swank-gray")
+ (:unsafe-file "swank"))
+ #+clisp ((:file "swank-backend")
+ (:file "nregex")
+ (:file "xref")
+ (:file "metering")
+ (:file "swank-clisp")
+ (:file "swank-gray")
+ (:file "swank"))
+ #+sbcl :depends-on #+sbcl (:sb-bsd-sockets))
+
+;; swank.asd ends here