summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-12-14 18:24:14 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-12-14 18:24:14 +0000
commitcc39079f2d9cdf90222f4b1ec903c95d014e1eca (patch)
treeacac66522b4fceac310dd1da0fb261a36622b60d /net-libs
parentBumping to 2.3.2.9, fixing both #172650 and #246596 (diff)
downloadhistorical-cc39079f2d9cdf90222f4b1ec903c95d014e1eca.tar.gz
historical-cc39079f2d9cdf90222f4b1ec903c95d014e1eca.tar.bz2
historical-cc39079f2d9cdf90222f4b1ec903c95d014e1eca.zip
Enable python extension, bug #249555
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/xulrunner/ChangeLog6
-rw-r--r--net-libs/xulrunner/Manifest4
-rw-r--r--net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild26
3 files changed, 31 insertions, 5 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog
index 432535c1e6f4..239892b5bac6 100644
--- a/net-libs/xulrunner/ChangeLog
+++ b/net-libs/xulrunner/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/xulrunner
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.155 2008/11/30 18:20:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.156 2008/12/14 18:24:14 armin76 Exp $
+
+ 14 Dec 2008; Raúl Porcel <armin76@gentoo.org>
+ xulrunner-1.9.0.4-r1.ebuild:
+ Enable python extension, bug #249555
30 Nov 2008; Raúl Porcel <armin76@gentoo.org> -xulrunner-1.9-r3.ebuild:
Remove old, unfortunately 1.9-r3 also sigbuses on sparc, so no working
diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest
index 49196c9c78ff..29351b751acf 100644
--- a/net-libs/xulrunner/Manifest
+++ b/net-libs/xulrunner/Manifest
@@ -4,6 +4,6 @@ DIST xulrunner-1.8.1.18-source.tar.bz2 38102841 RMD160 df43bdcdf472db3c41677c807
DIST xulrunner-1.9.0.1-patches-0.1.tar.bz2 5730 RMD160 3b5acec5d09a1c818c51e794889a113fb2fcddf9 SHA1 74638b82cd9afd26530facd8ddc336edcc6daad0 SHA256 986f32661f6f3452f95da833b1a73dfdd8d6c6f18e0759cb7910b53709c21bf0
DIST xulrunner-1.9.0.4.tar.bz2 34070622 RMD160 13d5054b6967ee8290bcc098592c7848bbdb6bbd SHA1 75725d0e10c5c65b70a539f01f9c3f49008e262f SHA256 51846df9417f346b747bb51e79b0f99b7ecbf1cf9eabee047c302b6b66dd13c1
EBUILD xulrunner-1.8.1.18-r1.ebuild 5177 RMD160 7ed195b95f2df3132a9bb0dd861e41e749de20cd SHA1 aabd542ebfc8c817b829b7d776eb7a579289123c SHA256 f44d23292483ced9ea99591b3878baa82c308615247e194d03947ed5ad75b672
-EBUILD xulrunner-1.9.0.4-r1.ebuild 4897 RMD160 406595c99c0893c8d4e44ab137952d7eadee894e SHA1 4f6754842f9300c16c1ddfa8de37ecbdf3d3001e SHA256 89649d47ad1ceaa7e0e2d732c13aac5aa1b2c5363cc6bc82eb5d0bba1dfec586
-MISC ChangeLog 20005 RMD160 869ef49ad136df9deb9ea94a7417f2cdd83037f7 SHA1 96e1f9e0bf402e6ce43d7c02cf487216c31d8b0f SHA256 cf2b9169f7c24104cb587d0a1c165db1ae77bca344890eeab30a96e6cf633027
+EBUILD xulrunner-1.9.0.4-r1.ebuild 5249 RMD160 3d1c9495b4092f9be67f29698ddc83f35f286d55 SHA1 624d5f48c630154b96fea58e6d77a7a6639c5569 SHA256 65dc16ef07c0964a7159a9d873e585da3f91ad0053e514c858d779f1bbacb916
+MISC ChangeLog 20125 RMD160 dd456ccadf2a5058642465471ef47817a1256bfa SHA1 6e9437ffbb5402b7e5d337886c01f2580d3cdcee SHA256 d0c2e5ac68c3e1668a22e562410b0198245536ce0bf35da45f356aca402b97d9
MISC metadata.xml 263 RMD160 9ed9d79d17d0a991e88c31ae6342996519ffef5b SHA1 0de183203298ce0f1c2ecc3fc8149842c4a0ec60 SHA256 64bfc93c4ab02ef2fe9b61b8157eb722d6cca5d552eecc18eaaf8e95980d2550
diff --git a/net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild
index 443d61dc20c9..66600cf2ab1a 100644
--- a/net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild
+++ b/net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild,v 1.1 2008/11/15 18:25:24 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.0.4-r1.ebuild,v 1.2 2008/12/14 18:24:14 armin76 Exp $
WANT_AUTOCONF="2.1"
@@ -16,9 +16,10 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86"
SLOT="1.9"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
-IUSE=""
+IUSE="python"
RDEPEND="java? ( >=virtual/jre-1.4 )
+ python? ( >=dev-lang/python-2.3 )
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.12
>=dev-libs/nspr-4.7.1
@@ -80,6 +81,11 @@ src_compile() {
mozconfig_init
mozconfig_config
+ MEXTENSIONS="default"
+ if use python; then
+ MEXTENSIONS="${MEXTENSIONS},python/xpcom"
+ fi
+
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
mozconfig_annotate '' --disable-mailnews
mozconfig_annotate 'broken' --disable-mochitest
@@ -160,3 +166,19 @@ src_install() {
rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
fi
}
+
+pkg_postinst() {
+ if use python ; then
+ python_version
+ python_mod_optimize ${ROOT}/usr/$(get_libdir)/${PN}-1.9/python/xpcom
+ fi
+}
+
+pkg_postrm() {
+ if use python ; then
+ python_version
+ python_mod_cleanup
+ fi
+}
+
+