diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-08-01 22:34:54 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-08-01 22:34:54 +0000 |
commit | 2c65c47a4a36288a5d5b36834d9a145cd9e095fb (patch) | |
tree | 4a501b936c24fc6634d256465b69aed097d56887 /dev-lisp | |
parent | stable on ppc64, bug #57456 (Manifest recommit) (diff) | |
download | gentoo-2-2c65c47a4a36288a5d5b36834d9a145cd9e095fb.tar.gz gentoo-2-2c65c47a4a36288a5d5b36834d9a145cd9e095fb.tar.bz2 gentoo-2-2c65c47a4a36288a5d5b36834d9a145cd9e095fb.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp')
30 files changed, 1013 insertions, 31 deletions
diff --git a/dev-lisp/cl-asdf/ChangeLog b/dev-lisp/cl-asdf/ChangeLog index aafe23a92fe4..6e33ad796e74 100644 --- a/dev-lisp/cl-asdf/ChangeLog +++ b/dev-lisp/cl-asdf/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/cl-asdf # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-asdf/ChangeLog,v 1.11 2004/06/24 23:40:55 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-asdf/ChangeLog,v 1.12 2004/08/01 22:34:54 mkennedy Exp $ + +*cl-asdf-1.84 (01 Aug 2004) + + 01 Aug 2004; <mkennedy@gentoo.org> +cl-asdf-1.84.ebuild: + New upstream version; Required by SBCL w/ package locking 15 Apr 2004; Michael McCabe <randy@gentoo.org> cl-asdf-1.81.ebuild: adding s390 keyword diff --git a/dev-lisp/cl-asdf/Manifest b/dev-lisp/cl-asdf/Manifest index f68c99c41059..16118980ff8d 100644 --- a/dev-lisp/cl-asdf/Manifest +++ b/dev-lisp/cl-asdf/Manifest @@ -1,10 +1,12 @@ -MD5 6f0869af5a04b4861b645951ad6fc0e0 cl-asdf-1.78.ebuild 989 MD5 888e2c4823bffdb68c3efbec14866b59 cl-asdf-1.73b.ebuild 781 -MD5 551129d068fcc410c1ff740028959570 cl-asdf-1.77.2.ebuild 961 +MD5 6f0869af5a04b4861b645951ad6fc0e0 cl-asdf-1.78.ebuild 989 MD5 2376f7b447fc7d599e0a4bc20bb327ac cl-asdf-1.81.ebuild 955 +MD5 551129d068fcc410c1ff740028959570 cl-asdf-1.77.2.ebuild 961 MD5 5a9fcfed61d2b59c95f81c3948391a86 ChangeLog 1283 +MD5 2376f7b447fc7d599e0a4bc20bb327ac cl-asdf-1.84.ebuild 955 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 -MD5 da47e17802d933cda8e74bd9f7351645 files/digest-cl-asdf-1.73b 64 MD5 af309c1cf1de43964fd82cb5d310d98e files/digest-cl-asdf-1.78 133 MD5 cf03e423215b43921878c8171aa5cf5e files/digest-cl-asdf-1.81 133 +MD5 da47e17802d933cda8e74bd9f7351645 files/digest-cl-asdf-1.73b 64 +MD5 78cbe91593eb10a84b2003b729942967 files/digest-cl-asdf-1.84 133 MD5 4e53222358707bfedc32e63d26507894 files/digest-cl-asdf-1.77.2 137 diff --git a/dev-lisp/cl-asdf/cl-asdf-1.84.ebuild b/dev-lisp/cl-asdf/cl-asdf-1.84.ebuild new file mode 100644 index 000000000000..93b8428b7fc0 --- /dev/null +++ b/dev-lisp/cl-asdf/cl-asdf-1.84.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-asdf/cl-asdf-1.84.ebuild,v 1.1 2004/08/01 22:34:54 mkennedy Exp $ + +DEB_PV=1 + +inherit common-lisp-common eutils + +DESCRIPTION="Another System Definition Facility for Common Lisp" +HOMEPAGE="http://packages.debian.org/unstable/devel/cl-asdf.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-asdf/${PN}_${PV}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/c/cl-asdf/cl-asdf_${PV}-${DEB_PV}.diff.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="x86 ~sparc ~mips ~ppc s390" +IUSE="" + +src_unpack() { + unpack ${A} + epatch cl-asdf_${PV}-${DEB_PV}.diff +} + +src_install() { + insinto /usr/share/common-lisp/source/asdf + doins asdf.lisp wild-modules.lisp + dodoc LICENSE README + insinto /usr/share/doc/${P}/examples + doins test/* + do-debian-credits +} + +pkg_postinst() { + reregister-all-common-lisp-implementations +} diff --git a/dev-lisp/cl-asdf/files/digest-cl-asdf-1.84 b/dev-lisp/cl-asdf/files/digest-cl-asdf-1.84 new file mode 100644 index 000000000000..3fd47f3b6145 --- /dev/null +++ b/dev-lisp/cl-asdf/files/digest-cl-asdf-1.84 @@ -0,0 +1,2 @@ +MD5 f23e2dfdca5564ed7044eb9048b4e2e5 cl-asdf_1.84.orig.tar.gz 53076 +MD5 1c6b93edccb28127a2d1628e63e61a4f cl-asdf_1.84-1.diff.gz 4872 diff --git a/dev-lisp/cl-defsystem3/ChangeLog b/dev-lisp/cl-defsystem3/ChangeLog index 63c935a51e49..2ead798ac51e 100644 --- a/dev-lisp/cl-defsystem3/ChangeLog +++ b/dev-lisp/cl-defsystem3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/cl-defsystem3 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-defsystem3/ChangeLog,v 1.7 2004/06/24 23:42:40 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-defsystem3/ChangeLog,v 1.8 2004/08/01 22:34:54 mkennedy Exp $ + +*cl-defsystem3-3.3i-r4 (01 Aug 2004) + + 01 Aug 2004; <mkennedy@gentoo.org> +cl-defsystem3-3.3i-r4.ebuild: + New upstream version; Required by SBCL w/ package locking *cl-defsystem3-3.3i-r3 (09 May 2004) diff --git a/dev-lisp/cl-defsystem3/Manifest b/dev-lisp/cl-defsystem3/Manifest index 8c83489442a5..9ee307ff6108 100644 --- a/dev-lisp/cl-defsystem3/Manifest +++ b/dev-lisp/cl-defsystem3/Manifest @@ -1,10 +1,13 @@ -MD5 a93f55cdeab3939d96b3792377ce93f3 cl-defsystem3-3.3i-r1.ebuild 908 +MD5 a10510525c23e404b1350f939836d836 cl-defsystem3-3.3i-r4.ebuild 929 +MD5 e8901fa13a83f452dc91b6d3519b213d cl-defsystem3-3.3i-r4.ebuild~ 928 +MD5 cc712bedf9c836f2ad9fd9b8c42f4a9d cl-defsystem3-3.3i-r2.ebuild 908 MD5 1956eb37addae2ab39815052871b9d1d cl-defsystem3-3.3i.ebuild 923 +MD5 a93f55cdeab3939d96b3792377ce93f3 cl-defsystem3-3.3i-r1.ebuild 908 MD5 e8901fa13a83f452dc91b6d3519b213d cl-defsystem3-3.3i-r3.ebuild 928 -MD5 cc712bedf9c836f2ad9fd9b8c42f4a9d cl-defsystem3-3.3i-r2.ebuild 908 MD5 6475c0d4d2598b5133cf6dbcbd69a175 ChangeLog 1020 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 MD5 53c613bb49037b519c71049e0655df9c files/digest-cl-defsystem3-3.3i 84 MD5 53c613bb49037b519c71049e0655df9c files/digest-cl-defsystem3-3.3i-r1 84 -MD5 059962e8c6f40b8caf0806702c7859d0 files/digest-cl-defsystem3-3.3i-r2 84 MD5 689eaa339ce6a65c712c37a0820348b9 files/digest-cl-defsystem3-3.3i-r3 84 +MD5 8947d8ac41136687b7cd8c66fee3901a files/digest-cl-defsystem3-3.3i-r4 88 +MD5 059962e8c6f40b8caf0806702c7859d0 files/digest-cl-defsystem3-3.3i-r2 84 diff --git a/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i-r4.ebuild b/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i-r4.ebuild new file mode 100644 index 000000000000..632d82c7d07d --- /dev/null +++ b/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i-r4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i-r4.ebuild,v 1.1 2004/08/01 22:34:54 mkennedy Exp $ + +inherit common-lisp-common + +DEB_CVS=2004.07.18.1 + +DESCRIPTION="Another System Definition Facility for Common Lisp" +HOMEPAGE="http://packages.debian.org/unstable/devel/cl-defsystem3.html" +# SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-defsystem3/${PN}_${PV}+cvs.${DEB_CVS}.tar.gz" +SRC_URI="mirror://gentoo/${PN}_${PV}+cvs.${DEB_CVS}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 ~sparc ~ppc ~mips" +IUSE="" + +S=${WORKDIR}/${P}+cvs.${DEB_CVS} + +src_unpack() { + unpack ${A} + mv ${S}/docs/defsystem.text ${S}/docs/defsystem.txt +} + +src_install() { + insinto /usr/share/common-lisp/source/defsystem + doins defsystem.lisp + dodoc ChangeLog README docs/defsystem.txt + dohtml docs/defsystem.html +} + +pkg_postinst() { + reregister-all-common-lisp-implementations +} diff --git a/dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i-r4 b/dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i-r4 new file mode 100644 index 000000000000..203cc8990b7d --- /dev/null +++ b/dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i-r4 @@ -0,0 +1 @@ +MD5 638717ec479807cedcdb5d8e2046a334 cl-defsystem3_3.3i+cvs.2004.07.18.1.tar.gz 7246795 diff --git a/dev-lisp/cl-uffi/ChangeLog b/dev-lisp/cl-uffi/ChangeLog index 6b9d14b72430..8593d44e5d00 100644 --- a/dev-lisp/cl-uffi/ChangeLog +++ b/dev-lisp/cl-uffi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/cl-uffi # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uffi/ChangeLog,v 1.12 2004/06/24 23:56:25 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uffi/ChangeLog,v 1.13 2004/08/01 22:34:54 mkennedy Exp $ + +*cl-uffi-1.4.24 (01 Aug 2004) + + 01 Aug 2004; <mkennedy@gentoo.org> +cl-uffi-1.4.24.ebuild: + New upstream version *cl-uffi-1.4.13 (09 May 2004) diff --git a/dev-lisp/cl-uffi/Manifest b/dev-lisp/cl-uffi/Manifest index 4da2f3ddb218..ea366b216551 100644 --- a/dev-lisp/cl-uffi/Manifest +++ b/dev-lisp/cl-uffi/Manifest @@ -1,19 +1,21 @@ -MD5 fa78f1a26bf8549795722b07c155761a cl-uffi-1.4.5.ebuild 1254 -MD5 24aff81c52a9c4fd6fe6d538abfb9ee7 cl-uffi-1.3.4.ebuild 1588 -MD5 6f95da0b938d5aaf6182cdbaa9250bd6 cl-uffi-1.4.13.ebuild 1119 MD5 477b18c1a08a9aa028a021b493a2e82f cl-uffi-1.4.6-r1.ebuild 1121 -MD5 b17a87ef8f7b717f8efd447e3abf3f6f cl-uffi-1.3.6.ebuild 1816 +MD5 24aff81c52a9c4fd6fe6d538abfb9ee7 cl-uffi-1.3.4.ebuild 1588 +MD5 6f95da0b938d5aaf6182cdbaa9250bd6 cl-uffi-1.4.24.ebuild 1119 MD5 d580e01bed86cd645058f8f0bc4dc922 cl-uffi-1.4.6.ebuild 1254 -MD5 9575cfbbdf412ea882073c3e93084244 cl-uffi-1.4.3.ebuild 1740 +MD5 3248554324af48de0b839ba606d415ce cl-uffi-1.2.15.ebuild 1438 +MD5 6f95da0b938d5aaf6182cdbaa9250bd6 cl-uffi-1.4.13.ebuild 1119 MD5 104bd792ce3b3d31d95c95d8190133c8 ChangeLog 1480 +MD5 b17a87ef8f7b717f8efd447e3abf3f6f cl-uffi-1.3.6.ebuild 1816 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 -MD5 3248554324af48de0b839ba606d415ce cl-uffi-1.2.15.ebuild 1438 -MD5 8d8994078a8508087061fe8f385a1bea files/digest-cl-uffi-1.3.4 62 -MD5 c3f14a056495f7e0024a86dfb33463df files/digest-cl-uffi-1.3.6 62 -MD5 18450fabfff0e3d48e11098f54f63cf2 files/digest-cl-uffi-1.4.3 62 -MD5 cbc95d533aa1c1aa3670ff1e499b5435 files/digest-cl-uffi-1.4.5 62 -MD5 cac372364ba019b10f5f84f2916c5dba files/digest-cl-uffi-1.4.6 62 +MD5 fa78f1a26bf8549795722b07c155761a cl-uffi-1.4.5.ebuild 1254 +MD5 9575cfbbdf412ea882073c3e93084244 cl-uffi-1.4.3.ebuild 1740 +MD5 dc8b389800029795c6c5fb5573049e89 files/digest-cl-uffi-1.2.15 63 MD5 cac372364ba019b10f5f84f2916c5dba files/digest-cl-uffi-1.4.6-r1 62 +MD5 ee3ee3dac3a19564fa9fa532042e43b4 files/digest-cl-uffi-1.4.24 63 +MD5 cbc95d533aa1c1aa3670ff1e499b5435 files/digest-cl-uffi-1.4.5 62 MD5 b2d892fbb41ca3458a962f521e17d49e files/1.3.6-gentoo.patch 1088 -MD5 dc8b389800029795c6c5fb5573049e89 files/digest-cl-uffi-1.2.15 63 +MD5 8d8994078a8508087061fe8f385a1bea files/digest-cl-uffi-1.3.4 62 +MD5 cac372364ba019b10f5f84f2916c5dba files/digest-cl-uffi-1.4.6 62 +MD5 18450fabfff0e3d48e11098f54f63cf2 files/digest-cl-uffi-1.4.3 62 +MD5 c3f14a056495f7e0024a86dfb33463df files/digest-cl-uffi-1.3.6 62 MD5 70475dcb80daac5fc6c8e22e80aa458d files/digest-cl-uffi-1.4.13 63 diff --git a/dev-lisp/cl-uffi/cl-uffi-1.4.24.ebuild b/dev-lisp/cl-uffi/cl-uffi-1.4.24.ebuild new file mode 100644 index 000000000000..9d46ccb5cfb3 --- /dev/null +++ b/dev-lisp/cl-uffi/cl-uffi-1.4.24.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uffi/cl-uffi-1.4.24.ebuild,v 1.1 2004/08/01 22:34:54 mkennedy Exp $ + +inherit common-lisp + +DESCRIPTION="UFFI is a package to [portably] interface Common Lisp programs with C-language compatible libraries." +HOMEPAGE="http://uffi.med-info.com/" +SRC_URI="http://files.b9.com/uffi/uffi-${PV}.tar.gz" +LICENSE="LLGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" + +S=${WORKDIR}/uffi-${PV} + +CLPACKAGE=uffi + +src_compile() { + make -C tests +} + +src_install() { + dodir /usr/share/common-lisp/systems + insinto /usr/share/common-lisp/source/uffi/src + doins src/*.lisp + insinto /usr/share/common-lisp/source/uffi + doins uffi.asd + dosym /usr/share/common-lisp/source/uffi/uffi.asd \ + /usr/share/common-lisp/systems/uffi.asd + + insinto /usr/lib/uffi + doins tests/*.so + + dodoc AUTHORS ChangeLog INSTALL LICENSE NEWS README TODO doc/uffi.pdf doc/COPYING.GFDL + tar xfz doc/html.tar.gz + dohtml html/* + + for i in examples benchmarks ; do + insinto /usr/share/doc/${P}/$i + doins $i/* + done +} diff --git a/dev-lisp/cl-uffi/files/digest-cl-uffi-1.4.24 b/dev-lisp/cl-uffi/files/digest-cl-uffi-1.4.24 new file mode 100644 index 000000000000..fc78e28cb17f --- /dev/null +++ b/dev-lisp/cl-uffi/files/digest-cl-uffi-1.4.24 @@ -0,0 +1 @@ +MD5 6ccc2fd4983d1028a0553d642a2adced uffi-1.4.24.tar.gz 141399 diff --git a/dev-lisp/common-lisp-controller/ChangeLog b/dev-lisp/common-lisp-controller/ChangeLog index 1df2db3f9e6e..836ef85f011e 100644 --- a/dev-lisp/common-lisp-controller/ChangeLog +++ b/dev-lisp/common-lisp-controller/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lisp/common-lisp-controller # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/ChangeLog,v 1.14 2004/06/24 23:58:12 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/ChangeLog,v 1.15 2004/08/01 22:34:54 mkennedy Exp $ + +*common-lisp-controller-3.91 (01 Aug 2004) + + 01 Aug 2004; <mkennedy@gentoo.org> +files/3.91/clc-send-command, + +files/3.91/common-lisp-controller-gentoo.patch, + +common-lisp-controller-3.91.ebuild: + New upstream version; Required by SBCL w/ package locking 30 May 2004; Robin H. Johnson <robbat2@gentoo.org> common-lisp-controller-3.76.ebuild: diff --git a/dev-lisp/common-lisp-controller/Manifest b/dev-lisp/common-lisp-controller/Manifest index 4f1ebaeab27d..43a396fd27b0 100644 --- a/dev-lisp/common-lisp-controller/Manifest +++ b/dev-lisp/common-lisp-controller/Manifest @@ -1,20 +1,24 @@ +MD5 7ff59ea11e993ad6c12ff67beebd06c3 common-lisp-controller-3.76-r1.ebuild 3179 MD5 e1c47cbb4d7205e44f1ce07d0d05bf57 common-lisp-controller-3.76.ebuild 2866 MD5 e436b24323efb91f8a5b7447e27a0d5e common-lisp-controller-3.82.ebuild 2939 -MD5 7ff59ea11e993ad6c12ff67beebd06c3 common-lisp-controller-3.76-r1.ebuild 3179 -MD5 984625d8f77c1bd841adc67a0e9186dd common-lisp-controller-3.64.ebuild 3606 MD5 d7d5dcb17bcbea9dab4e9ad14556c620 common-lisp-controller-3.76-r2.ebuild 3174 +MD5 984625d8f77c1bd841adc67a0e9186dd common-lisp-controller-3.64.ebuild 3606 MD5 865615dcd1dea1467f3ad0c87f2f27c7 ChangeLog 2572 +MD5 e436b24323efb91f8a5b7447e27a0d5e common-lisp-controller-3.91.ebuild 2939 MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 +MD5 ad8d66b4cc62aa6b09805068265e89d1 files/README.Gentoo 642 +MD5 36bc27f941c18714b9e519274bfa30f7 files/digest-common-lisp-controller-3.91 80 +MD5 68d7b210f93fc095db4ec27504b86784 files/clc-build-daemon 657 +MD5 531ca5d802bb5b70c234532655bbfa91 files/digest-common-lisp-controller-3.64 80 +MD5 e5d6d4f73e65082fae7961087dc7f681 files/digest-common-lisp-controller-3.76-r2 80 MD5 921243e5d85f2160df66d30768b7fb6a files/clc-send-command 3932 +MD5 fd599fefe360bfff34b78fb6dbf69344 files/clc-gentoo-3.76.patch.gz 8398 +MD5 7bd53a475f418012e5986df364fdd6f2 files/inetd.conf-snippet 75 MD5 e5d6d4f73e65082fae7961087dc7f681 files/digest-common-lisp-controller-3.76-r1 80 -MD5 e5d6d4f73e65082fae7961087dc7f681 files/digest-common-lisp-controller-3.76-r2 80 -MD5 531ca5d802bb5b70c234532655bbfa91 files/digest-common-lisp-controller-3.64 80 MD5 e5d6d4f73e65082fae7961087dc7f681 files/digest-common-lisp-controller-3.76 80 MD5 8cb955332f856e53d06a40ca2803a2e8 files/digest-common-lisp-controller-3.82 80 -MD5 ad8d66b4cc62aa6b09805068265e89d1 files/README.Gentoo 642 MD5 a28b04411f6963aa9b5ea21b77a67600 files/3.76-coreutils-gentoo.patch 1345 -MD5 fd599fefe360bfff34b78fb6dbf69344 files/clc-gentoo-3.76.patch.gz 8398 -MD5 7bd53a475f418012e5986df364fdd6f2 files/inetd.conf-snippet 75 -MD5 68d7b210f93fc095db4ec27504b86784 files/clc-build-daemon 657 +MD5 921243e5d85f2160df66d30768b7fb6a files/3.91/clc-send-command 3932 +MD5 233f14b0181d34569dd42f6aa1718073 files/3.91/common-lisp-controller-gentoo.patch 4530 MD5 921243e5d85f2160df66d30768b7fb6a files/3.82/clc-send-command 3932 MD5 233f14b0181d34569dd42f6aa1718073 files/3.82/common-lisp-controller-gentoo.patch 4530 diff --git a/dev-lisp/common-lisp-controller/common-lisp-controller-3.91.ebuild b/dev-lisp/common-lisp-controller/common-lisp-controller-3.91.ebuild new file mode 100644 index 000000000000..cbf4852bd8b9 --- /dev/null +++ b/dev-lisp/common-lisp-controller/common-lisp-controller-3.91.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/common-lisp-controller-3.91.ebuild,v 1.1 2004/08/01 22:34:54 mkennedy Exp $ + +inherit eutils + +DESCRIPTION="Common Lisp Controller" +HOMEPAGE="http://packages.debian.org/unstable/devel/common-lisp-controller.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/common-lisp-controller/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~sparc ~ppc ~mips" +IUSE="" + +DEPEND=">=cl-defsystem3-3.3i-r3 + >=dev-lisp/cl-asdf-1.84 + app-admin/realpath + virtual/logger" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}/${PN}-gentoo.patch +} + +src_install() { + dobin clc-autobuild* clc-register-user-package clc-unregister-user-package + + dobin ${FILESDIR}/${PV}/clc-send-command + + dosbin register-common-lisp-source unregister-common-lisp-source + + dodir /usr/share/common-lisp/source/common-lisp-controller + insinto /usr/share/common-lisp/source/common-lisp-controller + + doins common-lisp-controller.lisp post-sysdef-install.lisp pre-sysdef-install.lisp + + dodir /usr/lib/common-lisp + dodir /usr/lib/common-lisp/bin + + dodir /etc/common-lisp + # autobuild by default + touch ${D}/etc/common-lisp/autobuild + + for i in \ + clc-autobuild-check \ + clc-autobuild-only \ + clc-autobuild-impl \ + clc-autobuild-library \ + clc-unregister-user-package \ + clc-register-user-package + do doman man/$i.1 + done + + einfo ">>> Creating /etc/lisp-config.lisp" + dodir /etc + cat >${D}/etc/lisp-config.lisp <<EOF + +(in-package :common-lisp-user) + +#+(or cmu scl) +(setf system:*short-site-name* "Unknown" + system:*long-site-name* "Unknown") + +#+sbcl +(setf sb-sys:*short-site-name* "Unknown" + sb-sys:*long-site-name* "Unknown") + +EOF + dodoc ${FILESDIR}/README.Gentoo + keepdir /usr/lib/common-lisp /usr/lib/common-lisp/bin +} + +pkg_postinst() { + userdel cl-builder &>/dev/null || true + groupdel cl-builder &>/dev/null || true + enewgroup cl-builder + enewuser cl-builder -1 /bin/sh /usr/lib/common-lisp cl-builder + chown root:root /usr/lib/common-lisp + for compiler in /usr/lib/common-lisp/bin/*.sh + do + if [ -f "${compiler}" -a -r "${compiler}" -a -x "${compiler}" ] ; then + i=${compiler##*/} + i=${i%.sh} + einfo ">>> Recompiling Common Lisp Controller for $i" + bash "$compiler" install-clc || true + einfo ">>> Done rebuilding" + chown -R cl-builder:cl-builder /usr/lib/common-lisp/${i} &>/dev/null || true + fi + done + echo + while read line; do einfo "${line}"; done <${FILESDIR}/README.Gentoo +} + +# pkg_prerm() { +# for compiler in /usr/lib/common-lisp/bin/*.sh +# do +# if [ -f "$compiler" -a -r "$compiler}" ] ; then +# i=${compiler##*/} +# i=${i%.sh} +# echo Deinstalling for ${i##*/} +# echo Removing Common Lisp Controller for $i +# if [ -x "$compiler"] ; then +# bash "$compiler" remove-clc || true +# fi +# echo Done rebuilding +# fi +# done +# } diff --git a/dev-lisp/common-lisp-controller/files/3.91/clc-send-command b/dev-lisp/common-lisp-controller/files/3.91/clc-send-command new file mode 100644 index 000000000000..0b2c5818385c --- /dev/null +++ b/dev-lisp/common-lisp-controller/files/3.91/clc-send-command @@ -0,0 +1,146 @@ +#!/bin/bash + +# {{{ Copyright + +# A shell version of the clc-send-command program. +# Copyright (C) 2003 The Free Software Foundation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA + +# Authors: Matthew Kennedy <mkennedy@gentoo.org> + +# }}} +# {{{ Commentary... + +# Traditionally, the controller consisted of two programs: +# clc-send-command and clc-build-daemon, The former invokes the later +# via an Internet super-server such as inetd and xinetd. +# +# Why the contoller requires a Internet super-sever is beyond my +# comprehension, hence this program. +# +# This program works exactly like the original clc-send-command +# program, however it bypasses clc-build-daemon to call the controller +# implementation scripts (/usr/lib/common-lisp/bin/*.sh) directly. + +# }}} +# {{{ Utility functions + +function error { + echo "Error: $1" + exit 255 +} + +function warning { + echo "Warning: $1" + exit 0 +} + +function is_valid_impl { + local impl=$1 + for i in /usr/lib/common-lisp/bin/*.sh; do + i=$(basename ${i} .sh) + if [ "x${i}" == "x${impl}" ]; then + return 0 + fi + done + return 1 +} + +function is_valid_package { + local impl=$1 package=$2 + test -d /usr/lib/common-lisp/${impl}/${package} +} + +function su-maybe { + if [ "x`whoami`" == "xroot" ]; then + su - cl-builder -c "$@" + else + $@ + fi +} + +function remove_package { + local impl=$1 package=$2 +# su - cl-builder -c "/usr/lib/common-lisp/bin/${impl}.sh remove ${package}" + su-maybe "/usr/lib/common-lisp/bin/${impl}.sh remove ${package}" +} + +function recompile_package { + local impl=$1 package=$2 + su - cl-builder -c "/usr/lib/common-lisp/bin/${impl}.sh rebuild ${package}" +} + +# }}} + +declare -a ARGS + +i=0; while [ ! -z "$1" ]; do + # collect the arguments we're interested in, discard all else + case $1 in + -d | --debug | -q | --quiet | -v | --verbose) + # ignore these for now + ;; + -? | --help | --usage) + cat <<EOF +clc-send-command [OPTION...] recompile <package> <implementation> +clc-send-command [OPTION...] remove <package> <implementation> +EOF + exit 1 + ;; + --verbose | -V) + # mimic the original clc-send-command program's output + echo 'version 1.0 for clc v3' + exit 1 + ;; + *) + ARGS[$i]=$1 i=$[$i + 1] + ;; + esac + shift +done + +if [ ${#ARGS[*]} -ne 3 ]; then + error 'Invalid number of arguments.' +fi + +command=${ARGS[0]} package=${ARGS[1]} impl=${ARGS[2]} + +is_valid_impl ${impl} \ + || error "Invalid implementaion: ${impl}" + +case ${command} in + remove) + is_valid_package ${impl} ${package} \ + || warning "Package ${package} for implementation ${impl} does not exist or has not been compiled yet." + remove_package ${impl} ${package} \ + || error "Cannot remove package: ${package} for implementation: ${impl}" + ;; + recompile) + recompile_package ${impl} ${package} \ + || error "Cannot recompile package: ${package} for implementation: ${impl}" + ;; + *) + error "Unrecognized command: ${command}" + ;; +esac + +exit 0 + +# Local Variables: *** +# mode: shell-script *** +# indent-tabs-mode: nil *** +# End: *** diff --git a/dev-lisp/common-lisp-controller/files/3.91/common-lisp-controller-gentoo.patch b/dev-lisp/common-lisp-controller/files/3.91/common-lisp-controller-gentoo.patch new file mode 100644 index 000000000000..bf4c7d4da950 --- /dev/null +++ b/dev-lisp/common-lisp-controller/files/3.91/common-lisp-controller-gentoo.patch @@ -0,0 +1,105 @@ +diff -ur common-lisp-controller-3.91.orig/clc-autobuild-check common-lisp-controller-3.91/clc-autobuild-check +--- common-lisp-controller-3.91.orig/clc-autobuild-check 2002-09-26 01:41:28.000000000 -0500 ++++ common-lisp-controller-3.91/clc-autobuild-check 2004-08-01 14:11:35.233389176 -0500 +@@ -31,7 +31,7 @@ + return + fi + if [ -r $file ]; then +- first_line="$(cat $file | head -1)" ++ first_line="$(cat $file | head -n 1)" + if [ "$first_line" ]; then + first_line="$(echo "$first_line" | tr "[A-Z]" "[a-z]")" + if [ "$(expr "$first_line" : ".*\(yes\).*")" ]; then +Only in common-lisp-controller-3.91: clc-autobuild-check~ +diff -ur common-lisp-controller-3.91.orig/post-sysdef-install.lisp common-lisp-controller-3.91/post-sysdef-install.lisp +--- common-lisp-controller-3.91.orig/post-sysdef-install.lisp 2004-07-13 10:22:02.000000000 -0500 ++++ common-lisp-controller-3.91/post-sysdef-install.lisp 2004-08-01 14:13:26.991399376 -0500 +@@ -219,76 +219,22 @@ + "T if we are recompiling on orders of the clc-build-daemon") + + (defun require-defsystem3 (module-name) +- ;; if in the clc root: +- (let ((system (mk:find-system module-name +- :load-or-nil))) +- (or +- ;; try to load it +- (progn +- (mk:oos module-name +- :load +- :load-source-instead-of-binary nil +- :load-source-if-no-binary nil +- :bother-user-if-no-binary nil +- :compile-during-load nil) +- ;; did we load it? +- (find module-name mk::*modules* :test #'string=)) +- (progn +- (format t "~&;;;Please wait, recompiling library...") +- (cond +- (*recompiling-from-daemon* +- (mk:oos module-name +- :compile +- :verbose nil)) +- (t +- ;; first compile the sub-components! +- (dolist (sub-system (make::component-depends-on system)) +- (when (stringp sub-system) +- (setf sub-system (intern sub-system (find-package :keyword)))) +- (clc-require sub-system)) +- (common-lisp-controller:send-clc-command :recompile +- (if (stringp module-name) +- module-name +- (string-downcase +- (symbol-name +- module-name)))))) +- (terpri) +- (mk:oos module-name +- :load +- :load-source-instead-of-binary nil +- :load-source-if-no-binary nil +- :bother-user-if-no-binary nil +- :compile-during-load nil) +- t)))) ++ (let ((system (mk:find-system module-name :load-or-nil))) ++ (mk:oos module-name ++ :load ++ :load-source-instead-of-binary nil ++ :load-source-if-no-binary nil ++ :bother-user-if-no-binary nil ++ :compile-during-load nil) ++ ;; did we load it? ++ (find module-name mk::*modules* :test #'string=))) + + + (defun require-asdf (module-name) + (let ((system (asdf:find-system module-name))) + (when system +- (if (asdf-system-compiled-p system) +- (asdf:oos 'asdf:load-op module-name) +- (progn +- (format t "~&;;; Please wait, recompiling library...") +- (cond +- (*recompiling-from-daemon* +- (asdf:oos 'asdf:compile-op module-name)) +- (t +- ;; first compile the depends-on +- (dolist (sub-system +- ;; skip asdf:load-op at beginning of first list +- (cdar (asdf:component-depends-on +- (make-instance 'asdf:compile-op) system))) +- (clc-require sub-system)) +- (let ((module-name-str +- (if (stringp module-name) +- module-name +- (string-downcase (symbol-name module-name))))) +- ;; clc-build-daemon will report pkg built unless all components are removed +- (common-lisp-controller:send-clc-command :remove module-name-str) +- (common-lisp-controller:send-clc-command :recompile module-name-str)))) +- (terpri) +- (asdf:oos 'asdf:load-op module-name))) +- t))) ++ (asdf:oos 'asdf:load-op module-name))) ++ t) + + ;; we need to hack the require to + ;; call clc-send-command on load failure... +Only in common-lisp-controller-3.91: post-sysdef-install.lisp~ diff --git a/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.91 b/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.91 new file mode 100644 index 000000000000..20a4675f7e05 --- /dev/null +++ b/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.91 @@ -0,0 +1 @@ +MD5 14c70d4fe899d8b5559727516bd7c4fd common-lisp-controller_3.91.tar.gz 1232780 diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index 241789e57bf3..b726aeb08d28 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,16 @@ # 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.38 2004/07/30 07:12:50 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.39 2004/08/01 22:34:54 mkennedy Exp $ + +*sbcl-0.8.13 (01 Aug 2004) + + 01 Aug 2004; <mkennedy@gentoo.org> +files/0.8.13/README.Gentoo, + +files/0.8.13/customize-target-features.lisp, + +files/0.8.13/customize-target-features.lisp.no-threads, + +files/0.8.13/install-clc.lisp, +files/0.8.13/sbcl-gentoo.patch, + +files/0.8.13/sbcl-no-tests-gentoo.patch, +files/0.8.13/sbcl.sh, + +files/0.8.13/sbclrc, +sbcl-0.8.13.ebuild: + New upstream version *sbcl-0.8.12-r1 (30 Jul 2004) diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index 08aab2d137bf..148bbbcf9109 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -1,3 +1,4 @@ +MD5 452bd315ab639d1e2738c73c498be1ed sbcl-0.8.13.ebuild 3878 MD5 bfec86129246e3243821520419058139 sbcl-0.8.12.ebuild 3823 MD5 139b862b968e7e93728adc4635eb28ca sbcl-0.8.11.ebuild 3868 MD5 452bd315ab639d1e2738c73c498be1ed sbcl-0.8.12-r1.ebuild 3878 @@ -12,6 +13,7 @@ MD5 6e40a080b566cc78dfe522ae34eec0a7 files/install-clc.lisp 1338 MD5 5bb7b04d0735d7a7bd968381fd1ea095 files/digest-sbcl-0.8.9 467 MD5 d4bfc144f303942ff574404fbd2e078d files/digest-sbcl-0.8.7 528 MD5 58c5c983d699b9861baa3716b4bcc733 files/digest-sbcl-0.8.11 468 +MD5 12dd45cfcd09d50683635790f81c88ca files/digest-sbcl-0.8.13 468 MD5 47993934f65e81900eff345eec6fabe5 files/gc.lisp-linux-2.6.patch 664 MD5 d4bfc144f303942ff574404fbd2e078d files/digest-sbcl-0.8.7-r1 528 MD5 071f286575536d58bd93efe2f77cd24c files/sbcl.sh 2168 @@ -60,6 +62,14 @@ MD5 6f05f494b80fa25732a658deec4133c8 files/0.8.12/customize-target-features.lisp MD5 071f286575536d58bd93efe2f77cd24c files/0.8.12/sbcl.sh 2168 MD5 653f804ebcd167d167f8163756b7da17 files/0.8.12/sbclrc 639 MD5 20dbe881efddafc4628530cbafe460f6 files/0.8.12/sbcl-gentoo.patch 2596 +MD5 ab7a8d4c4cdc70154ab5aaec9cdacb6d files/0.8.13/install-clc.lisp 1463 +MD5 83085186927f4ce363e188e4cd9ca85e files/0.8.13/README.Gentoo 941 +MD5 a0edd1aecd1416792590693e5a6d2cb3 files/0.8.13/customize-target-features.lisp.no-threads 577 +MD5 b1b43b099296c26e283831cffc5f99b7 files/0.8.13/sbcl-no-tests-gentoo.patch 2725 +MD5 6f05f494b80fa25732a658deec4133c8 files/0.8.13/customize-target-features.lisp 574 +MD5 071f286575536d58bd93efe2f77cd24c files/0.8.13/sbcl.sh 2168 +MD5 653f804ebcd167d167f8163756b7da17 files/0.8.13/sbclrc 639 +MD5 20dbe881efddafc4628530cbafe460f6 files/0.8.13/sbcl-gentoo.patch 2596 MD5 ab7a8d4c4cdc70154ab5aaec9cdacb6d files/0.8.11/install-clc.lisp 1463 MD5 57811d1f63f778c15fbd1a640e1df14f files/0.8.11/README.Gentoo 941 MD5 a0edd1aecd1416792590693e5a6d2cb3 files/0.8.11/customize-target-features.lisp.no-threads 577 diff --git a/dev-lisp/sbcl/files/0.8.13/README.Gentoo b/dev-lisp/sbcl/files/0.8.13/README.Gentoo new file mode 100644 index 000000000000..3bf5ede3da7f --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/README.Gentoo @@ -0,0 +1,25 @@ +-*- outline -*- $Id: README.Gentoo,v 1.1 2004/08/01 22:34:54 mkennedy Exp $ + +Gentoo GNU/Linux specific notes for SBCL +---------------------------------------- + +This is the README.Gentoo file from /usr/share/doc/@PF@/ +directory. + + * The Gentoo port uses patches from the Debian project's SBCL port. + + * An SBCL with support for multi-threading on GNU/Linux for x86 is + available with 'USE="threads" emerge dev-lisp/sbcl' + + * asdf-install is installed as sbcl-asdf-install (the man-page is + similarly named). + + * Support for the Common Lisp Controller is available. + + * If "nosource" is not in your USE flags, then SBCL's source will + also be installed (in /usr/lib/sbcl/src). This is handy with + ILISP or SLIME's `edit-definition' functions. + +If you encounter any problems or have suggestions, use +http://bugs.gentoo.org. Please don't bother the upstream authors +unless you are absolutely certain it is not Gentoo-related. diff --git a/dev-lisp/sbcl/files/0.8.13/customize-target-features.lisp b/dev-lisp/sbcl/files/0.8.13/customize-target-features.lisp new file mode 100644 index 000000000000..7663f4802619 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/customize-target-features.lisp @@ -0,0 +1,19 @@ +;;;; -*- Lisp -*- + +;;;; This is the features customization lambda form we will use if the +;;;; user has "threads" in USE *and* they are building for the x86 +;;;; architecture. + +;;;; :sb-futex is dependent on the presence of a Linux 2.6.x kernel. +;;;; For users of Linux 2.4.x kernels, this is still okay to enable, +;;;; as SBCL will fall back if the futex system-call is not present. + +(lambda (list) + (flet ((enable (x) + (pushnew x list)) + (disable (x) + (setf list (remove x list)))) + (enable :sb-thread) + (enable :sb-futex) + (disable :sb-test)) + list) diff --git a/dev-lisp/sbcl/files/0.8.13/customize-target-features.lisp.no-threads b/dev-lisp/sbcl/files/0.8.13/customize-target-features.lisp.no-threads new file mode 100644 index 000000000000..100d84059509 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/customize-target-features.lisp.no-threads @@ -0,0 +1,19 @@ +;;;; -*- Lisp -*- + +;;;; This is the features customization lambda form we will use if the +;;;; user has "threads" in USE *and* they are building for the x86 +;;;; architecture. + +;;;; :sb-futex is dependent on the presence of a Linux 2.6.x kernel. +;;;; For users of Linux 2.4.x kernels, this is still okay to enable, +;;;; as SBCL will fall back if the futex system-call is not present. + +(lambda (list) + (flet ((enable (x) + (pushnew x list)) + (disable (x) + (setf list (remove x list)))) + (disable :sb-thread) + (disable :sb-futex) + (disable :sb-test)) + list) diff --git a/dev-lisp/sbcl/files/0.8.13/install-clc.lisp b/dev-lisp/sbcl/files/0.8.13/install-clc.lisp new file mode 100644 index 000000000000..98bf4f548b65 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/install-clc.lisp @@ -0,0 +1,64 @@ +;;; -*- Mode: LISP; Package: CL-USER -*- +;;; +;;; Copyright (C) Peter Van Eynde 2001 and Kevin Rosenberg 2002-2003 +;;; +;;; License: LGPL v2 +;;; +;;; Some modifications for Gentoo, Matthew Kennedy <mkennedy@gentoo.org> +;;; + +(in-package "COMMON-LISP-USER") + +(unless (ignore-errors + (load "/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp")) + (sb-unix:unix-exit 1)) + +(unless (ignore-errors + (common-lisp-controller:init-common-lisp-controller + "/usr/lib/common-lisp/sbcl/" + :version 3) + t) + (format t "~%Error during init of common-lisp-controller~%") + (sb-unix:unix-exit 1)) + +(in-package :common-lisp-controller) + +(defun send-clc-command (command package) + (let ((process + (sb-ext:run-program "/usr/bin/clc-send-command" + (list (ecase command + (:recompile "recompile") + (:remove "remove")) + (format nil "~A" package) + "sbcl" + "--quiet") + :wait t))) + (if (= (sb-ext:process-exit-code process) 0) + (values) + (error "An error happened during ~A of ~A for ~A" + (ecase command + (:recompile "recompilation") + (:remove "removal")) + package + "sbcl")))) + +(in-package :common-lisp-user) + +(progn + (format t "~%Saving to sbcl-new.core...") + (sb-ext:gc :full t) + (sb-ext:save-lisp-and-die "sbcl-new.core" :purify t)) + + + + + + + + + + + + + + diff --git a/dev-lisp/sbcl/files/0.8.13/sbcl-gentoo.patch b/dev-lisp/sbcl/files/0.8.13/sbcl-gentoo.patch new file mode 100644 index 000000000000..15eb59eadd35 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/sbcl-gentoo.patch @@ -0,0 +1,32 @@ +diff -ru sbcl-0.8.13.orig/contrib/sb-posix/posix-tests.lisp sbcl-0.8.13/contrib/sb-posix/posix-tests.lisp +--- sbcl-0.8.13.orig/contrib/sb-posix/posix-tests.lisp 2004-03-15 09:24:53.000000000 -0600 ++++ sbcl-0.8.13/contrib/sb-posix/posix-tests.lisp 2004-04-28 14:47:50.179460512 -0500 +@@ -96,7 +96,7 @@ + (sb-posix:syscall-errno c))) + #.sb-posix::eexist) + +-(deftest mkdir.error.2 ++#+nil (deftest mkdir.error.2 + (handler-case + (sb-posix:mkdir "/" 0) + (sb-posix:syscall-error (c) +@@ -149,7 +149,7 @@ + (sb-posix:syscall-errno c))) + #.sb-posix::enotdir) + +-(deftest rmdir.error.3 ++#+nil (deftest rmdir.error.3 + (handler-case + (sb-posix:rmdir "/") + (sb-posix:syscall-error (c) +diff -ru sbcl-0.8.13.orig/src/runtime/GNUmakefile sbcl-0.8.13/src/runtime/GNUmakefile +--- sbcl-0.8.13.orig/src/runtime/GNUmakefile 2004-04-10 08:37:23.000000000 -0500 ++++ sbcl-0.8.13/src/runtime/GNUmakefile 2004-04-28 14:46:29.556717032 -0500 +@@ -33,6 +33,7 @@ + # symlink to Config-foo. + include Config + ++CFLAGS += -DSBCL_HOME='"/usr/lib/sbcl"' + + C_SRCS = alloc.c backtrace.c breakpoint.c coreparse.c \ + dynbind.c gc-common.c globals.c interr.c interrupt.c \ diff --git a/dev-lisp/sbcl/files/0.8.13/sbcl-no-tests-gentoo.patch b/dev-lisp/sbcl/files/0.8.13/sbcl-no-tests-gentoo.patch new file mode 100644 index 000000000000..e90eae9a1a38 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/sbcl-no-tests-gentoo.patch @@ -0,0 +1,58 @@ +diff -ur sbcl-0.8.13.orig/contrib/sb-bsd-sockets/sb-bsd-sockets.asd sbcl-0.8.13/contrib/sb-bsd-sockets/sb-bsd-sockets.asd +--- sbcl-0.8.13.orig/contrib/sb-bsd-sockets/sb-bsd-sockets.asd 2004-02-11 05:00:40.000000000 -0600 ++++ sbcl-0.8.13/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.13/contrib/sb-bsd-sockets: sb-bsd-sockets.asd~ +diff -ur sbcl-0.8.13.orig/contrib/sb-posix/sb-posix.asd sbcl-0.8.13/contrib/sb-posix/sb-posix.asd +--- sbcl-0.8.13.orig/contrib/sb-posix/sb-posix.asd 2003-11-29 14:41:47.000000000 -0600 ++++ sbcl-0.8.13/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.13/contrib/sb-posix: sb-posix.asd~ diff --git a/dev-lisp/sbcl/files/0.8.13/sbcl.sh b/dev-lisp/sbcl/files/0.8.13/sbcl.sh new file mode 100644 index 000000000000..fed75084d432 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/sbcl.sh @@ -0,0 +1,80 @@ +#!/bin/sh -x + +if [ ! -f /usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp ] ; then + cat <<EOF +$0: cannot find the common-lisp-controller source. +EOF + exit 0 +fi + +build_error() +{ + echo "Build failure $1" + exit 1 +} + +case $1 in + rebuild) + echo $0 rebuilding... + shift + echo rebuilding $1 + sbcl --noinform --sysinit /etc/sbclrc --userinit /dev/null \ + --disable-debugger \ + --eval \ +"(handler-case + (progn + (c-l-c:compile-library (quote $1)) + (sb-unix:unix-exit 0)) + (error (e) + (ignore-errors (format t \"~&Build error: ~A~%\" e)) + (finish-output) + (sb-unix:unix-exit 1)))" || build_error + ;; + remove) + echo $0 removing packages... + shift + while [ ! -z "$1" ] ; do + rm -rf "/usr/lib/common-lisp/sbcl/$1" + shift + done + ;; + install-defsystem | install-clc) + echo $0 loading and dumping clc. + ( cd /usr/lib/sbcl + sbcl --core /usr/lib/sbcl/sbcl-dist.core \ + --noinform --sysinit /etc/sbclrc --userinit /dev/null \ + --load "/usr/lib/sbcl/install-clc.lisp" 2> /dev/null + mv sbcl-new.core sbcl.core || (echo FAILED ; cp sbcl-dist.core sbcl.core ) ) + ;; + remove-defsystem | remove-clc) + echo $0 removing clc-enabled image + cp /usr/lib/sbcl/sbcl-dist.core /usr/lib/sbcl/sbcl.core + ;; + make-user-image) + if [ ! -f "$2" ] ; then + echo "Trying to make-user image, but can not find file $2" >&2 + exit 1 + fi + sbcl --core /usr/lib/sbcl/sbcl-dist.core \ + --noinform --sysinit /dev/null --userinit /dev/null \ + --eval \ +"(handler-case + (progn + (load \"$2\") + (sb-ext:gc :full t) + (sb-ext:save-lisp-and-die \"/usr/lib/sbcl/sbcl-new.core\" :purify t)) + (sb-unix:unix-exit 0)) + (error (e) + (ignore-errors (format t \"make-user-image error: ~A~%\" e)) + (finish-output) + (sb-unix:unix-exit 1)))" + mv sbcl-new.core sbcl.core || (echo FAILED ; cp sbcl-dist.core sbcl.core ) + ;; + *) + echo $0 unkown command $1 + echo known commands: rebuild, remove, make-user-image, install-clc and remove-clc + exit 1 + ;; +esac + +exit 0 diff --git a/dev-lisp/sbcl/files/0.8.13/sbclrc b/dev-lisp/sbcl/files/0.8.13/sbclrc new file mode 100644 index 000000000000..91f31720d896 --- /dev/null +++ b/dev-lisp/sbcl/files/0.8.13/sbclrc @@ -0,0 +1,18 @@ +;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Package: CL-USER -*- + +;;; This file is installed as /etc/sbcl.rc and run on every invocation +;;; of SBCL + +(if (probe-file "/etc/lisp-config.lisp") + (load "/etc/lisp-config.lisp") + (format t "~%;;; Warning: there is no /etc/lisp-config.lisp file")) + +;;; The following is required if you want source location functions to +;;; work (such as those called when you use M-. (edit definition) in +;;; ILISP or SLIME) + +(setf (logical-pathname-translations "SYS") + '(("SYS:SRC;**;*.*.*" #p"/usr/lib/sbcl/src/**/*.*") + ("SYS:CONTRIB;**;*.*.*" #p"/usr/lib/sbcl/**/*.*"))) + +;;; sbclrc ends here diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.8.13 b/dev-lisp/sbcl/files/digest-sbcl-0.8.13 new file mode 100644 index 000000000000..535cd6c9716f --- /dev/null +++ b/dev-lisp/sbcl/files/digest-sbcl-0.8.13 @@ -0,0 +1,6 @@ +MD5 2e33a8493e607b2f540a778a17c6653d sbcl-0.8.13-source.tar.bz2 2209140 +MD5 545c6fb63112b05bc8a1ca6a82563fa8 sbcl-0.8.13-html.tar.bz2 47417 +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.13.ebuild b/dev-lisp/sbcl/sbcl-0.8.13.ebuild new file mode 100644 index 000000000000..6f003c72eb39 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-0.8.13.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.13.ebuild,v 1.1 2004/08/01 22:34:54 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-3.91 + 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 +} |