summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2010-03-07 22:38:56 +0000
committerLance Albertson <ramereth@gentoo.org>2010-03-07 22:38:56 +0000
commitbaa4fc30217a9c4fd0a51667f3d4dabf24b83796 (patch)
tree0f7dfa92cbe779d2950b43c85551a830133c28d9 /dev-lang/spidermonkey
parent[media-gfx/tachyon] Update ebuild per bug #293969. thanks to Christopher Schwan (diff)
downloadhistorical-baa4fc30217a9c4fd0a51667f3d4dabf24b83796.tar.gz
historical-baa4fc30217a9c4fd0a51667f3d4dabf24b83796.tar.bz2
historical-baa4fc30217a9c4fd0a51667f3d4dabf24b83796.zip
Add unicode support fixing #277697
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r--dev-lang/spidermonkey/ChangeLog10
-rw-r--r--dev-lang/spidermonkey/Manifest13
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.7.0-r1.ebuild51
3 files changed, 71 insertions, 3 deletions
diff --git a/dev-lang/spidermonkey/ChangeLog b/dev-lang/spidermonkey/ChangeLog
index 91451b7704c5..1e5a1fcd6446 100644
--- a/dev-lang/spidermonkey/ChangeLog
+++ b/dev-lang/spidermonkey/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/spidermonkey
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.45 2009/12/29 17:45:20 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.46 2010/03/07 22:38:56 ramereth Exp $
+
+*spidermonkey-1.7.0-r1 (07 Mar 2010)
+
+ 07 Mar 2010; Lance Albertson <ramereth@gentoo.org>
+ +spidermonkey-1.7.0-r1.ebuild:
+ Add unicode support fixing #277697
29 Dec 2009; Raúl Porcel <armin76@gentoo.org> spidermonkey-1.7.0.ebuild:
Add ~arm
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index 1a28b516fc65..17a43abe395f 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -1,7 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX spidermonkey-1.5-build.patch 3457 RMD160 323b186d6be267bce42f15fe0694b8c17d1e927d SHA1 995708c8cbd03ed690505fab70a54349d4b94d09 SHA256 04a2b3b1b85825f463c6eb703d32e66747e2a8cca81b0026b958862eb1248fdb
AUX spidermonkey-1.6-header.patch 270 RMD160 ff656884925470695542b2b9412a130c72577f3a SHA1 6039b01f565b2bf2c20490a52b99b52796057b61 SHA256 e81acd7ba025214b2ecfa5918a1652e4590eaca39307c4e8d9f5d949d315373e
AUX spidermonkey-1.7.0-threadsafe.diff 513 RMD160 894fd8791cdf3156031e4cb370a0de40ce53cdf2 SHA1 cd4d61468ca2fdd1f90b6bb207ebf46427261166 SHA256 3e41354e093efce3fe897814bc490aa45e17c9d6d0ca6ae7f9f1550b85be89e9
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.ebuild 1441 RMD160 ffa9984090cece4cc58a3cddeb991b091d1347a8 SHA1 6f448cdc372065681428ca352160d6f78ac5c8d4 SHA256 d6d8711c775927675bc1df7aebaf84d4eedb20b57b11c5e1f6bcf6f01f786661
-MISC ChangeLog 6552 RMD160 778319b0b5aef2a01744594d715e93f2cedf6622 SHA1 7a88fcc3603db6a6a9aa0fcbf79d8022b8beb61b SHA256 b54d731c2d7d4b5585c418aebb084bd6bbb9aaa7e688dccea1988b5fb0354692
+MISC ChangeLog 6715 RMD160 56f4c21c993f7cad24e5ec294852c6c047fe071b SHA1 7a645874ac76506015b24d39ecd0f937d8225803 SHA256 d18ec74784c7a947b473aa86dec398683f1be34dd1dfe33bff1bb3e80b509c09
MISC metadata.xml 433 RMD160 a8aa33c0f430f8f80a47adaab4415bc8d0df057b SHA1 29c765414b22f2fa56ed0eb4f780ee3ec16da6a5 SHA256 39727d30931062610a21875826740d8661ab5afffcb94746ed961baac437f083
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iD8DBQFLlCqEQW+hXSf0t0IRAtzYAJ43JOEY8kEXWt0hZ2xYLxQlk8xWxgCfWMzh
+2l8dNJmX3y/+9dNpQfcOEtA=
+=k/we
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/spidermonkey/spidermonkey-1.7.0-r1.ebuild b/dev-lang/spidermonkey/spidermonkey-1.7.0-r1.ebuild
new file mode 100644
index 000000000000..4689401ed7cc
--- /dev/null
+++ b/dev-lang/spidermonkey/spidermonkey-1.7.0-r1.ebuild
@@ -0,0 +1,51 @@
+# 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.7.0-r1.ebuild,v 1.1 2010/03/07 22:38:56 ramereth Exp $
+
+inherit eutils toolchain-funcs multilib flag-o-matic
+
+MY_P="js-${PV}"
+DESCRIPTION="Stand-alone JavaScript C library"
+HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.tar.gz"
+
+LICENSE="NPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="threadsafe unicode"
+
+S="${WORKDIR}/js/src"
+
+RDEPEND="threadsafe? ( dev-libs/nspr )"
+
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.5-build.patch"
+ epatch "${FILESDIR}/${PN}-1.6-header.patch"
+ epatch "${FILESDIR}/${P}-threadsafe.diff"
+ if [[ ${CHOST} == *-freebsd* ]]; then
+ # Don't try to be smart, this does not work in cross-compile anyway
+ ln -s "${S}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
+ fi
+}
+
+src_compile() {
+ use unicode && append-flags "-DJS_C_STRINGS_ARE_UTF8"
+ tc-export CC LD AR
+ if use threadsafe; then
+ emake -j1 -f Makefile.ref LIBDIR="$(get_libdir)" JS_THREADSAFE=1 \
+ || die "emake with threadsafe enabled failed";
+ else
+ emake -j1 -f Makefile.ref LIBDIR="$(get_libdir)" \
+ || die "emake without threadsafe enabled failed";
+ fi
+}
+
+src_install() {
+ emake -f Makefile.ref install DESTDIR="${D}" LIBDIR="$(get_libdir)" || die
+ dodoc ../jsd/README
+ dohtml README.html
+}