From 267426a2b44b1ec7d8eca2ed4dccdcee0edb3650 Mon Sep 17 00:00:00 2001 From: Paweł Hajdan Date: Thu, 21 Jul 2011 16:49:25 +0000 Subject: Version bump for beta channel release. Remove old. (Portage version: 2.1.10.3/cvs/Linux i686) --- dev-lang/v8/ChangeLog | 8 +++- dev-lang/v8/v8-3.2.10.15.ebuild | 103 ---------------------------------------- dev-lang/v8/v8-3.3.10.21.ebuild | 99 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 106 insertions(+), 104 deletions(-) delete mode 100644 dev-lang/v8/v8-3.2.10.15.ebuild create mode 100644 dev-lang/v8/v8-3.3.10.21.ebuild (limited to 'dev-lang') diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog index bb4b48ff71d2..27da13039920 100644 --- a/dev-lang/v8/ChangeLog +++ b/dev-lang/v8/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/v8 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.68 2011/07/19 18:40:25 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.69 2011/07/21 16:49:25 phajdan.jr Exp $ + +*v8-3.3.10.21 (21 Jul 2011) + + 21 Jul 2011; Pawel Hajdan jr -v8-3.2.10.15.ebuild, + +v8-3.3.10.21.ebuild: + Version bump for beta channel release. Remove old. *v8-3.4.12.1 (19 Jul 2011) diff --git a/dev-lang/v8/v8-3.2.10.15.ebuild b/dev-lang/v8/v8-3.2.10.15.ebuild deleted file mode 100644 index 9689ff681bef..000000000000 --- a/dev-lang/v8/v8-3.2.10.15.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.2.10.15.ebuild,v 1.4 2011/06/21 07:13:09 phajdan.jr Exp $ - -EAPI="2" - -inherit eutils flag-o-matic multilib pax-utils scons-utils toolchain-funcs - -DESCRIPTION="Google's open source JavaScript engine" -HOMEPAGE="http://code.google.com/p/v8" -SRC_URI="mirror://gentoo/${P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="readline" -RESTRICT="test" - -RDEPEND="readline? ( >=sys-libs/readline-6.1 )" -DEPEND="${RDEPEND}" - -pkg_setup() { - tc-export AR CC CXX RANLIB - - # Make the build respect LDFLAGS. - export LINKFLAGS="${LDFLAGS}" -} - -src_prepare() { - # Stop -Werror from breaking the build. - epatch "${FILESDIR}"/${PN}-no-werror-r0.patch - - # Respect the user's CFLAGS, including the optimization level. - epatch "${FILESDIR}"/${PN}-no-O3-r0.patch - - # Backport a compile fix. - epatch "${FILESDIR}"/${PN}-upstream-bug-1326-r0.patch - - # Remove a test that is known to fail: - # http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 - rm test/mjsunit/debug-script.js || die - - # Remove a test that behaves differently depending on FEATURES="userpriv", - # see bug #348558. - rm test/mjsunit/d8-os.js || die -} - -src_configure() { - # GCC issues multiple warnings about strict-aliasing issues in v8 code. - append-flags -fno-strict-aliasing -} - -src_compile() { - # To make tests work, we compile with sample=shell and visibility=default. - # For more info see http://groups.google.com/group/v8-users/browse_thread/thread/61ca70420e4476bc - # and http://groups.google.com/group/v8-users/browse_thread/thread/165f89728ed6f97d - local myconf="library=shared soname=on sample=shell visibility=default importenv=LINKFLAGS,PATH" - - # Use target arch detection logic from bug #354601. - case ${CHOST} in - i?86-*) myarch=x86 ;; - x86_64-*) - if [[ $ABI = "" ]] ; then - myarch=amd64 - else - myarch="$ABI" - fi ;; - arm*-*) myarch=arm ;; - *) die "Unrecognized CHOST: ${CHOST}" - esac - - if [[ $myarch = amd64 ]] ; then - myconf+=" arch=x64" - elif [[ $myarch = x86 ]] ; then - myconf+=" arch=ia32" - elif [[ $myarch = arm ]] ; then - myconf+=" arch=arm" - else - die "Failed to determine target arch, got '$myarch'." - fi - - escons $(use_scons readline console readline dumb) ${myconf} . || die - pax-mark -m obj/test/release/cctest shell d8 -} - -src_install() { - insinto /usr - doins -r include || die - - dobin d8 || die - - dolib libv8-${PV}.so || die - dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die - - dodoc AUTHORS ChangeLog || die -} - -src_test() { - # Make sure we use the libv8.so from our build directory, - # and not the /usr/lib one (it may be missing if we are - # installing for the first time or upgrading), see bug #352374. - LD_LIBRARY_PATH="${S}" tools/test.py --no-build -p dots || die -} diff --git a/dev-lang/v8/v8-3.3.10.21.ebuild b/dev-lang/v8/v8-3.3.10.21.ebuild new file mode 100644 index 000000000000..e1fe981de8bd --- /dev/null +++ b/dev-lang/v8/v8-3.3.10.21.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.3.10.21.ebuild,v 1.1 2011/07/21 16:49:25 phajdan.jr Exp $ + +EAPI="2" + +inherit eutils flag-o-matic multilib pax-utils scons-utils toolchain-funcs + +DESCRIPTION="Google's open source JavaScript engine" +HOMEPAGE="http://code.google.com/p/v8" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="readline" + +RDEPEND="readline? ( >=sys-libs/readline-6.1 )" +DEPEND="${RDEPEND}" + +pkg_setup() { + tc-export AR CC CXX RANLIB + + # Make the build respect LDFLAGS. + export LINKFLAGS="${LDFLAGS}" +} + +src_prepare() { + # Stop -Werror from breaking the build. + epatch "${FILESDIR}"/${PN}-no-werror-r0.patch + + # Respect the user's CFLAGS, including the optimization level. + epatch "${FILESDIR}"/${PN}-no-O3-r0.patch + + # Remove a test that is known to fail: + # http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 + rm test/mjsunit/debug-script.js || die + + # Remove a test that behaves differently depending on FEATURES="userpriv", + # see bug #348558. + rm test/mjsunit/d8-os.js || die +} + +src_configure() { + # GCC issues multiple warnings about strict-aliasing issues in v8 code. + append-flags -fno-strict-aliasing +} + +src_compile() { + # To make tests work, we compile with sample=shell and visibility=default. + # For more info see http://groups.google.com/group/v8-users/browse_thread/thread/61ca70420e4476bc + # and http://groups.google.com/group/v8-users/browse_thread/thread/165f89728ed6f97d + local myconf="library=shared soname=on sample=shell visibility=default importenv=LINKFLAGS,PATH" + + # Use target arch detection logic from bug #354601. + case ${CHOST} in + i?86-*) myarch=x86 ;; + x86_64-*) + if [[ $ABI = "" ]] ; then + myarch=amd64 + else + myarch="$ABI" + fi ;; + arm*-*) myarch=arm ;; + *) die "Unrecognized CHOST: ${CHOST}" + esac + + if [[ $myarch = amd64 ]] ; then + myconf+=" arch=x64" + elif [[ $myarch = x86 ]] ; then + myconf+=" arch=ia32" + elif [[ $myarch = arm ]] ; then + myconf+=" arch=arm" + else + die "Failed to determine target arch, got '$myarch'." + fi + + escons $(use_scons readline console readline dumb) ${myconf} . || die + pax-mark -m obj/test/release/cctest shell d8 +} + +src_install() { + insinto /usr + doins -r include || die + + dobin d8 || die + + dolib libv8-${PV}.so || die + dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die + + dodoc AUTHORS ChangeLog || die +} + +src_test() { + # Make sure we use the libv8.so from our build directory, + # and not the /usr/lib one (it may be missing if we are + # installing for the first time or upgrading), see bug #352374. + LD_LIBRARY_PATH="${S}" tools/test.py --no-build -p dots || die +} -- cgit v1.2.3-65-gdbad