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 | d724bb35203ab1ada7d499164a481d4b5b1a06c1 (patch) | |
tree | 88a28a447898b019b14fa9629649ea305af7c417 /net-libs/xulrunner | |
parent | alpha/ia64/x86 stable wrt #181843 (diff) | |
download | gentoo-2-d724bb35203ab1ada7d499164a481d4b5b1a06c1.tar.gz gentoo-2-d724bb35203ab1ada7d499164a481d4b5b1a06c1.tar.bz2 gentoo-2-d724bb35203ab1ada7d499164a481d4b5b1a06c1.zip |
old
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-libs/xulrunner')
-rw-r--r-- | net-libs/xulrunner/ChangeLog | 6 | ||||
-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 |
5 files changed, 5 insertions, 328 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/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." -} - |