summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2013-05-01 09:27:21 +0000
committerAndrey Grozin <grozin@gentoo.org>2013-05-01 09:27:21 +0000
commitb3831a02bd82d097163097bfdc6d80a889508910 (patch)
tree9cfd213965982b81dd04d552c7e544565ba6aeb3 /dev-lisp/sbcl
parentStable on arm, wrt bug #467514 (diff)
downloadhistorical-b3831a02bd82d097163097bfdc6d80a889508910.tar.gz
historical-b3831a02bd82d097163097bfdc6d80a889508910.tar.bz2
historical-b3831a02bd82d097163097bfdc6d80a889508910.zip
Version bump
Package-Manager: portage-2.2.0_alpha173/cvs/Linux i686 Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r--dev-lisp/sbcl/ChangeLog7
-rw-r--r--dev-lisp/sbcl/Manifest33
-rw-r--r--dev-lisp/sbcl/sbcl-1.1.7.ebuild204
3 files changed, 228 insertions, 16 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 093e85743e00..b3c717071f71 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.188 2013/04/20 14:17:21 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.189 2013/05/01 09:26:54 grozin Exp $
+
+*sbcl-1.1.7 (01 May 2013)
+
+ 01 May 2013; Andrey Grozin <grozin@gentoo.org> +sbcl-1.1.7.ebuild:
+ Version bump
*sbcl-1.1.6-r4 (20 Apr 2013)
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index 0a763930ad5e..3e7aae78abae 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -16,27 +16,30 @@ DIST sbcl-1.0.55-source.tar.bz2 3611026 SHA256 e3216a7b9c302b6c1431d0f1ae444008d
DIST sbcl-1.0.58-x86-linux-binary.tar.bz2 9313124 SHA256 a2195fce096fd7c64acef60ca496a29d703afc61eb39c366fdd9e56dc8982f84 SHA512 2776faa09f8a3d35ccb2745ec4a07e78bd714c47ae39032bbef3161d599d14fcc6313e65629df06b576cb973012b9c8356fac47bf7b886f9549d688fab3c4f98 WHIRLPOOL d98dda83b6ee02a777c787013ada2ca0a4548c75abe907a29215a48693bbbf787a6c6f83e07b2e8ab94afae261572dc0222570927357656d388329541301537c
DIST sbcl-1.1.6-source.tar.bz2 3718817 SHA256 a25b3c9429db88455cc8ef98f8a53d08e1a65f1e9df3df6b23b75412b15cb9c5 SHA512 7627bac3522aef0332b86ff6e4594cdde23f9f6868626750a4363f8a01b606093eb4494d9972d544858a55f81d4aef701a4cfa7b6079d1b1c70cf2ef9a9855ca WHIRLPOOL 9f2cfb31f3e6c1287bee68b7ef3d9a4de2b8126579500aba58c3c019882ee43efbf5f8a9f0d067a11508d95fb040cade1b47e23097d8b380b9020822300c595f
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
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
-MISC ChangeLog 51741 SHA256 59d814e92521d878aa9a667e6dd5d263e82ba1ff29d75581b646457d413fa2f5 SHA512 5829402c2dfca7b5b889ee491e2bd48956f41601d67888fa15444711010bb1848d7412b178e329a3fb158bf3763723d63b42e12a356c0dd14b3c23059d8867a1 WHIRLPOOL e6e45a7c295179abe4b0933af04acf05176b363823e82953828c498b4f6a5b83a3b524d8b1c19b522d306bc85c11afca47bee933db103feff02f6c2d5fe504fc
+EBUILD sbcl-1.1.7.ebuild 6781 SHA256 e179b4230cc07eba889f2a950b61f2fbf93b4aa12e0c8eadd9cd952c3e10e74d SHA512 da156d41e0af75553e54340ded3b55719247233e7f83c2b0d2b135edd6da5087f4a53ecc8cfe6af663a7493be6f9b1660c91e87ea8b7a6103343771f7364fced WHIRLPOOL 71b332bd280dea4b1985c96e3f88aff5dd162abb290cb0a5cd1b8ef94f3a74b4acbdd166257b0679d83e2d86448a57d34c1a75a252cf0f7f87a55d31919c302e
+MISC ChangeLog 51853 SHA256 be4d537190b7e55b43e3a8e8f6e6efda453b47e9db037479f7bb8b09373c135c SHA512 551b1c201660256a74b6d8d79a712f1790f28f580a1bf48c0dbf2b92b11390769b67c9ef8c209f6e9e3c84b122704850fae873a23abe297fb25304de18ab14c4 WHIRLPOOL a4d866c87bd8b2876c9f498a43d1b310ffad2f4f9fd176f729c1ffc0050cf12be14b51fe282192195939f58bc8c6632ed8dc991621fd1ac8f0ecda1fd7ad7d17
MISC metadata.xml 1783 SHA256 9d021d8856805d8e2560d25e99dae01b5fb105bc3b5f39863750cd5dbb7313e7 SHA512 751a71b712d6c06513484a5538c1eae3a6b391c6a1e053c558a3bcdcc2fcf3387258f2553ddaae4028d8f599130f5d60b4f19d49bd9d2a86605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CXt8kPSMOzJ+NEw+p
-1rNbO4w6QDVrQVgtHjcC
-=EOe7
+QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MYVMP/17OxLEK38yDeXYLYwYNI2/b
+NNDfWV5rdC9nA1A4OILmBZsT9gdyL3hNBR/mj2Ar9GJdN9xJuDKJYegOu38sGrs/
+OML0jzbIBzAWLhTOT4phJcRk15UOXmeyJPsY5iHyR/d81iLfw+bk2MwPGyBD+S2p
+wmzz+MXz+gM1bfx9M/fNPOqEMyYwe8Fy7U9rq2WJXjpPPuHxl5yakjHjw5FHVQVX
+Bs8dNEUYmuA0hN5E2zX9gk9Olz2EcOyYVpkhz3nC3E3Pf+9AKQssptF30uVPeESY
+yR7VAHlDMT982qHCKU97l/noKG4oRu+IWa4JygpkdighIAr95wwbLbyrt6ymGyQy
+kviadUcFMr2575or1L9swgJMdveLVCELLAaE7wxk3C0HK9r69KpSgtFL9vdatyVX
+eniKQEVxIBgfuos5NdaTQiyjEPupCXdSHeI1NjjCbIY4hRRim+bgjW3S+3IjQzx6
+6jloQrSzINdCaZ7+6lo0X78HZ5tcOVArmdhwCGSuWKPJctCm6J+cz9GpeIyijJ+H
+3FSKCokFn9cOIcjbi7RnmSfq9pn9Auo2361jS9atP5wccrrunu2O2mrW/JWaNGUI
+W8hKVyuvZthIU60O1pFbkdOlpBa+Z4vtG7xt1OqbQi+8vtQWnqjz2VJhAUKD4mgH
+BQGG4GX9W+6XpzE7yXwv
+=SBVu
-----END PGP SIGNATURE-----
diff --git a/dev-lisp/sbcl/sbcl-1.1.7.ebuild b/dev-lisp/sbcl/sbcl-1.1.7.ebuild
new file mode 100644
index 000000000000..0bf86e20b4b3
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-1.1.7.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.7.ebuild,v 1.1 2013/05/01 09:26:54 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.7
+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"
+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}"
+}