public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/v8: ChangeLog v8-3.6.5.1.ebuild
@ 2011-10-09 19:45 Mike Gilbert (floppym)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert (floppym) @ 2011-10-09 19:45 UTC (permalink / raw
  To: gentoo-commits

floppym     11/10/09 19:45:12

  Modified:             ChangeLog
  Added:                v8-3.6.5.1.ebuild
  Log:
  Add expermental version using the gyp build system.
  
  (Portage version: 2.2.0_alpha64/cvs/Linux x86_64)

Revision  Changes    Path
1.80                 dev-lang/v8/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.80&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.80&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.79&r2=1.80

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- ChangeLog	6 Oct 2011 21:27:21 -0000	1.79
+++ ChangeLog	9 Oct 2011 19:45:12 -0000	1.80
@@ -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.79 2011/10/06 21:27:21 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.80 2011/10/09 19:45:12 floppym Exp $
+
+*v8-3.6.5.1 (09 Oct 2011)
+
+  09 Oct 2011; Mike Gilbert <floppym@gentoo.org> +v8-3.6.5.1.ebuild,
+  +files/v8-gyp-cflags-r0.patch:
+  Add expermental version using the gyp build system.
 
   06 Oct 2011; Mike Gilbert <floppym@gentoo.org> v8-3.4.14.28.ebuild:
   Stable on amd64; arch tested by ago. Bug 385649.



1.1                  dev-lang/v8/v8-3.6.5.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?rev=1.1&content-type=text/plain

Index: v8-3.6.5.1.ebuild
===================================================================
# 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.6.5.1.ebuild,v 1.1 2011/10/09 19:45:12 floppym Exp $

EAPI="3"

inherit eutils flag-o-matic multilib pax-utils toolchain-funcs

GYP_REV="1066"

DESCRIPTION="Google's open source JavaScript engine"
HOMEPAGE="http://code.google.com/p/v8"
SRC_URI="http://dev.gentoo.org/~floppym/distfiles/${P}.tar.xz
	http://dev.gentoo.org/~floppym/distfiles/gyp-${GYP_REV}.tar.xz"
LICENSE="BSD"

SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
IUSE=""

src_unpack() {
	unpack ${A}
	mv gyp-${GYP_REV} ${P}/build/gyp || die
}

src_prepare() {
	# Stop -Werror from breaking the build.
	sed -i -e "s/-Werror//" build/standalone.gypi || die

	# Respect the user's CFLAGS, including the optimization level.
	epatch "${FILESDIR}/v8-gyp-cflags-r0.patch"
}

src_compile() {
	tc-export AR CC CXX RANLIB
	export LINK="${CXX}"
	# Make the build respect LDFLAGS.
	export LINKFLAGS="${LDFLAGS}"

	# 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

	emake V=1 library=shared soname_version=${PV} ${mytarget} || die
}

src_test() {
	tools/test-wrapper-gypbuild.py -j16 \
		--arch-and-mode=${mytarget} \
		--no-presubmit \
		--progress=dots || die
}

src_install() {
	insinto /usr
	doins -r include || die

	dobin out/${mytarget}/d8 out/${mytarget}/shell || die

	if [[ ${CHOST} == *-darwin* ]] ; then
		install_name_tool \
			-id "${EPREFIX}"/usr/$(get_libdir)/libv8-${PV}$(get_libname) \
			out/${mytarget}/lib.target/libv8-${PV}$(get_libname) || die
	fi

	dolib out/${mytarget}/lib.target/libv8-${PV}$(get_libname) || die
	dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname) || die

	dodoc AUTHORS ChangeLog || die
}






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/v8: ChangeLog v8-3.6.5.1.ebuild
@ 2011-10-12  2:58 Mike Gilbert (floppym)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert (floppym) @ 2011-10-12  2:58 UTC (permalink / raw
  To: gentoo-commits

floppym     11/10/12 02:58:55

  Modified:             ChangeLog v8-3.6.5.1.ebuild
  Log:
  Migrate to EAPI 4. Add python deps. Re-add pax-mark.
  
  (Portage version: 2.2.0_alpha66/cvs/Linux x86_64)

Revision  Changes    Path
1.81                 dev-lang/v8/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.80&r2=1.81

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- ChangeLog	9 Oct 2011 19:45:12 -0000	1.80
+++ ChangeLog	12 Oct 2011 02:58:55 -0000	1.81
@@ -1,6 +1,9 @@
 # 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.80 2011/10/09 19:45:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.81 2011/10/12 02:58:55 floppym Exp $
+
+  12 Oct 2011; Mike Gilbert <floppym@gentoo.org> v8-3.6.5.1.ebuild:
+  Migrate to EAPI 4. Add python deps. Re-add pax-mark.
 
 *v8-3.6.5.1 (09 Oct 2011)
 



1.2                  dev-lang/v8/v8-3.6.5.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?r1=1.1&r2=1.2

Index: v8-3.6.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- v8-3.6.5.1.ebuild	9 Oct 2011 19:45:12 -0000	1.1
+++ v8-3.6.5.1.ebuild	12 Oct 2011 02:58:55 -0000	1.2
@@ -1,10 +1,10 @@
 # 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.6.5.1.ebuild,v 1.1 2011/10/09 19:45:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild,v 1.2 2011/10/12 02:58:55 floppym Exp $
 
-EAPI="3"
+EAPI="4"
 
-inherit eutils flag-o-matic multilib pax-utils toolchain-funcs
+inherit eutils multilib pax-utils toolchain-funcs
 
 GYP_REV="1066"
 
@@ -18,6 +18,9 @@
 KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
 IUSE=""
 
+# Avoid using python eclass since we do not need python RDEPEND
+DEPEND="|| ( dev-lang/python:2.6 dev-lang/python:2.7 )"
+
 src_unpack() {
 	unpack ${A}
 	mv gyp-${GYP_REV} ${P}/build/gyp || die
@@ -32,10 +35,11 @@
 }
 
 src_compile() {
+	# Make /usr/bin/python (wrapper) call python2
+	export EPYTHON=python2
+
 	tc-export AR CC CXX RANLIB
 	export LINK="${CXX}"
-	# Make the build respect LDFLAGS.
-	export LINKFLAGS="${LDFLAGS}"
 
 	# Use target arch detection logic from bug #354601.
 	case ${CHOST} in
@@ -51,7 +55,9 @@
 	esac
 	mytarget=${myarch}.release
 
-	emake V=1 library=shared soname_version=${PV} ${mytarget} || die
+	emake V=1 library=shared soname_version=${PV} ${mytarget}
+
+	pax-mark m out/${mytarget}/{cctest,d8,shell} || die
 }
 
 src_test() {
@@ -63,9 +69,9 @@
 
 src_install() {
 	insinto /usr
-	doins -r include || die
+	doins -r include
 
-	dobin out/${mytarget}/d8 out/${mytarget}/shell || die
+	dobin out/${mytarget}/d8 out/${mytarget}/shell
 
 	if [[ ${CHOST} == *-darwin* ]] ; then
 		install_name_tool \
@@ -73,8 +79,8 @@
 			out/${mytarget}/lib.target/libv8-${PV}$(get_libname) || die
 	fi
 
-	dolib out/${mytarget}/lib.target/libv8-${PV}$(get_libname) || die
-	dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname) || die
+	dolib out/${mytarget}/lib.target/libv8-${PV}$(get_libname)
+	dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname)
 
-	dodoc AUTHORS ChangeLog || die
+	dodoc AUTHORS ChangeLog
 }






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/v8: ChangeLog v8-3.6.5.1.ebuild
@ 2011-10-12 22:39 Mike Gilbert (floppym)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert (floppym) @ 2011-10-12 22:39 UTC (permalink / raw
  To: gentoo-commits

floppym     11/10/12 22:39:01

  Modified:             ChangeLog v8-3.6.5.1.ebuild
  Log:
  Use gz tarballs since v8-create-tarball doesn't support xz.
  
  (Portage version: 2.2.0_alpha66/cvs/Linux x86_64)

Revision  Changes    Path
1.83                 dev-lang/v8/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.83&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.83&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.82&r2=1.83

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- ChangeLog	12 Oct 2011 18:18:48 -0000	1.82
+++ ChangeLog	12 Oct 2011 22:39:01 -0000	1.83
@@ -1,6 +1,9 @@
 # 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.82 2011/10/12 18:18:48 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.83 2011/10/12 22:39:01 floppym Exp $
+
+  12 Oct 2011; Mike Gilbert <floppym@gentoo.org> v8-3.6.5.1.ebuild:
+  Use gz tarballs since v8-create-tarball doesn't support xz.
 
   12 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> v8-3.6.5.1.ebuild,
   -files/v8-upstream-bug-773-r0.patch, -files/v8-upstream-bug-1016-r0.patch,



1.4                  dev-lang/v8/v8-3.6.5.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild?r1=1.3&r2=1.4

Index: v8-3.6.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- v8-3.6.5.1.ebuild	12 Oct 2011 18:18:48 -0000	1.3
+++ v8-3.6.5.1.ebuild	12 Oct 2011 22:39:01 -0000	1.4
@@ -1,6 +1,6 @@
 # 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.6.5.1.ebuild,v 1.3 2011/10/12 18:18:48 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild,v 1.4 2011/10/12 22:39:01 floppym Exp $
 
 EAPI="4"
 
@@ -10,7 +10,8 @@
 
 DESCRIPTION="Google's open source JavaScript engine"
 HOMEPAGE="http://code.google.com/p/v8"
-SRC_URI="http://dev.gentoo.org/~floppym/distfiles/${P}.tar.xz
+SRC_URI="mirror://gentoo/${P}.tar.gz
+	http://dev.gentoo.org/~floppym/distfiles/${P}.tar.gz
 	http://dev.gentoo.org/~floppym/distfiles/gyp-${GYP_REV}.tar.xz"
 LICENSE="BSD"
 






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-12 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-09 19:45 [gentoo-commits] gentoo-x86 commit in dev-lang/v8: ChangeLog v8-3.6.5.1.ebuild Mike Gilbert (floppym)
  -- strict thread matches above, loose matches on Subject: below --
2011-10-12  2:58 Mike Gilbert (floppym)
2011-10-12 22:39 Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox