diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-11-02 15:58:17 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-11-02 15:58:17 +0000 |
commit | 3cbbb33f68de8e7c908bf29932f76d4ff797a6b9 (patch) | |
tree | 1b4d68f7924e716b68324a04b54ec6960ebfdc71 /net-libs | |
parent | Fixing the tests fix, to actually fix the tests (portage isn't in $S in pkg_s... (diff) | |
download | historical-3cbbb33f68de8e7c908bf29932f76d4ff797a6b9.tar.gz historical-3cbbb33f68de8e7c908bf29932f76d4ff797a6b9.tar.bz2 historical-3cbbb33f68de8e7c908bf29932f76d4ff797a6b9.zip |
Version bump
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/xulrunner/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/xulrunner/Manifest | 16 | ||||
-rw-r--r-- | net-libs/xulrunner/files/digest-xulrunner-1.8.1.9 | 6 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.8.1.9.ebuild | 153 |
4 files changed, 177 insertions, 5 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog index 9e5a6cf55aad..a33eb3b755aa 100644 --- a/net-libs/xulrunner/ChangeLog +++ b/net-libs/xulrunner/ChangeLog @@ -1,6 +1,11 @@ # 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.64 2007/10/24 05:32:56 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.65 2007/11/02 15:58:17 armin76 Exp $ + +*xulrunner-1.8.1.9 (02 Nov 2007) + + 02 Nov 2007; Raúl Porcel <armin76@gentoo.org> +xulrunner-1.8.1.9.ebuild: + Version bump 24 Oct 2007; Jeroen Roovers <jer@gentoo.org> xulrunner-1.8.1.8.ebuild: Stable for HPPA (bug #196480). Fixed quoting issues. diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest index aa93cffb91bd..9ad8108ef2e9 100644 --- a/net-libs/xulrunner/Manifest +++ b/net-libs/xulrunner/Manifest @@ -6,6 +6,7 @@ DIST xulrunner-1.8.1.4-patches-0.2.tar.bz2 61239 RMD160 8866fc8b1464613310bd1a34 DIST xulrunner-1.8.1.6-source.tar.bz2 35368957 RMD160 4de43a5007fb9299996e1d3e8924caa94442752b SHA1 d7211f2e73f940985b55196b4c0fb89c9d2f8be6 SHA256 4f4c3b90cd87d97a8937379329b55e0c260a74ea55c8423966bde6cee2dd5a21 DIST xulrunner-1.8.1.8-patches-0.1.tar.bz2 61457 RMD160 c4ccc5a57f1ae7b67943f0bda47d8b110c832cb1 SHA1 169be427019bbcfdcfcfed7ddcf054a909d0bfe1 SHA256 b1f441a8859c69883bad6c84bfde8bc0d2d64dccb8bd4dbea4d3f278732fe116 DIST xulrunner-1.8.1.8-source.tar.bz2 35428625 RMD160 4c54af54a9ac286814ba979b55d55477f215d376 SHA1 442aa72bfc865741e33e4c6364a1a79928747b0e SHA256 9b9a216482c09015d6c6f07dd546fb70dde39f4159eaf57a4a60b6eef8063d34 +DIST xulrunner-1.8.1.9-source.tar.bz2 35434044 RMD160 c0375282d4958e1572f19fa0b77cd449cd9f0706 SHA1 aa693567cdebfc6bc1680fa14c758a64a66a76ea SHA256 058b41b26fea0b4b43d40f606c5cce4225525e7e5a457c7c8289a24bbe75da84 EBUILD xulrunner-1.8.1.6.ebuild 4831 RMD160 0df9feba202b4395e16917680889d90957f54e2d SHA1 fbd36c448f06c34100f843dd15fe0b2294685f42 SHA256 bbffa5f027d7ae651988c5545d20de8e22699f7723c3605dfd7b444dd3a29e4c MD5 e2f04aa5a941e8ed4ba91598a76ea3d5 xulrunner-1.8.1.6.ebuild 4831 RMD160 0df9feba202b4395e16917680889d90957f54e2d xulrunner-1.8.1.6.ebuild 4831 @@ -14,10 +15,14 @@ EBUILD xulrunner-1.8.1.8.ebuild 4845 RMD160 684eb8b189a16e7f984cecaf36cce4cf4587 MD5 5af626ad88ee4131c203edd5afd7b40e xulrunner-1.8.1.8.ebuild 4845 RMD160 684eb8b189a16e7f984cecaf36cce4cf45875d84 xulrunner-1.8.1.8.ebuild 4845 SHA256 86b3a9c7efcb63f6419ef7e64949d848336fd0148fad9915985a8b75cba03a5a xulrunner-1.8.1.8.ebuild 4845 -MISC ChangeLog 8076 RMD160 39a0618cf80eb8ecfa3802ae65bbe5b94da541c3 SHA1 fc3ec57c3313f9b87d23088b519e11c9e4a68145 SHA256 04cf568c1fd7313c1abacd2a10bc6bd37f6d8b29f78591dd0ad47ef7000bff0c -MD5 303c986c290e126f7252b3c6c756744f ChangeLog 8076 -RMD160 39a0618cf80eb8ecfa3802ae65bbe5b94da541c3 ChangeLog 8076 -SHA256 04cf568c1fd7313c1abacd2a10bc6bd37f6d8b29f78591dd0ad47ef7000bff0c ChangeLog 8076 +EBUILD xulrunner-1.8.1.9.ebuild 4865 RMD160 3dc4e00e228053ce2702f60c4507d31f3063e283 SHA1 c12b34759daa86a989500d65c2684f9db15b4c54 SHA256 15610ad61f26ed497e4b02822fcdbc712a43fde7943e927350f076ccaffa4f02 +MD5 31753e1b834190fce46047947af18724 xulrunner-1.8.1.9.ebuild 4865 +RMD160 3dc4e00e228053ce2702f60c4507d31f3063e283 xulrunner-1.8.1.9.ebuild 4865 +SHA256 15610ad61f26ed497e4b02822fcdbc712a43fde7943e927350f076ccaffa4f02 xulrunner-1.8.1.9.ebuild 4865 +MISC ChangeLog 8206 RMD160 b0ca27bd5846c1289f996e467cd13e7ef34fb95f SHA1 1429cd0a7018dd9245a150e554a5ea71b391adf4 SHA256 633027cd29ef2ecb4efe2af16485b43b724fa97127b6d765b1651ac500a091c0 +MD5 aff4372a36778e7183434ba3fb8f0166 ChangeLog 8206 +RMD160 b0ca27bd5846c1289f996e467cd13e7ef34fb95f ChangeLog 8206 +SHA256 633027cd29ef2ecb4efe2af16485b43b724fa97127b6d765b1651ac500a091c0 ChangeLog 8206 MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 metadata.xml 160 @@ -28,3 +33,6 @@ SHA256 c346e365024c5ca5072d4075602e634fc79af9f309e42ea9f0b1e274af4bc04b files/di MD5 d37f23125e92ef96d87af9cc1451b5fd files/digest-xulrunner-1.8.1.8 572 RMD160 e54aa8bf81faa10976393d1529eabd1df0fd8368 files/digest-xulrunner-1.8.1.8 572 SHA256 a706022eadbe53125ffc18590b589c694b7e6b2c884ec289d8b762965cacf20d files/digest-xulrunner-1.8.1.8 572 +MD5 db8a1fd5b91d228b813e60b660d82d81 files/digest-xulrunner-1.8.1.9 572 +RMD160 f84b46cb71bc8440d5d8fab0f76cc97be275b8c0 files/digest-xulrunner-1.8.1.9 572 +SHA256 bffaa4fb70ecf2ddec2e1032df180674299ee47819ba843c9bebbea861c12218 files/digest-xulrunner-1.8.1.9 572 diff --git a/net-libs/xulrunner/files/digest-xulrunner-1.8.1.9 b/net-libs/xulrunner/files/digest-xulrunner-1.8.1.9 new file mode 100644 index 000000000000..f64cd7032535 --- /dev/null +++ b/net-libs/xulrunner/files/digest-xulrunner-1.8.1.9 @@ -0,0 +1,6 @@ +MD5 6e663dd28e13b7a514c047a803c4ed39 xulrunner-1.8.1.8-patches-0.1.tar.bz2 61457 +RMD160 c4ccc5a57f1ae7b67943f0bda47d8b110c832cb1 xulrunner-1.8.1.8-patches-0.1.tar.bz2 61457 +SHA256 b1f441a8859c69883bad6c84bfde8bc0d2d64dccb8bd4dbea4d3f278732fe116 xulrunner-1.8.1.8-patches-0.1.tar.bz2 61457 +MD5 87079ad258dca3fd208738a54bef0960 xulrunner-1.8.1.9-source.tar.bz2 35434044 +RMD160 c0375282d4958e1572f19fa0b77cd449cd9f0706 xulrunner-1.8.1.9-source.tar.bz2 35434044 +SHA256 058b41b26fea0b4b43d40f606c5cce4225525e7e5a457c7c8289a24bbe75da84 xulrunner-1.8.1.9-source.tar.bz2 35434044 diff --git a/net-libs/xulrunner/xulrunner-1.8.1.9.ebuild b/net-libs/xulrunner/xulrunner-1.8.1.9.ebuild new file mode 100644 index 000000000000..f8ed39fb2700 --- /dev/null +++ b/net-libs/xulrunner/xulrunner-1.8.1.9.ebuild @@ -0,0 +1,153 @@ +# 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.9.ebuild,v 1.1 2007/11/02 15:58:17 armin76 Exp $ + +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2 +PATCH="${PN}-1.8.1.8-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="0" +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 + >=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}"/toolkit/content/buildconfig.html + + # This removes extraneous CFLAGS from the Makefiles to reduce RAM + # requirements while compiling + edit_makefiles + + emake || 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." +} |