From: | "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/v8: v8-2.4.9.10.ebuild ChangeLog |
Date: | Sun, 31 Oct 2010 20:45:56 |
Message-Id: | 20101031204551.9C69020051@flycatcher.gentoo.org |
1 | phajdan.jr 10/10/31 20:45:51 |
2 | |
3 | Modified: ChangeLog |
4 | Added: v8-2.4.9.10.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.8.3/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.7 dev-lang/v8/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.7&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.7&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.6&r2=1.7 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
19 | retrieving revision 1.6 |
20 | retrieving revision 1.7 |
21 | diff -u -r1.6 -r1.7 |
22 | --- ChangeLog 29 Oct 2010 08:34:53 -0000 1.6 |
23 | +++ ChangeLog 31 Oct 2010 20:45:51 -0000 1.7 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-lang/v8 |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.6 2010/10/29 08:34:53 phajdan.jr Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.7 2010/10/31 20:45:51 phajdan.jr Exp $ |
29 | + |
30 | +*v8-2.4.9.10 (31 Oct 2010) |
31 | + |
32 | + 31 Oct 2010; Pawel Hajdan jr <phajdan.jr@g.o> +v8-2.4.9.10.ebuild: |
33 | + Version bump. |
34 | |
35 | *v8-2.4.9.6 (29 Oct 2010) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-lang/v8/v8-2.4.9.10.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.4.9.10.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.4.9.10.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: v8-2.4.9.10.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2010 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.9.10.ebuild,v 1.1 2010/10/31 20:45:51 phajdan.jr Exp $ |
50 | |
51 | EAPI="2" |
52 | |
53 | inherit eutils flag-o-matic multilib subversion toolchain-funcs |
54 | |
55 | ESVN_REPO_URI="http://v8.googlecode.com/svn/tags/${PV}" |
56 | |
57 | DESCRIPTION="Google's open source JavaScript engine" |
58 | HOMEPAGE="http://code.google.com/p/v8" |
59 | LICENSE="BSD" |
60 | |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="readline" |
64 | |
65 | RDEPEND="readline? ( >=sys-libs/readline-6.1 )" |
66 | DEPEND="${RDEPEND} |
67 | >=dev-util/scons-1.3.0" |
68 | |
69 | v8_scons_opts() { |
70 | echo "$(echo ${MAKEOPTS} | sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/')" |
71 | } |
72 | |
73 | pkg_setup() { |
74 | tc-export AR CC CXX RANLIB |
75 | } |
76 | |
77 | src_prepare() { |
78 | # Stop -Werror from breaking the build. |
79 | epatch "${FILESDIR}"/${PN}-no-werror-r0.patch |
80 | |
81 | # Respect the user's CFLAGS, including the optimization level. |
82 | epatch "${FILESDIR}"/${PN}-no-O3-r0.patch |
83 | |
84 | # Locally fix http://code.google.com/p/v8/issues/detail?id=773. |
85 | epatch "${FILESDIR}"/${PN}-upstream-bug-773-r0.patch |
86 | |
87 | # Remove a test that is known to fail: |
88 | # http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 |
89 | rm test/mjsunit/debug-script.js || die |
90 | } |
91 | |
92 | src_configure() { |
93 | # GCC issues multiple warnings about strict-aliasing issues in v8 code. |
94 | append-flags -fno-strict-aliasing |
95 | } |
96 | |
97 | src_compile() { |
98 | local myconf="" |
99 | |
100 | # Use target arch detection logic from bug #296917. |
101 | local myarch="$ABI" |
102 | [[ $myarch = "" ]] && myarch="$ARCH" |
103 | |
104 | if [[ $myarch = amd64 ]] ; then |
105 | myconf+=" arch=x64" |
106 | elif [[ $myarch = x86 ]] ; then |
107 | myconf+=" arch=ia32" |
108 | else |
109 | die "Failed to determine target arch, got '$myarch'." |
110 | fi |
111 | |
112 | if use readline; then |
113 | myconf="${myconf} console=readline" |
114 | else |
115 | myconf="${myconf} console=dumb" |
116 | fi |
117 | |
118 | scons library=shared soname=on $(v8_scons_opts) ${myconf} . || die |
119 | } |
120 | |
121 | src_install() { |
122 | insinto /usr |
123 | doins -r include || die |
124 | |
125 | dobin d8 || die |
126 | |
127 | dolib libv8-${PV}.so || die |
128 | dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die |
129 | |
130 | dodoc AUTHORS ChangeLog || die |
131 | } |
132 | |
133 | src_test() { |
134 | tools/test.py --no-build -p dots --shell d8 || die |
135 | } |