Version bump for dev channel release.
authorPaweł Hajdan <phajdan.jr@gentoo.org>
Wed, 11 Jan 2012 18:00:10 +0000 (18:00 +0000)
committerPaweł Hajdan <phajdan.jr@gentoo.org>
Wed, 11 Jan 2012 18:00:10 +0000 (18:00 +0000)
Package-Manager: portage-2.1.10.41/cvs/Linux i686

dev-lang/v8/ChangeLog
dev-lang/v8/Manifest
dev-lang/v8/v8-3.8.4.1.ebuild [new file with mode: 0644]

index c33c63feda45ee0fcec4c9c9235bc744979a422b..e1f2045945cf490d7b47a83c26a7256e94639e03 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/v8
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.122 2012/01/06 02:44:20 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.123 2012/01/11 18:00:10 phajdan.jr Exp $
+
+*v8-3.8.4.1 (11 Jan 2012)
+
+  11 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> +v8-3.8.4.1.ebuild:
+  Version bump for dev channel release.
 
 *v8-3.6.6.15 (06 Jan 2012)
 
index 08db964b1f386d8d1368190fb4cc8909a3f1ea9d..18dd2ca9d028e89b27b6ba55d6d592cf48fc247b 100644 (file)
@@ -1,5 +1,5 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
 
 AUX v8-no-O3-r0.patch 422 RMD160 37467564f5ea6ff519cf86b7209a534424abbba3 SHA1 edbf6d9afc5ea6fdd0e9c0bf06d65caa488914c6 SHA256 c38a393a23adff83a799cb137f8a8e5092f87a62db109d7ce41becd6dec781f5
 AUX v8-no-werror-r0.patch 573 RMD160 17791cdee16894b37e937f23146aff52bc3d4775 SHA1 fa814bfc6c64570e0e69a184f1c36c359b63eb2d SHA256 8968e9b4f362d3e059675c6bb9b6be0d104ac478a62c50a8f7304f47d514e782
@@ -7,17 +7,19 @@ DIST v8-3.6.6.11.tar.bz2 9618416 RMD160 04e17e27239bdf9623686231a37a610bed615f84
 DIST v8-3.6.6.15.tar.bz2 9618005 RMD160 c856f35eab3b8c7a59f4befb03c98984d7ec6ba8 SHA1 b2848211bd594cf13bda5fc1ae6fc38121ceddb3 SHA256 d9fad78e9d17155b0fe1e5151569f7fe934d361c571fbb77b3380d69d6c75932
 DIST v8-3.7.12.12.tar.bz2 9833671 RMD160 dbe91123dc6af76c7549846d3a88b703d65f3871 SHA1 95b160a5e4d3fe8dbc513f094a10b532580982e9 SHA256 67b2eb8dd145535485c1596c35dacb9ce4d740ed0d4447f588095c941f4e6520
 DIST v8-3.7.12.6.tar.bz2 9828973 RMD160 762b60985494614ba2357def94dc23d931d6d9e7 SHA1 fe11464955665676df8e2d86ff8b655cd5c25673 SHA256 37d4e885efd90d47598a8821d8d99941ae586ff1b5f29832da497732e5f7bca4
+DIST v8-3.8.4.1.tar.bz2 9858745 RMD160 79c5ed28381fb0d8ad6561276fcfc737e84dc335 SHA1 e488f57409345462d4e1b4c6af9d04455e90bcf1 SHA256 864d3399a9e53aa0a67f8901008834fd177076cf8deffb7e333c0c64e4832190
 EBUILD v8-3.6.6.11.ebuild 3148 RMD160 ae47c775fbbd10ce24a865b5fa0ff7d75f32c8f9 SHA1 e2de9db3452e59b2d8bbfd5c1f531c96cdc826f5 SHA256 daa472d5899b7ed7c9d2c295c21accfc8048e4d85a2afe84d8349d329fa11b08
 EBUILD v8-3.6.6.15.ebuild 3154 RMD160 13c763025c00b279e554f1183cddb62fc63164e5 SHA1 8296f15c4bc08c51a1be593232976c9a55366e98 SHA256 71e36b3beb2280038814757bd9b3ec2fac703a33e9ea7724cab74ffa415384f5
 EBUILD v8-3.7.12.12.ebuild 3041 RMD160 c3c0f04e21c574f65d93a22b24dc6f0d2b4ff4be SHA1 ced458d9fad45cbac2ac2a1c921a23483303d323 SHA256 b53622b049af702dc2e99941b1c11530fd42a885a2a95aa1931d05c0877a3218
 EBUILD v8-3.7.12.6.ebuild 3040 RMD160 72f4e88b247d1ac06db918bf54732c2d3353847d SHA1 c155713176ce9d895feacbfe89bfc2e6bfe7d9e3 SHA256 565d6d9f1dbbdf7a199abcdd150bcd08eb728e299e6a940afac7bd89cc6ea59f
+EBUILD v8-3.8.4.1.ebuild 3042 RMD160 9708bb62d888108d4fa725f076fc657cf4e136d5 SHA1 ebe8afbbd199d50f9a9a100fa814e7c92c9446be SHA256 83d1b568a1efc220039c07c5dcd4f576c0d07c37b8a7bf00c5d981f100828da6
 EBUILD v8-9999.ebuild 2920 RMD160 e7949f1c910a17e05b0865fb9c90d3049c2f5dd8 SHA1 c98db14af34c9693cde021e8217dfed206a05d78 SHA256 ed372e5467a0292554e7d04770fd4edfa9758ce672c998f95c7b6cd14d4913e6
