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