| Summary: | net-libs/xulrunner-1.8.1.12-r1: patch for building with PyXPCOM support | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Dubner <dubnerm> |
| Component: | New packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Not devrel --- reassigning to mozilla. This worked for me. Thanks! Tim So, due to update(s) of xulrunner-1.8.1.12.ebuild, here is new patch:
--- xulrunner-1.8.1.12.ebuild 2008-03-19 18:19:43.000000000 +0300
+++ xulrunner-1.8.1.12-r1.ebuild 2008-03-19 18:18:55.000000000 +0300
@@ -15,12 +15,13 @@
SLOT="1.8"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
+IUSE="java python"
RDEPEND=">=sys-libs/zlib-1.1.4
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.11.5
>=dev-libs/nspr-4.6.5-r1
+ python? ( >=dev-lang/python-2.4 )
java? ( >=virtual/jre-1.4 )"
DEPEND="java? ( >=virtual/jdk-1.4 )
@@ -60,7 +61,11 @@
mozconfig_init
mozconfig_config
- mozconfig_annotate '' --enable-extensions="default,cookie,permissions,spellcheck"
+ if use python ; then
+ mozconfig_annotate '+python' --enable-extensions="default,cookie,permissions,spellcheck,python/xpcom"
+ else
+ mozconfig_annotate '-python' --enable-extensions="default,cookie,permissions,spellcheck"
+ fi
mozconfig_annotate '' --enable-native-uconv
mozconfig_annotate '' --enable-image-encoder=all
mozconfig_annotate '' --enable-canvas
*** This bug has been marked as a duplicate of bug 180309 *** |
Here is a patch for PyXPCOM support: $ diff -u xulrunner-1.8.1.12.ebuild xulrunner-1.8.1.12-r1.ebuild --- /usr/portage/net-libs/xulrunner/xulrunner-1.8.1.12.ebuild 2008-02-11 05:07:18.000000000 +0300 +++ xulrunner-1.8.1.12-r1.ebuild 2008-02-12 15:58:35.000000000 +0300 @@ -15,12 +15,13 @@ SLOT="0" LICENSE="MPL-1.1 GPL-2 LGPL-2.1" KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="" +IUSE="java python" RDEPEND=">=sys-libs/zlib-1.1.4 >=sys-devel/binutils-2.16.1 >=dev-libs/nss-3.11.5 >=dev-libs/nspr-4.6.5-r1 + python? ( >=dev-lang/python-2.4 ) java? ( >=virtual/jre-1.4 )" DEPEND="java? ( >=virtual/jdk-1.4 ) @@ -60,7 +61,11 @@ mozconfig_init mozconfig_config - mozconfig_annotate '' --enable-extensions="default,cookie,permissions,spellcheck" + if use python ; then + mozconfig_annotate '+python' --enable-extensions="default,cookie,permissions,spellcheck,python/xpcom" + else + mozconfig_annotate '-python' --enable-extensions="default,cookie,permissions,spellcheck" + fi mozconfig_annotate '' --enable-native-uconv mozconfig_annotate '' --enable-image-encoder=all mozconfig_annotate '' --enable-canvas Reproducible: Always Steps to Reproduce: