diff options
author | 2010-07-25 16:27:33 +0000 | |
---|---|---|
committer | 2010-07-25 16:27:33 +0000 | |
commit | 4337946411b228b8b6259141718dfc752a37c36b (patch) | |
tree | 54c22b16e6cf959853b98c976bbba2fa7c8ce71e /net-libs | |
parent | Stable on alpha, bug #324617 (diff) | |
download | historical-4337946411b228b8b6259141718dfc752a37c36b.tar.gz historical-4337946411b228b8b6259141718dfc752a37c36b.tar.bz2 historical-4337946411b228b8b6259141718dfc752a37c36b.zip |
cleanup stale builds
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/xulrunner/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/xulrunner/Manifest | 15 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.0.11-r1.ebuild | 158 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.0.14.ebuild | 161 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.1.6.ebuild | 262 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.1.8.ebuild | 262 | ||||
-rw-r--r-- | net-libs/xulrunner/xulrunner-1.9.2.7-r1.ebuild | 253 |
7 files changed, 8 insertions, 1111 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog index e1bc2e4edd91..a9ba20a2ae5f 100644 --- a/net-libs/xulrunner/ChangeLog +++ b/net-libs/xulrunner/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/xulrunner # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.340 2010/07/25 15:32:39 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.341 2010/07/25 16:27:33 anarchy Exp $ + + 25 Jul 2010; Jory A. Pratt <anarchy@gentoo.org> + -xulrunner-1.9.0.11-r1.ebuild, -xulrunner-1.9.0.14.ebuild, + -xulrunner-1.9.1.6.ebuild, -xulrunner-1.9.1.8.ebuild, + -xulrunner-1.9.2.7-r1.ebuild: + remove stable builds 25 Jul 2010; Jory A. Pratt <anarchy@gentoo.org> xulrunner-1.9.2.8.ebuild: Roll new patchset with new stardard implemented by myself diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest index b1804f1a2644..4499685b61e0 100644 --- a/net-libs/xulrunner/Manifest +++ b/net-libs/xulrunner/Manifest @@ -13,24 +13,11 @@ AUX xulrunner-1.9.2-noalsa-fixup.patch 1031 RMD160 6eae45ee3e29fa47a7b31688cfcbf AUX xulrunner-1.9.2-solaris-madvise.patch 339 RMD160 50228123c1e85a5bbbe9b53d669f219916addac4 SHA1 363f9a62cd28bc4c0a326b73041c0b9f76909079 SHA256 8380ccd3153e9f31a1c6dcd45cc3ca8a772b2f7663d2839e92831c0198d3f90c AUX xulrunner-1.9_beta5-prefix.patch 1824 RMD160 e784c2fe11620a39699aea341d2e363ca4ce9e1e SHA1 6992f18c0ea289a28bcf2ea23f00bec88a791af0 SHA256 0d3c6f761dfce8d86be4af75c994100152e889065ad3aa78d5ff7cdfad0a86ad AUX xulrunner-default-prefs.js 677 RMD160 73ec130da332c1d6517a6f838d5fab0cc134289a SHA1 b9efc3ef5e95ad3081f6b68d771e32e848b4b9ac SHA256 53493080276f221f1619153c114caf268206a6fa107972b33a4eb7f1c1cf6fe8 -DIST firefox-3.5.6.source.tar.bz2 46914620 RMD160 1002ff196eb8e281c06ef451154b64a903104664 SHA1 fc1de4ddb9c20c7ba9e297737f926e9d8e32eed4 SHA256 60462020c1935702cf87928a886778b3b52e73b0121a8264630b72d370ea3fd1 -DIST firefox-3.5.8.source.tar.bz2 46954234 RMD160 97a4394d895fc0d8e7be34c090ebe75540108a90 SHA1 4bfb9a274113fb9ee590c00da69d995dc500d4cc SHA256 9b9b9b0f6e783fd4184a2f08264a3470de4cbf1c41cf9cf887a8373d220bb4db DIST firefox-3.6.4.source.tar.bz2 51082341 RMD160 b36d31d35f2fc0d6f793b4d4e3f3069e55d9e1ad SHA1 c73e4cf4a8e55b5a192fe59d38bef1d06f43e842 SHA256 fdea684a717c3eda111060994ead9deb33d0b77a11f0f15da0ebc138ca0b2ec8 -DIST firefox-3.6.7.source.tar.bz2 51233147 RMD160 6d6eca57a24641725dce571dea5be3750d0bb7e1 SHA1 12c584a63ea6ddbb9253094ad500bc6b046903a6 SHA256 0e751c7218c97e8e2d6000b3ac08896c8daeb2ee578975a15e90b38ca5949b4d DIST firefox-3.6.8.source.tar.bz2 51238976 RMD160 14e245c643d41a1da25fe4dbc15d6ae466a19e5b SHA1 4936e543f6c7492c5954cbd5b30ddda6b20e3797 SHA256 fc609cc6a0ddaa2a9ebd8511ec39ae4a404e1107a12e07b233e2afca51d9a10e -DIST xulrunner-1.9.0.10-patches-0.1.tar.bz2 7077 RMD160 73612f1b619fef5d02e8c8f8318afe192e435e42 SHA1 8a48e53951216c330d4908def93a5c0201f5a890 SHA256 bc0c0d26258bc17ffa5cd513089fe94395ff8f6c17023cd363fac30cdd675410 -DIST xulrunner-1.9.0.11.tar.bz2 34209785 RMD160 63ace56728ceac5d54b8613c842d69791a87be3d SHA1 9e64464303eef215c11793ac1c096abac58215f6 SHA256 142aa222bbf800867f6301f05ca8c158edc17bfb3ad11c73c38a57ca7da3c5a2 -DIST xulrunner-1.9.0.12-patches-0.1.tar.bz2 6548 RMD160 135cf202dd34c2dce5624d1585f17a71511d4f07 SHA1 8324eb60eb596973dcb5b708e3fc3260badc6a42 SHA256 c74569a54da3b95e1dac45041c9b31deb6ba6bd4b0b0c66bb87f7ab7e7d0574a -DIST xulrunner-1.9.0.14.tar.bz2 34461953 RMD160 63d9e54f1a1ca5f1457ce4e59ebc330ae6e93c9b SHA1 8493943e9e2af37b447b178f5485792e2bd87f5a SHA256 17ff6bf9d87431962773eaaeebeb7fb7c0d4eac4c920bf4d65738932c47a2f15 -DIST xulrunner-1.9.1.5-patches-0.1.tar.bz2 9101 RMD160 36f8658905a286a20040b962b66529c073cf56bf SHA1 2a474a0d3a94ceea95e407829d9038a2b0777742 SHA256 137889839f8a57dd8e2fb231f8c67c906037958399cd65102299918a84ddf9ec DIST xulrunner-1.9.2-patches-0.4.tar.bz2 5742 RMD160 d67504884a5959704d8cb2cfa7ff42401f328ac1 SHA1 3e1ba98046b9a4408e3eceb919ee9439ef328bdc SHA256 89db8d1cb166e97d56f911ebdfb8de852ab4335f137a4b7163345e8273a63d3f DIST xulrunner-1.9.2-patches-0.5.tar.bz2 13198 RMD160 fcd87acc7b3b7c353d6fd6bdded897b9e30b4e9e SHA1 1def3a142097bfd4e97b677791115a79b1ebd3be SHA256 e22db75ec69c2996b1c247e412a2430f2a658ed6b72733fd5829bb33d16828cc -EBUILD xulrunner-1.9.0.11-r1.ebuild 4789 RMD160 9b685ad897cb07e281d9afef45f55dd19411ab6c SHA1 d2dd0af1f255f677af64dfaa139df237f7b4686c SHA256 2f65999d4351f7758eb8f7eb0e592c352363f00f527bbac4e8d5e74a5e3afa00 -EBUILD xulrunner-1.9.0.14.ebuild 4938 RMD160 90dab4447b3470cca3da354555665fe4b8b2f4fa SHA1 0c7a70964acad5a9a59e379199914a4f440fc979 SHA256 5927ce6c646f4bc73edef6d404a8c253d59af276ee6ca8050181f059289a4d70 -EBUILD xulrunner-1.9.1.6.ebuild 7948 RMD160 b3bca093dcb0ae36a7d493cb2990d7fe519a6a0f SHA1 9acb71f4171a6bc79c5e62732e085342ac77f7c5 SHA256 a59d74e0e3594f387d707b26277dc819d713c27d0d813024ba636fffa9aa7cff -EBUILD xulrunner-1.9.1.8.ebuild 7951 RMD160 235df30f6c383961147c5114ab2bbc39e12aad05 SHA1 5fb4b96ba83ef678ac01faa354d4b67b53149dbd SHA256 d2d1768a7ecf76e310cfec673961605fe9c36c836dc50242541b3a46e3fc2938 EBUILD xulrunner-1.9.2.4.ebuild 7191 RMD160 8633d7a9e174309d378bed99dcce757350a5e031 SHA1 f1da98486f1c78d5cb01da2e5b7174618e9694ea SHA256 9105361d24aec4de8f012180008d848b9672be2dc17fb8bc0762831381558149 -EBUILD xulrunner-1.9.2.7-r1.ebuild 8247 RMD160 1b021ac24e972487bbd18dbfdafc97c875ac9077 SHA1 b3f5fc8b614da203049781675cab91c1309105a6 SHA256 652b92f3a4928aa3979c066c2c01c92e87c5e331ec5b8136b8e71ce2b885819d EBUILD xulrunner-1.9.2.8.ebuild 7517 RMD160 b6466093f64faa5952048cdb1735c71556dcfc11 SHA1 72e6e116e376dd32227fc3139528cfbdedca0ac4 SHA256 718b1b3f427e5e18bbd2ff47312e4394bf994e9f39e49f82249d3ee996d25110 -MISC ChangeLog 46588 RMD160 bc320e065a607f2c982e5f30d5dd2e68f108a7e9 SHA1 9a7c50d0e82cbd1c46c301bf49fa1aab1b2e35f5 SHA256 2709c66f40549a9cc0b1d93bcb03521663ddacca4c1f355418767e39f8187fb4 +MISC ChangeLog 46811 RMD160 89fa3d1d1d8c6e7d32a8f657ed45826eff06db9b SHA1 80bb2d7abd8b77fcb5019ada0ae600a18d9060b5 SHA256 f2a2cc93c7843aabe2da693a33488ce300497be211f9b25ffdd06107f47ba277 MISC metadata.xml 534 RMD160 6f9915565c51559c0e4726fed4e43cffce894306 SHA1 7ababd8846ab59b3ea43ac0153750584aa792055 SHA256 60f561d9e9846e96bfa0d6a9161058986c65dba93879073e7138477b6ce61978 diff --git a/net-libs/xulrunner/xulrunner-1.9.0.11-r1.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.11-r1.ebuild deleted file mode 100644 index 27173286cf7f..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.0.11-r1.ebuild +++ /dev/null @@ -1,158 +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.11-r1.ebuild,v 1.2 2009/12/13 11:53:21 nirbheek 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="sparc" -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 - - # Bad mozilla-js.pc, causes stuff like bug 275318 - epatch "${FILESDIR}/066-fix-includedir-mozilla-js.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 -} diff --git a/net-libs/xulrunner/xulrunner-1.9.0.14.ebuild b/net-libs/xulrunner/xulrunner-1.9.0.14.ebuild deleted file mode 100644 index 5b18cbc0a27f..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.0.14.ebuild +++ /dev/null @@ -1,161 +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.14.ebuild,v 1.9 2009/12/13 06:42:49 nirbheek 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.12-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.3-r1 - >=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 - - # Bad mozilla-js.pc, causes stuff like bug 275318 - epatch "${FILESDIR}/066-fix-includedir-mozilla-js.patch" - - eautoreconf || die "failed running eautoreconf" - - # We need to re-patch this because autoreconf overwrites it - epatch "${WORKDIR}"/patch/000_flex-configure-LANG.patch - - # ARM EABI can't use -fshort-wchar - use arm && sed -i -e 's/-fshort-wchar//g' xulrunner/installer/libxul* -} - -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 -} diff --git a/net-libs/xulrunner/xulrunner-1.9.1.6.ebuild b/net-libs/xulrunner/xulrunner-1.9.1.6.ebuild deleted file mode 100644 index fde8648c76c1..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.1.6.ebuild +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.1.6.ebuild,v 1.9 2010/03/04 18:23:04 halcy0n Exp $ - -EAPI="2" -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools - -MY_PV="${PV/_beta/b}" # Handle betas -MY_PV="${PV/_/}" # Handle rc1, rc2 etc -MY_PV="${MY_PV/1.9.1.6/3.5.6}" -MAJ_PV="1.9.1" # from mozilla-* branch name -PATCH="${PN}-1.9.1.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="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2 - http://dev.gentoo.org/~anarchy/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="+alsa debug python sqlite" # qt-experimental - -# qt-experimental? ( -# x11-libs/qt-gui -# x11-libs/qt-core ) - -# nspr-4.8 due to BMO #499144 -RDEPEND="java? ( >=virtual/jre-1.4 ) - >=dev-lang/python-2.3[threads] - >=sys-devel/binutils-2.16.1 - >=dev-libs/nss-3.12.3 - >=dev-libs/nspr-4.8 - sqlite? ( >=dev-db/sqlite-3.6.20-r1[fts3] ) - alsa? ( media-libs/alsa-lib ) - >=app-text/hunspell-1.2 - >=media-libs/lcms-1.17 - >=x11-libs/cairo-1.8.8[X] - x11-libs/pango[X] - x11-libs/libXt" - -DEPEND="java? ( >=virtual/jdk-1.4 ) - ${RDEPEND} - dev-util/pkgconfig" - -S="${WORKDIR}/mozilla-${MAJ_PV}" - -pkg_setup() { - java-pkg-opt-2_pkg_setup - - if use sqlite ; then - elog "You are enabling system sqlite. Do not file a bug with gentoo if you have" - elog "issues that arise from enabling system sqlite. All bugs will be considered" - elog "invalid. All patches are welcomed to fix any issues that might be found with" - elog "system sqlite. If you are starting with a fresh profile you can enable sqlite" - elog "without any major issues." - epause 10 - fi -} - -src_prepare() { - # Apply our patches - EPATCH_EXCLUDE="136-fix_ftbfs_with_cairo_fb.patch" \ - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}" - - # Same as in config/autoconf.mk.in - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - SDKDIR="/usr/$(get_libdir)/${PN}-devel-${MAJ_PV}/sdk" - - # Gentoo install dirs - sed -i -e "s:@PV@:${MAJ_PV}:" "${S}"/config/autoconf.mk.in \ - || die "${MAJ_PV} sed failed!" - - # Enable gnomebreakpad - if use debug ; then - sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ - "${S}"/build/unix/run-mozilla.sh || die "sed failed!" - fi - - eautoreconf - - cd js/src - eautoreconf - - # Patch in support to reset all LANG variables to C - # Do NOT add to patchset as it must be applied after eautoreconf - cd "${S}" - epatch "${FILESDIR}/000_flex-configure-LANG.patch" -} - -src_configure() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - MEXTENSIONS="default" - if use python ; then - MEXTENSIONS="${MEXTENSIONS},python/xpcom" - fi - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" - mozconfig_annotate '' --enable-application=xulrunner - mozconfig_annotate '' --disable-mailnews - mozconfig_annotate 'broken' --disable-crashreporter - mozconfig_annotate '' --enable-image-encoder=all - mozconfig_annotate '' --enable-canvas - # 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 - mozconfig_annotate '' --enable-safe-browsing - - # System-wide install specs - mozconfig_annotate '' --disable-installer - mozconfig_annotate '' --disable-updater - mozconfig_annotate '' --disable-strip - mozconfig_annotate '' --disable-install-strip - - # Use system libraries - mozconfig_annotate '' --enable-system-cairo - mozconfig_annotate '' --enable-system-hunspell - mozconfig_annotate '' --with-system-nspr - mozconfig_annotate '' --with-system-nss - mozconfig_annotate '' --enable-system-lcms - mozconfig_annotate '' --with-system-bz2 - - if use sqlite ; then - mozconfig_annotate 'sqlite' --enable-system-sqlite - else - mozconfig_annotate '-sqlite' --disable-system-sqlite - fi - - # IUSE qt-experimental -# if use qt-experimental ; then -# ewarn "You are enabling the EXPERIMENTAL qt toolkit" -# ewarn "Usage is at your own risk" -# ewarn "Known to be broken. DO NOT file bugs." -# mozconfig_annotate '' --disable-system-cairo -# mozconfig_annotate 'qt-experimental' --enable-default-toolkit=cairo-qt -# else - mozconfig_annotate 'gtk' --enable-default-toolkit=cairo-gtk2 -# fi - - # Other ff-specific settings - mozconfig_annotate '' --enable-jsd - mozconfig_annotate '' --enable-xpctools - mozconfig_annotate '' --with-default-mozilla-five-home="${MOZLIBDIR}" - - # Disable/Enable audio support based on USE - mozconfig_use_enable alsa ogg - mozconfig_use_enable alsa wave - - # Disable java - if ! use java ; then - mozconfig_annotate '-java' --disable-javaxpcom - fi - - # Debug - if use debug ; then - mozconfig_annotate 'debug' --disable-optimize - mozconfig_annotate 'debug' --enable-debug=-ggdb - mozconfig_annotate 'debug' --enable-debug-modules=all - mozconfig_annotate 'debug' --enable-debugger-info-modules - fi - - # Finalize and report settings - mozconfig_final - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-flags -fno-stack-protector - fi - - #################################### - # - # Configure and build - # - #################################### - - # Disable no-print-directory - MAKEOPTS=${MAKEOPTS/--no-print-directory/} - - # Ensure that are plugins dir is enabled as default - sed -i -e "s:/usr/lib/mozilla/plugins:/usr/$(get_libdir)/nsbrowser/plugins:" \ - "${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path!" - - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" econf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - rm "${D}"/usr/bin/xulrunner - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - SDKDIR="/usr/$(get_libdir)/${PN}-devel-${MAJ_PV}/sdk" - - dodir /usr/bin - dosym "${MOZLIBDIR}/xulrunner" "/usr/bin/xulrunner-${MAJ_PV}" || die - - # Install python modules - dosym "${MOZLIBDIR}/python/xpcom" "/$(python_get_sitedir)/xpcom" || die - - # env.d file for ld search path - dodir /etc/env.d - echo "LDPATH=${MOZLIBDIR}" > "${D}"/etc/env.d/08xulrunner || die "env.d failed" - - # Add our defaults to xulrunner and out of firefox - cp "${FILESDIR}"/xulrunner-default-prefs.js \ - "${D}/${MOZLIBDIR}/defaults/pref/all-gentoo.js" || die "failed to cp xulrunner-default-prefs.js" - - if use java ; then - java-pkg_regjar "${D}/${MOZLIBDIR}/javaxpcom.jar" - java-pkg_regjar "${D}/${SDKDIR}/lib/MozillaGlue.jar" - java-pkg_regjar "${D}/${SDKDIR}/lib/MozillaInterfaces.jar" - fi -} - -pkg_postinst() { - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - if use python ; then - python_need_rebuild - python_mod_optimize "${MOZLIBDIR}/python" - fi - - ewarn "If firefox fails to start with \"failed to load xpcom\", run revdep-rebuild" - ewarn "If that does not fix the problem, rebuild dev-libs/nss" - ewarn "Try dev-util/lafilefixer if you get build failures related to .la files" - - einfo - einfo "All prefs can be overridden by the user. The preferences are to make" - einfo "use of xulrunner out of the box on an average system without the user" - einfo "having to go through and enable the basics." - - einfo - ewarn "Please remember to rebuild your browser(s) after update to prevent an xpcom error." - ewarn "This bump is needed in order to bring icecat to the tree to replace iceweasel useflag." -} - -pkg_postrm() { - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - if use python ; then - python_mod_cleanup "${MOZLIBDIR}/python" - fi -} diff --git a/net-libs/xulrunner/xulrunner-1.9.1.8.ebuild b/net-libs/xulrunner/xulrunner-1.9.1.8.ebuild deleted file mode 100644 index f60d3db38c89..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.1.8.ebuild +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.1.8.ebuild,v 1.6 2010/03/02 20:19:18 keytoaster Exp $ - -EAPI="2" -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools - -MY_PV="${PV/_beta/b}" # Handle betas -MY_PV="${PV/_/}" # Handle rc1, rc2 etc -MY_PV="${MY_PV/1.9.1.8/3.5.8}" -MAJ_PV="1.9.1" # from mozilla-* branch name -PATCH="${PN}-1.9.1.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="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2 - http://dev.gentoo.org/~anarchy/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="+alsa debug python sqlite" # qt-experimental - -# qt-experimental? ( -# x11-libs/qt-gui -# x11-libs/qt-core ) - -# nspr-4.8 due to BMO #499144 -RDEPEND="java? ( >=virtual/jre-1.4 ) - >=dev-lang/python-2.3[threads] - >=sys-devel/binutils-2.16.1 - >=dev-libs/nss-3.12.3 - >=dev-libs/nspr-4.8 - sqlite? ( >=dev-db/sqlite-3.6.20-r1[fts3] ) - alsa? ( media-libs/alsa-lib ) - >=app-text/hunspell-1.2 - >=media-libs/lcms-1.17 - >=x11-libs/cairo-1.8.8[X] - x11-libs/pango[X] - x11-libs/libXt" - -DEPEND="java? ( >=virtual/jdk-1.4 ) - ${RDEPEND} - dev-util/pkgconfig" - -S="${WORKDIR}/mozilla-${MAJ_PV}" - -pkg_setup() { - java-pkg-opt-2_pkg_setup - - if use sqlite ; then - elog "You are enabling system sqlite. Do not file a bug with gentoo if you have" - elog "issues that arise from enabling system sqlite. All bugs will be considered" - elog "invalid. All patches are welcomed to fix any issues that might be found with" - elog "system sqlite. If you are starting with a fresh profile you can enable sqlite" - elog "without any major issues." - epause 10 - fi -} - -src_prepare() { - # Apply our patches - EPATCH_EXCLUDE="136-fix_ftbfs_with_cairo_fb.patch" \ - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}" - - # Same as in config/autoconf.mk.in - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - SDKDIR="/usr/$(get_libdir)/${PN}-devel-${MAJ_PV}/sdk" - - # Gentoo install dirs - sed -i -e "s:@PV@:${MAJ_PV}:" "${S}"/config/autoconf.mk.in \ - || die "${MAJ_PV} sed failed!" - - # Enable gnomebreakpad - if use debug ; then - sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ - "${S}"/build/unix/run-mozilla.sh || die "sed failed!" - fi - - eautoreconf - - cd js/src - eautoreconf - - # Patch in support to reset all LANG variables to C - # Do NOT add to patchset as it must be applied after eautoreconf - cd "${S}" - epatch "${FILESDIR}/000_flex-configure-LANG.patch" -} - -src_configure() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - MEXTENSIONS="default" - if use python ; then - MEXTENSIONS="${MEXTENSIONS},python/xpcom" - fi - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" - mozconfig_annotate '' --enable-application=xulrunner - mozconfig_annotate '' --disable-mailnews - mozconfig_annotate 'broken' --disable-crashreporter - mozconfig_annotate '' --enable-image-encoder=all - mozconfig_annotate '' --enable-canvas - # 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 - mozconfig_annotate '' --enable-safe-browsing - - # System-wide install specs - mozconfig_annotate '' --disable-installer - mozconfig_annotate '' --disable-updater - mozconfig_annotate '' --disable-strip - mozconfig_annotate '' --disable-install-strip - - # Use system libraries - mozconfig_annotate '' --enable-system-cairo - mozconfig_annotate '' --enable-system-hunspell - mozconfig_annotate '' --with-system-nspr - mozconfig_annotate '' --with-system-nss - mozconfig_annotate '' --enable-system-lcms - mozconfig_annotate '' --with-system-bz2 - - if use sqlite ; then - mozconfig_annotate 'sqlite' --enable-system-sqlite - else - mozconfig_annotate '-sqlite' --disable-system-sqlite - fi - - # IUSE qt-experimental -# if use qt-experimental ; then -# ewarn "You are enabling the EXPERIMENTAL qt toolkit" -# ewarn "Usage is at your own risk" -# ewarn "Known to be broken. DO NOT file bugs." -# mozconfig_annotate '' --disable-system-cairo -# mozconfig_annotate 'qt-experimental' --enable-default-toolkit=cairo-qt -# else - mozconfig_annotate 'gtk' --enable-default-toolkit=cairo-gtk2 -# fi - - # Other ff-specific settings - mozconfig_annotate '' --enable-jsd - mozconfig_annotate '' --enable-xpctools - mozconfig_annotate '' --with-default-mozilla-five-home="${MOZLIBDIR}" - - # Disable/Enable audio support based on USE - mozconfig_use_enable alsa ogg - mozconfig_use_enable alsa wave - - # Disable java - if ! use java ; then - mozconfig_annotate '-java' --disable-javaxpcom - fi - - # Debug - if use debug ; then - mozconfig_annotate 'debug' --disable-optimize - mozconfig_annotate 'debug' --enable-debug=-ggdb - mozconfig_annotate 'debug' --enable-debug-modules=all - mozconfig_annotate 'debug' --enable-debugger-info-modules - fi - - # Finalize and report settings - mozconfig_final - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-flags -fno-stack-protector - fi - - #################################### - # - # Configure and build - # - #################################### - - # Disable no-print-directory - MAKEOPTS=${MAKEOPTS/--no-print-directory/} - - # Ensure that are plugins dir is enabled as default - sed -i -e "s:/usr/lib/mozilla/plugins:/usr/$(get_libdir)/nsbrowser/plugins:" \ - "${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path!" - - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" econf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - rm "${D}"/usr/bin/xulrunner - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - SDKDIR="/usr/$(get_libdir)/${PN}-devel-${MAJ_PV}/sdk" - - dodir /usr/bin - dosym "${MOZLIBDIR}/xulrunner" "/usr/bin/xulrunner-${MAJ_PV}" || die - - # Install python modules - dosym "${MOZLIBDIR}/python/xpcom" "/$(python_get_sitedir)/xpcom" || die - - # env.d file for ld search path - dodir /etc/env.d - echo "LDPATH=${MOZLIBDIR}" > "${D}"/etc/env.d/08xulrunner || die "env.d failed" - - # Add our defaults to xulrunner and out of firefox - cp "${FILESDIR}"/xulrunner-default-prefs.js \ - "${D}/${MOZLIBDIR}/defaults/pref/all-gentoo.js" || die "failed to cp xulrunner-default-prefs.js" - - if use java ; then - java-pkg_regjar "${D}/${MOZLIBDIR}/javaxpcom.jar" - java-pkg_regjar "${D}/${SDKDIR}/lib/MozillaGlue.jar" - java-pkg_regjar "${D}/${SDKDIR}/lib/MozillaInterfaces.jar" - fi -} - -pkg_postinst() { - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - if use python ; then - python_need_rebuild - python_mod_optimize "${MOZLIBDIR}/python" - fi - - ewarn "If firefox fails to start with \"failed to load xpcom\", run revdep-rebuild" - ewarn "If that does not fix the problem, rebuild dev-libs/nss" - ewarn "Try dev-util/lafilefixer if you get build failures related to .la files" - - einfo - einfo "All prefs can be overridden by the user. The preferences are to make" - einfo "use of xulrunner out of the box on an average system without the user" - einfo "having to go through and enable the basics." - - einfo - ewarn "Please remember to rebuild your browser(s) after update to prevent an xpcom error." - ewarn "This bump is needed in order to bring icecat to the tree to replace iceweasel useflag." -} - -pkg_postrm() { - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - if use python ; then - python_mod_cleanup "${MOZLIBDIR}/python" - fi -} diff --git a/net-libs/xulrunner/xulrunner-1.9.2.7-r1.ebuild b/net-libs/xulrunner/xulrunner-1.9.2.7-r1.ebuild deleted file mode 100644 index b332769ed668..000000000000 --- a/net-libs/xulrunner/xulrunner-1.9.2.7-r1.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.2.7-r1.ebuild,v 1.2 2010/07/24 16:08:26 jer Exp $ - -EAPI="3" -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 autotools python prefix - -MY_PV="${PV/_rc/rc}" # Handle beta -MY_PV="${MY_PV/1.9.2/3.6}" -MAJ_PV="1.9.2" # from mozilla-* branch name -PATCH="${PN}-1.9.2-patches-0.4" - -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/firefox/releases/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2 - http://dev.gentoo.org/~anarchy/dist/${PATCH}.tar.bz2" - -KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" -SLOT="1.9" -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -IUSE="+alsa debug +ipc libnotify system-sqlite wifi" - -RDEPEND="java? ( >=virtual/jre-1.4 ) - >=sys-devel/binutils-2.16.1 - >=dev-libs/nss-3.12.6 - >=dev-libs/nspr-4.8 - system-sqlite? ( >=dev-db/sqlite-3.6.22-r2[fts3,secure-delete] ) - alsa? ( media-libs/alsa-lib ) - >=app-text/hunspell-1.2 - >=x11-libs/cairo-1.8.8[X] - x11-libs/pango[X] - x11-libs/libXt - x11-libs/pixman - wifi? ( net-wireless/wireless-tools ) - libnotify? ( >=x11-libs/libnotify-0.4 )" - -DEPEND="java? ( >=virtual/jdk-1.4 ) - ${RDEPEND} - =dev-lang/python-2*[threads] - dev-util/pkgconfig" - -S="${WORKDIR}/mozilla-${MAJ_PV}" - -pkg_setup() { - # Ensure we always build with C locale. - export LANG="C" - export LC_ALL="C" - export LC_MESSAGES="C" - export LC_CTYPE="C" - - java-pkg-opt-2_pkg_setup - - python_set_active_version 2 -} - -src_prepare() { - # Apply our patches - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}" - - # Fix build error for xpctools - epatch "${FILESDIR}/301-xulrunner-xpctools.diff" - - # Fix broken mozilla-plugin.pc - epatch "${FILESDIR}/${PN}-1.9.2-fix-pkgconfig-file.patch" - - epatch "${FILESDIR}"/${PN}-1.9-no_sunstudio.patch # breaks sunstudio - epatch "${FILESDIR}"/${PN}-1.9-solaris64.patch - epatch "${FILESDIR}"/${PN}-1.9.1.5-solaris-undef-regs.patch - epatch "${FILESDIR}"/${PN}-1.9.2-solaris-madvise.patch - epatch "${FILESDIR}"/${PN}-1.9_beta5-prefix.patch - eprefixify \ - extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java \ - xpcom/build/nsXPCOMPrivate.h \ - xulrunner/installer/Makefile.in \ - xulrunner/app/nsRegisterGREUnix.cpp - - # Ensure we find myspell dict. - epatch "${FILESDIR}/1002_fix-system-hunspell-dict-detections.patch" - - # ARM fixes, bug 327783 - epatch "${FILESDIR}/${PN}-1.9.2-arm-fixes.patch" - - # Enable tracemonkey for amd64 (bug #315997) - epatch "${FILESDIR}/801-enable-x86_64-tracemonkey.patch" - - # Allow user to apply additional patches without modifing ebuild - epatch_user - - # Same as in config/autoconf.mk.in - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - SDKDIR="/usr/$(get_libdir)/${PN}-devel-${MAJ_PV}/sdk" - - # Gentoo install dirs - sed -i -e "s:@PV@:${MAJ_PV}:" "${S}"/config/autoconf.mk.in \ - || die "${MAJ_PV} sed failed!" - - # Enable gnomebreakpad - if use debug ; then - sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ - "${S}"/build/unix/run-mozilla.sh || die "sed failed!" - fi - - eautoreconf - - cd js/src - eautoreconf -} - -src_configure() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - MEXTENSIONS="default" - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - mozconfig_annotate '' --with-default-mozilla-five-home="${MOZLIBDIR}" - mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" - mozconfig_annotate '' --enable-application=xulrunner - mozconfig_annotate '' --disable-mailnews - mozconfig_annotate 'broken' --disable-crashreporter - mozconfig_annotate '' --enable-image-encoder=all - mozconfig_annotate '' --enable-canvas - mozconfig_annotate 'gtk' --enable-default-toolkit=cairo-gtk2 - # 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 - mozconfig_annotate '' --enable-safe-browsing - - # Build mozdevelop permately - mozconfig_annotate '' --enable-jsd --enable-xpctools - - # System-wide install specs - mozconfig_annotate '' --disable-installer - mozconfig_annotate '' --disable-updater - mozconfig_annotate '' --disable-strip - mozconfig_annotate '' --disable-install-strip - - # Use system libraries - mozconfig_annotate '' --enable-system-cairo - mozconfig_annotate '' --enable-system-hunspell - mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr - mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr - mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) - mozconfig_annotate '' --with-system-bz2 - - mozconfig_use_enable ipc # +ipc, upstream default - mozconfig_use_enable libnotify - mozconfig_use_enable java javaxpcom - mozconfig_use_enable wifi necko-wifi - mozconfig_use_enable alsa ogg - mozconfig_use_enable alsa wave - mozconfig_use_enable system-sqlite - - # Debug - if use debug ; then - mozconfig_annotate 'debug' --disable-optimize - mozconfig_annotate 'debug' --enable-debug=-ggdb - mozconfig_annotate 'debug' --enable-debug-modules=all - mozconfig_annotate 'debug' --enable-debugger-info-modules - fi - - # Finalize and report settings - mozconfig_final - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-flags -fno-stack-protector - fi - - #################################### - # - # Configure and build - # - #################################### - - # Disable no-print-directory - MAKEOPTS=${MAKEOPTS/--no-print-directory/} - - # Ensure that are plugins dir is enabled as default - sed -i -e "s:/usr/lib/mozilla/plugins:/usr/$(get_libdir)/nsbrowser/plugins:" \ - "${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path!" - - # hack added to workaround bug 299905 on hosts with libc that doesn't - # support tls, (probably will only hit this condition with Gentoo Prefix) - tc-has-tls -l || export ac_cv_thread_keyword=no - - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - rm "${ED}"/usr/bin/xulrunner - - MOZLIBDIR="/usr/$(get_libdir)/${PN}-${MAJ_PV}" - SDKDIR="/usr/$(get_libdir)/${PN}-devel-${MAJ_PV}/sdk" - - if has_multilib_profile; then - local config - for config in "${ED}"/etc/gre.d/*.system.conf ; do - mv "${config}" "${config%.conf}.${CHOST}.conf" - done - fi - - dodir /usr/bin - dosym "${MOZLIBDIR}/xulrunner" "/usr/bin/xulrunner-${MAJ_PV}" || die - - # env.d file for ld search path - dodir /etc/env.d - echo "LDPATH=${EPREFIX}/${MOZLIBDIR}" > "${ED}"/etc/env.d/08xulrunner || die "env.d failed" - - # Add our defaults to xulrunner and out of firefox - cp "${FILESDIR}"/xulrunner-default-prefs.js \ - "${ED}/${MOZLIBDIR}/defaults/pref/all-gentoo.js" || \ - die "failed to cp xulrunner-default-prefs.js" - - if use java ; then - java-pkg_regjar "${ED}/${MOZLIBDIR}/javaxpcom.jar" - java-pkg_regso "${ED}/${MOZLIBDIR}/libjavaxpcomglue.so" - java-pkg_regjar "${ED}/${SDKDIR}/lib/MozillaGlue.jar" - java-pkg_regjar "${ED}/${SDKDIR}/lib/MozillaInterfaces.jar" - fi -} - -pkg_postinst() { - ewarn "If firefox fails to start with \"failed to load xpcom\", run revdep-rebuild" - ewarn "If that does not fix the problem, rebuild dev-libs/nss" - ewarn "Try dev-util/lafilefixer if you get build failures related to .la files" - - einfo - einfo "All prefs can be overridden by the user. The preferences are to make" - einfo "use of xulrunner out of the box on an average system without the user" - einfo "having to go through and enable the basics." - - einfo - ewarn "Any package that requires xulrunner:1.9 slot could and most likely will" - ewarn "have issues. These issues should be reported to maintainer, and mozilla herd" - ewarn "should be cc'd on the bug report. Thank you anarchy@gentoo.org ." -} |