diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-02-10 09:19:45 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-02-10 09:19:45 +0000 |
commit | 0f728705cd44ad7eb374941a56d88b389bd2ef1c (patch) | |
tree | 4ce2cebaafe2943854b037ba78a1eef5c44f4d1e /app-emacs/slime/files | |
parent | controler refresh (diff) | |
download | gentoo-2-0f728705cd44ad7eb374941a56d88b389bd2ef1c.tar.gz gentoo-2-0f728705cd44ad7eb374941a56d88b389bd2ef1c.tar.bz2 gentoo-2-0f728705cd44ad7eb374941a56d88b389bd2ef1c.zip |
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-emacs/slime/files')
-rw-r--r-- | app-emacs/slime/files/1.0.20050207/70slime-gentoo.el | 16 | ||||
-rw-r--r-- | app-emacs/slime/files/1.0.20050207/README.Gentoo | 12 | ||||
-rw-r--r-- | app-emacs/slime/files/1.0.20050207/swank-loader.lisp | 4 | ||||
-rw-r--r-- | app-emacs/slime/files/1.0.20050207/swank.asd | 49 | ||||
-rw-r--r-- | app-emacs/slime/files/digest-slime-0.13 | 1 | ||||
-rw-r--r-- | app-emacs/slime/files/digest-slime-1.0.20050207 | 2 | ||||
-rw-r--r-- | app-emacs/slime/files/digest-slime-1.0_alpha | 1 | ||||
-rw-r--r-- | app-emacs/slime/files/digest-slime-1.0_beta | 1 |
8 files changed, 83 insertions, 3 deletions
diff --git a/app-emacs/slime/files/1.0.20050207/70slime-gentoo.el b/app-emacs/slime/files/1.0.20050207/70slime-gentoo.el new file mode 100644 index 000000000000..4fde74012ac1 --- /dev/null +++ b/app-emacs/slime/files/1.0.20050207/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.20050207/README.Gentoo b/app-emacs/slime/files/1.0.20050207/README.Gentoo new file mode 100644 index 000000000000..168f91cd98db --- /dev/null +++ b/app-emacs/slime/files/1.0.20050207/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.20050207/swank-loader.lisp b/app-emacs/slime/files/1.0.20050207/swank-loader.lisp new file mode 100644 index 000000000000..4d9b157312e6 --- /dev/null +++ b/app-emacs/slime/files/1.0.20050207/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.20050207/swank.asd b/app-emacs/slime/files/1.0.20050207/swank.asd new file mode 100644 index 000000000000..39a42b7e5e65 --- /dev/null +++ b/app-emacs/slime/files/1.0.20050207/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-0.13 b/app-emacs/slime/files/digest-slime-0.13 deleted file mode 100644 index 505c4fe37d93..000000000000 --- a/app-emacs/slime/files/digest-slime-0.13 +++ /dev/null @@ -1 +0,0 @@ -MD5 183e8af3e4561dfbe801e23a44c5a4b4 slime-0.13.tar.bz2 198978 diff --git a/app-emacs/slime/files/digest-slime-1.0.20050207 b/app-emacs/slime/files/digest-slime-1.0.20050207 new file mode 100644 index 000000000000..9b2137dc67ba --- /dev/null +++ b/app-emacs/slime/files/digest-slime-1.0.20050207 @@ -0,0 +1,2 @@ +MD5 90666e8860d8d26e3cfa36365544ffcf slime-1.0.tar.gz 309374 +MD5 5fb84e0d49e30c6aee3e8aefd7fac32e slime-1.0-CVS-2005-02-07-gentoo.patch.bz2 93508 diff --git a/app-emacs/slime/files/digest-slime-1.0_alpha b/app-emacs/slime/files/digest-slime-1.0_alpha deleted file mode 100644 index 41d4160ca36a..000000000000 --- a/app-emacs/slime/files/digest-slime-1.0_alpha +++ /dev/null @@ -1 +0,0 @@ -MD5 b208ec0b6a61a2d93a54a1939fbc469e slime-1.0alpha.tar.gz 294584 diff --git a/app-emacs/slime/files/digest-slime-1.0_beta b/app-emacs/slime/files/digest-slime-1.0_beta deleted file mode 100644 index 431240e8b30d..000000000000 --- a/app-emacs/slime/files/digest-slime-1.0_beta +++ /dev/null @@ -1 +0,0 @@ -MD5 90d2e699875dc70205d019ea7d24cd96 slime-1.0beta.tar.gz 306270 |