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