-MISC ChangeLog 19996 RMD160 29af6ec423979ddb0ba400026d7f9745416bd1f9 SHA1 970941e234d75bd3d79255abaf355937e2f2c5ee SHA256 8e7a1473d548329c117ec59cadb042dee82947c5888ab0863a83e07329c30818
+MISC ChangeLog 20142 RMD160 9b5e852564fd68ec5ba2dfada9e2210876a5e420 SHA1 f150cb1c2d45e7c1ecf9a046000cfbeeb35c9c1a SHA256 30b8238ac180bfbaa385ef5d928cfa78b19cb5df90126fce2fa80b3b0f805c92
 MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iF4EAREIAAYFAk8GYAoACgkQC77qH+pIQ6RrbwD/YhOdL6SJkR2sJnVq+VobRuJv
-8EIoEG8i0mnAtWxwVG0A/2YdYyPongtHPt05vpsd732kly8Vs4SlbmSs/fTk2N5r
-=OIj5
+iEYEAREKAAYFAk8NzjYACgkQuUQtlDBCeQIiIQCfagW4K8TPxse+idGzwEKuHnmi
+qOwAn1rixb+bhV/2+WzotV1Xjk1R/rj1
+=NeSu
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/v8/v8-3.8.4.1.ebuild b/dev-lang/v8/v8-3.8.4.1.ebuild
new file mode 100644 (file)
index 0000000..9162ee5
--- /dev/null
@@ -0,0 +1,129 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.8.4.1.ebuild,v 1.1 2012/01/11 18:00:10 phajdan.jr Exp $
+
+EAPI="4"
+
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils multilib pax-utils python toolchain-funcs
+
+DESCRIPTION="Google's open source JavaScript engine"
+HOMEPAGE="http://code.google.com/p/v8"
+SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
+IUSE=""
+
+pkg_pretend() {
+       local gccver=$(gcc-fullversion)
+       if [[ ${gccver} = 4.5.2 ]]; then
+               eerror "The currently selected version of gcc is known to segfault when building this"
+               eerror "version of V8. Please use at least gcc-4.5.3."
+               die "gcc-${gccver} detected."
+       fi
+}
+
+pkg_setup() {
+       python_set_active_version 2
+       python_pkg_setup
+}
+
+src_compile() {
+       tc-export AR CC CXX RANLIB
+       export LINK="${CXX}"
+
+       # Use target arch detection logic from bug #354601.
+       case ${CHOST} in
+               i?86-*) myarch=ia32 ;;
+               x86_64-*)
+                       if [[ $ABI = x86 ]] ; then
+                               myarch=ia32
+                       else
+                               myarch=x64
+                       fi ;;
+               arm*-*) myarch=arm ;;
+               *) die "Unrecognized CHOST: ${CHOST}"
+       esac
+       mytarget=${myarch}.release
+
+       soname_version="${PV}"
+
+       local snapshot=on
+       host-is-pax && snapshot=off
+
+       # TODO: Add console=readline option once implemented upstream
+       # http://code.google.com/p/v8/issues/detail?id=1781
+
+       emake V=1 \
+               library=shared \
+               werror=no \
+               soname_version=${soname_version} \
+               snapshot=${snapshot} \
+               ${mytarget} || die
+
+       pax-mark m out/${mytarget}/{cctest,d8,shell} || die
+}
+
+src_test() {
+       local arg testjobs
+       for arg in ${MAKEOPTS}; do
+               case ${arg} in
+                       -j*) testjobs=${arg#-j} ;;
+                       --jobs=*) testjobs=${arg#--jobs=} ;;
+               esac
+       done
+
+       tools/test-wrapper-gypbuild.py \
+               -j${testjobs:-1} \
+               --arch-and-mode=${mytarget} \
+               --no-presubmit \
+               --progress=dots || die
+}
+
+src_install() {
+       insinto /usr
+       doins -r include || die
+
+       dobin out/${mytarget}/d8 || die
+
+       if [[ ${CHOST} == *-darwin* ]] ; then
+               install_name_tool \
+                       -id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname).${soname_version} \
+                       out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
+       fi
+
+       dolib out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
+       dosym libv8$(get_libname).${soname_version} /usr/$(get_libdir)/libv8$(get_libname) || die
+
+       dodoc AUTHORS ChangeLog || die
+}
+
+pkg_preinst() {
+       preserved_libs=()
+       local baselib candidate
+
+       eshopts_push -s nullglob
+
+       for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
+               "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
+               baselib=${candidate##*/}
+               if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
+                       preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
+               fi
+       done
+
+       eshopts_pop
+
+       if [[ ${#preserved_libs[@]} -gt 0 ]]; then
+               preserve_old_lib "${preserved_libs[@]}"
+       fi
+}
+
+pkg_postinst() {
+       if [[ ${#preserved_libs[@]} -gt 0 ]]; then
+               preserve_old_lib_notify "${preserved_libs[@]}"
+       fi
+}