diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-06-13 21:03:08 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-06-13 21:03:08 +0000 |
commit | d8f9e91490441064d97350b036abc4d83e6d48c8 (patch) | |
tree | 66a6385f54b45153b470df4e5047854a5b9a5c21 | |
parent | alpha/ia64/x86 stable wrt #181843 (diff) | |
download | historical-d8f9e91490441064d97350b036abc4d83e6d48c8.tar.gz historical-d8f9e91490441064d97350b036abc4d83e6d48c8.tar.bz2 historical-d8f9e91490441064d97350b036abc4d83e6d48c8.zip |
old
Package-Manager: portage-2.1.2.9
-rw-r--r-- | net-libs/xulrunner/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/xulrunner/Manifest | 26 | ||||
-rw-r--r-- | net-libs/xulrunner/files/digest-xulrunner-1.8.0.4 | 6 | ||||
-rw-r--r-- | net-libs/xulrunner/files/digest-xulrunner-1.8.1.3 | 6 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.8.0.4.ebuild | 160 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.8.1.3.ebuild | 155 |
6 files changed, 9 insertions, 350 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog index 13f0c278663d..767546732379 100644 --- a/net-libs/xulrunner/ChangeLog +++ b/net-libs/xulrunner/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/xulrunner # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.32 2007/06/13 20:54:38 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.33 2007/06/13 21:03:08 armin76 Exp $ + + 13 Jun 2007; Raúl Porcel <armin76@gentoo.org> -xulrunner-1.8.0.4.ebuild, + -xulrunner-1.8.1.3.ebuild: + clean old 13 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org> xulrunner-1.8.1.4.ebuild: diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest index 34018c869373..e17f1f813dd1 100644 --- a/net-libs/xulrunner/Manifest +++ b/net-libs/xulrunner/Manifest @@ -2,38 +2,20 @@ AUX xulrunner.conf 113 RMD160 8be48cf5040eb5753c8eb35c048cc6b2c1a8a057 SHA1 62cc MD5 1047668b701935bb42659431038d325a files/xulrunner.conf 113 RMD160 8be48cf5040eb5753c8eb35c048cc6b2c1a8a057 files/xulrunner.conf 113 SHA256 9ac56b42cfb48854d23c299330ad327af5f0815140dcb7fdee905b660cd9a8a3 files/xulrunner.conf 113 -DIST xulrunner-1.8.0.4-patches-1.1.tar.bz2 48808 RMD160 b9399adec6688d019a4b9065520845b74a45b52f SHA1 8363602654721b3a5db96d00085170572a9c803e SHA256 b50daa61a6dbc0557fb54de3844bdd3407beb224b119e332dd6231b06f84e482 -DIST xulrunner-1.8.0.4-source.tar.bz2 33846136 RMD160 7979de9b3bc85a6b44367283e343cddd12e70bdb SHA1 9484a4783b86c6dc1cb9b99331791be079b8697e SHA256 193825593ef37e29d82f8bcbff3119caf131390a0369709c1667b509f774ffa9 -DIST xulrunner-1.8.1.3-patches-0.2.tar.bz2 61608 RMD160 76cc30c3c1a5abcd5d315a68dde74ee8b81aea29 SHA1 acafd0b0e84839f4c5d12c16e46e6a1c6ba1e4d4 SHA256 aaaf5e39bf531ee58d8d01269a32e7abce2fc2b9a2705d24d8ad9fe3269540b0 -DIST xulrunner-1.8.1.3-source.tar.bz2 35258868 RMD160 f7d5bdbaeffa33d3789cc80adc107885bb80e029 SHA1 51b18537ff54c6fee7d6ecab783ce8f5703cbdc8 SHA256 bfff1ff35ef23edb40532ee7fde042671ee659ec6ed3a341d8925c7aa8954702 DIST xulrunner-1.8.1.4-patches-0.1.tar.bz2 61728 RMD160 abeeef43afb3de3652382f514f918e85f92d2b83 SHA1 f75724df3dadba231f8b61112c4bd0ebaa2dd408 SHA256 8dd2389654b2640d5ddc3298fde8e1f74cde07b6fcd0aa6a3480f2c81e611145 DIST xulrunner-1.8.1.4-source.tar.bz2 35471439 RMD160 a5bb693b706c12c73cc77532acdf7389f3197e2f SHA1 e823ea0de5f6cd149907a4b38690e2d96c532fc1 SHA256 099089124364b57481667c11f2b8807766b4b4ef3819033db47b5f654745f6bd -EBUILD xulrunner-1.8.0.4.ebuild 4941 RMD160 627ceafdcb54bc0ca637af749f607fee14a70eee SHA1 d74cff40c144641723e08a9464db026f71974656 SHA256 387b068133fffd7c713278dbe98432de54ecf9b6a9221ff4525e483f253021c3 -MD5 9a6fe676f44c428b8b437ccaa00d0723 xulrunner-1.8.0.4.ebuild 4941 -RMD160 627ceafdcb54bc0ca637af749f607fee14a70eee xulrunner-1.8.0.4.ebuild 4941 -SHA256 387b068133fffd7c713278dbe98432de54ecf9b6a9221ff4525e483f253021c3 xulrunner-1.8.0.4.ebuild 4941 -EBUILD xulrunner-1.8.1.3.ebuild 4844 RMD160 db4dba3ad9176a838978b4103a424ef5b43c3fc2 SHA1 2ea02071294e67fb0371b6f84a94cffefa28f68a SHA256 1aa0be71e33b4c2f12a2fab2282e1ca12bc3a65a6d8589246f9954f98d21ae0a -MD5 ea57d748ec631e6ccc704eb3f6a1a77c xulrunner-1.8.1.3.ebuild 4844 -RMD160 db4dba3ad9176a838978b4103a424ef5b43c3fc2 xulrunner-1.8.1.3.ebuild 4844 -SHA256 1aa0be71e33b4c2f12a2fab2282e1ca12bc3a65a6d8589246f9954f98d21ae0a xulrunner-1.8.1.3.ebuild 4844 EBUILD xulrunner-1.8.1.4.ebuild 4842 RMD160 82dbfd74d0f3d464ac814953869dc9d0bbbf0879 SHA1 b4ddc0e13e196efaaca59fa4368ba3a9fbed822b SHA256 abb2bf11c9906b0da20b4d855d21c193315d48f756bf75c1d0d700a1aaf3cde3 MD5 a4db4e5792e6788351aeade414d1b414 xulrunner-1.8.1.4.ebuild 4842 RMD160 82dbfd74d0f3d464ac814953869dc9d0bbbf0879 xulrunner-1.8.1.4.ebuild 4842 SHA256 abb2bf11c9906b0da20b4d855d21c193315d48f756bf75c1d0d700a1aaf3cde3 xulrunner-1.8.1.4.ebuild 4842 -MISC ChangeLog 4483 RMD160 84ad4bb93ccb97037e37fcf8b4d5e5775187bda4 SHA1 fc2390d3ddcf8976ed5c6c99979dec8488468908 SHA256 475b796af0b5b5a645809237d26ffcc3be6641af09934e04aef43e8423517a19 -MD5 7f88fd39c2b364f47677dd1879830509 ChangeLog 4483 -RMD160 84ad4bb93ccb97037e37fcf8b4d5e5775187bda4 ChangeLog 4483 -SHA256 475b796af0b5b5a645809237d26ffcc3be6641af09934e04aef43e8423517a19 ChangeLog 4483 +MISC ChangeLog 4598 RMD160 78c27d44598eca23f880db45e78e762b61bbb77c SHA1 c981847addb14bf77388fe03046899b46ea23b09 SHA256 21dfe90422c105324f06a1dc0bb8b65bb52b5814d2a8f93ea9e639e52ba4f7e2 +MD5 47f50f6cfafccd374a530bd896596d0d ChangeLog 4598 +RMD160 78c27d44598eca23f880db45e78e762b61bbb77c ChangeLog 4598 +SHA256 21dfe90422c105324f06a1dc0bb8b65bb52b5814d2a8f93ea9e639e52ba4f7e2 ChangeLog 4598 MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 metadata.xml 160 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b metadata.xml 160 -MD5 7af0621098dd2b39628f117b74f0d705 files/digest-xulrunner-1.8.0.4 572 -RMD160 9d6978a4e082fbdc9ac0758ee5e116b6e7083c7a files/digest-xulrunner-1.8.0.4 572 -SHA256 cdf6a3c41ea585fccd20c927a1492f4418e721b8194afe383f8814f006422865 files/digest-xulrunner-1.8.0.4 572 -MD5 0a788956a4f79111c0a42331ed5652be files/digest-xulrunner-1.8.1.3 572 -RMD160 e03a402e50e926fa76f32e01182bd3a9f591bdd8 files/digest-xulrunner-1.8.1.3 572 -SHA256 834e450f977c7fa0b64aec5544228bbc6f0178a277d0369d603a4e0464c01d37 files/digest-xulrunner-1.8.1.3 572 MD5 077dc606b0720358d065c2dd1d3ce482 files/digest-xulrunner-1.8.1.4 572 RMD160 f481e7e5426d4acb3a61749ba1396519c4c51683 files/digest-xulrunner-1.8.1.4 572 SHA256 281187b87d3dfb4caf3b437869b741eb5a3d3a83e85702a836077cdcbddb6aaf files/digest-xulrunner-1.8.1.4 572 diff --git a/net-libs/xulrunner/files/digest-xulrunner-1.8.0.4 b/net-libs/xulrunner/files/digest-xulrunner-1.8.0.4 deleted file mode 100644 index d7f867c15c6c..000000000000 --- a/net-libs/xulrunner/files/digest-xulrunner-1.8.0.4 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 ef43e83861de7c4fa36a65f96c4d6a84 xulrunner-1.8.0.4-patches-1.1.tar.bz2 48808 -RMD160 b9399adec6688d019a4b9065520845b74a45b52f xulrunner-1.8.0.4-patches-1.1.tar.bz2 48808 -SHA256 b50daa61a6dbc0557fb54de3844bdd3407beb224b119e332dd6231b06f84e482 xulrunner-1.8.0.4-patches-1.1.tar.bz2 48808 -MD5 4dc09831aa4e94fda5182a4897ed08e9 xulrunner-1.8.0.4-source.tar.bz2 33846136 -RMD160 7979de9b3bc85a6b44367283e343cddd12e70bdb xulrunner-1.8.0.4-source.tar.bz2 33846136 -SHA256 193825593ef37e29d82f8bcbff3119caf131390a0369709c1667b509f774ffa9 xulrunner-1.8.0.4-source.tar.bz2 33846136 diff --git a/net-libs/xulrunner/files/digest-xulrunner-1.8.1.3 b/net-libs/xulrunner/files/digest-xulrunner-1.8.1.3 deleted file mode 100644 index 739593c3e5f3..000000000000 --- a/net-libs/xulrunner/files/digest-xulrunner-1.8.1.3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 921339efccc543aa06e7d8d0a7eeb341 xulrunner-1.8.1.3-patches-0.2.tar.bz2 61608 -RMD160 76cc30c3c1a5abcd5d315a68dde74ee8b81aea29 xulrunner-1.8.1.3-patches-0.2.tar.bz2 61608 -SHA256 aaaf5e39bf531ee58d8d01269a32e7abce2fc2b9a2705d24d8ad9fe3269540b0 xulrunner-1.8.1.3-patches-0.2.tar.bz2 61608 -MD5 6403897d08f05de680452bee03609153 xulrunner-1.8.1.3-source.tar.bz2 35258868 -RMD160 f7d5bdbaeffa33d3789cc80adc107885bb80e029 xulrunner-1.8.1.3-source.tar.bz2 35258868 -SHA256 bfff1ff35ef23edb40532ee7fde042671ee659ec6ed3a341d8925c7aa8954702 xulrunner-1.8.1.3-source.tar.bz2 35258868 diff --git a/net-libs/xulrunner/xulrunner-1.8.0.4.ebuild b/net-libs/xulrunner/xulrunner-1.8.0.4.ebuild deleted file mode 100644 index 7a269d194053..000000000000 --- a/net-libs/xulrunner/xulrunner-1.8.0.4.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.0.4.ebuild,v 1.16 2007/03/30 11:20:42 armin76 Exp $ - -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2 -PATCH="${P}-patches-1.1" - -DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications" -HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner" -SRC_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases/${PV}/source/${P}-source.tar.bz2 - mirror://gentoo/${PATCH}.tar.bz2" - -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="-* amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86" -IUSE="" - -RDEPEND=">=sys-libs/zlib-1.1.4 - >=sys-devel/binutils-2.16.1 - >=dev-libs/nss-3.10 - >=dev-libs/nspr-4.6.1 - java? ( >=virtual/jre-1.4 )" - -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 - -src_unpack() { - unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2 - - # Apply our patches - cd ${S} || die "cd failed" - - # exclude the xpcomglue-shared.patch from debian for now - # until we figured out if we need also the versioning patch - EPATCH_EXCLUDE="030_pango-cairo-1.patch.bz2" - - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}"/patch - - # Fix a compilation issue using the 32-bit userland with 64-bit kernel on - # PowerPC, because with that configuration, it detects a ppc64 system. - # -- hansmi, 2005-11-13 - if use ppc && [[ "${PROFILE_ARCH}" == ppc64 ]]; then - sed -i -e "s#OS_TEST=\`uname -m\`\$#OS_TEST=${ARCH}#" \ - ${S}/configure - sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \ - ${S}/security/coreconf/arch.mk - fi - - eautoreconf || die "failed running eautoreconf" -} - -src_compile() { - declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN} - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - mozconfig_annotate '' --enable-extensions="default,cookie,permissions" - 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 - - # hardened GCC uses -fstack-protector-all by default, which breaks us - gcc-specs-ssp && append-flags -fno-stack-protector-all - # remove -fstack-protector because now it borks firefox - CFLAGS=${CFLAGS/-fstack-protector-all/} - CFLAGS=${CFLAGS/-fstack-protector/} - CXXFLAGS=${CXXFLAGS/-fstack-protector-all/} - CXXFLAGS=${CXXFLAGS/-fstack-protector/} - - append-flags -freorder-blocks -fno-reorder-functions - - # Export CPU_ARCH_TEST as it is not exported by default. - case $(tc-arch) in - amd64) [[ ${ABI} == "x86" ]] && CPU_ARCH_TEST="x86" || CPU_ARCH_TEST="x86_64" ;; - *) CPU_ARCH_TEST=$(tc-arch) ;; - esac - - export CPU_ARCH_TEST - - #################################### - # - # 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}/xpfe/global/buildconfig.html - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - emake -j1 || die -} - -src_install() { - declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN} - einstall || die "failed running make install" - - 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 -} diff --git a/net-libs/xulrunner/xulrunner-1.8.1.3.ebuild b/net-libs/xulrunner/xulrunner-1.8.1.3.ebuild deleted file mode 100644 index ee4f8647051a..000000000000 --- a/net-libs/xulrunner/xulrunner-1.8.1.3.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2007 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.3.ebuild,v 1.10 2007/05/23 15:06:39 gustavoz Exp $ - -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2 -PATCH="${P}-patches-0.2" - -DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications" -HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner" -SRC_URI="http://www.archlinux.org/~jgc/mozilla/${P}-source.tar.bz2 - mirror://gentoo/${PATCH}.tar.bz2" - -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86" -IUSE="" - -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 - java? ( >=virtual/jre-1.4 )" - - -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 - -src_unpack() { - unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2 - - # Apply our patches - cd "${S}" || die "cd failed" - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}"/patch - - eautoreconf || die "failed running eautoreconf" -} - -src_compile() { - 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 breaks us - if gcc-version ge 4 1; then - gcc-specs-ssp && append-flags -fno-stack-protector - else - gcc-specs-ssp && append-flags -fno-stack-protector-all - fi - 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}/xpfe/global/buildconfig.html - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - emake -j1 || die "emake failed" -} - -src_install() { - 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 // Gentoo package version \ - > ${D}/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js - echo "pref(\"general.useragent.product\",\"Gecko\");" \ - >> ${D}/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js - echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \ - >> ${D}/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js - echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \ - >> ${D}/usr/$(get_libdir)/xulrunner/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 -} - -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." -} - |