From bb30bf8868e14508302e40c75e743b1d3b099cd4 Mon Sep 17 00:00:00 2001 From: Joshua Ross Date: Sat, 7 Apr 2007 13:53:15 +0000 Subject: [PATCH] Mark ppc stable on 1.0.1 and testing on 1.0.4 Package-Manager: portage-2.1.2.3 --- dev-lisp/sbcl/ChangeLog | 8 +- dev-lisp/sbcl/Manifest | 36 ++--- dev-lisp/sbcl/files/digest-sbcl-1.0.4 | 21 +++ dev-lisp/sbcl/sbcl-1.0.1.ebuild | 4 +- dev-lisp/sbcl/sbcl-1.0.4.ebuild | 182 ++++++++++++++++++++++++++ 5 files changed, 230 insertions(+), 21 deletions(-) create mode 100644 dev-lisp/sbcl/files/digest-sbcl-1.0.4 create mode 100644 dev-lisp/sbcl/sbcl-1.0.4.ebuild diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index ba73d93ac5ab..89e767c909ab 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lisp/sbcl # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.101 2007/04/07 13:20:24 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.102 2007/04/07 13:53:15 joslwah Exp $ + +*sbcl-1.0.4 (07 Apr 2007) + + 07 Apr 2007; Joshua sbcl-1.0.1.ebuild, + +sbcl-1.0.4.ebuild: + Keyworded ppc stable on 1.0.1 and ~ppc for 1.0.4. 07 Apr 2007; Christian Faulhammer sbcl-1.0.1.ebuild: stable x86, bug 173641 diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index 11f5c7add5d4..a34675ea367f 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 0.9.17/README.Gentoo 1146 RMD160 fa2614a2041834c3cb5d65ce0cbdf697fc9fb1c8 SHA1 6c6535d466828c8d37edf7f6f63a4613aec13e45 SHA256 161daf1a10d025cf5ac243a8d7e79d54b13903049dea892a39d3da4cf0ddcd20 MD5 db78fd713728972c92af140e21a0468b files/0.9.17/README.Gentoo 1146 RMD160 fa2614a2041834c3cb5d65ce0cbdf697fc9fb1c8 files/0.9.17/README.Gentoo 1146 @@ -107,8 +104,11 @@ DIST sbcl-0.9.3-html.tar.bz2 113165 RMD160 13a5990c18f3d38b99211317083298860a8ff DIST sbcl-0.9.3-source.tar.bz2 2582754 RMD160 ba1b0dad70328593331b1b1e1f50af41ed4eb3e1 SHA1 b1ecfbc16af90475a7371f768fa79200bf2ed82b SHA256 afb428f2250bcc83111c673a46c9916e7062c263c6d1077c9498830412f650d3 DIST sbcl-0.9.4-html.tar.bz2 115151 RMD160 0b1f8b53b16c36a7fdec3c2e950aeac1d019ad21 SHA1 3c3365dc46684a176618f6a895845f9e6303c9f7 SHA256 16e2fe96ba8a6285fad2a864fa7f3e3273d9b0c476604042afb57de0526001d7 DIST sbcl-0.9.4-source.tar.bz2 2607058 RMD160 fb81388e80c4014d9a1e3715b73add598ac14d92 SHA1 ee2b3308d869518cfd422b34e5279728e987a8cd SHA256 026590ad6d886e14543a5af3283363cbf62e464d361a5358843cebaaffbb7b0d +DIST sbcl-1.0-powerpc-linux-binary.tar.bz2 6841127 RMD160 11cba4cec1efed9d9b322ab80d58ec63b93f66e4 SHA1 a95873859c529ac3e8013d64bc1a8ad345c1f6bc SHA256 912bdbee882907b5d4437fb9611637e31801db5303ddcd34f9514a386b0b995f DIST sbcl-1.0-source.tar.bz2 2891666 RMD160 1a192869acec8eb5605e1dbd46a53fc05f977479 SHA1 7c9d0cafff57eb632fd566050c78f557eb399976 SHA256 5d33383963ef8ae3ff1be7871aeb0df196923ab5b78513aa666214b52c2f5cfb +DIST sbcl-1.0-x86-linux-binary.tar.bz2 7648991 RMD160 8b9ee33c023592b78d0adbdb4c3d2d0cd150bc94 SHA1 c438defc958732a65707833192c7a0be6903f669 SHA256 d0de659330368584d604ac54f38576d8b4e80d30c4c9d43cb8def8919b8b2878 DIST sbcl-1.0.1-source.tar.bz2 2902375 RMD160 c86b352f547f3526288704e1a74463718ba11fe9 SHA1 ddd1a7595ea83ed1655c716fc7c967ee8ff13878 SHA256 91ca14366b1363d3fa745a91a93005eaca74235d9225936d80b1d34116e76e5a +DIST sbcl-1.0.4-source.tar.bz2 3104865 RMD160 0b4e3ee4ecf2ce298ecde7b8f0c9b94428bbc4b2 SHA1 521d227a15c94caa0506affcda62ebf80d7f13cf SHA256 f7ba981b197fce757772761c6ee4f6640402e8d5265afaf1975f108bb9b1283e EBUILD sbcl-0.9.17.ebuild 5795 RMD160 e69b924c863fb75bd001cfe88db7dcc4614adbec SHA1 1d6d78e5e218464c035416ec0e5bc071ef007cc7 SHA256 53f0d2f77c5d8f11d0eb228e863267fcd47258293398c79a6a66469298841628 MD5 8badc1db3bf4fe546d4b42d774c0ceb0 sbcl-0.9.17.ebuild 5795 RMD160 e69b924c863fb75bd001cfe88db7dcc4614adbec sbcl-0.9.17.ebuild 5795 @@ -125,18 +125,22 @@ EBUILD sbcl-0.9.4.ebuild 5043 RMD160 f816dbe48adad6a68ef1d8adb0e889c71606895f SH MD5 de4b0288d1d642affc9b6310ad339d38 sbcl-0.9.4.ebuild 5043 RMD160 f816dbe48adad6a68ef1d8adb0e889c71606895f sbcl-0.9.4.ebuild 5043 SHA256 3e5c4a8c0c21ec66f5a08c13395bfe2a48c0ca9b22373e5fdbedb40350889833 sbcl-0.9.4.ebuild 5043 -EBUILD sbcl-1.0.1.ebuild 5417 RMD160 48810e51dbc87c9d1a36848e8e431ec72bf7de65 SHA1 e82f31abed06f837f76639c8cb0cbda1b254a9b8 SHA256 610483d5ad4a5e50924f908eeb0d7b2814367496911e65cf8f30faa62f679168 -MD5 d8ecd10b39fb6e3ca2132dda92dfef30 sbcl-1.0.1.ebuild 5417 -RMD160 48810e51dbc87c9d1a36848e8e431ec72bf7de65 sbcl-1.0.1.ebuild 5417 -SHA256 610483d5ad4a5e50924f908eeb0d7b2814367496911e65cf8f30faa62f679168 sbcl-1.0.1.ebuild 5417 +EBUILD sbcl-1.0.1.ebuild 5418 RMD160 58bcb8933f85a5aced6413b8c05260b9d2e42b64 SHA1 05479f0c5fe3747b1941aac376b25cf569ff4716 SHA256 abeb77039ad212a0acf0d88cbcd3c1d2a267b7dcc9b91714237cc6eb9027cff3 +MD5 f9ea8d8d14a1687e4554e1bb1db5a09a sbcl-1.0.1.ebuild 5418 +RMD160 58bcb8933f85a5aced6413b8c05260b9d2e42b64 sbcl-1.0.1.ebuild 5418 +SHA256 abeb77039ad212a0acf0d88cbcd3c1d2a267b7dcc9b91714237cc6eb9027cff3 sbcl-1.0.1.ebuild 5418 +EBUILD sbcl-1.0.4.ebuild 5378 RMD160 88437857f55af0fb699747aa6c5f4ec4d33ea376 SHA1 366b5e0ba8ee209ed9f5375488ce7eeb812a27c6 SHA256 4af82cf8b0ec38840af15b46ed41fd363803613d0024307fcb9703ce8cbbdfe0 +MD5 e157bc9534f55ceceb878e78eba95d80 sbcl-1.0.4.ebuild 5378 +RMD160 88437857f55af0fb699747aa6c5f4ec4d33ea376 sbcl-1.0.4.ebuild 5378 +SHA256 4af82cf8b0ec38840af15b46ed41fd363803613d0024307fcb9703ce8cbbdfe0 sbcl-1.0.4.ebuild 5378 EBUILD sbcl-1.0.ebuild 5417 RMD160 c799219392c7fc8f381338d25b00c08d7bf4a3ec SHA1 c75285225e999e1f409b3c915fb8c553fcfdd830 SHA256 2ca4941bc54c42983eeb38b7ad057fb785d9588775fbee1bfe613fcd651e6118 MD5 683c351fdddade0ef75bbd4178df05a6 sbcl-1.0.ebuild 5417 RMD160 c799219392c7fc8f381338d25b00c08d7bf4a3ec sbcl-1.0.ebuild 5417 SHA256 2ca4941bc54c42983eeb38b7ad057fb785d9588775fbee1bfe613fcd651e6118 sbcl-1.0.ebuild 5417 -MISC ChangeLog 33863 RMD160 4da237ea066ac315d89516d1db2a201feca7ef30 SHA1 7dcd24d64dfd258f82bd867ca969f32441a195af SHA256 0ee7692166aeb7dd4592e9a8ebb93495bb371b36428e1ba4b26c69cfa8548ac0 -MD5 d4953cade80f86ea66cb177cdc2b1833 ChangeLog 33863 -RMD160 4da237ea066ac315d89516d1db2a201feca7ef30 ChangeLog 33863 -SHA256 0ee7692166aeb7dd4592e9a8ebb93495bb371b36428e1ba4b26c69cfa8548ac0 ChangeLog 33863 +MISC ChangeLog 34029 RMD160 aa186b8e78e31e96af95cf635d04ffcfd700257c SHA1 5639e8ab323c8f0c29f973690ea18f0383bc03e5 SHA256 641f7b4541c4c10fe29cff8a8330e6c8971db58975c76e92b8ddf069df919516 +MD5 a99e74ac5522a683386fb85d1e049383 ChangeLog 34029 +RMD160 aa186b8e78e31e96af95cf635d04ffcfd700257c ChangeLog 34029 +SHA256 641f7b4541c4c10fe29cff8a8330e6c8971db58975c76e92b8ddf069df919516 ChangeLog 34029 MISC metadata.xml 1004 RMD160 79462681370688e5a3700593b5b6c9401bb7ccde SHA1 b800796ace836a62cd9d500487f3c6e21d89f5f8 SHA256 4cb74fa43cdc4e8291063beae14ca74fb605508225913474763ad3fb7e6985d7 MD5 276b2c3efa0ff299306d94ad4704a9e2 metadata.xml 1004 RMD160 79462681370688e5a3700593b5b6c9401bb7ccde metadata.xml 1004 @@ -159,10 +163,6 @@ SHA256 b0684083b96c6706dfa877e082e04d5ee49bfcc3808d77743f903036158f6edb files/di MD5 334245fd3e26cb19c7e5fc820f022a1a files/digest-sbcl-1.0.1 2056 RMD160 0b5da914a8eca165dfc9e0a832b4842fbcdbcd04 files/digest-sbcl-1.0.1 2056 SHA256 4e95fd999984133f149c1f191296714798adccf6088b664834e39575cca65dcc files/digest-sbcl-1.0.1 2056 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFGF5qgNQqtfCuFneMRAnInAJ9M8kHQ+FWQiCRjd18bW53vEo1BTwCeNeWm -+Q4QSCdQWQPu1UIiEUQbVp4= -=bOUB ------END PGP SIGNATURE----- +MD5 088fdbeb56f41b6c20bb924bc8e1f688 files/digest-sbcl-1.0.4 2038 +RMD160 fed7b90be410b775d2ad773ae55475e2c1977699 files/digest-sbcl-1.0.4 2038 +SHA256 c19317a3420439e1e321cfc522509fa9852d2ec22dd94a6207143773b0af9ac6 files/digest-sbcl-1.0.4 2038 diff --git a/dev-lisp/sbcl/files/digest-sbcl-1.0.4 b/dev-lisp/sbcl/files/digest-sbcl-1.0.4 new file mode 100644 index 000000000000..0c269e424f5d --- /dev/null +++ b/dev-lisp/sbcl/files/digest-sbcl-1.0.4 @@ -0,0 +1,21 @@ +MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +MD5 029b85186984d0bfc8b49c4de1e8e45e sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 +RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 +SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 +MD5 46d67859cac0d3b748310a93311b308a sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 +RMD160 c60dba2a0278acf787d53a93ebac4de03c1d5ed8 sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 +SHA256 5cb563b19d1dd828e55bde9763404f5b908c9f5a043ba8c443415291b969b3d9 sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 +MD5 033b04259a929e71393281981fdf1f7a sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 +RMD160 7a544bedebd4389eb75fe67bb48c0d25f677bc0d sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 +SHA256 3db39ce36b1efc42cf99fc1be355aa8c0107e60ffb56f50bb001cc9b5cab70eb sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 +MD5 ba1d967bbdba88da7c8ea965c5508f26 sbcl-1.0-powerpc-linux-binary.tar.bz2 6841127 +RMD160 11cba4cec1efed9d9b322ab80d58ec63b93f66e4 sbcl-1.0-powerpc-linux-binary.tar.bz2 6841127 +SHA256 912bdbee882907b5d4437fb9611637e31801db5303ddcd34f9514a386b0b995f sbcl-1.0-powerpc-linux-binary.tar.bz2 6841127 +MD5 2d7d9289e036fcf6dd098585f01ff03e sbcl-1.0-x86-linux-binary.tar.bz2 7648991 +RMD160 8b9ee33c023592b78d0adbdb4c3d2d0cd150bc94 sbcl-1.0-x86-linux-binary.tar.bz2 7648991 +SHA256 d0de659330368584d604ac54f38576d8b4e80d30c4c9d43cb8def8919b8b2878 sbcl-1.0-x86-linux-binary.tar.bz2 7648991 +MD5 5df9a3171250ee97b823bf3796a3a90f sbcl-1.0.4-source.tar.bz2 3104865 +RMD160 0b4e3ee4ecf2ce298ecde7b8f0c9b94428bbc4b2 sbcl-1.0.4-source.tar.bz2 3104865 +SHA256 f7ba981b197fce757772761c6ee4f6640402e8d5265afaf1975f108bb9b1283e sbcl-1.0.4-source.tar.bz2 3104865 diff --git a/dev-lisp/sbcl/sbcl-1.0.1.ebuild b/dev-lisp/sbcl/sbcl-1.0.1.ebuild index 1f1fa3504903..081cb5132aab 100644 --- a/dev-lisp/sbcl/sbcl-1.0.1.ebuild +++ b/dev-lisp/sbcl/sbcl-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.1.ebuild,v 1.4 2007/04/07 13:20:24 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.1.ebuild,v 1.5 2007/04/07 13:53:15 joslwah Exp $ inherit common-lisp-common-3 eutils flag-o-matic @@ -24,7 +24,7 @@ SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2 LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc x86" +KEYWORDS="~amd64 ~mips ppc ~ppc-macos ~sparc x86" IUSE="ldb source threads unicode doc" diff --git a/dev-lisp/sbcl/sbcl-1.0.4.ebuild b/dev-lisp/sbcl/sbcl-1.0.4.ebuild new file mode 100644 index 000000000000..85b11fb1aeca --- /dev/null +++ b/dev-lisp/sbcl/sbcl-1.0.4.ebuild @@ -0,0 +1,182 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.4.ebuild,v 1.1 2007/04/07 13:53:15 joslwah Exp $ + +inherit common-lisp-common-3 eutils flag-o-matic + +BV_X86=1.0 +BV_PPC=1.0 +BV_SPARC=0.8.15 +BV_MIPS=0.7.10 +BV_AMD64=0.9.14 +BV_PPC_MACOS=0.9.11a + +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 + x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) + ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-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 ) + amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 ) + ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~ppc" + +IUSE="ldb source threads unicode doc" + +DEPEND="doc? ( sys-apps/texinfo )" + +PROVIDE="virtual/commonlisp" + +sbcl_elog() { + local method + case $# in + 0) method=elog;; + 1) method=$1;; + *) die "Invalid number of arguments to scbl_elog" + esac + $method ""; while read line; do $method "${line}"; done; $method "" +} + +pkg_setup() { + if built_with_use sys-devel/gcc hardened && gcc-config -c |grep -qv vanilla; then + sbcl_elog eerror <<'EOF' +So-called "hardened" compiler features are incompatible with SBCL. You +must use gcc-config to select a profile with non-hardened features +(the "vanilla" profile) and "source /etc/profile" before continuing. +EOF + die + fi + if ! built_with_use sys-libs/glibc nptl && (use x86 || use amd64); then + sbcl_elog eerror <<'EOF' +Building SBCL without NPTL support on at least x86 and amd64 +architectures is not a supported configuration in Gentoo. Please +refer to Bug #119016 for more information. +EOF + die + fi + if (use ppc-macos || use ppc) && use ldb; then + sbcl_elog ewarn <<'EOF' +Building SBCL on PPC with LDB support is not a supported configuration +in Gentoo. Please refer to Bug #121830 for more information. +Continuing with LDB support disabled. +EOF + fi +} + +src_unpack() { + local a + # `use ppc` returns true for both ppc linux and ppc-macos systems + # specify + if use ppc-macos ; then + a="${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2" + elif use ppc; then + a="${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2" + else + for a in ${A}; do [[ $a == *binary* ]] && break; done + fi + unpack $a + mv ${PN}* sbcl-binary || die + unpack ${P}-source.tar.bz2 + pushd ${S} + epatch ${FILESDIR}/disable-tests-gentoo.patch || die + epatch ${FILESDIR}/vanilla-module-install-source-gentoo.patch || die + popd + sed -i "s,/lib,/$(get_libdir),g" ${S}/install.sh + sed -i "s,/usr/local/lib,/usr/$(get_libdir),g" \ + ${S}/src/runtime/runtime.c # #define SBCL_HOME ... + cat >${S}/customize-target-features.lisp <<'EOF' +(lambda (list) + (flet ((enable (x) + (pushnew x list)) + (disable (x) + (setf list (remove x list)))) +EOF + if use x86 || use amd64; then + use threads && echo '(enable :sb-thread)' \ + >>${S}/customize-target-features.lisp + fi + if (use ppc-macos || use ppc) && use ldb; then + sbcl_elog ewarn <<'EOF' +Excluding LDB support for ppc-macos or ppc. +EOF + else + use ldb \ + && echo '(enable :sb-ldb)' \ + >>${S}/customize-target-features.lisp + fi + echo '(disable :sb-test)' >>${S}/customize-target-features.lisp + ! use unicode \ + && echo '(disable :sb-unicode)' \ + >>${S}/customize-target-features.lisp + cat >>${S}/customize-target-features.lisp <<'EOF' + ) + list) +EOF + cat ${S}/customize-target-features.lisp + + find ${S} -type f -name .cvsignore -print0 | xargs -0 rm -f + find ${S} -depth -type d -name CVS -print0 | xargs -0 rm -rf + find ${S} -type f -name \*.c -print0 | xargs -0 chmod 644 +} + +src_compile() { + local bindir="${WORKDIR}/sbcl-binary" + + filter-ldflags -Wl,--as-needed --as-needed # see Bug #132992 + + LANG=C PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \ + ./make.sh 'sbcl + --sysinit /dev/null + --userinit /dev/null + --disable-debugger + --core ${bindir}/output/sbcl.core' \ + || die + if use doc; then + cd ${S}/doc/manual + LANG=C make info html || die + fi +} + +src_install() { + unset SBCL_HOME + dodir /etc/ + cat >${D}/etc/sbclrc <