summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-05-16 12:05:54 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-05-16 12:05:54 +0000
commita7b1580ebe197f9212f8d09413dec90bed9546ca (patch)
tree7c68e43303b0829cb0ca62a5af71a8a5edd48c01 /dev-lang/spidermonkey
parentMask new spidermonkey. (diff)
downloadhistorical-a7b1580ebe197f9212f8d09413dec90bed9546ca.tar.gz
historical-a7b1580ebe197f9212f8d09413dec90bed9546ca.tar.bz2
historical-a7b1580ebe197f9212f8d09413dec90bed9546ca.zip
Version bump spidermonkey to 2.0.1 (package.masked).
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r--dev-lang/spidermonkey/ChangeLog7
-rw-r--r--dev-lang/spidermonkey/Manifest12
-rw-r--r--dev-lang/spidermonkey/spidermonkey-2.0.1.ebuild75
3 files changed, 88 insertions, 6 deletions
diff --git a/dev-lang/spidermonkey/ChangeLog b/dev-lang/spidermonkey/ChangeLog
index 033928ff0623..b5e5d00dd0d1 100644
--- a/dev-lang/spidermonkey/ChangeLog
+++ b/dev-lang/spidermonkey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/spidermonkey
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.58 2011/04/25 16:24:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.59 2011/05/16 12:05:54 djc Exp $
+
+*spidermonkey-2.0.1 (16 May 2011)
+
+ 16 May 2011; Dirkjan Ochtman <djc@gentoo.org> +spidermonkey-2.0.1.ebuild:
+ Version bump to 2.0.1 (package.masked for now).
25 Apr 2011; Raúl Porcel <armin76@gentoo.org> spidermonkey-1.9.2.15.ebuild:
sparc stable wrt #357655
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index d99afd4228de..c06b77517f18 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -7,17 +7,19 @@ AUX spidermonkey-1.7.0-ldflags.patch 679 RMD160 8526ab33d971a4e6d836ace41d522e63
AUX spidermonkey-1.7.0-threadsafe.diff 513 RMD160 894fd8791cdf3156031e4cb370a0de40ce53cdf2 SHA1 cd4d61468ca2fdd1f90b6bb207ebf46427261166 SHA256 3e41354e093efce3fe897814bc490aa45e17c9d6d0ca6ae7f9f1550b85be89e9
AUX spidermonkey-1.9.2.13-as-needed.patch 623 RMD160 2f77a10c5984d078ed187b1b5f469393f8c7a35d SHA1 367571f1d440e46f87d3edcfafbff0d17cce3cdb SHA256 5163be062d23265cc19e9b1acb441ec42ceb2fd678b03076880869b7b9f92f8f
DIST firefox-3.6.15.source.tar.bz2 51552828 RMD160 faa15978cc8e492833130910c243a585ff78ee3f SHA1 bfb69ae49b2def7482543d4d982fa58993a458e9 SHA256 405aa411a8ddb456017564522cbb486850e34fe14485b1c31fa93fc5c750870f
+DIST firefox-4.0.1.source.tar.bz2 65980273 RMD160 63faaae78b56db407a34454986361212382c838e SHA1 c89bc5106266aa0097a7be15be84555bd2649f03 SHA256 cf3a39877facc229a67760915341fe95095cca647faab3a7adcb70046105199c
DIST js-1.7.0.tar.gz 1165607 RMD160 6eadf1ac7c10a13b3db3d499856c9e18ddbcdfdb SHA1 1a99e8e10cb6600a03ea98895583a8ed42136d1f SHA256 44363f0f3895800ee6010763eae90c0d15ed28e07d783bc7b3c607ce98d8668b
EBUILD spidermonkey-1.7.0-r1.ebuild 1517 RMD160 000f9e4cc2f9aef70323cb6ce40128259f41f81c SHA1 bb4b1083c428d5bcdc102be0df0e9e8f14aae689 SHA256 ba5789912e5488171ff51c04863f6260b77e6537154da92ffd799afd9bc4415a
EBUILD spidermonkey-1.7.0-r2.ebuild 1664 RMD160 2eea40d279729740380fd8eca22d142518805cf3 SHA1 3d0229e52cb2b14899ac5cddf689abdbe064b7a1 SHA256 907e253f2519790d2ac48779637a557b8748bdccbf718cef0991a22dc8c71113
EBUILD spidermonkey-1.7.0.ebuild 1432 RMD160 9dc3f12649f67fe727f8b327a54bbc91c0522358 SHA1 411aad11f1d1beb4435aa19a43d96447b11e7dac SHA256 5df2e8917fce96363d2128a2fdafc623aa159e60682591b347201b062778a99e
EBUILD spidermonkey-1.9.2.15.ebuild 1697 RMD160 adac5d10c9717330b6920f71ad550ecfb66b8784 SHA1 a6e29f1688ed43b3dc39db53f8671fdcc3ec52ef SHA256 cc99a283155afb2d5f89b06072417e3cc87a81b2df8157e220761817ac661038
-MISC ChangeLog 8484 RMD160 7e352dae2e51af7b3b121161517c7eca12dd3b80 SHA1 6c3bfdad1f5fa86f5241ec68202ba2545c99a4d0 SHA256 f48551ac899331b764fe43ef7d5f60135a9c74eba53b2e836029e0fdb935e991
+EBUILD spidermonkey-2.0.1.ebuild 1756 RMD160 636be5b37c57c1a6bebf806895517613bf7a6ddb SHA1 55e5ccb7a656ccb8522877238531658a97978c76 SHA256 f4f259a7999f4097c83c13dbba774c0b2c065ac68ab3d60af6049cb070e428b4
+MISC ChangeLog 8642 RMD160 1639bc416bb4e5a45ca836a33d012cfb6f559433 SHA1 3c9e3d3625f6f20d42a3c68e3956015fc95e3d53 SHA256 57bfd3dfa01a9aa94c6ac6ce3a0130fdb18b00be4ad7b1429a6a0372d3678504
MISC metadata.xml 523 RMD160 b40a1ffd94bc32fd5045b99160481c2b95d69d30 SHA1 91eb56541e242621c81e38eb9e9f0c4dea6f099f SHA256 876e7996ea990b78088ea8ef1f0445658fea0bb7cf0a1e07cd1db2bae870307f
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk21oPoACgkQuQc30/atMkDxnACfYREiD+TqLqPHOwRCnT18pNaP
-e14AoKJtmvzex722IlyLbzL+4vIuOEua
-=jdwU
+iEYEARECAAYFAk3REysACgkQxeMuLWsGW/t9YQCgouto+Ca6L3qsJ2rgI1bla4Qo
+HBYAoJo4WOoTDsqJK5vF/0rwG05Sq5qs
+=5M+z
-----END PGP SIGNATURE-----
diff --git a/dev-lang/spidermonkey/spidermonkey-2.0.1.ebuild b/dev-lang/spidermonkey/spidermonkey-2.0.1.ebuild
new file mode 100644
index 000000000000..b7712f7b75fd
--- /dev/null
+++ b/dev-lang/spidermonkey/spidermonkey-2.0.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-2.0.1.ebuild,v 1.1 2011/05/16 12:05:54 djc Exp $
+
+EAPI="2"
+inherit eutils toolchain-funcs multilib python
+
+MY_PV="${PV}"
+MY_PV="${MY_PV/2.0/4.0}"
+DESCRIPTION="Stand-alone JavaScript C library"
+HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
+REL_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases"
+SRC_URI="${REL_URI}/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2"
+
+LICENSE="NPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="test threadsafe"
+
+S="${WORKDIR}/mozilla-2.0"
+BUILDDIR="${S}/js/src"
+
+RDEPEND="threadsafe? ( >=dev-libs/nspr-4.8.6 )"
+
+DEPEND="${RDEPEND}
+ app-arch/zip
+ =dev-lang/python-2*[threads]
+ dev-util/pkgconfig"
+
+pkg_setup(){
+ python_set_active_version 2
+}
+
+src_prepare() {
+ epatch_user
+ cd "${S}"
+ if [[ ${CHOST} == *-freebsd* ]]; then
+ # Don't try to be smart, this does not work in cross-compile anyway
+ ln -s "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
+ fi
+}
+
+src_configure() {
+ cd ${BUILDDIR}
+
+ local myconf
+
+ if use threadsafe ; then
+ myconf="${myconf} --with-system-nspr \
+ --enable-threadsafe"
+ fi
+ # Disable no-print-directory
+ MAKEOPTS=${MAKEOPTS/--no-print-directory/}
+
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf \
+ ${myconf}
+}
+
+src_compile() {
+ cd ${BUILDDIR}
+ emake -j1 || die "emake failed";
+}
+
+src_test() {
+ # failure in check-date-format-tofte.js is https://bugzil.la/600522
+ cd ${BUILDDIR}
+ emake check
+}
+
+src_install() {
+ cd ${BUILDDIR}
+ emake install DESTDIR="${D}" || die
+ dodoc ../jsd/README
+ dohtml README.html
+}