diff options
author | 2009-06-13 11:06:27 +0000 | |
---|---|---|
committer | 2009-06-13 11:06:27 +0000 | |
commit | 754f538d4561d5f6471728529ccb2f794cad81e1 (patch) | |
tree | 20c1bb014cda876a28b12ce56cd6cc22bfcf58fc /net-libs | |
parent | Enable KDE_LINGUAS. (diff) | |
download | historical-754f538d4561d5f6471728529ccb2f794cad81e1.tar.gz historical-754f538d4561d5f6471728529ccb2f794cad81e1.tar.bz2 historical-754f538d4561d5f6471728529ccb2f794cad81e1.zip |
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/xulrunner/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/xulrunner/Manifest | 4 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.0.11.ebuild | 155 |
3 files changed, 164 insertions, 2 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog index d6f69fc36b3b..8ba485e825eb 100644 --- a/net-libs/xulrunner/ChangeLog +++ b/net-libs/xulrunner/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/xulrunner # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.207 2009/05/01 14:04:51 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.208 2009/06/13 11:06:27 armin76 Exp $ + +*xulrunner-1.9.0.11 (13 Jun 2009) + + 13 Jun 2009; Raúl Porcel <armin76@gentoo.org> +xulrunner-1.9.0.11.ebuild: + Version bump 01 May 2009; Markus Meier <maekke@gentoo.org> xulrunner-1.9.0.10.ebuild: amd64 stable, bug #267234 diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest index ccc62d11878e..e7795c074c89 100644 --- a/net-libs/xulrunner/Manifest +++ b/net-libs/xulrunner/Manifest @@ -3,7 +3,9 @@ DIST xulrunner-1.8.1.19-patches-0.1.tar.bz2 62219 RMD160 ecc59c5204090c6aa9c475b 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 5022 RMD160 22bdb064b24d37257aebb27335243f2a6703e7c4 SHA1 52870fb58e61cd22d8b5cd459a7002201125d64d SHA256 7888b47136eab95aee6da57942b653df474732ce7c9ef1b73842d2900a9b10c9 EBUILD xulrunner-1.9.0.10.ebuild 4704 RMD160 4c9c1bd079a72df2da35ce654d42b4a8ef230a3f SHA1 59758a181a9b94fce9cf7b5f6fa11af77d56b2c1 SHA256 c88b9f9a01e10ecae1fb072c320771384f56f772e9c6cce8cf7e89b438aae7df -MISC ChangeLog 26525 RMD160 6581c2fec3a7ed664d6b7b5e592ba968974b00d9 SHA1 0ad6a0bca7563e6f0cf37f638212239d547bb859 SHA256 c844f807f00c5dd54d41af4431f597537ec48083e633a9f55e0ce492913fec85 +EBUILD xulrunner-1.9.0.11.ebuild 4724 RMD160 7b878956c888bd230e10785fa9044d6c2bf6bf96 SHA1 40020b798a3c668ca191f6271cfde652cf29331a SHA256 d3f59e5388a4ac6efffabbe1d42be29deec98409b5fd4e6ea4c8281f18b9a337 +MISC ChangeLog 26654 RMD160 7da9489cb91749b947f1bba0c2c86b0d74f5fbf4 SHA1 0d6f6ea60e410011eeb4bef885a5f84a1281838a SHA256 6659390019fcd5bb6e21c865cecd0777c34f4d4ccf54a26de123d789d18c45c2 MISC metadata.xml 263 RMD160 9ed9d79d17d0a991e88c31ae6342996519ffef5b SHA1 0de183203298ce0f1c2ecc3fc8149842c4a0ec60 SHA256 64bfc93c4ab02ef2fe9b61b8157eb722d6cca5d552eecc18eaaf8e95980d2550 diff --git a/net-libs/xulrunner/xulrunner-1.9.0.11.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.11.ebuild new file mode 100644 index 000000000000..531e78c24439 --- /dev/null +++ b/net-libs/xulrunner/xulrunner-1.9.0.11.ebuild @@ -0,0 +1,155 @@ +# 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.1 2009/06/13 11:06:27 armin76 Exp $ +EAPI="2" +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools +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 + >=dev-libs/nspr-4.7.4 + >=app-text/hunspell-1.1.9 + >=media-libs/lcms-1.17 + 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 +} + +src_configure() { + 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 +} + +src_install() { + 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 +} |