From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QeMZZ-0007wI-Bf for garchives@archives.gentoo.org; Wed, 06 Jul 2011 07:31:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21E6321C079; Wed, 6 Jul 2011 07:30:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C843F21C079 for ; Wed, 6 Jul 2011 07:30:02 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A09031BC0D0 for ; Wed, 6 Jul 2011 04:22:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4FA468003D for ; Wed, 6 Jul 2011 04:22:28 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" Message-ID: Subject: [gentoo-commits] proj/mozilla:master commit in: net-libs/xulrunner/files/, www-client/firefox/, www-client/firefox/files/icon/, ... X-VCS-Repository: proj/mozilla X-VCS-Files: net-libs/xulrunner/Manifest net-libs/xulrunner/files/xulrunner-default-prefs.js net-libs/xulrunner/xulrunner-5.0_beta5.ebuild www-client/firefox/Manifest www-client/firefox/files/firefox-default-prefs.js www-client/firefox/files/fix-preferences-gentoo.patch www-client/firefox/files/fix_omnijar_startupcache_breakage.patch www-client/firefox/files/icon/firefox-1.5-unbranded.desktop www-client/firefox/files/icon/firefox-1.5.desktop www-client/firefox/files/icon/firefox.desktop www-client/firefox/firefox-5.0_beta5.ebuild X-VCS-Directories: net-libs/xulrunner/files/ www-client/firefox/ www-client/firefox/files/icon/ net-libs/xulrunner/ www-client/firefox/files/ X-VCS-Committer: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: e44f334a33ae97e6a57311120a5e304ef14814fe Date: Wed, 6 Jul 2011 04:22:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 2e877a82a8acd946dbbb6e8983349d0e commit: e44f334a33ae97e6a57311120a5e304ef14814fe Author: Nirbheek Chauhan gentoo org> AuthorDate: Wed Jul 6 04:16:43 2011 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Wed Jul 6 04:16:43 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mozilla.git;a= =3Dcommit;h=3De44f334a Remove obsolete xulrunner and firefox ebuilds --- net-libs/xulrunner/Manifest | 4 - .../xulrunner/files/xulrunner-default-prefs.js | 14 - net-libs/xulrunner/xulrunner-5.0_beta5.ebuild | 200 -------------- www-client/firefox/Manifest | 9 - www-client/firefox/files/firefox-default-prefs.js | 2 - .../firefox/files/fix-preferences-gentoo.patch | 10 - .../files/fix_omnijar_startupcache_breakage.patch | 27 -- .../files/icon/firefox-1.5-unbranded.desktop | 9 - www-client/firefox/files/icon/firefox-1.5.desktop | 9 - www-client/firefox/files/icon/firefox.desktop | 9 - www-client/firefox/firefox-5.0_beta5.ebuild | 284 --------------= ------ 11 files changed, 0 insertions(+), 577 deletions(-) diff --git a/net-libs/xulrunner/Manifest b/net-libs/xulrunner/Manifest deleted file mode 100644 index 4bb9231..0000000 --- a/net-libs/xulrunner/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX xulrunner-default-prefs.js 709 RMD160 a4d062f75c17552545267ec3fe2f6b= 54073dafbd SHA1 580128e9edf8021fdbbca2c91abf63cb83bab2c7 SHA256 e6850b0a2= 2f7d3889b49ec4a79a3c4d3d077edd98c8f0ffdc26e30bc70bb4b09 -DIST firefox-5.0b5.source.tar.bz2 68713666 RMD160 00df8b75ef2b06fa62e584= 21cbe7a5df8011c4ce SHA1 744e34180dd7ce07428324c9011e5426e235228d SHA256 1= ffaa93394e9b582e5fb0bde7f514dc5b0b57e0d20714753a42e76ee727b10e8 -DIST xulrunner-5.0-patches-0.3.tar.bz2 17651 RMD160 3b7ae9eff944ecfc8daf= 2b4e5756793a8818f676 SHA1 2bada1fd15efd811666260b82379de4da7ae37ae SHA256= cbca0cfd802095054d6b22648587aee4c83f616a0c9df384c5f2dc6364167715 -EBUILD xulrunner-5.0_beta5.ebuild 5935 RMD160 932a0d0ab0ba0b61714426fe3b= 0213de6f180723 SHA1 5b472701e5c415a877c7bc71de5d11403c5e5fcf SHA256 6633a= ca442fd220bcfe709ce70e8136ff8ceb822f34243cff52b71f856f159e6 diff --git a/net-libs/xulrunner/files/xulrunner-default-prefs.js b/net-li= bs/xulrunner/files/xulrunner-default-prefs.js deleted file mode 100644 index 9286a6a..0000000 --- a/net-libs/xulrunner/files/xulrunner-default-prefs.js +++ /dev/null @@ -1,14 +0,0 @@ -pref("app.update.enabled", false); -pref("app.update.autoInstallEnabled", false); -pref("browser.display.use_system_colors", true); -pref("browser.link.open_external", 3); -pref("general.smoothScroll", true); -pref("general.autoScroll", false); -pref("browser.tabs.tabMinWidth", 15); -pref("browser.backspace_action", 0); -pref("browser.urlbar.hideGoButton", true); -pref("accessibility.typeaheadfind", true); -pref("browser.shell.checkDefaultBrowser", false);=20 -pref("browser.EULA.override", true);=20 -pref("intl.locale.matchOS", true); -pref("general.useragent.locale", "chrome://global/locale/intl.properties= "); diff --git a/net-libs/xulrunner/xulrunner-5.0_beta5.ebuild b/net-libs/xul= runner/xulrunner-5.0_beta5.ebuild deleted file mode 100644 index 231effd..0000000 --- a/net-libs/xulrunner/xulrunner-5.0_beta5.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-2.0.1-r1= .ebuild,v 1.1 2011/05/16 00:35:06 anarchy Exp $ - -EAPI=3D"3" -WANT_AUTOCONF=3D"2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multili= b autotools python versionator pax-utils prefix - -MAJ_XUL_PV=3D"$(get_version_component_range 1-2)" # from mozilla-* branc= h name -MAJ_FF_PV=3D"5.0" -FF_PV=3D"${PV/${MAJ_XUL_PV}/${MAJ_FF_PV}}" # 3.7_alpha6, 3.6.3, etc. -FF_PV=3D"${FF_PV/_alpha/a}" # Handle alpha for SRC_URI -FF_PV=3D"${FF_PV/_beta/b}" # Handle beta for SRC_URI -FF_PV=3D"${FF_PV/_rc/rc}" # Handle rc for SRC_URI -CHANGESET=3D"e56ecd8b3a68" -PATCH=3D"${PN}-5.0-patches-0.3" - -DESCRIPTION=3D"Mozilla runtime package that can be used to bootstrap XUL= +XPCOM applications" -HOMEPAGE=3D"http://developer.mozilla.org/en/docs/XULRunner" - -KEYWORDS=3D"~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -SLOT=3D"1.9" -LICENSE=3D"|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -IUSE=3D"+crashreporter gconf +ipc system-sqlite +webm" - -REL_URI=3D"http://releases.mozilla.org/pub/mozilla.org/firefox/releases" -FTP_URI=3D"ftp://ftp.mozilla.org/pub/firefox/releases/" -# More URIs appended below... -SRC_URI=3D"http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar= .bz2" - -ASM_DEPEND=3D">=3Ddev-lang/yasm-1.1.0" - -RDEPEND=3D" - >=3Dsys-devel/binutils-2.16.1 - >=3Ddev-libs/nss-3.12.9 - >=3Ddev-libs/nspr-4.8.7 - >=3Ddev-libs/glib-2.26 - gconf? ( >=3Dgnome-base/gconf-1.2.1:2 ) - media-libs/libpng[apng] - dev-libs/libffi - system-sqlite? ( >=3Ddev-db/sqlite-3.7.4[fts3,secure-delete,unlock-noti= fy,debug=3D] ) - webm? ( media-libs/libvpx - media-libs/alsa-lib - media-libs/mesa ) - !www-plugins/weave" - -DEPEND=3D"${RDEPEND} - dev-util/pkgconfig - webm? ( amd64? ( ${ASM_DEPEND} ) - x86? ( ${ASM_DEPEND} ) )" - -if [[ ${PV} =3D~ alpha ]]; then - # hg snapshot tarball - SRC_URI=3D"${SRC_URI} - http://dev.gentoo.org/~anarchy/mozilla/firefox/firefox-${FF_PV}_${CHAN= GESET}.source.tar.bz2" - S=3D"${WORKDIR}/mozilla-central" -elif [[ ${PV} =3D~ beta ]]; then - SRC_URI=3D"${SRC_URI} - ${FTP_URI}/${FF_PV}/source/firefox-${FF_PV}.source.tar.bz2" - S=3D"${WORKDIR}/mozilla-beta" -else - SRC_URI=3D"${SRC_URI} - ${REL_URI}/${FF_PV}/source/firefox-${FF_PV}.source.tar.bz2" - S=3D"${WORKDIR}/mozilla-${MAJ_XUL_PV}" -fi - -pkg_setup() { - moz_pkgsetup -} - -src_prepare() { - # Apply our patches - EPATCH_SUFFIX=3D"patch" \ - EPATCH_FORCE=3D"yes" \ - epatch "${WORKDIR}" - - # Allow user to apply any additional patches without modifing ebuild - epatch_user - - eprefixify \ - xpcom/build/nsXPCOMPrivate.h \ - - # fix double symbols due to double -ljemalloc - sed -i -e '/^LIBS +=3D $(JEMALLOC_LIBS)/s/^/#/' \ - xulrunner/stub/Makefile.in || die - - # Same as in config/autoconf.mk.in - MOZLIBDIR=3D"/usr/$(get_libdir)/${PN}-${MAJ_XUL_PV}" - SDKDIR=3D"/usr/$(get_libdir)/${PN}-devel-${MAJ_XUL_PV}/sdk" - - # Gentoo install dirs - sed -i -e "s:@PV@:${MAJ_XUL_PV}:" "${S}"/config/autoconf.mk.in \ - || die "${MAJ_XUL_PV} sed failed!" - - # Enable gnomebreakpad - if use debug ; then - sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=3D1:GNOME_DISABLE_CRASH_DIALOG= =3D0:g" \ - "${S}"/build/unix/run-mozilla.sh || die "sed failed!" - fi - - # Disable gnomevfs extension - sed -i -e "s:gnomevfs::" "${S}/"xulrunner/confvars.sh \ - || die "Failed to remove gnomevfs extension" - - eautoreconf - - cd js/src - eautoreconf -} - -src_configure() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - MEXTENSIONS=3D"default" - - MOZLIBDIR=3D"/usr/$(get_libdir)/${PN}-${MAJ_XUL_PV}" - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - mozconfig_annotate '' --with-default-mozilla-five-home=3D"${MOZLIBDIR}" - mozconfig_annotate '' --enable-extensions=3D"${MEXTENSIONS}" - mozconfig_annotate '' --disable-mailnews - mozconfig_annotate '' --enable-canvas - mozconfig_annotate '' --enable-safe-browsing - mozconfig_annotate '' --with-system-png - mozconfig_annotate '' --enable-system-ffi - #mozconfig_annotate '' --enable-chrome-format=3Djar - mozconfig_use_enable system-sqlite - mozconfig_use_enable gconf - - # Finalize and report settings - mozconfig_final - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-flags -fno-stack-protector - fi - - # Ensure we do not fail on i{3,5,7} processors that support -mavx - if use amd64 || use x86; then - append-flags -mno-avx - fi - - #################################### - # - # Configure and build - # - #################################### - - # Disable no-print-directory - MAKEOPTS=3D${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/plug= ins:" \ - "${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to re= place 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 Prefi= x) - tc-has-tls -l || export ac_cv_thread_keyword=3Dno - - CC=3D"$(tc-getCC)" CXX=3D"$(tc-getCXX)" LD=3D"$(tc-getLD)" PYTHON=3D"$(= PYTHON)" econf -} - -src_install() { - # Add our defaults to xulrunner and out of firefox - cp "${FILESDIR}"/xulrunner-default-prefs.js \ - "${S}/dist/bin/defaults/pref/all-gentoo.js" || \ - die "failed to cp xulrunner-default-prefs.js" - - emake DESTDIR=3D"${D}" install || die "emake install failed" - - rm "${ED}"/usr/bin/xulrunner - - MOZLIBDIR=3D"/usr/$(get_libdir)/${PN}-${MAJ_XUL_PV}" - SDKDIR=3D"/usr/$(get_libdir)/${PN}-devel-${MAJ_XUL_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_XUL_PV}" || di= e - - # env.d file for ld search path - dodir /etc/env.d - echo "LDPATH=3D${EPREFIX}/${MOZLIBDIR}" > "${ED}"/etc/env.d/08xulrunner= || die "env.d failed" - - pax-mark m "${ED}"/${MOZLIBDIR}/{plugin-container,xpcshell} -} diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest deleted file mode 100644 index 7666456..0000000 --- a/www-client/firefox/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX firefox-default-prefs.js 95 RMD160 805cdfec6fb31c224322cb71125547ad7= a515f49 SHA1 7fab69d85b12a9f1b0c87fbb1821bdafd7485ac9 SHA256 8bc4cb870bc4= 02db1f20b135a689f8c5dbfa5de8f1755b1926198d627c12c5f1 -AUX fix-preferences-gentoo.patch 426 RMD160 83075ec3c2e4c39ba298096bd084= 47bb94cad34d SHA1 ffff69bcff712483d1962ce04a700748fdab24f5 SHA256 7edae5e= a1efb042412d02ef00c51f5e55c4499751c240b48c7b07f69cc420d94 -AUX fix_omnijar_startupcache_breakage.patch 889 RMD160 3f37d6418d6119be0= 26949487ce5eb50c84e3880 SHA1 cbf99c183522e7bc2d6d9ad4cd38aee00b4f7a10 SHA= 256 0eee0cc14b1b4ad491ad1179c442e6fea65bb5fdcd0d6f20daf97d865a28a696 -AUX icon/firefox-1.5-unbranded.desktop 258 RMD160 32ebb016d6a4d3d2728c03= 1f3b3762796e02f5d3 SHA1 69820d445d06b90d7ac35ffd39dad5926caa0862 SHA256 f= 2bf5c237a5c56b443c20fd16d3da429bf3b99e9fe27b661a1a462aa46ed25d3 -AUX icon/firefox-1.5.desktop 255 RMD160 4ef1cf548f11057274620b82f0728958= a3424bea SHA1 6a440f817072fb60516c1a1d999dffb6d3fa1583 SHA256 9bf6e1264d9= 86c68d64831d166ed6b506bff6df8b56d21bfc166aee09cbc753f -AUX icon/firefox.desktop 276 RMD160 92a5671cd09e399b3330c4be31b7ac758374= 7031 SHA1 b757763670a00982f3cb38b8d41d7faa6eee3818 SHA256 06565ade11b6e4b= 448cf10339696c43f31e73cb6824491094bb6e0ab902c7cf5 -DIST firefox-5.0-patches-0.3.tar.bz2 14956 RMD160 905688afd3339d791faeac= d4930022bcc92d146d SHA1 8c7fa871bef5e02a71d4fac195ce4c8ab8ce0eda SHA256 f= 0d72278018ed443ca1fe07fd69e612fc3bf9a0e3ee6fc15c5a1700df3126eef -DIST firefox-5.0b5.source.tar.bz2 68713666 RMD160 00df8b75ef2b06fa62e584= 21cbe7a5df8011c4ce SHA1 744e34180dd7ce07428324c9011e5426e235228d SHA256 1= ffaa93394e9b582e5fb0bde7f514dc5b0b57e0d20714753a42e76ee727b10e8 -EBUILD firefox-5.0_beta5.ebuild 8459 RMD160 1d9af6f0f8957cf6aaccd8845420= 46910c2664ac SHA1 a38df17dd38853293f0fa590f432bfc1a9836f6f SHA256 adca903= 4ab837f87229094ea7d3c47e111735dbcc6a74cd8300768ccd22fdea9 diff --git a/www-client/firefox/files/firefox-default-prefs.js b/www-clie= nt/firefox/files/firefox-default-prefs.js deleted file mode 100644 index f7c031e..0000000 --- a/www-client/firefox/files/firefox-default-prefs.js +++ /dev/null @@ -1,2 +0,0 @@ -pref("browser.tabs.tabMinWidth", 15); -pref("browser.backspace_action", 0); diff --git a/www-client/firefox/files/fix-preferences-gentoo.patch b/www-= client/firefox/files/fix-preferences-gentoo.patch deleted file mode 100644 index a8ba90f..0000000 --- a/www-client/firefox/files/fix-preferences-gentoo.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/browser/installer/package-manifest.in 2011-03-24 23:01:23.54300000= 1 -0500 -+++ b/browser/installer/package-manifest.in 2011-03-24 23:02:01.92700000= 1 -0500 -@@ -444,6 +444,7 @@ -=20 - ; [Default Preferences] - ; All the pref files must be part of base to prevent migration bugs -+@BINPATH@/@PREF_DIR@/all-gentoo.js - @BINPATH@/@PREF_DIR@/firefox.js - @BINPATH@/@PREF_DIR@/firefox-branding.js - @BINPATH@/@PREF_DIR@/channel-prefs.js diff --git a/www-client/firefox/files/fix_omnijar_startupcache_breakage.p= atch b/www-client/firefox/files/fix_omnijar_startupcache_breakage.patch deleted file mode 100644 index 038f872..0000000 --- a/www-client/firefox/files/fix_omnijar_startupcache_breakage.patch +++ /dev/null @@ -1,27 +0,0 @@ -# HG changeset patch -# Parent 321c235ffaf41a77747672f46c43aa024490b8e4 - -diff --git a/browser/installer/Makefile.in b/browser/installer/Makefile.= in ---- a/browser/installer/Makefile.in -+++ b/browser/installer/Makefile.in -@@ -118,9 +118,8 @@ - endif -=20 - ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY)) --ifdef RUN_TEST_PROGRAM --_ABS_RUN_TEST_PROGRAM =3D $(call core_abspath,$(RUN_TEST_PROGRAM)) --endif -+ifndef RUN_TEST_PROGRAM -+_ABS_RUN_TEST_PROGRAM =3D /usr/lib64/xulrunner-devel-5.0 -=20 - GENERATE_CACHE =3D \ - $(_ABS_RUN_TEST_PROGRAM) $(_ABS_DIST)/bin/xpcshell$(BIN_SUFFIX) -g "$= $PWD" -f $(topsrcdir)/browser/installer/precompile_cache.js -e 'populate_= startupcache("omni.jar", "startupCache.zip");' && \ -@@ -130,6 +129,7 @@ - find jsloader | xargs touch -t 201001010000 && \ - $(ZIP) -r9mX omni.jar jsloader - endif -+endif -=20 - include $(topsrcdir)/toolkit/mozapps/installer/packager.mk -=20 - diff --git a/www-client/firefox/files/icon/firefox-1.5-unbranded.desktop = b/www-client/firefox/files/icon/firefox-1.5-unbranded.desktop deleted file mode 100644 index dff2d63..0000000 --- a/www-client/firefox/files/icon/firefox-1.5-unbranded.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=3DBon Echo -Comment=3DWeb Browser -Exec=3D/usr/bin/firefox %U -Icon=3Dfirefox-icon-unbranded -Terminal=3Dfalse -Type=3DApplication -MimeType=3Dtext/html;text/xml;application/xhtml+xml;application/vnd.mozi= lla.xul+xml;text/mml; -Categories=3DNetwork;WebBrowser; diff --git a/www-client/firefox/files/icon/firefox-1.5.desktop b/www-clie= nt/firefox/files/icon/firefox-1.5.desktop deleted file mode 100644 index 98d5fdf..0000000 --- a/www-client/firefox/files/icon/firefox-1.5.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=3DMozilla Firefox -Comment=3DWeb Browser -Exec=3D/usr/bin/firefox %U -Icon=3Dfirefox-icon -Terminal=3Dfalse -Type=3DApplication -MimeType=3Dtext/html;text/xml;application/xhtml+xml;application/vnd.mozi= lla.xul+xml;text/mml; -Categories=3DNetwork;WebBrowser; diff --git a/www-client/firefox/files/icon/firefox.desktop b/www-client/f= irefox/files/icon/firefox.desktop deleted file mode 100644 index 35999a8..0000000 --- a/www-client/firefox/files/icon/firefox.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=3D@NAME@ -Comment=3DWeb Browser -Exec=3Dfirefox %U -Icon=3D@ICON@ -Terminal=3Dfalse -Type=3DApplication -MimeType=3Dtext/html;text/xml;application/xhtml+xml;application/vnd.mozi= lla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; -Categories=3DNetwork;WebBrowser; diff --git a/www-client/firefox/firefox-5.0_beta5.ebuild b/www-client/fir= efox/firefox-5.0_beta5.ebuild deleted file mode 100644 index d7f267b..0000000 --- a/www-client/firefox/firefox-5.0_beta5.ebuild +++ /dev/null @@ -1,284 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-4.0-r1.ebu= ild,v 1.1 2011/03/23 00:45:30 nirbheek Exp $ - -EAPI=3D"3" -WANT_AUTOCONF=3D"2.1" - -inherit flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-3 mak= eedit multilib pax-utils fdo-mime autotools mozextension versionator pyth= on - -MAJ_XUL_PV=3D"5.0" -MAJ_FF_PV=3D"$(get_version_component_range 1-2)" # 3.5, 3.6, 4.0, etc. -XUL_PV=3D"${MAJ_XUL_PV}${PV/${MAJ_FF_PV}/}" # 1.9.3_alpha6, 1.9.2.3, etc= . -FF_PV=3D"${PV/_alpha/a}" # Handle alpha for SRC_URI -FF_PV=3D"${FF_PV/_beta/b}" # Handle beta for SRC_URI -FF_PV=3D"${FF_PV/_rc/rc}" # Handle rc for SRC_URI -CHANGESET=3D"e56ecd8b3a68" -PATCH=3D"${PN}-5.0-patches-0.3" - -DESCRIPTION=3D"Firefox Web Browser" -HOMEPAGE=3D"http://www.mozilla.com/firefox" - -KEYWORDS=3D"~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -SLOT=3D"0" -LICENSE=3D"|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -IUSE=3D"bindist +ipc system-sqlite +webm" - -REL_URI=3D"http://releases.mozilla.org/pub/mozilla.org/firefox/releases" -FTP_URI=3D"ftp://ftp.mozilla.org/pub/firefox/releases/" -# More URIs appended below... -SRC_URI=3D"http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar= .bz2" - -ASM_DEPEND=3D">=3Ddev-lang/yasm-1.1" - -RDEPEND=3D" - >=3Dsys-devel/binutils-2.16.1 - >=3Ddev-libs/nss-3.12.9 - >=3Ddev-libs/nspr-4.8.7 - >=3Ddev-libs/glib-2.26 - media-libs/libpng[apng] - dev-libs/libffi - system-sqlite? ( >=3Ddev-db/sqlite-3.7.4[fts3,secure-delete,unlock-noti= fy,debug=3D] ) - ~net-libs/xulrunner-${XUL_PV}[wifi=3D,libnotify=3D,system-sqlite=3D,web= m=3D] - webm? ( media-libs/libvpx - media-libs/alsa-lib )" - -DEPEND=3D"${RDEPEND} - dev-util/pkgconfig - webm? ( x86? ( ${ASM_DEPEND} ) - amd64? ( ${ASM_DEPEND} ) )" - -# No source releases for alpha|beta -if [[ ${PV} =3D~ alpha ]]; then - SRC_URI=3D"${SRC_URI} - http://dev.gentoo.org/~anarchy/mozilla/firefox/firefox-${FF_PV}_${CHAN= GESET}.source.tar.bz2" - S=3D"${WORKDIR}/mozilla-central" -elif [[ ${PV} =3D~ beta ]]; then - SRC_URI=3D"${SRC_URI} - ${FTP_URI}/${FF_PV}/source/firefox-${FF_PV}.source.tar.bz2" - S=3D"${WORKDIR}/mozilla-beta" -else - SRC_URI=3D"${SRC_URI} - ${REL_URI}/${FF_PV}/source/firefox-${FF_PV}.source.tar.bz2" - S=3D"${WORKDIR}/mozilla-${MAJ_XUL_PV}" -fi - -# No language packs for alphas -if ! [[ ${PV} =3D~ alpha|beta ]]; then - # This list can be updated with scripts/get_langs.sh from mozilla overl= ay - LANGS=3D"af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de - el en en-ZA eo es-ES et eu fa fi fr fy-NL ga-IE gd gl gu-IN - he hi-IN hr hu hy-AM id is it ja kk kn ko ku lg lt lv mai mk - ml mr nb-NO nl nn-NO nso or pa-IN pl pt-PT rm ro ru si sk sl - son sq sr sv-SE ta ta-LK te th tr uk vi zu" - NOSHORTLANGS=3D"en-GB es-AR es-CL es-MX pt-BR zh-CN zh-TW" - - for X in ${LANGS} ; do - if [ "${X}" !=3D "en" ] && [ "${X}" !=3D "en-US" ]; then - SRC_URI=3D"${SRC_URI} - linguas_${X/-/_}? ( ${REL_URI}/${FF_PV}/linux-i686/xpi/${X}.xpi -> $= {P}-${X}.xpi )" - fi - IUSE=3D"${IUSE} linguas_${X/-/_}" - # english is handled internally - if [ "${#X}" =3D=3D 5 ] && ! has ${X} ${NOSHORTLANGS}; then - if [ "${X}" !=3D "en-US" ]; then - SRC_URI=3D"${SRC_URI} - linguas_${X%%-*}? ( ${REL_URI}/${FF_PV}/linux-i686/xpi/${X}.xpi -> = ${P}-${X}.xpi )" - fi - IUSE=3D"${IUSE} linguas_${X%%-*}" - fi - done -fi - -QA_PRESTRIPPED=3D"usr/$(get_libdir)/${PN}/firefox" - -linguas() { - local LANG SLANG - for LANG in ${LINGUAS}; do - if has ${LANG} en en_US; then - has en ${linguas} || linguas=3D"${linguas:+"${linguas} "}en" - continue - elif has ${LANG} ${LANGS//-/_}; then - has ${LANG//_/-} ${linguas} || linguas=3D"${linguas:+"${linguas} "}${= LANG//_/-}" - continue - elif [[ " ${LANGS} " =3D=3D *" ${LANG}-"* ]]; then - for X in ${LANGS}; do - if [[ "${X}" =3D=3D "${LANG}-"* ]] && \ - [[ " ${NOSHORTLANGS} " !=3D *" ${X} "* ]]; then - has ${X} ${linguas} || linguas=3D"${linguas:+"${linguas} "}${X}" - continue 2 - fi - done - fi - ewarn "Sorry, but ${P} does not support the ${LANG} LINGUA" - done -} - -pkg_setup() { - moz_pkgsetup - - if ! use bindist ; then - einfo - elog "You are enabling official branding. You may not redistribute thi= s build" - elog "to any users on your network or the internet. Doing so puts your= self into" - elog "a legal problem with Mozilla Foundation" - elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag= " - fi -} - -src_unpack() { - unpack ${A} - - linguas - for X in ${linguas}; do - # FIXME: Add support for unpacking xpis to portage - [[ ${X} !=3D "en" ]] && xpi_unpack "${P}-${X}.xpi" - done -} - -src_prepare() { - # Apply our patches - EPATCH_SUFFIX=3D"patch" \ - EPATCH_FORCE=3D"yes" \ - epatch "${WORKDIR}" - - epatch "${FILESDIR}"/fix-preferences-gentoo.patch - epatch "${FILESDIR}"/fix_omnijar_startupcache_breakage.patch - - # Allow user to apply any additional patches without modifing ebuild - epatch_user - - # Disable gnomevfs extension - sed -i -e "s:gnomevfs::" "${S}/"browser/confvars.sh \ - || die "Failed to remove gnomevfs extension" - - eautoreconf - - cd js/src - eautoreconf -} - -src_configure() { - MOZILLA_FIVE_HOME=3D"/usr/$(get_libdir)/${PN}" - MEXTENSIONS=3D"default" - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - mozconfig_annotate '' --enable-extensions=3D"${MEXTENSIONS}" - mozconfig_annotate '' --disable-mailnews - mozconfig_annotate '' --enable-canvas - mozconfig_annotate '' --enable-safe-browsing - mozconfig_annotate '' --with-system-png - mozconfig_annotate '' --enable-system-ffi - mozconfig_annotate '' --with-system-libxul - mozconfig_annotate '' --with-libxul-sdk=3D"${EPREFIX}"/usr/$(get_libdir= )/xulrunner-devel-${MAJ_XUL_PV} - # mozconfig_annotate '' --enable-chrome-format=3Djar - - # Other ff-specific settings - mozconfig_annotate '' --with-default-mozilla-five-home=3D${MOZILLA_FIVE= _HOME} - - mozconfig_use_enable system-sqlite - - # Finalize and report settings - mozconfig_final - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-cxxflags -fno-stack-protector - fi - - #################################### - # - # Configure and build - # - #################################### - - CC=3D"$(tc-getCC)" CXX=3D"$(tc-getCXX)" LD=3D"$(tc-getLD)" PYTHON=3D"$(= PYTHON)" econf -} - -src_install() { - MOZILLA_FIVE_HOME=3D"/usr/$(get_libdir)/${PN}" - - # Enable very specific settings not inherited from xulrunner - cp "${FILESDIR}"/firefox-default-prefs.js \ - "${S}/dist/bin/defaults/preferences/all-gentoo.js" || \ - die "failed to cp firefox-default-prefs.js" - - emake DESTDIR=3D"${D}" install || die "emake install failed" - - linguas - for X in ${linguas}; do - [[ ${X} !=3D "en" ]] && xpi_install "${WORKDIR}/${P}-${X}" - done - - local size sizes icon_path icon name - if use bindist; then - sizes=3D"16 32 48" - icon_path=3D"${S}/browser/branding/unofficial" - icon=3D"tumucumaque" - name=3D"Tumucumaque" - else - sizes=3D"16 22 24 32 256" - icon_path=3D"${S}/other-licenses/branding/firefox" - icon=3D"${PN}" - name=3D"Mozilla Firefox" - fi - - # Install icons and .desktop for menu entry - for size in ${sizes}; do - insinto "/usr/share/icons/hicolor/${size}x${size}/apps" - newins "${icon_path}/default${size}.png" "${icon}.png" || die - done - # The 128x128 icon has a different name - insinto "/usr/share/icons/hicolor/128x128/apps" - newins "${icon_path}/mozicon128.png" "${icon}.png" || die - # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs - newicon "${icon_path}/content/icon48.png" "${icon}.png" || die - newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" || die - sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ - "${ED}/usr/share/applications/${PN}.desktop" || die - - # Add StartupNotify=3Dtrue bug 237317 - if use startup-notification ; then - echo "StartupNotify=3Dtrue" >> "${ED}/usr/share/applications/${PN}.des= ktop" - fi - - pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/firefox - - - # Must symlink xulrunner into firefox directory now - dosym ../xulrunner-"${MAJ_XUL_PV}" "${MOZILLA_FIVE_HOME}"/xulrunner \ - || die "failed to setup xulrunner" - - # Plugins dir - dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins \ - || die "failed to symlink" - - # very ugly hack to make firefox not sigbus on sparc - use sparc && { sed -e 's/Firefox/FirefoxGentoo/g' \ - -i "${ED}/${MOZILLA_FIVE_HOME}/application.ini" || \ - die "sparc sed failed"; } -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - # Update mimedb for the new .desktop file - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}