diff options
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/v8/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/v8/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/v8/v8-3.1.8.2.ebuild | 90 |
3 files changed, 99 insertions, 2 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog index 024093d30fa1..536002f4869f 100644 --- a/dev-lang/v8/ChangeLog +++ b/dev-lang/v8/ChangeLog @@ -1,6 +1,11 @@ # 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.47 2011/03/16 16:18:48 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.48 2011/03/18 14:31:42 phajdan.jr Exp $ + +*v8-3.1.8.2 (18 Mar 2011) + + 18 Mar 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> +v8-3.1.8.2.ebuild: + Version bump for dev channel release. *v8-3.1.8.1 (16 Mar 2011) diff --git a/dev-lang/v8/Manifest b/dev-lang/v8/Manifest index 7211bf6b4965..343497bd7329 100644 --- a/dev-lang/v8/Manifest +++ b/dev-lang/v8/Manifest @@ -5,10 +5,12 @@ AUX v8-upstream-bug-1016-r0.patch 1340 RMD160 3fccd4a6942a0821901be9fe73434be49e AUX v8-upstream-bug-773-r0.patch 512 RMD160 407e6f3d557c8fbda2deb12698006a39c86bab60 SHA1 37b9f275b4dcd732a5f66b24a5b3dcab6f644142 SHA256 1be72e0ae271969ad67ce9226c89c9def78f3a9be9000be5a752f871b47178cc DIST v8-3.0.12.30.tar.gz 10466089 RMD160 4cd34b0043464ba073dff9c12a51560fedf45480 SHA1 98a0a31d523493045318935b498f727fa4217faf SHA256 77ee9dda511c005c1eb42476609826dbe41564c495e826dad7147845e53f84b6 DIST v8-3.1.8.1.tar.gz 10582850 RMD160 ae224462d11eeffab8beb404ce83c2e19b1ebcc7 SHA1 ff6208a96ffa5c62c243c362e1d2e7f5cfbac266 SHA256 b6df4c193cfbc3ca40f551335dc36d8132204bda700c2078f68ffe84eaf21653 +DIST v8-3.1.8.2.tar.gz 10582951 RMD160 8f95a29fd2a89fe6b580dda70306608090d1ad84 SHA1 6aa846ca68977f75e666d653927e657842f8d05e SHA256 f8b9b1f94b4ae0f794d607770d0e0fbb060132343454311592758bb69a228df8 DIST v8-3.1.8.tar.gz 10579291 RMD160 40d4c097ece06d97395d82fea8ae3b52a1a9cc41 SHA1 7a952e5e12a6f61652a14d968b8319efdcb22fd8 SHA256 edfd9c6e043d9c3dd207c2716e5d2a35f50c3dd88dc7952a60a5a1bb1df05b65 EBUILD v8-3.0.12.30.ebuild 2441 RMD160 9c80805ce6d4527951fbe1fd7ae79c673938094b SHA1 55e6eb30114671e3b4e7e4fbd5232c5337a734cc SHA256 d7df98f05167708b096abf9c2ab2d63a4901bd82b5ee196eb764b1086b8cc1b1 EBUILD v8-3.1.8.1.ebuild 2446 RMD160 ed010d71d5b79378fae351da285b82a049b348be SHA1 5d209439cb2407da7591f356de433c2f259d79e4 SHA256 696a79c89747818010d7767b1c18d20a33a9b9baa71a68df51ec3e490999c8ed +EBUILD v8-3.1.8.2.ebuild 2446 RMD160 ea739d4fb2b5671ca20fd15c35444fa0e96e9157 SHA1 90ce514f2e969bf1c46d01a3a5c159550a7f0075 SHA256 1e82973e52c412a7c1b6a33bdf42d8ab1a3226fd89e9d4e2048e2e9033516b57 EBUILD v8-3.1.8.ebuild 2444 RMD160 b97f4feca2cef43bac5f8c74d25d82eb29bde44b SHA1 e69cf69e02f7586080557b8300d6907c61141b78 SHA256 f9fb460e1db03166c17070b082341c532b38f64345fe1c2d6f1a1df2ff0dc165 EBUILD v8-9999.ebuild 2534 RMD160 75b0fd68d59824660dd4f6d02fc41db84c5dda80 SHA1 783197696f5fca5529665157c32da1eed1f67b91 SHA256 66c86de54d7e2624b5a44b4952a728030573b9505906c86515dceddb81f7f8ac -MISC ChangeLog 8358 RMD160 7707537216ceee720fb1a338bc4a36ae90546a83 SHA1 2e984563077e82fb1334ecce6abfda6de1a9d804 SHA256 35b3f03144d3e63d26b7015648f8d10e7a9ae8720a47802f9ca7dc229c27fe87 +MISC ChangeLog 8501 RMD160 b7095bb967384f068a85039c8da3f675eed6748d SHA1 f9b99b9357dee2281c9fe97229fa440931a8007a SHA256 cc837f07e9717de04e7163a310c0b28f837c2ce6472b380e60ca49f91bf5827b MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8 diff --git a/dev-lang/v8/v8-3.1.8.2.ebuild b/dev-lang/v8/v8-3.1.8.2.ebuild new file mode 100644 index 000000000000..86472af7c24f --- /dev/null +++ b/dev-lang/v8/v8-3.1.8.2.ebuild @@ -0,0 +1,90 @@ +# 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.1.8.2.ebuild,v 1.1 2011/03/18 14:31:42 phajdan.jr Exp $ + +EAPI="2" + +inherit eutils flag-o-matic multilib 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}" + +# To make tests work, we compile with sample=shell. +# For more info see http://groups.google.com/group/v8-users/browse_thread/thread/61ca70420e4476bc +EXTRA_ESCONS="library=shared soname=on sample=shell importenv=\"LINKFLAGS\"" + +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() { + local myconf="" + + # Use target arch detection logic from bug #296917. + local myarch="$ABI" + [[ $myarch = "" ]] && myarch="$ARCH" + + 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 +} + +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 +} |