1 |
phajdan.jr 11/01/06 10:11:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: v8-3.0.0.1-r1.ebuild v8-2.5.9.6-r1.ebuild |
5 |
Removed: v8-3.0.0.1.ebuild |
6 |
Log: |
7 |
Backport an upstream patch that is needed to fix bug #348609 reported by redneb <redneb@×××.com>. |
8 |
|
9 |
(Portage version: 2.1.9.25/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.23 dev-lang/v8/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.23&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.23&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.22&r2=1.23 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
21 |
retrieving revision 1.22 |
22 |
retrieving revision 1.23 |
23 |
diff -u -r1.22 -r1.23 |
24 |
--- ChangeLog 5 Jan 2011 15:09:28 -0000 1.22 |
25 |
+++ ChangeLog 6 Jan 2011 10:11:17 -0000 1.23 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for dev-lang/v8 |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.22 2011/01/05 15:09:28 phajdan.jr Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.23 2011/01/06 10:11:17 phajdan.jr Exp $ |
31 |
+ |
32 |
+*v8-3.0.0.1-r1 (06 Jan 2011) |
33 |
+*v8-2.5.9.6-r1 (06 Jan 2011) |
34 |
+ |
35 |
+ 06 Jan 2011; Pawel Hajdan jr <phajdan.jr@g.o> |
36 |
+ +v8-2.5.9.6-r1.ebuild, -v8-3.0.0.1.ebuild, +v8-3.0.0.1-r1.ebuild, |
37 |
+ +files/v8-upstream-bug-1016-r0.patch: |
38 |
+ Backport an upstream patch that is needed to fix bug #348609 reported by |
39 |
+ redneb <redneb@×××.com>. |
40 |
|
41 |
*v8-2.5.9.6 (05 Jan 2011) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-lang/v8/v8-3.0.0.1-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.0.0.1-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.0.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: v8-3.0.0.1-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.0.0.1-r1.ebuild,v 1.1 2011/01/06 10:11:17 phajdan.jr Exp $ |
56 |
|
57 |
EAPI="2" |
58 |
|
59 |
inherit eutils flag-o-matic multilib scons-utils toolchain-funcs |
60 |
|
61 |
DESCRIPTION="Google's open source JavaScript engine" |
62 |
HOMEPAGE="http://code.google.com/p/v8" |
63 |
SRC_URI="mirror://gentoo/${P}.tar.gz" |
64 |
LICENSE="BSD" |
65 |
|
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~arm ~x86" |
68 |
IUSE="readline" |
69 |
|
70 |
RDEPEND="readline? ( >=sys-libs/readline-6.1 )" |
71 |
DEPEND="${RDEPEND}" |
72 |
|
73 |
EXTRA_ESCONS="library=shared soname=on importenv=\"LINKFLAGS\"" |
74 |
|
75 |
pkg_setup() { |
76 |
tc-export AR CC CXX RANLIB |
77 |
|
78 |
# Make the build respect LDFLAGS. |
79 |
export LINKFLAGS="${LDFLAGS}" |
80 |
} |
81 |
|
82 |
src_prepare() { |
83 |
# Stop -Werror from breaking the build. |
84 |
epatch "${FILESDIR}"/${PN}-no-werror-r0.patch |
85 |
|
86 |
# Respect the user's CFLAGS, including the optimization level. |
87 |
epatch "${FILESDIR}"/${PN}-no-O3-r0.patch |
88 |
|
89 |
# Fix a compile error (bug #349794), to be upstreamed. |
90 |
epatch "${FILESDIR}"/${PN}-gentoo-bug-349794-r0.patch |
91 |
|
92 |
# Backport an upstream bugfix for symbol visibility, |
93 |
# see bug #348609. |
94 |
epatch "${FILESDIR}"/${PN}-upstream-bug-1016-r0.patch |
95 |
|
96 |
# Remove a test that is known to fail: |
97 |
# http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 |
98 |
rm test/mjsunit/debug-script.js || die |
99 |
|
100 |
# Remove a test that behaves differently depending on FEATURES="userpriv", |
101 |
# see bug #348558. |
102 |
rm test/mjsunit/d8-os.js || die |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
# GCC issues multiple warnings about strict-aliasing issues in v8 code. |
107 |
append-flags -fno-strict-aliasing |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
local myconf="" |
112 |
|
113 |
# Use target arch detection logic from bug #296917. |
114 |
local myarch="$ABI" |
115 |
[[ $myarch = "" ]] && myarch="$ARCH" |
116 |
|
117 |
if [[ $myarch = amd64 ]] ; then |
118 |
myconf+=" arch=x64" |
119 |
elif [[ $myarch = x86 ]] ; then |
120 |
myconf+=" arch=ia32" |
121 |
elif [[ $myarch = arm ]] ; then |
122 |
myconf+=" arch=arm" |
123 |
else |
124 |
die "Failed to determine target arch, got '$myarch'." |
125 |
fi |
126 |
|
127 |
escons $(use_scons readline console readline dumb) ${myconf} . || die |
128 |
} |
129 |
|
130 |
src_install() { |
131 |
insinto /usr |
132 |
doins -r include || die |
133 |
|
134 |
dobin d8 || die |
135 |
|
136 |
dolib libv8-${PV}.so || die |
137 |
dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die |
138 |
|
139 |
dodoc AUTHORS ChangeLog || die |
140 |
} |
141 |
|
142 |
src_test() { |
143 |
tools/test.py --no-build -p dots --shell d8 || die |
144 |
} |
145 |
|
146 |
|
147 |
|
148 |
1.1 dev-lang/v8/v8-2.5.9.6-r1.ebuild |
149 |
|
150 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.5.9.6-r1.ebuild?rev=1.1&view=markup |
151 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.5.9.6-r1.ebuild?rev=1.1&content-type=text/plain |
152 |
|
153 |
Index: v8-2.5.9.6-r1.ebuild |
154 |
=================================================================== |
155 |
# Copyright 1999-2011 Gentoo Foundation |
156 |
# Distributed under the terms of the GNU General Public License v2 |
157 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.5.9.6-r1.ebuild,v 1.1 2011/01/06 10:11:17 phajdan.jr Exp $ |
158 |
|
159 |
EAPI="2" |
160 |
|
161 |
inherit eutils flag-o-matic multilib scons-utils toolchain-funcs |
162 |
|
163 |
DESCRIPTION="Google's open source JavaScript engine" |
164 |
HOMEPAGE="http://code.google.com/p/v8" |
165 |
SRC_URI="mirror://gentoo/${P}.tar.gz" |
166 |
LICENSE="BSD" |
167 |
|
168 |
SLOT="0" |
169 |
KEYWORDS="~amd64 ~arm ~x86" |
170 |
IUSE="readline" |
171 |
|
172 |
RDEPEND="readline? ( >=sys-libs/readline-6.1 )" |
173 |
DEPEND="${RDEPEND}" |
174 |
|
175 |
EXTRA_ESCONS="library=shared soname=on importenv=\"LINKFLAGS\"" |
176 |
|
177 |
pkg_setup() { |
178 |
tc-export AR CC CXX RANLIB |
179 |
|
180 |
# Make the build respect LDFLAGS. |
181 |
export LINKFLAGS="${LDFLAGS}" |
182 |
} |
183 |
|
184 |
src_prepare() { |
185 |
# Stop -Werror from breaking the build. |
186 |
epatch "${FILESDIR}"/${PN}-no-werror-r0.patch |
187 |
|
188 |
# Respect the user's CFLAGS, including the optimization level. |
189 |
epatch "${FILESDIR}"/${PN}-no-O3-r0.patch |
190 |
|
191 |
# Fix a compile error (bug #349794), to be upstreamed. |
192 |
epatch "${FILESDIR}"/${PN}-gentoo-bug-349794-r0.patch |
193 |
|
194 |
# Backport an upstream bugfix for symbol visibility, |
195 |
# see bug #348609. |
196 |
epatch "${FILESDIR}"/${PN}-upstream-bug-1016-r0.patch |
197 |
|
198 |
# Remove a test that is known to fail: |
199 |
# http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 |
200 |
rm test/mjsunit/debug-script.js || die |
201 |
|
202 |
# Remove a test that behaves differently depending on FEATURES="userpriv", |
203 |
# see bug #348558. |
204 |
rm test/mjsunit/d8-os.js || die |
205 |
} |
206 |
|
207 |
src_configure() { |
208 |
# GCC issues multiple warnings about strict-aliasing issues in v8 code. |
209 |
append-flags -fno-strict-aliasing |
210 |
} |
211 |
|
212 |
src_compile() { |
213 |
local myconf="" |
214 |
|
215 |
# Use target arch detection logic from bug #296917. |
216 |
local myarch="$ABI" |
217 |
[[ $myarch = "" ]] && myarch="$ARCH" |
218 |
|
219 |
if [[ $myarch = amd64 ]] ; then |
220 |
myconf+=" arch=x64" |
221 |
elif [[ $myarch = x86 ]] ; then |
222 |
myconf+=" arch=ia32" |
223 |
elif [[ $myarch = arm ]] ; then |
224 |
myconf+=" arch=arm" |
225 |
else |
226 |
die "Failed to determine target arch, got '$myarch'." |
227 |
fi |
228 |
|
229 |
escons $(use_scons readline console readline dumb) ${myconf} . || die |
230 |
} |
231 |
|
232 |
src_install() { |
233 |
insinto /usr |
234 |
doins -r include || die |
235 |
|
236 |
dobin d8 || die |
237 |
|
238 |
dolib libv8-${PV}.so || die |
239 |
dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die |
240 |
|
241 |
dodoc AUTHORS ChangeLog || die |
242 |
} |
243 |
|
244 |
src_test() { |
245 |
tools/test.py --no-build -p dots --shell d8 || die |
246 |
} |