Gentoo Archives: gentoo-commits

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: ChangeLog v8-2.5.9.11.ebuild
Date: Wed, 26 Jan 2011 10:54:26
Message-Id: 20110126105417.6D27C20054@flycatcher.gentoo.org
1 phajdan.jr 11/01/26 10:54:17
2
3 Modified: ChangeLog
4 Added: v8-2.5.9.11.ebuild
5 Log:
6 Version bump for beta channel release.
7
8 (Portage version: 2.1.9.25/cvs/Linux i686)
9
10 Revision Changes Path
11 1.31 dev-lang/v8/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 22 Jan 2011 10:05:32 -0000 1.30
24 +++ ChangeLog 26 Jan 2011 10:54:17 -0000 1.31
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.30 2011/01/22 10:05:32 phajdan.jr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.31 2011/01/26 10:54:17 phajdan.jr Exp $
30 +
31 +*v8-2.5.9.11 (26 Jan 2011)
32 +
33 + 26 Jan 2011; Pawel Hajdan jr <phajdan.jr@g.o> +v8-2.5.9.11.ebuild:
34 + Version bump for beta channel release.
35
36 22 Jan 2011; Pawel Hajdan jr <phajdan.jr@g.o> v8-3.0.7.ebuild,
37 v8-9999.ebuild:
38
39
40
41 1.1 dev-lang/v8/v8-2.5.9.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.5.9.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.5.9.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: v8-2.5.9.11.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-2.5.9.11.ebuild,v 1.1 2011/01/26 10:54:17 phajdan.jr Exp $
51
52 EAPI="2"
53
54 inherit eutils flag-o-matic multilib 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
65 RDEPEND="readline? ( >=sys-libs/readline-6.1 )"
66 DEPEND="${RDEPEND}"
67
68 EXTRA_ESCONS="library=shared soname=on importenv=\"LINKFLAGS\""
69
70 pkg_setup() {
71 tc-export AR CC CXX RANLIB
72
73 # Make the build respect LDFLAGS.
74 export LINKFLAGS="${LDFLAGS}"
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 # Fix a compile error (bug #349794), to be upstreamed.
85 epatch "${FILESDIR}"/${PN}-gentoo-bug-349794-r0.patch
86
87 # Backport an upstream bugfix for symbol visibility,
88 # see bug #348609.
89 epatch "${FILESDIR}"/${PN}-upstream-bug-1016-r0.patch
90
91 # Remove a test that is known to fail:
92 # http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06
93 rm test/mjsunit/debug-script.js || die
94
95 # Remove a test that behaves differently depending on FEATURES="userpriv",
96 # see bug #348558.
97 rm test/mjsunit/d8-os.js || die
98 }
99
100 src_configure() {
101 # GCC issues multiple warnings about strict-aliasing issues in v8 code.
102 append-flags -fno-strict-aliasing
103 }
104
105 src_compile() {
106 local myconf=""
107
108 # Use target arch detection logic from bug #296917.
109 local myarch="$ABI"
110 [[ $myarch = "" ]] && myarch="$ARCH"
111
112 if [[ $myarch = amd64 ]] ; then
113 myconf+=" arch=x64"
114 elif [[ $myarch = x86 ]] ; then
115 myconf+=" arch=ia32"
116 elif [[ $myarch = arm ]] ; then
117 myconf+=" arch=arm"
118 else
119 die "Failed to determine target arch, got '$myarch'."
120 fi
121
122 escons $(use_scons readline console readline dumb) ${myconf} . || die
123 }
124
125 src_install() {
126 insinto /usr
127 doins -r include || die
128
129 dobin d8 || die
130
131 dolib libv8-${PV}.so || die
132 dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die
133
134 dodoc AUTHORS ChangeLog || die
135 }
136
137 src_test() {
138 tools/test.py --no-build -p dots --shell d8 || die
139 }