summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-07-30 07:12:50 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-07-30 07:12:50 +0000
commit9e51065f435c60659a58aa930704d9166d749245 (patch)
tree6aa821fbfe83738544b17e0e9bd47030c5749c63 /dev-lisp
parentdeclaring -r1 stable (Manifest recommit) (diff)
downloadgentoo-2-9e51065f435c60659a58aa930704d9166d749245.tar.gz
gentoo-2-9e51065f435c60659a58aa930704d9166d749245.tar.bz2
gentoo-2-9e51065f435c60659a58aa930704d9166d749245.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/sbcl/ChangeLog9
-rw-r--r--dev-lisp/sbcl/Manifest3
-rw-r--r--dev-lisp/sbcl/files/0.8.12/sbcl-no-tests-gentoo.patch58
-rw-r--r--dev-lisp/sbcl/files/digest-sbcl-0.8.12-r16
-rw-r--r--dev-lisp/sbcl/sbcl-0.8.12-r1.ebuild131
5 files changed, 206 insertions, 1 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 9e9a74fc2993..241789e57bf3 100644
--- a/dev-lisp/sbcl/ChangeLog
+++ b/dev-lisp/sbcl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lisp/sbcl
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.37 2004/07/10 19:55:14 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.38 2004/07/30 07:12:50 mkennedy Exp $
+
+*sbcl-0.8.12-r1 (30 Jul 2004)
+
+ 30 Jul 2004; <mkennedy@gentoo.org> +files/0.8.12/sbcl-no-tests-gentoo.patch,
+ +sbcl-0.8.12-r1.ebuild:
+ Added patch to avoid loading test system definitions for SB-POSIX and
+ SB-BSD-SOCKETS (shortens load times); Marking stable arch for x86.
*sbcl-0.8.12 (10 Jul 2004)
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index 3350d4db1288..23f895515e31 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -1,5 +1,6 @@
MD5 bfec86129246e3243821520419058139 sbcl-0.8.12.ebuild 3823
MD5 139b862b968e7e93728adc4635eb28ca sbcl-0.8.11.ebuild 3868
+MD5 b46210f06c39c6b7badbf98bee873e9f sbcl-0.8.12-r1.ebuild 3876
MD5 09ca7de40173206338891e2a9723c6f7 sbcl-0.8.7-r1.ebuild 4236
MD5 88838d899eb117390ec723d3a00c5805 sbcl-0.8.9.ebuild 3569
MD5 ac7500d912d63c8a62b0116b2948b995 sbcl-0.8.8.ebuild 3489
@@ -18,6 +19,7 @@ MD5 7168d7b3e9acb5ffd3cd4f4383416c97 files/digest-sbcl-0.8.10 468
MD5 8f65effa5ebc5a69e7e80277c9fee2ad files/digest-sbcl-0.8.8 467
MD5 69afd15544b984478ca6de7cac998145 files/digest-sbcl-0.8.12 468
MD5 3e968969b9da3f3637feb09076b819a2 files/sbcl.rc 640
+MD5 69afd15544b984478ca6de7cac998145 files/digest-sbcl-0.8.12-r1 468
MD5 ab7a8d4c4cdc70154ab5aaec9cdacb6d files/0.8.10/install-clc.lisp 1463
MD5 35e2f72a0d987cbc1e659368ad33827c files/0.8.10/README.Gentoo 696
MD5 a0edd1aecd1416792590693e5a6d2cb3 files/0.8.10/customize-target-features.lisp.no-threads 577
@@ -53,6 +55,7 @@ MD5 caa3d8db6f86703586d56a0546cf7e1a files/0.8.8/sbcl-gentoo.patch 1341
MD5 ab7a8d4c4cdc70154ab5aaec9cdacb6d files/0.8.12/install-clc.lisp 1463
MD5 83085186927f4ce363e188e4cd9ca85e files/0.8.12/README.Gentoo 941
MD5 a0edd1aecd1416792590693e5a6d2cb3 files/0.8.12/customize-target-features.lisp.no-threads 577
+MD5 b1b43b099296c26e283831cffc5f99b7 files/0.8.12/sbcl-no-tests-gentoo.patch 2725
MD5 6f05f494b80fa25732a658deec4133c8 files/0.8.12/customize-target-features.lisp 574
MD5 071f286575536d58bd93efe2f77cd24c files/0.8.12/sbcl.sh 2168
MD5 653f804ebcd167d167f8163756b7da17 files/0.8.12/sbclrc 639
diff --git a/dev-lisp/sbcl/files/0.8.12/sbcl-no-tests-gentoo.patch b/dev-lisp/sbcl/files/0.8.12/sbcl-no-tests-gentoo.patch
new file mode 100644
index 000000000000..6c9d9739a766
--- /dev/null
+++ b/dev-lisp/sbcl/files/0.8.12/sbcl-no-tests-gentoo.patch
@@ -0,0 +1,58 @@
+diff -ur sbcl-0.8.12.orig/contrib/sb-bsd-sockets/sb-bsd-sockets.asd sbcl-0.8.12/contrib/sb-bsd-sockets/sb-bsd-sockets.asd
+--- sbcl-0.8.12.orig/contrib/sb-bsd-sockets/sb-bsd-sockets.asd 2004-02-11 05:00:40.000000000 -0600
++++ sbcl-0.8.12/contrib/sb-bsd-sockets/sb-bsd-sockets.asd 2004-07-11 15:30:52.230966464 -0500
+@@ -103,14 +103,3 @@
+ (defmethod perform :after ((o load-op) (c (eql (find-system :sb-bsd-sockets))))
+ (provide 'sb-bsd-sockets))
+
+-(defmethod perform ((o test-op) (c (eql (find-system :sb-bsd-sockets))))
+- (operate 'load-op 'sb-bsd-sockets-tests)
+- (operate 'test-op 'sb-bsd-sockets-tests))
+-
+-(defsystem sb-bsd-sockets-tests
+- :depends-on (sb-rt sb-bsd-sockets sb-posix)
+- :components ((:file "tests")))
+-
+-(defmethod perform ((o test-op) (c (eql (find-system :sb-bsd-sockets-tests))))
+- (or (funcall (intern "DO-TESTS" (find-package "SB-RT")))
+- (error "test-op failed")))
+Only in sbcl-0.8.12/contrib/sb-bsd-sockets: sb-bsd-sockets.asd~
+diff -ur sbcl-0.8.12.orig/contrib/sb-posix/sb-posix.asd sbcl-0.8.12/contrib/sb-posix/sb-posix.asd
+--- sbcl-0.8.12.orig/contrib/sb-posix/sb-posix.asd 2003-11-29 14:41:47.000000000 -0600
++++ sbcl-0.8.12/contrib/sb-posix/sb-posix.asd 2004-07-11 15:52:38.766342896 -0500
+@@ -86,34 +86,3 @@
+ "constants"
+ :package :sb-posix :depends-on ("defpackage"))
+ (:file "interface" :depends-on ("constants" "macros" "designator" "alien"))))
+-
+-(defsystem sb-posix-tests
+- :depends-on (sb-rt)
+- :components ((:file "posix-tests")))
+-
+-(defmethod perform :after ((o load-op) (c (eql (find-system :sb-posix))))
+- (provide 'sb-posix))
+-
+-(defmethod perform ((o test-op) (c (eql (find-system :sb-posix))))
+- (operate 'load-op 'sb-posix-tests)
+- (operate 'test-op 'sb-posix-tests))
+-
+-(defmethod perform ((o test-op) (c (eql (find-system :sb-posix-tests))))
+- (funcall (intern "DO-TESTS" (find-package "SB-RT")))
+- (let ((failures (funcall (intern "PENDING-TESTS" "SB-RT")))
+- (ignored-failures (loop for sym being the symbols of :sb-posix-tests
+- if (search ".ERROR" (symbol-name sym))
+- collect sym)))
+- (cond
+- ((null failures)
+- t)
+- ((null (set-difference failures ignored-failures))
+- (warn "~@<some POSIX implementations return incorrect error values for ~
+- failing calls, but there is legitimate variation between ~
+- implementations too. If you think the errno ~
+- from your platform is valid, please contact the sbcl ~
+- developers; otherwise, please submit a bug report to your ~
+- kernel distributor~@:>")
+- t)
+- (t
+- (error "non-errno tests failed!")))))
+Only in sbcl-0.8.12/contrib/sb-posix: sb-posix.asd~
diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.8.12-r1 b/dev-lisp/sbcl/files/digest-sbcl-0.8.12-r1
new file mode 100644
index 000000000000..d6794af5d137
--- /dev/null
+++ b/dev-lisp/sbcl/files/digest-sbcl-0.8.12-r1
@@ -0,0 +1,6 @@
+MD5 f23a177b2813740563f9e3f364e1dee8 sbcl-0.8.12-source.tar.bz2 2136436
+MD5 7b1efeece65af1a5dde8529afa743b3f sbcl-0.8.12-html.tar.bz2 47430
+MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+MD5 b5a5c93185ae03392ff6000a4a425222 sbcl-0.8.8-ppc-linux-binary.tar.bz2 6831954
+MD5 7cb56cd42b1f5797d26316e79aaccb06 sbcl-0.7.13-sparc-linux-binary.tar.bz2 5670293
+MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
diff --git a/dev-lisp/sbcl/sbcl-0.8.12-r1.ebuild b/dev-lisp/sbcl/sbcl-0.8.12-r1.ebuild
new file mode 100644
index 000000000000..2529926a8214
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-0.8.12-r1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.8.12-r1.ebuild,v 1.1 2004/07/30 07:12:50 mkennedy Exp $
+
+inherit common-lisp-common eutils
+
+BV_X86=0.8.1
+BV_PPC=0.8.8
+BV_SPARC=0.7.13
+BV_MIPS=0.7.10
+DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
+HOMEPAGE="http://sbcl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
+ mirror://sourceforge/sbcl/${P}-html.tar.bz2
+ x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
+ ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-ppc-linux-binary.tar.bz2 )
+ sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
+ mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~mips"
+IUSE="threads doc nosource"
+
+DEPEND="dev-lisp/common-lisp-controller
+ sys-apps/texinfo
+ doc? ( virtual/tetex )"
+
+PROVIDE="virtual/commonlisp"
+
+src_unpack() {
+ if use x86; then
+ unpack ${PN}-${BV_X86}-x86-linux-binary.tar.bz2
+ mv ${PN}-${BV_X86} x86-binary
+ elif use ppc; then
+ unpack ${PN}-${BV_PPC}-ppc-linux-binary.tar.bz2
+ mv ${PN}-${BV_PPC}-ppc-linux ppc-binary
+ elif use sparc; then
+ unpack ${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2
+ echo mv ${PN}-${BV_SPARC} sparc-binary || die
+ mv ${PN}-${BV_SPARC} sparc-binary || die
+ elif use mips; then
+ unpack ${PN}-${BV_SPARC}-mips-linux-binary.tar.gz
+ mv ${PN}-${BV_SPARC}-mips-linux mips-binary
+ fi
+
+ unpack ${P}-source.tar.bz2
+ epatch ${FILESDIR}/${PV}/sbcl-gentoo.patch
+ epatch ${FILESDIR}/${PV}/sbcl-no-tests-gentoo.patch
+
+ # Currently, thread support is only available for x86. These
+ # features expressions also disable :sb-test.
+ if use x86 && use threads; then
+ cp ${FILESDIR}/${PV}/customize-target-features.lisp \
+ ${S}/customize-target-features.lisp
+ else
+ cp ${FILESDIR}/${PV}/customize-target-features.lisp.no-threads \
+ ${S}/customize-target-features.lisp
+ fi
+
+ find ${S} -type f -name .cvsignore -exec rm -f '{}' \;
+ find ${S} -type d -name CVS \) -exec rm -rf '{}' \;
+ find ${S} -type f -name \*.c -exec chmod 644 '{}' \;
+}
+
+src_compile() {
+ local bindir
+ use x86 && bindir=../x86-binary
+ use ppc && bindir=../ppc-binary
+ use sparc && bindir=../sparc-binary
+ use mips && bindir=../mips-binary
+
+ # TODO: allow the user to chose between SBCL, CMUCL and CLISP for bootstrapping
+ # build with previous SBCL
+ PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \
+ ./make.sh 'sbcl --sysinit /dev/null --userinit /dev/null --noprogrammer --core ${bindir}/output/sbcl.core' \
+ || die
+
+ # build with CMUCL
+# GNUMAKE=make ./make.sh 'lisp -batch'
+
+ # Generation texinfo documentation
+ cd ${S}/doc/manual
+ make info
+ use doc && make ps pdf
+
+}
+
+src_install() {
+ unset SBCL_HOME
+
+ insinto /etc/
+ doins ${FILESDIR}/${PV}/sbclrc # Gentoo specific (from Debian)
+
+ exeinto /usr/lib/common-lisp/bin
+ doexe ${FILESDIR}/${PV}/sbcl.sh # Gentoo specific (from Debian)
+
+ dodir /usr/share/man
+ INSTALL_ROOT=${D}/usr sh install.sh
+ mv ${D}/usr/lib/sbcl/sbcl.core ${D}/usr/lib/sbcl/sbcl-dist.core
+
+ insinto /usr/lib/sbcl
+ doins ${FILESDIR}/${PV}/install-clc.lisp # Gentoo specific (from Debian)
+
+ doman doc/sbcl-asdf-install.1
+
+ dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE SUPPORT TLA TODO
+ dodoc ${FILESDIR}/${PV}/README.Gentoo
+ dohtml doc/html/*
+
+ doinfo ${S}/doc/manual/*.info
+ use doc && dodoc ${S}/doc/manual/*.{pdf,ps}
+
+ keepdir /usr/lib/common-lisp/sbcl
+
+ if ! use nosource; then
+ # install the SBCL source
+ find ${S}/src -type f -name \*.fasl |xargs rm -f
+ mv ${S}/src ${D}/usr/lib/sbcl/
+ fi
+
+ impl-save-timestamp-hack sbcl || die
+}
+
+pkg_postinst() {
+ standard-impl-postinst sbcl
+}
+
+pkg_postrm() {
+ standard-impl-postrm sbcl /usr/bin/sbcl
+}