diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-03-12 16:13:17 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-03-12 16:13:17 +0000 |
commit | 212e1792522822ef127100a6ea7192b4f5281ccb (patch) | |
tree | eede6f28a4f72cbcaac12a42bd2fc79549eeb794 /net-libs/xulrunner | |
parent | Changed DESCRIPTION to something more...descriptive: CadSoft EAGLE schematic ... (diff) | |
download | gentoo-2-212e1792522822ef127100a6ea7192b4f5281ccb.tar.gz gentoo-2-212e1792522822ef127100a6ea7192b4f5281ccb.tar.bz2 gentoo-2-212e1792522822ef127100a6ea7192b4f5281ccb.zip |
Bump patchset to fix #260815
(Portage version: 2.1.6.7/cvs/Linux ia64)
Diffstat (limited to 'net-libs/xulrunner')
-rw-r--r-- | net-libs/xulrunner/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.0.6-r1.ebuild | 168 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.0.6.ebuild | 167 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.0.7.ebuild | 4 |
4 files changed, 7 insertions, 338 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog index 1bc0e60dac42..3a037cdc36b6 100644 --- a/net-libs/xulrunner/ChangeLog +++ b/net-libs/xulrunner/ChangeLog @@ -1,6 +1,10 @@ # 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.190 2009/03/09 14:25:58 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.191 2009/03/12 16:13:17 armin76 Exp $ + + 12 Mar 2009; Raúl Porcel <armin76@gentoo.org> -xulrunner-1.9.0.6.ebuild, + -xulrunner-1.9.0.6-r1.ebuild, xulrunner-1.9.0.7.ebuild: + Bump patchset to fix #260815 09 Mar 2009; Jeroen Roovers <jer@gentoo.org> xulrunner-1.9.0.7.ebuild: Stable for HPPA (bug #261585). diff --git a/net-libs/xulrunner/xulrunner-1.9.0.6-r1.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.6-r1.ebuild deleted file mode 100644 index 51c799ba40bb..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.0.6-r1.ebuild +++ /dev/null @@ -1,168 +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.6-r1.ebuild,v 1.1 2009/02/05 19:50:32 serkan Exp $ - -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.5-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.3 - >=app-text/hunspell-1.1.9 - >=media-libs/lcms-1.17" - -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(){ - 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 ${A} - - # 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_compile() { - 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 - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-cxxflags -fno-stack-protector - fi - - #################################### - # - # 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 - - emake || die "emake failed" -} - -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 -} diff --git a/net-libs/xulrunner/xulrunner-1.9.0.6.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.6.ebuild deleted file mode 100644 index 5d65a75c05a8..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.0.6.ebuild +++ /dev/null @@ -1,167 +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.6.ebuild,v 1.5 2009/02/15 11:33:28 armin76 Exp $ - -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.5-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.3 - >=app-text/hunspell-1.1.9 - >=media-libs/lcms-1.17" - -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(){ - 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 ${A} - - # 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_compile() { - 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 - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-cxxflags -fno-stack-protector - fi - - #################################### - # - # 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 - - emake || die "emake failed" -} - -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_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar - rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar - fi -} diff --git a/net-libs/xulrunner/xulrunner-1.9.0.7.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.7.ebuild index cb50fb510a2c..dd82e71d977e 100644 --- a/net-libs/xulrunner/xulrunner-1.9.0.7.ebuild +++ b/net-libs/xulrunner/xulrunner-1.9.0.7.ebuild @@ -1,11 +1,11 @@ # 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.7.ebuild,v 1.6 2009/03/09 14:25:58 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.0.7.ebuild,v 1.7 2009/03/12 16:13:17 armin76 Exp $ 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.5-patches-0.1" +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" |