summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-12-29 14:18:56 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-12-29 14:18:56 +0000
commitc82b7f7ee2b234f6e7b1e0982263979f7571e374 (patch)
treec2091197a67934e2a5ddee38b6b9079880ff566b /dev-lang/spidermonkey
parentCall 'git submodule sync' as well to support the case when submodule URL chan... (diff)
downloadhistorical-c82b7f7ee2b234f6e7b1e0982263979f7571e374.tar.gz
historical-c82b7f7ee2b234f6e7b1e0982263979f7571e374.tar.bz2
historical-c82b7f7ee2b234f6e7b1e0982263979f7571e374.zip
Version bump spidermonkey to 1.9.2.13 (bug 347914).
Package-Manager: portage-2.1.9.26/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r--dev-lang/spidermonkey/ChangeLog9
-rw-r--r--dev-lang/spidermonkey/Manifest7
-rw-r--r--dev-lang/spidermonkey/files/spidermonkey-1.9.2.13-as-needed.patch22
-rw-r--r--dev-lang/spidermonkey/metadata.xml10
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.9.2.13.ebuild73
5 files changed, 115 insertions, 6 deletions
diff --git a/dev-lang/spidermonkey/ChangeLog b/dev-lang/spidermonkey/ChangeLog
index e9343494738d..886aa30f2c37 100644
--- a/dev-lang/spidermonkey/ChangeLog
+++ b/dev-lang/spidermonkey/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/spidermonkey
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.47 2010/08/06 23:15:48 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.48 2010/12/29 14:18:56 djc Exp $
+
+*spidermonkey-1.9.2.13 (29 Dec 2010)
+
+ 29 Dec 2010; Dirkjan Ochtman <djc@gentoo.org>
+ +spidermonkey-1.9.2.13.ebuild,
+ +files/spidermonkey-1.9.2.13-as-needed.patch, metadata.xml:
+ Version bump to 1.9.2.13 (bug 347914).
*spidermonkey-1.7.0-r2 (06 Aug 2010)
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index f4a798ebcf32..08d1c8e4b42b 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -2,9 +2,12 @@ AUX spidermonkey-1.5-build.patch 3457 RMD160 323b186d6be267bce42f15fe0694b8c17d1
AUX spidermonkey-1.6-header.patch 270 RMD160 ff656884925470695542b2b9412a130c72577f3a SHA1 6039b01f565b2bf2c20490a52b99b52796057b61 SHA256 e81acd7ba025214b2ecfa5918a1652e4590eaca39307c4e8d9f5d949d315373e
AUX spidermonkey-1.7.0-ldflags.patch 679 RMD160 8526ab33d971a4e6d836ace41d522e63c378d6f3 SHA1 929953bca09960d6f2762749f0cc969a5e58b6ba SHA256 bbea50178ad2569f9fbbf449f1727851cb51a67766568847cc2c208c45d43f29
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.13.source.tar.bz2 51478675 RMD160 658409db60a8f412ac74ff15a8c1d8c4ed85b71e SHA1 1d1bc70d651bce4006687f5762638563c0494267 SHA256 4b90775c0f29cb7e170a80894311d8c7a2cd794c50e2124b70d1b83011c45f63
DIST js-1.7.0.tar.gz 1165607 RMD160 6eadf1ac7c10a13b3db3d499856c9e18ddbcdfdb SHA1 1a99e8e10cb6600a03ea98895583a8ed42136d1f SHA256 44363f0f3895800ee6010763eae90c0d15ed28e07d783bc7b3c607ce98d8668b
EBUILD spidermonkey-1.7.0-r1.ebuild 1528 RMD160 83a93b0c5da41ce58b95f19cd8d5f6849352a64a SHA1 69b9b0fa22309a9a58c80fd5be65019d59252179 SHA256 535396b4d5aad6b578413f90d5e96ba17caf4a4c8db7341a77c7c6db8ea8be7b
EBUILD spidermonkey-1.7.0-r2.ebuild 1675 RMD160 75845ebfbee8619ae5c68ae8e205ac53fccf9b0c SHA1 fcea2ee5b9b84470b2f7814ddb6bcab92b8bd953 SHA256 90322c330a144e4cb919c1046ea9deec26d148bfa233d129ddef7aab75c64216
EBUILD spidermonkey-1.7.0.ebuild 1441 RMD160 ffa9984090cece4cc58a3cddeb991b091d1347a8 SHA1 6f448cdc372065681428ca352160d6f78ac5c8d4 SHA256 d6d8711c775927675bc1df7aebaf84d4eedb20b57b11c5e1f6bcf6f01f786661
-MISC ChangeLog 6973 RMD160 ce6e2b3cabb912e359be3e2b6003989c66fb702d SHA1 56692399e56cc7398b7f9ebb3971c041963a31a5 SHA256 33d6b812c736b681e15f1da97c0258a77356ee126517df959c34e30ec5cf473c
-MISC metadata.xml 433 RMD160 a8aa33c0f430f8f80a47adaab4415bc8d0df057b SHA1 29c765414b22f2fa56ed0eb4f780ee3ec16da6a5 SHA256 39727d30931062610a21875826740d8661ab5afffcb94746ed961baac437f083
+EBUILD spidermonkey-1.9.2.13.ebuild 1705 RMD160 bb59b4d81ea10c074dfde67b01b600508e751da9 SHA1 6f97b1add6550ab623e0c0429887141efebd603a SHA256 23f954cdf551890dc1dbec6bac9afe8c443a885572624bfd47cee9ebdf856a0d
+MISC ChangeLog 7191 RMD160 090901d9109412b4f4fad7431597dcdaa94273e4 SHA1 85ff3c2794e8965e0fff3b76a3d12a69c937aa1f SHA256 4671c783102d498919b238169d9b6d7635e288b3c01dbf92ce924944a29eb86c
+MISC metadata.xml 523 RMD160 b40a1ffd94bc32fd5045b99160481c2b95d69d30 SHA1 91eb56541e242621c81e38eb9e9f0c4dea6f099f SHA256 876e7996ea990b78088ea8ef1f0445658fea0bb7cf0a1e07cd1db2bae870307f
diff --git a/dev-lang/spidermonkey/files/spidermonkey-1.9.2.13-as-needed.patch b/dev-lang/spidermonkey/files/spidermonkey-1.9.2.13-as-needed.patch
new file mode 100644
index 000000000000..847bf792c5b2
--- /dev/null
+++ b/dev-lang/spidermonkey/files/spidermonkey-1.9.2.13-as-needed.patch
@@ -0,0 +1,22 @@
+diff --git a/js/src/jsapi-tests/Makefile.in b/js/src/jsapi-tests/Makefile.in
+--- a/js/src/jsapi-tests/Makefile.in
++++ b/js/src/jsapi-tests/Makefile.in
+@@ -55,17 +55,17 @@ CPPSRCS = \
+ testSameValue.cpp \
+ testDebugger.cpp \
+ testDefineGetterSetterNonEnumerable.cpp \
+ testExtendedEq.cpp \
+ $(NULL)
+
+ DEFINES += -DEXPORT_JS_API
+
+-LIBS = $(NSPR_LIBS) $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX)
++LIBS = $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS)
+
+ LOCAL_INCLUDES += -I$(topsrcdir) -I..
+
+ ifdef _MSC_VER
+ ifdef WINCE
+ WIN32_EXE_LDFLAGS += -ENTRY:mainACRTStartup
+ endif
+ endif
diff --git a/dev-lang/spidermonkey/metadata.xml b/dev-lang/spidermonkey/metadata.xml
index 64708559be1d..96a93a5c8bc5 100644
--- a/dev-lang/spidermonkey/metadata.xml
+++ b/dev-lang/spidermonkey/metadata.xml
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
<maintainer>
- <email>aballier@gentoo.org</email>
- <name>Alexis Ballier</name>
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
</maintainer>
+ <maintainer>
+ <email>anarchy@gentoo.org</email>
+ <name>Jory A. Pratt</name>
+ </maintainer>
+ <herd>mozilla</herd>
<longdescription lang="en">
Stand-alone JavaScript C library
</longdescription>
diff --git a/dev-lang/spidermonkey/spidermonkey-1.9.2.13.ebuild b/dev-lang/spidermonkey/spidermonkey-1.9.2.13.ebuild
new file mode 100644
index 000000000000..7d6c123cd50c
--- /dev/null
+++ b/dev-lang/spidermonkey/spidermonkey-1.9.2.13.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.9.2.13.ebuild,v 1.1 2010/12/29 14:18:56 djc Exp $
+
+EAPI="2"
+inherit eutils toolchain-funcs multilib python
+
+MY_PV="${PV}"
+MY_PV="${MY_PV/1.9.2/3.6}"
+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 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="threadsafe"
+
+S="${WORKDIR}/mozilla-1.9.2"
+BUILDDIR="${S}/js/src"
+
+RDEPEND="threadsafe? ( >=dev-libs/nspr-4.8.6 )"
+
+DEPEND="${RDEPEND}
+ =dev-lang/python-2*[threads]
+ dev-util/pkgconfig"
+
+pkg_setup(){
+ python_set_active_version 2
+}
+
+src_prepare() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${PN}-1.9.2.13-as-needed.patch"
+
+ 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_install() {
+ cd ${BUILDDIR}
+ emake install DESTDIR="${D}" || die
+ dodoc ../jsd/README
+ dohtml README.html
+}