diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-04-06 07:24:17 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-04-06 07:24:17 +0000 |
commit | e2b1b93549637a41f2cb5c108a6db0dfde06974b (patch) | |
tree | 588d476e094df08ef76e98b849a9b34f5e1d62ee /app-emacs | |
parent | Version 3.0.16 stable for x86. Wiped out older version. (diff) | |
download | gentoo-2-e2b1b93549637a41f2cb5c108a6db0dfde06974b.tar.gz gentoo-2-e2b1b93549637a41f2cb5c108a6db0dfde06974b.tar.bz2 gentoo-2-e2b1b93549637a41f2cb5c108a6db0dfde06974b.zip |
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/slime-cvs/ChangeLog | 8 | ||||
-rw-r--r-- | app-emacs/slime-cvs/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/slime-cvs/files/digest-slime-cvs-0-r4 | 0 | ||||
-rw-r--r-- | app-emacs/slime-cvs/files/swank.asd | 25 | ||||
-rw-r--r-- | app-emacs/slime-cvs/slime-cvs-0-r4.ebuild | 85 |
5 files changed, 111 insertions, 9 deletions
diff --git a/app-emacs/slime-cvs/ChangeLog b/app-emacs/slime-cvs/ChangeLog index ee6414bbce71..28f6894236fb 100644 --- a/app-emacs/slime-cvs/ChangeLog +++ b/app-emacs/slime-cvs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/slime-cvs # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/ChangeLog,v 1.16 2005/03/18 08:22:27 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/ChangeLog,v 1.17 2005/04/06 07:24:17 mkennedy Exp $ + +*slime-cvs-0-r4 (06 Apr 2005) + + 06 Apr 2005; Matthew Kennedy <mkennedy@gentoo.org> files/swank.asd, + +slime-cvs-0-r4.ebuild: + Update swank.asd to for latest changes in CVS. 18 Mar 2005; Matthew Kennedy <mkennedy@gentoo.org> slime-cvs-0-r3.ebuild: Keywording for ~amd64 diff --git a/app-emacs/slime-cvs/Manifest b/app-emacs/slime-cvs/Manifest index 3c65ade44c41..fcfa079c64b7 100644 --- a/app-emacs/slime-cvs/Manifest +++ b/app-emacs/slime-cvs/Manifest @@ -4,6 +4,7 @@ MD5 1e57cc5d17eb2e048d20b7d711b69efe slime-cvs-0-r1.ebuild 1952 MD5 bd775715b698c7d39382726188b6b1cc slime-cvs-0-r2.ebuild 2054 MD5 7526a92601bb94fb343e8ac53d545ff2 slime-cvs-0-r3.ebuild 2223 MD5 89e7de3275fb35ed0dc6428ffa8b669c slime-cvs-0.ebuild 1682 +MD5 7526a92601bb94fb343e8ac53d545ff2 slime-cvs-0-r4.ebuild 2223 MD5 3469f2bfb76fc05b746ea35d0001d996 files/70slime-gentoo.el 571 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0-r1 0 @@ -11,3 +12,4 @@ MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0-r2 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0-r3 0 MD5 cd3eddef773c2bdc1eac336383f13ec6 files/swank-loader.lisp 68 MD5 b3ba0a2b8052abb14c37d64c9c8c0e31 files/swank.asd 1637 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0-r4 0 diff --git a/app-emacs/slime-cvs/files/digest-slime-cvs-0-r4 b/app-emacs/slime-cvs/files/digest-slime-cvs-0-r4 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-emacs/slime-cvs/files/digest-slime-cvs-0-r4 diff --git a/app-emacs/slime-cvs/files/swank.asd b/app-emacs/slime-cvs/files/swank.asd index 39a42b7e5e65..323407a5bd6f 100644 --- a/app-emacs/slime-cvs/files/swank.asd +++ b/app-emacs/slime-cvs/files/swank.asd @@ -32,18 +32,27 @@ (: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") +#+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." - (probe-file (merge-pathnames (user-homedir-pathname) - (make-pathname :name ".swank" :type "lisp")))) +(defun load-user-init-file () + "Load the user init file, return NIL if it does not exist." + (load (merge-pathnames (user-homedir-pathname) + (make-pathname :name ".swank" :type "lisp")) + :if-does-not-exist nil)) +(export 'load-user-init-file) -(when (user-init-file) - (load (user-init-file))) +(defun load-site-init-file () + (load (make-pathname :name "site-init" :type "lisp" + :defaults *load-truename*) + :if-does-not-exist nil)) + +(or (load-site-init-file) + (load-user-init-file)) ;; swank.asd ends here diff --git a/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild b/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild new file mode 100644 index 000000000000..b5c448eaa3ab --- /dev/null +++ b/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild,v 1.1 2005/04/06 07:24:17 mkennedy Exp $ + +ECVS_SERVER="common-lisp.net:/project/slime/cvsroot" +if [ -z "${ECVS_BRANCH}" ]; then + ECVS_BRANCH="HEAD" +fi +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 ~ppc ~amd64" +IUSE="doc" + +DEPEND="virtual/emacs + dev-lisp/common-lisp-controller + virtual/commonlisp + doc? ( virtual/tetex sys-apps/texinfo )" + +S="${WORKDIR}/slime" + +CLPACKAGE=swank + +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}/swank-loader.lisp + elisp-site-file-install ${FILESDIR}/70slime-gentoo.el + dodoc README* ChangeLog + zcat ${D}/usr/share/doc/${PF}/ChangeLog.gz \ + >${D}/usr/share/emacs/site-lisp/slime-cvs/ChangeLog + insinto /usr/share/common-lisp/source/swank + doins *.lisp ${FILESDIR}/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 <<EOF + +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> + +EOF +} |