1 |
phajdan.jr 11/06/29 14:39:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: v8-3.2.10.21.ebuild |
5 |
Log: |
6 |
Version bump for stable channel release. |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 dev-lang/v8/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 29 Jun 2011 11:28:42 -0000 1.64 |
24 |
+++ ChangeLog 29 Jun 2011 14:39:55 -0000 1.65 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-lang/v8 |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.64 2011/06/29 11:28:42 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.65 2011/06/29 14:39:55 phajdan.jr Exp $ |
30 |
+ |
31 |
+*v8-3.2.10.21 (29 Jun 2011) |
32 |
+ |
33 |
+ 29 Jun 2011; Pawel Hajdan jr <phajdan.jr@g.o> +v8-3.2.10.21.ebuild: |
34 |
+ Version bump for stable channel release. |
35 |
|
36 |
*v8-3.4.6.2 (29 Jun 2011) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lang/v8/v8-3.2.10.21.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.2.10.21.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.2.10.21.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: v8-3.2.10.21.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.2.10.21.ebuild,v 1.1 2011/06/29 14:39:55 phajdan.jr Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils flag-o-matic multilib pax-utils scons-utils toolchain-funcs |
55 |
|
56 |
DESCRIPTION="Google's open source JavaScript engine" |
57 |
HOMEPAGE="http://code.google.com/p/v8" |
58 |
SRC_URI="mirror://gentoo/${P}.tar.gz" |
59 |
LICENSE="BSD" |
60 |
|
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~arm ~x86" |
63 |
IUSE="readline" |
64 |
RESTRICT="test" |
65 |
|
66 |
RDEPEND="readline? ( >=sys-libs/readline-6.1 )" |
67 |
DEPEND="${RDEPEND}" |
68 |
|
69 |
pkg_setup() { |
70 |
tc-export AR CC CXX RANLIB |
71 |
|
72 |
# Make the build respect LDFLAGS. |
73 |
export LINKFLAGS="${LDFLAGS}" |
74 |
} |
75 |
|
76 |
src_prepare() { |
77 |
# Stop -Werror from breaking the build. |
78 |
epatch "${FILESDIR}"/${PN}-no-werror-r0.patch |
79 |
|
80 |
# Respect the user's CFLAGS, including the optimization level. |
81 |
epatch "${FILESDIR}"/${PN}-no-O3-r0.patch |
82 |
|
83 |
# Backport a compile fix. |
84 |
epatch "${FILESDIR}"/${PN}-upstream-bug-1326-r0.patch |
85 |
|
86 |
# Remove a test that is known to fail: |
87 |
# http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 |
88 |
rm test/mjsunit/debug-script.js || die |
89 |
|
90 |
# Remove a test that behaves differently depending on FEATURES="userpriv", |
91 |
# see bug #348558. |
92 |
rm test/mjsunit/d8-os.js || die |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
# GCC issues multiple warnings about strict-aliasing issues in v8 code. |
97 |
append-flags -fno-strict-aliasing |
98 |
} |
99 |
|
100 |
src_compile() { |
101 |
# To make tests work, we compile with sample=shell and visibility=default. |
102 |
# For more info see http://groups.google.com/group/v8-users/browse_thread/thread/61ca70420e4476bc |
103 |
# and http://groups.google.com/group/v8-users/browse_thread/thread/165f89728ed6f97d |
104 |
local myconf="library=shared soname=on sample=shell visibility=default importenv=LINKFLAGS,PATH" |
105 |
|
106 |
# Use target arch detection logic from bug #354601. |
107 |
case ${CHOST} in |
108 |
i?86-*) myarch=x86 ;; |
109 |
x86_64-*) |
110 |
if [[ $ABI = "" ]] ; then |
111 |
myarch=amd64 |
112 |
else |
113 |
myarch="$ABI" |
114 |
fi ;; |
115 |
arm*-*) myarch=arm ;; |
116 |
*) die "Unrecognized CHOST: ${CHOST}" |
117 |
esac |
118 |
|
119 |
if [[ $myarch = amd64 ]] ; then |
120 |
myconf+=" arch=x64" |
121 |
elif [[ $myarch = x86 ]] ; then |
122 |
myconf+=" arch=ia32" |
123 |
elif [[ $myarch = arm ]] ; then |
124 |
myconf+=" arch=arm" |
125 |
else |
126 |
die "Failed to determine target arch, got '$myarch'." |
127 |
fi |
128 |
|
129 |
escons $(use_scons readline console readline dumb) ${myconf} . || die |
130 |
pax-mark -m obj/test/release/cctest shell d8 |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
insinto /usr |
135 |
doins -r include || die |
136 |
|
137 |
dobin d8 || die |
138 |
|
139 |
dolib libv8-${PV}.so || die |
140 |
dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die |
141 |
|
142 |
dodoc AUTHORS ChangeLog || die |
143 |
} |
144 |
|
145 |
src_test() { |
146 |
# Make sure we use the libv8.so from our build directory, |
147 |
# and not the /usr/lib one (it may be missing if we are |
148 |
# installing for the first time or upgrading), see bug #352374. |
149 |
LD_LIBRARY_PATH="${S}" tools/test.py --no-build -p dots || die |
150 |
} |