diff options
author | Andrey Grozin <grozin@gentoo.org> | 2013-10-14 09:37:54 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2013-10-14 09:37:54 +0000 |
commit | 03555000ff13afb43f9588881b5068d177cc2a01 (patch) | |
tree | 956deb16d7538b3ff9dd17b9efe889e0174f7002 /dev-lisp/sbcl | |
parent | Add support for gentoo file formats (ebuild,initscripts) (diff) | |
download | historical-03555000ff13afb43f9588881b5068d177cc2a01.tar.gz historical-03555000ff13afb43f9588881b5068d177cc2a01.tar.bz2 historical-03555000ff13afb43f9588881b5068d177cc2a01.zip |
Version bump
Package-Manager: portage-2.2.7/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 | 35 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.1.12.ebuild | 204 |
3 files changed, 229 insertions, 17 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index e6dfba04e4dc..47081350b8b7 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.194 2013/09/12 15:25:44 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.195 2013/10/14 09:37:36 grozin Exp $ + +*sbcl-1.1.12 (14 Oct 2013) + + 14 Oct 2013; Andrey Grozin <grozin@gentoo.org> +sbcl-1.1.12.ebuild: + Version bump *sbcl-1.1.11 (12 Sep 2013) diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index eb68ea19d828..c0994f61dd27 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -17,28 +17,31 @@ DIST sbcl-1.1.10-source.tar.bz2 4214032 SHA256 da1b4004c138829036250263591f2fcf3 DIST sbcl-1.1.10-x86-64-linux-binary.tar.bz2 9560032 SHA256 f20d142fa1498da6fbbe88d0e3c85aae50e02267f93132bfa376a67376ba70f5 SHA512 28a2b6e98d2ac0052ff97273b5a47a054d0b66c13c44462d4554ceec65b541e2df5a2487461d3c55e4b07235a32b1894a7b0029df88c0aa76e7e73f845d9f0cf WHIRLPOOL cff10eb2f48655379c900b628c30dd6b2fc692a83a4cb2443533c1fb788f951891d9a03d3686fc1474aba8de35da1c90666ccb65e44474266ba353eb10c7d347 DIST sbcl-1.1.11-source.tar.bz2 4213987 SHA256 9ed507652ee475d6c7581246a87fd47c46196646f3c9141d2416e3ded67cd9f7 SHA512 c5397c54b3a181682130ca7356c1d6a7d22239d2ba8c9509afcae5e7210c9ec2e10db65b98b822b3d5e63db2a94b4e8083bfdc6abd45f6296f1ef8c5d5ebd84c WHIRLPOOL e23560482a2daccaa3cd20a5476c6b274ff6f4ea5c2663f7cc9a8214a23b2b3a9b55ea461c547f45b672d3dd6bc4cb560de39fafc78e1e3690aebcb62efaf9d4 DIST sbcl-1.1.11-x86-64-linux-binary.tar.bz2 9536385 SHA256 c957cf363dedd8b89cedc91754c1b0e7bc09480afdf3f4c6cc4a452f0cc8eca4 SHA512 b210f1189f639b0f6050512132e61dca0b1389702ad6c5f68bf92b076e0945e116a46a3a2c1b45c54f4f4a2da54e81c8dd00060cff5c9ebb26fcc9f21b1e22c7 WHIRLPOOL fd0c2b538caa8abe3860c07105aecd592f9c131aa81af1d5e9d1f5673c07221fc924fb2b4f1b85daa9a1a8fefcc0e939521a779b86ef84236dbb33fd4d283dce +DIST sbcl-1.1.12-source.tar.bz2 4217764 SHA256 8c9412cbdb601b636ff3e3c7908ca46d9d97dcfedec33eb634db13122f357457 SHA512 1796dcd5bab4e845c4342fb0a074212804450bdd1547deeb0909391fbf92142ae7f189946a6f07045aa3694121c991a6c81f60c9cfc61e5a4af23c83c65611b8 WHIRLPOOL 6a6562ffabbbbb732f27b72b70a87832edc3a4ca870f3f8047901a55029c7474086a0f83fdb02846322eb8ddb5782ee8f5657d1340ccdde8bc0ac38ac4ba41ca +DIST sbcl-1.1.12-x86-64-linux-binary.tar.bz2 9508638 SHA256 267d2d1c3e1ac380a36d61e404486eb943f86f0c67bab2adffcf430ff729c75e SHA512 bac696564d681edf99bcf409ffa7fcfc4a4218a0715dfda657dbee2d83983a1752420a5f99f7f262177486b1896cb16224dc06ce2b3dc404cc3398e131d49cd2 WHIRLPOOL be577acc58cb18089ae38c78408b550161af3eb97e73241d8dfc1fcf9f7b3ab0649cf620db1d4b942f876fe3768f2e9fbd14adf030b3de2258ab05d1331fdb38 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.10.ebuild 6789 SHA256 3526bd647f352d15b55a0500c1218cf813d18534c6f5050b7bf55945a17ee306 SHA512 18e63a4d101533c82c7057f5de72dd000fed03d643df98a5405634300b158b78360878822eb2518b2803ac45280c8922b878bcde6f987372caced689c7426e7b WHIRLPOOL a5aaf72387404ebce876e51755166306b3ff093fa539b65d7520eed7764e569d778c9300c351608507a0ef2d877d66306f5047dc60dbebac4a9f4e4db3c202c1 EBUILD sbcl-1.1.11.ebuild 6784 SHA256 6c13a6a71e0dab20b7a9bba4befb00fefe5ad45b8bac7f1658f4864dba9df602 SHA512 5f29862a34e49b2fe746795c7c12a005670509ad437ec5a302546fae59c928e3d5275fb0bef200d418eeb50fb0f225ecc77d1d21311686c252f5eca00d9e660a WHIRLPOOL fe1033fb3d87bc6449627026a26855636949d6e2bba00889a719d81fe0e0b637620c1db7e690c0a260fe0d13fd78e675345558501ebdc593f6da714b3217a997 -MISC ChangeLog 52581 SHA256 08bb68d5e9567ff57bf9f2919444e7a459447418eb2b3fd92e43baaa5f36eb84 SHA512 15851d060698358c83324c4ebaee83e1a69b8deb72f3aa90d4c46cbcef118f2333307e52ab4e28c938e1dc5c179fa0a31a1583229e23ecefd205fc3acf8c9068 WHIRLPOOL f110eaac182aec9226a86398da8903bcfe4abc06256ca19f6335e93d688d010d5d6583bfbfed2e9157b29f2f083afd268592349b230f7d7480c31e004a83ed90 +EBUILD sbcl-1.1.12.ebuild 6784 SHA256 0fffd7fa8b13464838088253046df6bf52fb3d9d43311a8babbfa3d745c05c98 SHA512 c096bf22483d25df1be39e094c31577026e1be7a275c73cf67dd12fb24e25d0152900f083bd5e448aa294f2787f5c5dbf7eae6e1a9e1c4952d3368fe14136d67 WHIRLPOOL d5a344f8a94c0171d4cb06fa2eaefa817c8347950c5ba6a3243695d7471e643941c81ad67fb5cdefabf2e6e7fa4651d57256a76b1193b523df4a9dc818ac4779 +MISC ChangeLog 52695 SHA256 ba4d3c7150c336434a2bed95adef0af2e30829901d5c8e40337eed57a6502567 SHA512 b1d2bacc2ec6394aad93ceb7892621dcca56e58f9933263bcb4230477ea725a496148d76c94766c04d698a596840d851713db9ad817eebe8460f82a1a569caad WHIRLPOOL 2c95de6c9c2484463aeefe490cea3dac32a4142df6c944c60ed01f87f86499b78a76edecdebdce0c64a17c7ffda521cfd8a191dca1c7ed79d683ac03fa0f442d MISC metadata.xml 1676 SHA256 17fb0c325844368c649a311f15fbb53a87e5ef987021c52424ffa647745101f3 SHA512 54f12b8385602a6f26b35bb63cbfb0414788e899bc2f5240f60ce249d8ac914c1e236b8d66cee893eac1c3602661869a4333223fa4ce043bd284bde51fa99512 WHIRLPOOL 90a7306f698aa56ab618874f1d325bd3bb789961675d4b0728744abff152bfb6e8cb7303c3cc063782e0411ce27551527c313b404846dadbe2638c5ea086e2f1 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.21 (GNU/Linux) -iQJ8BAEBCABmBQJSMdzUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJSW7tdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwOEM0RURGNjY5QzVBNjMwRkU3REVCOTQz -QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2McX4P/joJ+xteirmRnSp4VGE7pMRN -I28AFqu7P8zFIHdbC1nrbxphmvq8H65oHzHyhbjQ0WZnwKse40+krbJay8d0gO0j -wUT2p1jfd1gzYwsK+71Jom6B+rrJIs9BUlgPxjoP4GA72NzNDQY9xz2Kzoab9EJF -WbmmeVIdGdJ6robO3cjek5p3M3KijJ8o+3W5dThUQ/kB9GdGv07a1KZL2YKirkj0 -6cczf/dyYfeGuq5k+BDKCL4tvdnKZ6lTgej4kAzq+7jMZFKkixw6/7KlUWSxjfFf -x3ajBEofU36tYEJ1xpEUF+/jPTreCEk/IKnr/sjlhdRcAlT4urOeNcUUTP9R6uA6 -0xsoiHTPwUc+YSD4w4ACSY97yKvmrArY+U7qhjQT42e5Foa46hVXDRcs3hCzKiOm -U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1.1.12.ebuild b/dev-lisp/sbcl/sbcl-1.1.12.ebuild new file mode 100644 index 000000000000..26de2b33d85b --- /dev/null +++ b/dev-lisp/sbcl/sbcl-1.1.12.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.12.ebuild,v 1.1 2013/10/14 09:37:36 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.12 +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 >=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}" +} |