diff options
author | Andrey Grozin <grozin@gentoo.org> | 2013-06-18 19:03:55 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2013-06-18 19:03:55 +0000 |
commit | 0a3619e77ca9acdf2cc0fbd035600c157637b798 (patch) | |
tree | c71a9401f41d7bc3c01e2cd79e6fbee1fec68091 /dev-lisp/sbcl | |
parent | Add upstream snapshot to have a functional version in tree again. Current sta... (diff) | |
download | historical-0a3619e77ca9acdf2cc0fbd035600c157637b798.tar.gz historical-0a3619e77ca9acdf2cc0fbd035600c157637b798.tar.bz2 historical-0a3619e77ca9acdf2cc0fbd035600c157637b798.zip |
Version bump
Package-Manager: portage-2.2.0_alpha179/cvs/Linux i686
Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r-- | dev-lisp/sbcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/sbcl/Manifest | 27 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.1.8.ebuild | 204 |
3 files changed, 236 insertions, 2 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index d87ffdc60eee..82bc372c7b2f 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/sbcl # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.190 2013/05/10 09:05:52 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.191 2013/06/18 19:03:29 grozin Exp $ + +*sbcl-1.1.8 (18 Jun 2013) + + 18 Jun 2013; Andrey Grozin <grozin@gentoo.org> +sbcl-1.1.8.ebuild: + Version bump 10 May 2013; Patrick Lauer <patrick@gentoo.org> metadata.xml: Remove unused flag from metadata diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index 8c4d60a661e1..a48692e0a3be 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 1.1.6-fix-svref.patch 2418 SHA256 214ff820c4816f0fa11d2a758c946976947b6be3317b6f6b3f35eb6293abbf89 SHA512 e01a9214dddfcb11d4165a021fb845661458767fd096a2612fc563a2ece4bc4b5e224bb4aca83bd581108e4467ca28efbc56f8a0b7e9d2ace32b8706192197db WHIRLPOOL f5a2498b68331a3d9bd3fb05a03b85a05cf2129bc6a5359a975e55967353899b0663a188d89d3fceb1bf39620837b60ce2fb250a38c5e330369d415456d107f2 AUX gentoo-fix_install_man.patch 399 SHA256 7e3e3f84be6d4dae51953825daaf26d8fe1482fd2f4e9d017297dd8ef55ebe47 SHA512 bc5118ddf2fd851dcabf773cc7443fa0d3f5a5b83715173110f9164c631faaf8c2d6b247f7ac205da23bb388ff459eba228deeaa2a45202870b7f97376564030 WHIRLPOOL abc43631045e56b9d373c3966eb1d2f5575d258db239e6f1f9a2247492fcb0aab8d000ece39c504aeec5462f7e0ce7e6efc3a215e5776fa64d460b20c0f52a21 AUX gentoo-fix_linux-os-c.patch 418 SHA256 50b310b3d72b380b91828730a5539638decb6a4df6d28f93dff84ddad824b2ae SHA512 1c78d991c8685b8beeb41cfb3d79aafab4ffa08a36adba7741faefc1a66be3d5ab73efbce43d4d0424cdb86946997a945799fe42a4df44a9b8823a8b7d401f84 WHIRLPOOL a106afda17d6cf67a5c41a6f0b71e0bc44131eaaa5b07ba2d6afb332a8d70b4c5a0892f30904db7992732d1c560ade735bc8ab2572d3be5bffa91ee8c7633640 @@ -15,9 +18,31 @@ DIST sbcl-1.1.6-source.tar.bz2 3718817 SHA256 a25b3c9429db88455cc8ef98f8a53d08e1 DIST sbcl-1.1.6-x86-64-linux-binary.tar.bz2 9221180 SHA256 36884109541f9fc612f4eeafa43d09d7bc37f317e35d3f9198bf0e5a7e04a2eb SHA512 5905ddd1a27fee7b6c3dddecacbf0500923b64ed13a35ac1d53a2e4b6dbf82cdb843b89b87f591d1b574e54d0d07e1131e92aaaf7c9063412b6d0a9abc366aa5 WHIRLPOOL bcf3efb4763b711d96a1c02e8d873385bd35a8ed5bd8ac7febfc83eab46be1a6a96ae895849431e49aa101a2779d5b36066294446dc923a315b9bee738b91c54 DIST sbcl-1.1.7-source.tar.bz2 3721856 SHA256 c82258b8c53073d6e7ac7e03cf77891460cce11abe2e276ef8eda689c30d5fbc SHA512 266dff822e1bc69b3ac2323b68186ded069fb1406437a37ad58a6a67cc82205f156f409cde02f91e898aef07b3ac2bcad88caae1571b095e18177bbcb42c65f1 WHIRLPOOL ae2f36bb6178fa01e6d71c683ab8770a92a84a5649c57491a0068afa1877c7321da4e7555b9ef5f175849a2af236a36699eafe46c335888dda9c05e49de9ca4d DIST sbcl-1.1.7-x86-64-linux-binary.tar.bz2 9241663 SHA256 3406c6f527bb50c6d4a5121ee01767c3b213ef41703d066597afc0eb6b5d97cf SHA512 a07e6d4f15a309b460e2ec0b962c197c6d678bc5871108c02e4c46ddb43c4b50043fd6a37df8ef061ef52f5d7ed7cc1105154e5ea3b557fdae34f2bb18a6b46f WHIRLPOOL 4e1f572ff432af42de55f0313602d0043c1a21299f8dcfe179f99c1e785c908d736940fcbada5085d96ba4c309bae371ef5255c5e5bc12da1c83856a69c99db6 +DIST sbcl-1.1.8-source.tar.bz2 4108784 SHA256 37ca54d018f49c095e0bf575c2eac825dce48589a9de1ac7bfaeb525a2beacba SHA512 5c5ab526fa95b493af60509503c87af89b4509346ecb7f3890c88f81cb9fe29358c64ed3fdfc1ced3d5348d3b04f7e6f0b7cae3e6b95b7d25042e233a9571fc7 WHIRLPOOL 9a5b188b8cb84853ee44226f3a2f28d3cafd3c33d21f821777da76417da11f261889bf6dec88a0cb3ee848dd5026a8c88220ee2da54b324731cd8235ff1b15e4 +DIST sbcl-1.1.8-x86-64-linux-binary.tar.bz2 9350166 SHA256 3d5f93e8376dd6658582aadcd3675e7046b3ac0c933f6d2a23933bdae9930152 SHA512 976354f490193d0e4dbea20f08e6587668e3363a7d69ad25de0e16bbdb19e8be7a48f0ca2211826a97eccbd42634b0a12198da3e29f7918abdc165fe3c37c014 WHIRLPOOL 6ebcdfe7848ceead286da78c3ed5ea489475b90345df6c03c490acb1bc400ee176a9c597b2a2eeabeb586b9a0e676aa8351192fb4dff358e87f5f136e67abacb EBUILD sbcl-1.0.55-r1.ebuild 6161 SHA256 764c48efc217326b8a9862bcc4589df7c2e1ba2b164937a6c008bf7850f383fd SHA512 ff9c03ce7aa6f523efd4e4b6b41639cdafc45fa242dfabe59ef8c5d428bb9a6025b44420663ea38fdfc110b2ff84a13bf5bfc62f8a6a4ad65b20e13ac4e92164 WHIRLPOOL 3585987db968443527fb6d31f71c110638855e19915679d7a89ce9024c21e1c400fc7e4b1de2ca67b9aaded423e6d0b6552c09b160c4d9bff7aa92606ced36bd EBUILD sbcl-1.0.55-r2.ebuild 6230 SHA256 02574bec1fb07d17dd604daa7c4279a5125d0e9362247eaa2bde4ac55d0db607 SHA512 125165bf61e89a98f4796c792bc9c39dd8caa9595253bda3b2d50af762a5a597438966cbb5faa0d2e37563104b97185c88718be3d2df6a8fdb56af7bfe0d00c5 WHIRLPOOL 5f945702055282b0a989001f39b5ceb4de62ec750902018a3421562098298c405f23c855b2a00dd5a02b25aedfe3a92eab3de13a19de98670f15f2ebe6197a22 EBUILD sbcl-1.1.6-r4.ebuild 6810 SHA256 174a11627e240ccca9ffa289f4a0d0f3d9103f65cb9030dfe31327e629256dde SHA512 f3d7913578999c776f672f6c43cd6f8a12e805890b9704583e0e44b142fad86e9e88953feee57dbc8460319cebd76b9b1e6556a63f1f5b4b22062b9ab8c34792 WHIRLPOOL 9514b3bdcc662f17930b329e8d7e55ba7ba84b1a1e2928e2b3dc9afb31cff1a0b7f9391c2fbdc819797ccdb1c4d868767ea03481091871205f4d3ee48fdf44f9 EBUILD sbcl-1.1.7.ebuild 6781 SHA256 e179b4230cc07eba889f2a950b61f2fbf93b4aa12e0c8eadd9cd952c3e10e74d SHA512 da156d41e0af75553e54340ded3b55719247233e7f83c2b0d2b135edd6da5087f4a53ecc8cfe6af663a7493be6f9b1660c91e87ea8b7a6103343771f7364fced WHIRLPOOL 71b332bd280dea4b1985c96e3f88aff5dd162abb290cb0a5cd1b8ef94f3a74b4acbdd166257b0679d83e2d86448a57d34c1a75a252cf0f7f87a55d31919c302e -MISC ChangeLog 51954 SHA256 b8c5e7e69feae80d7d05a3517f61e1abbcd7f299a4b312406a4531fc64599912 SHA512 5e969c11d03ff80ca48300146a291d2ec3f8c29b78a8cd53d207754c031564258169dffb6fef9852d48a3f03333489705208edc204fbfa3b668ea65eb63d9728 WHIRLPOOL affde6718d5f44eaf54a5b98d9ee3edbb9ff340cbf37a38c0f6910db90dc0d48ceffd9f3600f47442b345f18120037a138511943bb82302872bbf0b73fca8b24 +EBUILD sbcl-1.1.8.ebuild 6787 SHA256 5dc506490083fbbef1e5236d839c9b31507819872415c127f9d2078f0af5763e SHA512 26a66665b4b368543a793651ce687c1d05b3393241220b35c56bbc618c7c78d0fe237602af89cc6e94be94c05c4774dc420a83dce7bd6e1898513381bdf489bb WHIRLPOOL 4b4fb3d56c7e54c6827167771de1b84d9be0d6b322733cc0e11b7966a186d1b61349efa6191eace3ba9beb3d7e8276bc366457be5db6472313cc14dc7418183d +MISC ChangeLog 52065 SHA256 7415ca513300c6e5807ce10ddcf0340927eef6ef10fd757d314cdb226273e70b SHA512 d20c9f9a930853b4a00dae2b590c83fae3f647269d8ae6b89b3958fe1f3e462588969d9d5802e481997a7c69886b8f6b63ce5fc7f7ffd095c82154822ef6ddf4 WHIRLPOOL 7aa57f6c19a82382d39c535c5ed60e4362559e073ee4700dd756ade019684b7960c4d29bff0507fa2bde498dad41d29ce05e748a18983a17ab249053d6059ba3 MISC metadata.xml 1676 SHA256 17fb0c325844368c649a311f15fbb53a87e5ef987021c52424ffa647745101f3 SHA512 54f12b8385602a6f26b35bb63cbfb0414788e899bc2f5240f60ce249d8ac914c1e236b8d66cee893eac1c3602661869a4333223fa4ce043bd284bde51fa99512 WHIRLPOOL 90a7306f698aa56ab618874f1d325bd3bb789961675d4b0728744abff152bfb6e8cb7303c3cc063782e0411ce27551527c313b404846dadbe2638c5ea086e2f1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQJ8BAEBCABmBQJRwK7NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwOEM0RURGNjY5QzVBNjMwRkU3REVCOTQz +QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MZxMP/1W4INXbP7HymZncWl3elz99 +y6CB4+gGkptsXkHZZK2cH/pPsTFwPcAz2rCE0DGbRX6LApxvxQ0smWR+w1lB8Aih +YNoyDhwI2+YUTNPJb6NMy7SuFY4S50QaMe46Ccu4sMdsemDaseSzS8T+x+RuN/9j +fA7ctN7CCzw2hvgsCB7QoXy7v/pMDyA3hrv7/WmthqnKpKA+XjuFFSffBT69QvJ5 +nNx2CB11BGyT7LovrpFO1t168pMAJyELLzASRZKWE7M6k+DPbdDstsTQ7FrWKA3J +X/t4q4tJ6BOh6qymCWQbZX8C4zxCzxEu2qKt4pR/QdvTEfw/XUYh2Ggkzbme3qjU +UAf8bcrtFze9NfGxFs+735ka5thLkF+6FwVVB6bndl+F86fMdYWo8nVnB6UmtLHl +FQIUJP1WoW1GnoqrY0aqaUJvSs5IGUIi/r/3GpQzqliRYp+aDiyNjYXhWrKs2BOK +/ObJvLxE/AuzcNE6u1tils21A9kA/nDkWPcoOg1s7CNUzF86sGiuFLmHqmosD7jb +DqtWH/TfjfWjq7iBa+CgvVkUyb9BmDLYZIoP0Ul/D3P8rhjplcUto1cg9w+9Bb9k +RItw9Tcou+ow8Q6OtDVVfa6Paja4yTzZClxbGLpObs1tbeF/kXy5zaDXwaW5L5hl +IV9fWDiUERMee+F4aWa5 +=65dA +-----END PGP SIGNATURE----- diff --git a/dev-lisp/sbcl/sbcl-1.1.8.ebuild b/dev-lisp/sbcl/sbcl-1.1.8.ebuild new file mode 100644 index 000000000000..9005f771c603 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-1.1.8.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.8.ebuild,v 1.1 2013/06/18 19:03:29 grozin Exp $ + +EAPI=5 +inherit multilib eutils flag-o-matic pax-utils + +#same order as http://www.sbcl.org/platform-table.html +BV_X86=1.0.58 +BV_AMD64=1.1.8 +BV_PPC=1.0.28 +BV_SPARC=1.0.28 +BV_ALPHA=1.0.28 + +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 ) + amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-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 ) + alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )" + +RESTRICT="mirror" +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug doc source +threads +unicode zlib" + +CDEPEND=">=dev-lisp/asdf-2.33-r3:=" +DEPEND="${CDEPEND} + doc? ( <sys-apps/texinfo-5.0 >=media-gfx/graphviz-2.26.0 )" +RDEPEND="${CDEPEND} + elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )" + +# Disable warnings about executable stacks, as this won't be fixed soon by upstream +QA_EXECSTACK="usr/bin/sbcl" + +CONFIG="${S}/customize-target-features.lisp" +ENVD="${T}/50sbcl" + +# Prevent ASDF from using the system libraries +CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" +ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" + +usep() { + use ${1} && echo "true" || echo "false" +} + +sbcl_feature() { + echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}" +} + +sbcl_apply_features() { + cat > "${CONFIG}" <<'EOF' +(lambda (list) + (flet ((enable (x) (pushnew x list)) + (disable (x) (setf list (remove x list)))) +EOF + if use x86 || use amd64; then + sbcl_feature "$(usep threads)" ":sb-thread" + fi + sbcl_feature "true" ":sb-ldb" + sbcl_feature "false" ":sb-test" + sbcl_feature "$(usep unicode)" ":sb-unicode" + sbcl_feature "$(usep zlib)" ":sb-core-compression" + sbcl_feature "$(usep debug)" ":sb-xref-for-internals" + cat >> "${CONFIG}" <<'EOF' + ) + list) +EOF + cat "${CONFIG}" +} + +src_unpack() { + unpack ${A} + mv sbcl-*-linux sbcl-binary || die + cd "${S}" +} + +src_prepare() { + epatch "${FILESDIR}"/gentoo-fix_install_man.patch + epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch + + # To make the hardened compiler NOT compile with -fPIE -pie + if gcc-specs-pie ; then + einfo "Disabling PIE..." + epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch + fi + + cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die + + use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk + + # Some shells(such as dash) don't have "time" as builtin + # and we don't want to DEPEND on sys-process/time + sed "s,^time ,," -i make.sh || die + sed "s,/lib,/$(get_libdir),g" -i install.sh || die + # #define SBCL_HOME ... + sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die + + find . -type f -name .cvsignore -delete +} + +src_configure() { + # customizing SBCL version as per + # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup + echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr + + # applying customizations + sbcl_apply_features +} + +src_compile() { + local bindir="${WORKDIR}"/sbcl-binary + + strip-unsupported-flags ; filter-flags -fomit-frame-pointer + + if host-is-pax ; then + # To disable PaX on hardened systems + pax-mark -C "${bindir}"/src/runtime/sbcl + pax-mark -mr "${bindir}"/src/runtime/sbcl + + # Hack to disable PaX on second GENESIS stage + sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \ + "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime" + fi + + # clear the environment to get rid of non-ASCII strings, see bug 174702 + # set HOME for paludis + env - HOME="${T}" \ + CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ + CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ + GNUMAKE=make ./make.sh \ + "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ + || die "make failed" + + # need to set HOME because libpango(used by graphviz) complains about it + if use doc; then + env - HOME="${T}" \ + CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ + ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ + make -C doc/manual info html || die "Cannot build manual" + env - HOME="${T}" \ + CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ + ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ + make -C doc/internals info html || die "Cannot build internal docs" + fi +} + +src_test() { + ewarn "Unfortunately, it is known that some tests fail eg." + ewarn "run-program.impure.lisp. This is an issue of the upstream's" + ewarn "development and not of Gentoo's side. Please, before filing" + ewarn "any bug(s) search for older submissions. Thank you." + time ( cd tests && sh run-tests.sh ) +} + +src_install() { + # install system-wide initfile + dodir /etc/ + cat > "${D}"/etc/sbclrc <<EOF +;;; The following is required if you want source location functions to +;;; work in SLIME, for example. + +(setf (logical-pathname-translations "SYS") + '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*") + ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*"))) + +;;; Setup ASDF2 +(load "/etc/common-lisp/gentoo-init.lisp") +EOF + + # Install documentation + unset SBCL_HOME + INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \ + sh install.sh || die "install.sh failed" + + # rm empty directories lest paludis complain about this + find "${D}" -empty -type d -exec rmdir -v {} + + + if use doc; then + dohtml -r doc/manual/ + doinfo doc/manual/*.info* + dohtml -r doc/internals/sbcl-internals + doinfo doc/internals/sbcl-internals.info + docinto internals-notes && dodoc doc/internals-notes/* + else + rm -Rv "${D}/usr/share/doc/${PF}" || die + fi + + dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO + + # install the SBCL source + if use source; then + ./clean.sh + cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die + fi + + # necessary for running newly-saved images + echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}" + echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}" + doenvd "${ENVD}" +} |