summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-06-28 22:22:07 +0200
committerThomas Sachau <tommy@gentoo.org>2009-06-28 22:22:07 +0200
commitf0398c57768bd6a9a63588de492730fce4718bb7 (patch)
tree0e7eb6ea69229fe93f7b371f63b1b1ebd2cdc106
parentDrop net-dns/libidn (diff)
downloadmultilib-portage-f0398c57768bd6a9a63588de492730fce4718bb7.tar.gz
multilib-portage-f0398c57768bd6a9a63588de492730fce4718bb7.tar.bz2
multilib-portage-f0398c57768bd6a9a63588de492730fce4718bb7.zip
Drop net-libs/xulrunner
-rw-r--r--net-libs/xulrunner/Manifest9
-rw-r--r--net-libs/xulrunner/files/xulrunner.conf6
-rw-r--r--net-libs/xulrunner/xulrunner-1.8.1.19.ebuild166
-rw-r--r--net-libs/xulrunner/xulrunner-1.9.0.10.ebuild157
-rw-r--r--net-libs/xulrunner/xulrunner-1.9.0.11.ebuild157
5 files changed, 0 insertions, 495 deletions
diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest
deleted file mode 100644
index 7679c1bb2..000000000
--- a/net-libs/xulrunner/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX xulrunner.conf 113 RMD160 8be48cf5040eb5753c8eb35c048cc6b2c1a8a057 SHA1 62cce7ee5b1e51343c3dbc388894011da913d9d4 SHA256 9ac56b42cfb48854d23c299330ad327af5f0815140dcb7fdee905b660cd9a8a3
-DIST xulrunner-1.8.1.19-patches-0.1.tar.bz2 62219 RMD160 ecc59c5204090c6aa9c475bc181f745a6be84e98 SHA1 1b19bb5b4203a582d990175189b11f0215531327 SHA256 621a9e7abdfd667b05d0c8cee7b3cc284decd3ee50958ea849969f9ac3475f73
-DIST xulrunner-1.8.1.19-source.tar.bz2 38110248 RMD160 2b742243c6370a2790f48d2ceae2be756b4737ce SHA1 fb1b85088000142e24609d5ab9e6e483a82f8917 SHA256 3c1873b3e6c660acdae9e102391bbc64274cea3ed6238d9d693ab09fcf2b53ee
-DIST xulrunner-1.9.0.10-patches-0.1.tar.bz2 7077 RMD160 73612f1b619fef5d02e8c8f8318afe192e435e42 SHA1 8a48e53951216c330d4908def93a5c0201f5a890 SHA256 bc0c0d26258bc17ffa5cd513089fe94395ff8f6c17023cd363fac30cdd675410
-DIST xulrunner-1.9.0.10.tar.bz2 34167778 RMD160 96ca5c569bbee78924c6e9cb5fea660870a8c096 SHA1 926d9042557e2d767db91b1d183327713fb090d3 SHA256 fe4091f4de50278567b4e26effea66a998dd41f455077e1e37cff8b3417a8f34
-DIST xulrunner-1.9.0.11.tar.bz2 34209785 RMD160 63ace56728ceac5d54b8613c842d69791a87be3d SHA1 9e64464303eef215c11793ac1c096abac58215f6 SHA256 142aa222bbf800867f6301f05ca8c158edc17bfb3ad11c73c38a57ca7da3c5a2
-EBUILD xulrunner-1.8.1.19.ebuild 5233 RMD160 f0da564f363e04d5f2ca7c169798ccdb628c814e SHA1 a6ce2f92954b6ea28f8d94f54fe65fee5625f43c SHA256 cd330be6debd53170a0be8b6d12d789573d0e3870c33eed30b2bd7d035e9090d
-EBUILD xulrunner-1.9.0.10.ebuild 4848 RMD160 0a6be1466641e189ce03231e24fed9b7760dd22c SHA1 e4dbe4d6192a359a77fccaa4dae342158dd822aa SHA256 7be58384abcd49811bf783ef467d7ac603dcaa437e41fe683f5b198d59f2a9dc
-EBUILD xulrunner-1.9.0.11.ebuild 4857 RMD160 f0117ccf3e17e472e2a7a8dbce505d7ceb1d50e4 SHA1 9a1365eae51cab08e076b95c33d83f9cf149286a SHA256 293a16b37e3d64bcb313cec78f5e071b17753a14d98aa3d364da4ba2f1c4007b
diff --git a/net-libs/xulrunner/files/xulrunner.conf b/net-libs/xulrunner/files/xulrunner.conf
deleted file mode 100644
index e622e0b71..000000000
--- a/net-libs/xulrunner/files/xulrunner.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# Registration file generated by xulrunner. Do not edit.
-
-[version]
-GRE_PATH=instpath
-xulrunner=true
-javaxpcom=1
diff --git a/net-libs/xulrunner/xulrunner-1.8.1.19.ebuild b/net-libs/xulrunner/xulrunner-1.8.1.19.ebuild
deleted file mode 100644
index 8f9758d68..000000000
--- a/net-libs/xulrunner/xulrunner-1.8.1.19.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.1.19.ebuild,v 1.8 2009/01/25 21:16:55 armin76 Exp $
-
-EAPI="2"
-
-WANT_AUTOCONF="2.1"
-
-inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2 multilib-native
-PATCH="${P}-patches-0.1"
-
-DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
-HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
-SRC_URI="mirror://gentoo/${P}-source.tar.bz2
- mirror://gentoo/${PATCH}.tar.bz2"
-
-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=""
-
-RDEPEND=">=sys-libs/zlib-1.1.4[lib32?]
- >=sys-devel/binutils-2.16.1
- >=dev-libs/nss-3.11.5[lib32?]
- >=dev-libs/nspr-4.6.5-r1[lib32?]
- java? ( >=virtual/jre-1.4 )"
-
-DEPEND="java? ( >=virtual/jdk-1.4 )
- ${RDEPEND}
- dev-util/pkgconfig"
-
-S="${WORKDIR}/mozilla"
-
-# Needed by multilib-native_src_compile_internal() and multilib-native_src_install_internal().
-# Would do in pkg_setup but that loses the export attribute, they
-# become pure shell variables.
-export MOZ_CO_PROJECT=xulrunner
-export BUILD_OFFICIAL=1
-export MOZILLA_OFFICIAL=1
-
-pkg_setup(){
- if ! built_with_use x11-libs/cairo X; then
- eerror "Cairo is not built with X useflag."
- eerror "Please add 'X' to your USE flags, and re-emerge cairo."
- die "Cairo needs X"
- fi
-
- if ! built_with_use --missing true x11-libs/pango X; then
- eerror "Pango is not built with X useflag."
- eerror "Please add 'X' to your USE flags, and re-emerge pango."
- die "Pango needs X"
- fi
- java-pkg-opt-2_pkg_setup
-}
-
-src_unpack() {
- unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2
-}
-
-multilib-native_src_prepare_internal() {
- # Apply our patches
- cd "${S}" || die "cd failed"
- EPATCH_SUFFIX="patch" \
- EPATCH_FORCE="yes" \
- epatch "${WORKDIR}"/patch
-
- eautoreconf || die "failed running eautoreconf"
-}
-
-multilib-native_src_configure_internal() {
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
-
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
- mozconfig_config
-
- mozconfig_annotate '' --enable-extensions="default,cookie,permissions,spellcheck"
- mozconfig_annotate '' --enable-native-uconv
- mozconfig_annotate '' --enable-image-encoder=all
- mozconfig_annotate '' --enable-canvas
- #mozconfig_annotate '' --enable-js-binary
- mozconfig_annotate '' --enable-embedding-tests
- mozconfig_annotate '' --with-system-nspr
- mozconfig_annotate '' --with-system-nss
- mozconfig_annotate '' --with-system-bz2
- mozconfig_annotate '' --enable-jsd
- mozconfig_annotate '' --enable-xpctools
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
- mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
-
- #disable java
- if ! use java ; then
- mozconfig_annotate '-java' --disable-javaxpcom
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- # -fstack-protector{,-all} breaks us
- filter-flags -fstack-protector -fstack-protector-all
-
- ####################################
- #
- # Configure and build
- #
- ####################################
-
- CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- econf || die
-
- # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
- # to econf, but the quotes cause configure to fail.
- sed -i -e \
- 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
- "${S}"/config/autoconf.mk \
- "${S}"/toolkit/content/buildconfig.html
-
- # This removes extraneous CFLAGS from the Makefiles to reduce RAM
- # requirements while compiling
- edit_makefiles
-}
-
-multilib-native_src_install_internal() {
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
- emake DESTDIR="${D}" install || die "emake install failed"
-
- X_DATE=`date +%Y%m%d`
- # Add Gentoo package version to preferences - copied from debian rules
- echo "pref(\"general.useragent.product\",\"Gecko\");" \
- >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
- echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \
- >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
- # Add vendor
- echo "pref(\"general.useragent.vendor\",\"Gentoo\");" \
- >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
-
- if use java ; then
- java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
- rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
- fi
-
- # xulrunner registration, the gentoo way
- insinto /etc/gre.d
- newins "${FILESDIR}"/${PN}.conf ${PV}.conf
- sed -i -e \
- "s|version|${PV}|
- s|instpath|${MOZILLA_FIVE_HOME}|" \
- "${D}"/etc/gre.d/${PV}.conf
-
- prep_ml_binaries /usr/bin/xulrunner-config
-}
-
-pkg_postinst() {
- elog "Please remember to rebuild any packages that you have built"
- elog "against xulrunner. Some packages might be broken by the upgrade; if this"
- elog "is the case, please search at http://bugs.gentoo.org and open a new bug"
- elog "if one does not exist."
-}
diff --git a/net-libs/xulrunner/xulrunner-1.9.0.10.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.10.ebuild
deleted file mode 100644
index 7df80f1bd..000000000
--- a/net-libs/xulrunner/xulrunner-1.9.0.10.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2009 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.10.ebuild,v 1.6 2009/05/01 14:04:51 maekke Exp $
-EAPI="2"
-WANT_AUTOCONF="2.1"
-
-inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools multilib-native
-PATCH="${P}-patches-0.1"
-
-DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
-HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- http://dev.gentoo.org/~armin76/dist/${P}.tar.bz2
- mirror://gentoo/${PATCH}.tar.bz2
- http://dev.gentoo.org/~armin76/dist/${PATCH}.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=""
-
-RDEPEND="java? ( >=virtual/jre-1.4 )
- >=sys-devel/binutils-2.16.1
- >=dev-libs/nss-3.12.2[lib32?]
- >=dev-libs/nspr-4.7.4[lib32?]
- >=app-text/hunspell-1.1.9[lib32?]
- >=media-libs/lcms-1.17[lib32?]
- x11-libs/cairo[X]
- x11-libs/pango[X]"
-
-DEPEND="java? ( >=virtual/jdk-1.4 )
- ${RDEPEND}
- dev-util/pkgconfig"
-
-S="${WORKDIR}/mozilla"
-
-# Needed by src_compile() and src_install().
-# Would do in pkg_setup but that loses the export attribute, they
-# become pure shell variables.
-export MOZ_CO_PROJECT=xulrunner
-export BUILD_OFFICIAL=1
-export MOZILLA_OFFICIAL=1
-
-pkg_setup() {
- java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- # Apply our patches
- cd "${S}" || die "cd failed"
- EPATCH_SUFFIX="patch" \
- EPATCH_FORCE="yes" \
- epatch "${WORKDIR}"/patch
-
- eautoreconf || die "failed running eautoreconf"
-
- # We need to re-patch this because autoreconf overwrites it
- epatch "${WORKDIR}"/patch/000_flex-configure-LANG.patch
-}
-
-multilib-native_src_configure_internal() {
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"
-
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
- mozconfig_config
-
- MEXTENSIONS="default"
-# if use python; then
-# MEXTENSIONS="${MEXTENSIONS},python/xpcom"
-# fi
-
- # It doesn't compile on alpha without this LDFLAGS
- use alpha && append-ldflags "-Wl,--no-relax"
-
- mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
- mozconfig_annotate '' --disable-mailnews
- mozconfig_annotate 'broken' --disable-mochitest
- mozconfig_annotate 'broken' --disable-crashreporter
- mozconfig_annotate '' --enable-system-hunspell
- #mozconfig_annotate '' --enable-system-sqlite
- mozconfig_annotate '' --enable-image-encoder=all
- mozconfig_annotate '' --enable-canvas
- #mozconfig_annotate '' --enable-js-binary
- mozconfig_annotate '' --enable-embedding-tests
- mozconfig_annotate '' --with-system-nspr
- mozconfig_annotate '' --with-system-nss
- mozconfig_annotate '' --enable-system-lcms
- mozconfig_annotate '' --with-system-bz2
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
- mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks
- mozconfig_annotate '' --enable-safe-browsing
-
- # Other ff-specific settings
- mozconfig_annotate '' --enable-jsd
- mozconfig_annotate '' --enable-xpctools
- mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
-
- #disable java
- if ! use java ; then
- mozconfig_annotate '-java' --disable-javaxpcom
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- ####################################
- #
- # Configure and build
- #
- ####################################
-
- if [[ $(gcc-major-version) -lt 4 ]]; then
- append-cxxflags -fno-stack-protector
- fi
-
- CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- econf || die
-
- # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
- # to econf, but the quotes cause configure to fail.
- sed -i -e \
- 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
- "${S}"/config/autoconf.mk \
- "${S}"/toolkit/content/buildconfig.html
-}
-
-multilib-native_src_install_internal() {
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"
-
- emake DESTDIR="${D}" install || die "emake install failed"
-
- rm "${D}"/usr/bin/xulrunner
-
- dodir /usr/bin
- dosym ${MOZILLA_FIVE_HOME}/xulrunner /usr/bin/xulrunner-1.9
-
- # Add vendor
- echo "pref(\"general.useragent.vendor\",\"Gentoo\");" \
- >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
-
- if use java ; then
- java-pkg_regjar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
- java-pkg_regjar "${D}"${MOZILLA_FIVE_HOME}/sdk/lib/MozillaGlue.jar
- java-pkg_regjar "${D}"${MOZILLA_FIVE_HOME}/sdk/lib/MozillaInterfaces.jar
- fi
-
- prep_ml_binaries /usr/bin/xulrunner-config
-}
diff --git a/net-libs/xulrunner/xulrunner-1.9.0.11.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.11.ebuild
deleted file mode 100644
index 0928e9ab6..000000000
--- a/net-libs/xulrunner/xulrunner-1.9.0.11.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2009 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.11.ebuild,v 1.6 2009/06/26 00:23:12 rich0 Exp $
-EAPI="2"
-WANT_AUTOCONF="2.1"
-
-inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools multilib-native
-PATCH="${PN}-1.9.0.10-patches-0.1"
-
-DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
-HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- http://dev.gentoo.org/~armin76/dist/${P}.tar.bz2
- mirror://gentoo/${PATCH}.tar.bz2
- http://dev.gentoo.org/~armin76/dist/${PATCH}.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=""
-
-RDEPEND="java? ( >=virtual/jre-1.4 )
- >=sys-devel/binutils-2.16.1
- >=dev-libs/nss-3.12.2[lib32?]
- >=dev-libs/nspr-4.7.4[lib32?]
- >=app-text/hunspell-1.1.9[lib32?]
- >=media-libs/lcms-1.17[lib32?]
- x11-libs/cairo[X]
- x11-libs/pango[X]"
-
-DEPEND="java? ( >=virtual/jdk-1.4 )
- ${RDEPEND}
- dev-util/pkgconfig"
-
-S="${WORKDIR}/mozilla"
-
-# Needed by src_compile() and src_install().
-# Would do in pkg_setup but that loses the export attribute, they
-# become pure shell variables.
-export MOZ_CO_PROJECT=xulrunner
-export BUILD_OFFICIAL=1
-export MOZILLA_OFFICIAL=1
-
-pkg_setup() {
- java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- # Apply our patches
- cd "${S}" || die "cd failed"
- EPATCH_SUFFIX="patch" \
- EPATCH_FORCE="yes" \
- epatch "${WORKDIR}"/patch
-
- eautoreconf || die "failed running eautoreconf"
-
- # We need to re-patch this because autoreconf overwrites it
- epatch "${WORKDIR}"/patch/000_flex-configure-LANG.patch
-}
-
-multilib-native_src_configure_internal() {
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"
-
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
- mozconfig_config
-
- MEXTENSIONS="default"
-# if use python; then
-# MEXTENSIONS="${MEXTENSIONS},python/xpcom"
-# fi
-
- # It doesn't compile on alpha without this LDFLAGS
- use alpha && append-ldflags "-Wl,--no-relax"
-
- mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
- mozconfig_annotate '' --disable-mailnews
- mozconfig_annotate 'broken' --disable-mochitest
- mozconfig_annotate 'broken' --disable-crashreporter
- mozconfig_annotate '' --enable-system-hunspell
- #mozconfig_annotate '' --enable-system-sqlite
- mozconfig_annotate '' --enable-image-encoder=all
- mozconfig_annotate '' --enable-canvas
- #mozconfig_annotate '' --enable-js-binary
- mozconfig_annotate '' --enable-embedding-tests
- mozconfig_annotate '' --with-system-nspr
- mozconfig_annotate '' --with-system-nss
- mozconfig_annotate '' --enable-system-lcms
- mozconfig_annotate '' --with-system-bz2
- # Bug 60668: Galeon doesn't build without oji enabled, so enable it
- # regardless of java setting.
- mozconfig_annotate '' --enable-oji --enable-mathml
- mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks
- mozconfig_annotate '' --enable-safe-browsing
-
- # Other ff-specific settings
- mozconfig_annotate '' --enable-jsd
- mozconfig_annotate '' --enable-xpctools
- mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
-
- #disable java
- if ! use java ; then
- mozconfig_annotate '-java' --disable-javaxpcom
- fi
-
- # Finalize and report settings
- mozconfig_final
-
- ####################################
- #
- # Configure and build
- #
- ####################################
-
- if [[ $(gcc-major-version) -lt 4 ]]; then
- append-cxxflags -fno-stack-protector
- fi
-
- CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- econf || die
-
- # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
- # to econf, but the quotes cause configure to fail.
- sed -i -e \
- 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
- "${S}"/config/autoconf.mk \
- "${S}"/toolkit/content/buildconfig.html
-}
-
-multilib-native_src_install_internal() {
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"
-
- emake DESTDIR="${D}" install || die "emake install failed"
-
- rm "${D}"/usr/bin/xulrunner
-
- dodir /usr/bin
- dosym ${MOZILLA_FIVE_HOME}/xulrunner /usr/bin/xulrunner-1.9
-
- # Add vendor
- echo "pref(\"general.useragent.vendor\",\"Gentoo\");" \
- >> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
-
- if use java ; then
- java-pkg_regjar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
- java-pkg_regjar "${D}"${MOZILLA_FIVE_HOME}/sdk/lib/MozillaGlue.jar
- java-pkg_regjar "${D}"${MOZILLA_FIVE_HOME}/sdk/lib/MozillaInterfaces.jar
- fi
-
- prep_ml_binaries /usr/bin/xulrunner-config
-}