summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-08-02 17:16:27 +0000
committerIan Stakenvicius <axs@gentoo.org>2013-08-02 17:16:27 +0000
commit4c6c8abf068845d05d8e42d1acfe3f8ab6274a88 (patch)
treefb75feba4931f0b6057f386b62ab897fb5f4c9e7 /dev-lang/spidermonkey
parentupdated masks for dev-lang/spidermonkey (diff)
downloadhistorical-4c6c8abf068845d05d8e42d1acfe3f8ab6274a88.tar.gz
historical-4c6c8abf068845d05d8e42d1acfe3f8ab6274a88.tar.bz2
historical-4c6c8abf068845d05d8e42d1acfe3f8ab6274a88.zip
version bump, currently masked, see bug 463924
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0x2B6559ED
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r--dev-lang/spidermonkey/ChangeLog8
-rw-r--r--dev-lang/spidermonkey/Manifest16
-rw-r--r--dev-lang/spidermonkey/metadata.xml1
-rw-r--r--dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild120
4 files changed, 135 insertions, 10 deletions
diff --git a/dev-lang/spidermonkey/ChangeLog b/dev-lang/spidermonkey/ChangeLog
index 234eefe9a17f..d4e08a4411c5 100644
--- a/dev-lang/spidermonkey/ChangeLog
+++ b/dev-lang/spidermonkey/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/spidermonkey
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.117 2013/06/08 21:35:23 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.118 2013/08/02 17:16:22 axs Exp $
+
+*spidermonkey-17.0.0 (02 Aug 2013)
+
+ 02 Aug 2013; Ian Stakenvicius <axs@gentoo.org> +spidermonkey-17.0.0.ebuild,
+ metadata.xml:
+ version bump, currently masked, see bug 463924
08 Jun 2013; Jory A. Pratt <anarchy@gentoo.org> spidermonkey-1.8.5-r4.ebuild,
+files/spidermonkey-1.8.5-isfinite.patch:
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index 9a85887e8f69..adc1a98bc3d4 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -23,6 +23,7 @@ DIST firefox-3.6.15.source.tar.bz2 51552828 SHA256 405aa411a8ddb456017564522cbb4
DIST js-1.7.0.tar.gz 1165607 SHA256 44363f0f3895800ee6010763eae90c0d15ed28e07d783bc7b3c607ce98d8668b SHA512 9d9fbd9c1dae969ca19ddb0f977ac56f3e0479ec393b859de252fcdd8b7fc325e80399073540884ed365ce56a3219be34c0db9300d5e50f32969660c90527e51 WHIRLPOOL 8044b306b3a1f0abed5ac8a6bf4f9ed70e1ebc6f83f44934a6306d9ed68cd73124f82e40430d764f158377031f5ee986595e58fdb52259ab6a3a8674eaf4eed1
DIST js185-1.0.0.tar.gz 6164605 SHA256 5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687 SHA512 2af7122a7c7007fd7b6668776fe1222515a810b3e43bbf0f76b8f94e1ef406ffd3fb5ccec393021b00274c05b38a77235bc8d6886994c56762fcaf0aa7cf6718 WHIRLPOOL 58b372713275874d3ae3c6b58c12c56bf8d17d024d591e321538bcdd8e615332e41655954368ce86b90e970209e3fd650c39d931000880f5ec22cb044b5d7a4e
DIST js187-1.0.0.tar.gz 7106870 SHA256 ce80a9eabdaf22d2a1c4830ea36120e6af207bb336bea8f6d34cba32f59fe2b4 SHA512 7df55daac1eac0a7a7b31df044f7d5cc40a1f5079907b661f7c8489614b0ddff35e4f7cd13214bfc4baf9bdb37d392e4118f63ab589a051978d6ceef63d1e9f2 WHIRLPOOL d0f2ea8add0c7c1ac34ff8a6f887e931768091696dda037e7778ecd7eb02889b455747cfaa9a362844983eb2bdda6bddab46bf542cecf81f91ec5165efc0b9a3
+DIST mozjs17.0.0.tar.gz 6778934 SHA256 321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba SHA512 39b68aeb9f712f146778d8b68ee795709a1372c8ab893a222af4eb34882427d6f5cf877e743d6cb2f1b4348c194d8f3774f00cb775b03515b34b49560b748be4 WHIRLPOOL 4df7b51577787194065162b09d2c3dda849c13fa901305f9925d4ca5d38bb7f8e2daa943099e003fb9d11f9264ae2d77ccf04e5eea11e3ddcb624b504b99d52f
DIST spidermonkey-1.8.7-patches-0.1.tar.xz 4796 SHA256 ddc0431ed9a96b67c27787fa824f4456693b9361dbb41366f8196d1a3425a353 SHA512 bd1976b12940390e7d5db6078ca6339006428874788688e4ea4f6bd86afd341c3edd356bac801883637f46085c6d971d4f79e44fa9f6e44b3b715186355be175 WHIRLPOOL 5614bcb99d7101751e6f5be24b20e8a6acd5a682640025830f0c4a4fb74e724e5d71eb56c3e09d0ced4bbfa6c6c93daf42a7bc326c3cf0b07bee777901f25039
EBUILD spidermonkey-1.7.0-r1.ebuild 1517 SHA256 ba5789912e5488171ff51c04863f6260b77e6537154da92ffd799afd9bc4415a SHA512 b73fcd45695e4848625f1a1cc037697a3524ce02149f728f31e6ac20c5dcce4ac19260748699d31ae23add080a071da4d2e022a2f030dfa2e11ae66d596bea5e WHIRLPOOL 6f72d690e2f08e21794f799ef84987b48c3d76a363f4ba432e533d65170ac113f02d21fa6442e8ea677ad453b6fb5c7dc65fada7f5b0e7d7215c9d5af174e92b
EBUILD spidermonkey-1.7.0-r2.ebuild 1664 SHA256 907e253f2519790d2ac48779637a557b8748bdccbf718cef0991a22dc8c71113 SHA512 d9982aaae12384c2e4a3773909fd035abe648316c3f69f6601f9c2e1353be16bad19bfe4eb78ecba6a09e7965a13c6e815780254892a49721f14a53882fe6333 WHIRLPOOL e97024b768c830414ab0b5da4989dab3e20324df3ad8c8181a5e1892588b2a7a241fa61e828af6b2f7f09e8b1965392951c627f4337b63233a1379cba37faf0d
@@ -38,16 +39,13 @@ EBUILD spidermonkey-1.8.5-r4.ebuild 3944 SHA256 fff36beb1f1caa02fd0fa7e3a80b126d
EBUILD spidermonkey-1.8.7-r2.ebuild 3972 SHA256 798f726298088570fd156b95dc02e81753233c6f2843b1daba85675414fc99a6 SHA512 a8dfeae5add60c957fa08b20ef01f229a6f7d03f0c1a29b665e77267a0e08a8198a61569956d6f8f8d7eeaa3d9c66d409aebc0d1cd1e804f6b8e016d4a31ecc6 WHIRLPOOL de8bd55282f3a4a86522e04bdd761221f8710de387245082cc2fe387baf71816bdfd6df4c01ff4d1ea1ca805353bcea6fe36b212193ac73a18545cf14b6484f6
EBUILD spidermonkey-1.8.7-r3.ebuild 3828 SHA256 ab4babe1673c9429deff8bdaa8f1edd27217cade5e720299bfd2a3c64114e1d7 SHA512 8813057026e6c7597c2204f3acd1a338bc7d53799fa8f5086074417e3eeaf85cffb667e1bc89bc4f309fb4e047a9a792d2bfaeebc034287890399e3e7ad1a936 WHIRLPOOL 083b3c9c6af9bde965023a00cc345b77c101d39916cbe5a857824926d0b076340f084ca8d41326a1f0d9cb2cb8eb19471b139d874e61067625c7583e411741be
EBUILD spidermonkey-1.8.7.ebuild 3622 SHA256 3304bd0a2f9a2f59a1ae9ecfea12c870e0d5dbd3b764da92710bd0b498c2f8b8 SHA512 141f705de863818efd726186dd7f5811dac4f651219dcc9452e12008f77d50f78414d20a422e6f60b11d8687e8c276334540a04e9e17a24ade1ba7367c01e1eb WHIRLPOOL 3aae306e20e4a813f1b1d8e117f5dd655fff5bd55029aad627108244f8e916479f209ac5367d72d56e33937d5e325adbdc1aa615c05fda8a75ac96522f6318dc
-MISC ChangeLog 18680 SHA256 1a5da84c4f76fa095691302632de2d322bf987da1d5278eaeaf8555d92f489d2 SHA512 2ff21744e3ab8b9d941691107608cdfcfa73a3d35bd290b6c6e828b425d5f85e6f6f74966e9ef9f78765b67f4dcb11d0d359384682ca4b5d349864af68ee695b WHIRLPOOL 1ffd2a23a68ecd86ee546c21ce6b407423f73fc4217696d0ccf2c3c946c3fc244cfc346548c815adbfc34609b758e94c1c45980432e2949025e82d5b40931863
-MISC metadata.xml 337 SHA256 198d1a23238f7b069df2def08e41451d40c225f8a93a2005ed83166f8fae7d35 SHA512 8f7d13e732629734cdcf5db9b8d4279820517c68b80f3ab840f1dfa6117d38eae70feb6894f1f51e76b33cfc058a39a3ecb6ec3fa33199c7a1bc64bc1897bf89 WHIRLPOOL 8ea694f3e700dc58c787f1c9c91621ed83cf06785172045bd4d2d436fb8e7153ea2631db9e7113a59d765fc67fa32aba5275809cad1d96ed2154fc65da0c803d
+EBUILD spidermonkey-17.0.0.ebuild 3148 SHA256 1f902e99472e7b3ea8e03cc48da1f2a0ceeb599fc1c96aee9a7ee8ac5581fd6d SHA512 71ec77952dbea75a0d5aed7de2bf85910032670dae0437bec83f535ad7e191b76a76ff97df0b2003722d096a9e35c5757a5a81ac565b7a1f3fd6f448875beeeb WHIRLPOOL e7b2628048bfac4497603a157eb84fc798ef4e4d88c083058f7ac689b42740e7a1d3b2b87d482885b69be54a711ef3e629f8a5ea541134d4f83c40fcd351186f
+MISC ChangeLog 18856 SHA256 52115a70246d63d9ed212507db97c976a73901c32eac315449abbd00032d4e36 SHA512 7609d1ac6ee210afe434bc05ce95b6ff94c3825a25d2388629e946aaabcc6ad652d6293636a6ac7a0585a60f0761e2ae58e9e94617925a5a9d6853d5177d4e9b WHIRLPOOL 92a9c017c71769a3cdbe9263e3827c7894d62d30ebfe0c25f28c7903aedbceb7c2495eda4f3fdeb02dace238ee9308add06b6c00a9d23101d377f176db9fad88
+MISC metadata.xml 518 SHA256 55d779229ca449e86ec0052deffcec1917d7012bf21f4314ed2ee5464d3b2a43 SHA512 7e479e71291031e8abad486fea8258fc6c0e398b42a1c3ee607252e7d3320b196b1e87fe01032c496a668c4c3af497acb3f993e58e53572ef88a8b83f5415706 WHIRLPOOL 5cf758c6d4111effbffd811c15f2380f16f43df86b3f88fad72b56612f2b520a814f4d0a64d04c4102219480ddead7e8539d0ebf63fee13526473edc25e1fa60
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJRs6ObAAoJEKDMw7q00Ii0eccH/iVlTI8Z+xGUhsk2DGU7GRhg
-cTbxI0PiVdcElrrb/I9B3kBnd8CTVocn4B9rOWJSfERIZZifEudUvmkCwpSIhU5/
-9ZRX5WcLUzr4zVmRcn1gw2y8m6Ajym1ez45V/qLZ1SuIk06pkz3DOQt4oGk4vkPg
-MlDD2h4wbr+oO5T28q503NFMKncISe9wbdA23cQIOs9pLgmGv2HRKjbK6JimBuqT
-QP+fBX2MTn0G5coUvSlNhnm+Y38QA+xwX7izUkDxf3RCcFbK9X3BwZHhJ6yt/goF
-7zZOmLd58qNFtUBW0lqb/sEoOz6AqNEkUE2qLZ0vSCHcamt1QuwfgP6BBQ7MZ18=
-=1E41
+iF4EAREIAAYFAlH76XcACgkQ2ugaI38ACPCZvAD+MjtseFE7fHGIsALBvuIkMQEL
+U5tZVm42C/5+VsoKrlEA/29u6OnTWjwR1KAQ/9k+umZ/GiJVHHcA78/nolVvdxnt
+=RnKY
-----END PGP SIGNATURE-----
diff --git a/dev-lang/spidermonkey/metadata.xml b/dev-lang/spidermonkey/metadata.xml
index e1b7ee19dcf2..9cfa2ce411f0 100644
--- a/dev-lang/spidermonkey/metadata.xml
+++ b/dev-lang/spidermonkey/metadata.xml
@@ -6,6 +6,7 @@
Stand-alone JavaScript C library
</longdescription>
<use>
+ <flag name='debug'>Enable assertions to allow for easier debugging of programs that link to spidemronkey -- note this will often crash software on regular end-user systems</flag>
<flag name='threadsafe'>Build a threadsafe version of spidermonkey</flag>
</use>
</pkgmetadata>
diff --git a/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild b/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild
new file mode 100644
index 000000000000..93f15a6c0940
--- /dev/null
+++ b/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild,v 1.1 2013/08/02 17:16:22 axs Exp $
+
+EAPI="5"
+WANT_AUTOCONF="2.1"
+inherit eutils toolchain-funcs multilib python versionator pax-utils
+
+MY_PN="mozjs"
+MY_P="${MY_PN}${PV}"
+DESCRIPTION="Stand-alone JavaScript C library"
+HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/js/${MY_PN}${PV}.tar.gz"
+
+LICENSE="NPL-1.1"
+SLOT="0/mozjs17.0.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug jit minimal static-libs test"
+
+REQUIRED_USE="debug? ( jit )"
+
+S="${WORKDIR}/${MY_P}"
+BUILDDIR="${S}/js/src"
+
+RDEPEND=">=dev-libs/nspr-4.9.4
+ virtual/libffi"
+DEPEND="${RDEPEND}
+ app-arch/zip
+ =dev-lang/python-2*[threads]
+ virtual/pkgconfig"
+
+pkg_setup(){
+ if [[ ${MERGE_TYPE} != "binary" ]]; then
+ python_set_active_version 2
+ python_pkg_setup
+ export LC_ALL="C"
+ fi
+}
+
+src_prepare() {
+ epatch_user
+
+ if [[ ${CHOST} == *-freebsd* ]]; then
+ # Don't try to be smart, this does not work in cross-compile anyway
+ ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" || die
+ fi
+}
+
+src_configure() {
+ cd "${BUILDDIR}" || die
+
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
+ AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
+ LD="$(tc-getLD)" PYTHON="$(PYTHON)" \
+ econf \
+ ${myopts} \
+ --enable-jemalloc \
+ --enable-readline \
+ --enable-threadsafe \
+ --with-system-nspr \
+ --enable-system-ffi \
+ --enable-jemalloc \
+ $(use_enable debug) \
+ $(use_enable jit tracejit) \
+ $(use_enable jit methodjit) \
+ $(use_enable static-libs static) \
+ $(use_enable test tests)
+}
+
+src_compile() {
+ cd "${BUILDDIR}" || die
+ if tc-is-cross-compiler; then
+ make CFLAGS="" CXXFLAGS="" \
+ CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
+ AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
+ jscpucfg host_jsoplengen host_jskwgen || die
+ make CFLAGS="" CXXFLAGS="" \
+ CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
+ AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
+ -C config nsinstall || die
+ mv {,native-}jscpucfg || die
+ mv {,native-}host_jskwgen || die
+ mv {,native-}host_jsoplengen || die
+ mv config/{,native-}nsinstall || die
+ sed -e 's@./jscpucfg@./native-jscpucfg@' \
+ -e 's@./host_jskwgen@./native-host_jskwgen@' \
+ -e 's@./host_jsoplengen@./native-host_jsoplengen@' \
+ -i Makefile || die
+ sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die
+ rm -f config/host_nsinstall.o \
+ config/host_pathsub.o \
+ host_jskwgen.o \
+ host_jsoplengen.o || die
+ fi
+ emake
+}
+
+src_test() {
+ cd "${BUILDDIR}/jsapi-tests" || die
+ emake check
+}
+
+src_install() {
+ cd "${BUILDDIR}" || die
+ emake DESTDIR="${D}" install
+
+ if ! use minimal; then
+ if use jit; then
+ pax-mark m "${ED}/usr/bin/js1*"
+ fi
+ else
+ rm -f "${ED}/usr/bin/js1*"
+ fi
+
+ if ! use static-libs; then
+ # We can't actually disable building of static libraries
+ # They're used by the tests and in a few other places
+ find "${D}" -iname '*.a' -delete || die
+ fi
+}