diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-03-18 16:42:34 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-03-18 16:42:34 +0000 |
commit | ec7f4500bfd113fbf64366e876f258e0a644f0cc (patch) | |
tree | 57f4e447aa864218edef43d1e65c92ba130e9ddf /www-client | |
parent | Added to ~ppc (diff) | |
download | gentoo-2-ec7f4500bfd113fbf64366e876f258e0a644f0cc.tar.gz gentoo-2-ec7f4500bfd113fbf64366e876f258e0a644f0cc.tar.bz2 gentoo-2-ec7f4500bfd113fbf64366e876f258e0a644f0cc.zip |
Moved from net-www/mozilla-firefox-bin to www-client/mozilla-firefox-bin.
Diffstat (limited to 'www-client')
14 files changed, 415 insertions, 0 deletions
diff --git a/www-client/mozilla-firefox-bin/ChangeLog b/www-client/mozilla-firefox-bin/ChangeLog new file mode 100644 index 000000000000..23defc2b871f --- /dev/null +++ b/www-client/mozilla-firefox-bin/ChangeLog @@ -0,0 +1,161 @@ +# ChangeLog for net-www/mozilla-firefox-bin +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.1 2005/03/18 16:42:34 seemant Exp $ + +*mozilla-firefox-bin-1.0.1 (18 Mar 2005) +*mozilla-firefox-bin-1.0 (18 Mar 2005) + + 18 Mar 2005; Seemant Kulleen <seemant@gentoo.org> + +files/firebird-0.7-antialiasing-patch, + +files/firefox-bin-0.9-init.tar.bz2, +files/firefox, + +files/icon/firefox-icon.png, +files/icon/mozillafirefox.desktop, + +files/icon/mozillafirefox-bin.desktop, + +files/icon/mozillafirefox-bin-icon.png, +metadata.xml, + +mozilla-firefox-bin-1.0.ebuild, +mozilla-firefox-bin-1.0.1.ebuild: + Moved from net-www/mozilla-firefox-bin to www-client/mozilla-firefox-bin. + + 03 Mar 2005; Chris White <chriswhite@gentoo.org> + mozilla-firefox-bin-1.0.1.ebuild: + Marking x86 stable as requested. + + 02 Mar 2005; Simon Stelling <blubb@gentoo.org> + mozilla-firefox-bin-1.0.1.ebuild: + stable on amd64 wrt bug #83267 + +*mozilla-firefox-bin-1.0.1 (26 Feb 2005) + + 26 Feb 2005; Brad Laue <brad@gentoo.org> +mozilla-firefox-bin-1.0.1.ebuild: + Bump to version 1.0.1 - stability and security fixes. + +*mozilla-firefox-bin-1.0_rc1 (18 Nov 2004) + + 18 Nov 2004; Aron Griffis <agriffis@gentoo.org> + -mozilla-firefox-bin-0.9.3.ebuild, mozilla-firefox-bin-1.0.ebuild, + -mozilla-firefox-bin-1.0_pre-r1.ebuild, -mozilla-firefox-bin-1.0_rc1.ebuild: + Remove extra virtual/x11. Mark 1.0 stable on x86 and amd64. Trim older + versions + +*mozilla-firefox-bin-1.0 (14 Nov 2004) + + 14 Nov 2004; Aron Griffis <agriffis@gentoo.org> + +mozilla-firefox-bin-1.0.ebuild, -mozilla-firefox-bin-1.0_pre.ebuild: + Bump to 1.0, update mozilla-launcher dep to >=1.22. Trim older ebuild + + 07 Oct 2004; Simon Stelling <blubb@gentoo.org> + mozilla-firefox-bin-1.0_pre-r1.ebuild: + stable on amd64 + +*mozilla-firefox-bin-1.0_pre-r1 (02 Oct 2004) + + 02 Oct 2004; Brad Laue <brad@gentoo.org> + +mozilla-firefox-bin-1.0_pre-r1.ebuild: + Version bump. Forcing into stable on x86, as this is a security update. + + 17 Sep 2004; Travis Tilley <lv@gentoo.org> + mozilla-firefox-bin-1.0_pre.ebuild: + stable on amd64 + + 15 Sep 2004; Olivier Crete <tester@gentoo.org> + mozilla-firefox-bin-1.0_pre.ebuild: + Stable on x86 per security bug 63996 + +*mozilla-firefox-bin-1.0_pre (14 Sep 2004) + + 14 Sep 2004; Brad Laue <brad@gentoo.org> + +mozilla-firefox-bin-1.0_pre.ebuild: + Update to Mozilla Firefox 1.0PR + + 05 Aug 2004; Tom Martin <slarti@gentoo.org> + mozilla-firefox-bin-0.9.3.ebuild: + Marked stable on amd64 for bug 59419. + +*mozilla-firefox-bin-0.9.3 (04 Aug 2004) + + 04 Aug 2004; Aron Griffis <agriffis@gentoo.org> + files/icon/mozillafirefox-bin.desktop, +mozilla-firefox-bin-0.9.3.ebuild: + Update to 0.9.3 for security meta-bug 59419. + +*mozilla-firefox-bin-0.9.1 (04 Jul 2004) + + 04 Jul 2004; Brad Laue <brad@gentoo.org> +mozilla-firefox-bin-0.9.1.ebuild: + Update to 0.9.1 + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + mozilla-firefox-bin-0.8-r1.ebuild, mozilla-firefox-bin-0.8.ebuild, + mozilla-firefox-bin-0.9-r1.ebuild: + virtual/glibc -> virtual/libc + + 18 Jun 2004; Aron Griffis <agriffis@gentoo.org> + files/icon/mozillafirefox-bin.desktop, mozilla-firefox-bin-0.9-r1.ebuild: + - Fix bug 54179: Install mozillafirefox-bin.desktop to + /usr/share/applications instead of /usr/share/gnome/apps/Internet. + This also necessitated some changes to the .desktop file which I + based on epiphany.desktop + - Fix bug 54295: Move init file unpacking from pkg_postinst to + src_install + + 16 Jun 2004; Aron Griffis <agriffis@gentoo.org> + mozilla-firefox-bin-0.9-r1.ebuild: + Check both possible URLs for mozilla-firefox-0.9 since mozilla.org seems to be + doing some rearranging + + 16 Jun 2004; Aron Griffis <agriffis@gentoo.org> + -mozilla-firefox-bin-0.9.ebuild: + Remove 0.9 version in favor of 0.9-r1 to reduce confusion + +*mozilla-firefox-bin-0.9-r1 (16 Jun 2004) + + 16 Jun 2004; Aron Griffis <agriffis@gentoo.org> + +files/firefox-bin-0.9-init.tar.bz2, +mozilla-firefox-bin-0.9-r1.ebuild: + Add initialization files for firefox-bin-0.9 to defeat the need to run as root + the first time. Remove bogus truetype font initialization from src_install; + not sure what it was trying to do, but as written it was a no-op. Remove + previous installation completely prior to merging as is done with firefox when + built from source. + +*mozilla-firefox-bin-0.9 (16 Jun 2004) + + 16 Jun 2004; Aron Griffis <agriffis@gentoo.org> + mozilla-firefox-bin-0.9.ebuild: + Depend on more recent mozilla-launcher that supports -a programname for -bin + releases + + 06 Jun 2004; Aron Griffis <agriffis@gentoo.org> + mozilla-firefox-bin-0.8-r1.ebuild: + Fix typo: pkg_postun -> pkg_postrm + + 02 Jun 2004; Travis Tilley <lv@gentoo.org> + mozilla-firefox-bin-0.8-r1.ebuild: + stable on amd64 + +*mozilla-firefox-bin-0.8-r1 (27 May 2004) + + 27 May 2004; Aron Griffis <agriffis@gentoo.org> + +files/icon/mozillafirefox-bin-icon.png, + +files/icon/mozillafirefox-bin.desktop, +mozilla-firefox-bin-0.8-r1.ebuild: + Update to use mozilla-launcher. Allow both firefox and firefox-bin + to be installed simultaneously for testing purposes. + + 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> + mozilla-firefox-bin-0.8.ebuild: + Remove accidental dependency on mozilla-launcher (until m-l is updated to work + with mozilla-firefox-bin + + 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> + mozilla-firefox-bin-0.8.ebuild: + Fix bug 45698 (mozilla-firefox forces downgrade to gtk+-2.2*) + + 14 Feb 2004; Brad Laue <brad@gentoo.org> files/icon/firefox-icon.png: + Fix the firefox icon background + + 14 Feb 2004; Brad Laue <brad@gentoo.org> mozilla-firefox-bin-0.8.ebuild: + Stable on x86 + +*mozilla-firefox-bin-0.8 (12 Feb 2004) + + 12 Feb 2004; Brad Laue <brad@gentoo.org> mozilla-firefox-bin-0.8.ebuild, + files/firebird-0.7-antialiasing-patch, files/firefox, + files/icon/firefox-icon.png, files/icon/mozillafirefox.desktop: + mozilla-firefox-bin, soon to replace firebird. This ebuild features the GTK+2 + binary with antialiased fonts, and that groovy groovy icon. + diff --git a/www-client/mozilla-firefox-bin/Manifest b/www-client/mozilla-firefox-bin/Manifest new file mode 100644 index 000000000000..fecef9dcdf9b --- /dev/null +++ b/www-client/mozilla-firefox-bin/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 e4b8a8218ddba2c608059f57107bdf75 ChangeLog 5577 +MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160 +MD5 b0deb5dc7e60ab7d7511a6a3fca94645 mozilla-firefox-bin-1.0.ebuild 2276 +MD5 e59b19f9523997a53eef325a5a7bab3a mozilla-firefox-bin-1.0.1.ebuild 2286 +MD5 41a88799cdfbdd1af85c3eb69080789a files/digest-mozilla-firefox-bin-1.0 64 +MD5 48924e6ea5eeccdde41276f2231a8630 files/firebird-0.7-antialiasing-patch 1253 +MD5 5327e9cd9d6e7d2fc1de431c1a969636 files/firefox 573 +MD5 7b6378c14fc0f9bd858c2ac9abbca109 files/firefox-bin-0.9-init.tar.bz2 3327 +MD5 ee1f4beb2413078320bf1059f8f03ea8 files/digest-mozilla-firefox-bin-1.0.1 66 +MD5 bff260036c5dcca45da3218517fb33d8 files/icon/firefox-icon.png 3979 +MD5 bff260036c5dcca45da3218517fb33d8 files/icon/mozillafirefox-bin-icon.png 3979 +MD5 dc62e3f15845b0343d1513abada402d7 files/icon/mozillafirefox-bin.desktop 203 +MD5 1336c4a7b24e96ae255fdf2330fac6fc files/icon/mozillafirefox.desktop 129 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFCJiDAFdQwWVoAgN4RAhQUAKC2ukO8mlkGdhv/J+0D4lcKuadA6wCfay9b +efOBYg7H1fF8EMeHbc1i8Nw= +=waQT +-----END PGP SIGNATURE----- diff --git a/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0 b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0 new file mode 100644 index 000000000000..f177956cb67f --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0 @@ -0,0 +1 @@ +MD5 961fc684c55cb95d23bc465d5346de32 firefox-1.0.tar.gz 8223869 diff --git a/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0.1 b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0.1 new file mode 100644 index 000000000000..59720900dc4d --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0.1 @@ -0,0 +1 @@ +MD5 f1781acbba45db0f4074478c4800289e firefox-1.0.1.tar.gz 8232400 diff --git a/www-client/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch b/www-client/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch new file mode 100644 index 000000000000..8ae470bf9048 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/firebird-0.7-antialiasing-patch @@ -0,0 +1,28 @@ +--- unix.js~ 2003-05-17 13:08:50.000000000 +0200 ++++ unix.js 2003-05-17 13:16:56.000000000 +0200 +@@ -228,21 +228,20 @@ + pref("font.scale.outline.min", 6); + + // TrueType +-pref("font.FreeType2.enable", false); ++pref("font.FreeType2.enable", true); + pref("font.freetype2.shared-library", "libfreetype.so.6"); + // if libfreetype was built without hinting compiled in + // it is best to leave hinting off + pref("font.FreeType2.autohinted", false); +-pref("font.FreeType2.unhinted", true); ++pref("font.FreeType2.unhinted", false); + // below a certian pixel size anti-aliased fonts produce poor results + pref("font.antialias.min", 10); + pref("font.embedded_bitmaps.max", 1000000); + pref("font.scale.tt_bitmap.dark_text.min", 64); + pref("font.scale.tt_bitmap.dark_text.gain", "0.8"); + // sample prefs for TrueType font dirs +-//pref("font.directory.truetype.1", "/u/sam/tt_font1"); +-//pref("font.directory.truetype.2", "/u/sam/tt_font2"); +-//pref("font.directory.truetype.3", "/u/sam/tt_font3"); ++pref("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/truetype"); ++pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/TTF"); + pref("font.FreeType2.printing", true); + + // below a certian pixel size anti-aliased bitmat scaled fonts diff --git a/www-client/mozilla-firefox-bin/files/firefox b/www-client/mozilla-firefox-bin/files/firefox new file mode 100644 index 000000000000..70e1a0bb716a --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/firefox @@ -0,0 +1,15 @@ +#!/bin/sh +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/files/firefox,v 1.1 2005/03/18 16:42:34 seemant Exp $ + +export MOZILLA_FIVE_HOME="/opt/firefox" +FIREBIRD_PATH="/opt/firefox" + +if [ -z "`/bin/ps x | /bin/grep \"[0-9] ${FIREBIRD_PATH}/firefox-bin\"`" ]; then + # No MozillaFirebird running + ${FIREBIRD_PATH}/firefox $@ +else + # MozillaFirebird running - open a new window + ${FIREBIRD_PATH}/firefox -remote "openURL($@ ,new-window)" +fi diff --git a/www-client/mozilla-firefox-bin/files/firefox-bin-0.9-init.tar.bz2 b/www-client/mozilla-firefox-bin/files/firefox-bin-0.9-init.tar.bz2 Binary files differnew file mode 100644 index 000000000000..09486c4cda32 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/firefox-bin-0.9-init.tar.bz2 diff --git a/www-client/mozilla-firefox-bin/files/icon/firefox-icon.png b/www-client/mozilla-firefox-bin/files/icon/firefox-icon.png Binary files differnew file mode 100644 index 000000000000..b7ff7197cad1 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/icon/firefox-icon.png diff --git a/www-client/mozilla-firefox-bin/files/icon/mozillafirefox-bin-icon.png b/www-client/mozilla-firefox-bin/files/icon/mozillafirefox-bin-icon.png Binary files differnew file mode 100644 index 000000000000..b7ff7197cad1 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/icon/mozillafirefox-bin-icon.png diff --git a/www-client/mozilla-firefox-bin/files/icon/mozillafirefox-bin.desktop b/www-client/mozilla-firefox-bin/files/icon/mozillafirefox-bin.desktop new file mode 100644 index 000000000000..a1e5e1e3d086 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/icon/mozillafirefox-bin.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Mozilla Firefox (bin) +Comment=Mozilla Application Suite +Exec=/usr/bin/firefox-bin %U +Icon=mozillafirefox-bin-icon.png +Terminal=false +Type=Application +Categories=Application;Network; diff --git a/www-client/mozilla-firefox-bin/files/icon/mozillafirefox.desktop b/www-client/mozilla-firefox-bin/files/icon/mozillafirefox.desktop new file mode 100644 index 000000000000..90228ab5b520 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/icon/mozillafirefox.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Mozilla Firefox +Comment=Web Browser +Exec=/usr/bin/firefox +Icon=firefox-icon.png +Terminal=0 +Type=Application diff --git a/www-client/mozilla-firefox-bin/metadata.xml b/www-client/mozilla-firefox-bin/metadata.xml new file mode 100644 index 000000000000..74d9257900cf --- /dev/null +++ b/www-client/mozilla-firefox-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mozilla</herd> +</pkgmetadata> diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.1.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.1.ebuild new file mode 100644 index 000000000000..995850505511 --- /dev/null +++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.1.ebuild,v 1.1 2005/03/18 16:42:34 seemant Exp $ + +inherit nsplugins eutils mozilla-launcher + +IUSE="gnome" + +DESCRIPTION="The Mozilla Firefox Web Browser" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/linux-i686/en-US/firefox-${PV}.tar.gz" +HOMEPAGE="http://www.mozilla.org/projects/firefox" +RESTRICT="nostrip" + +KEYWORDS="-* x86 amd64" +SLOT="0" +LICENSE="MPL-1.1 NPL-1.1" + +DEPEND="virtual/libc" +RDEPEND="virtual/x11 + x86? ( + >=sys-libs/lib-compat-1.0-r2 + >=x11-libs/gtk+-2.2 + ) + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-1.0 + >=app-emulation/emul-linux-x86-gtklibs-1.0 + ) + >=net-www/mozilla-launcher-1.22" + +S=${WORKDIR}/firefox + +src_install() { + # Install firefox in /opt + dodir /opt + mv ${S} ${D}/opt/firefox + + # Plugin path setup (rescuing the existing plugins) + src_mv_plugins /opt/firefox/plugins + + # Fixing permissions + chown -R root:root ${D}/opt/firefox + + # mozilla-launcher-1.8 supports -bin versions + dodir /usr/bin + dosym /usr/libexec/mozilla-launcher /usr/bin/firefox-bin + + # Install icon and .desktop for menu entry + if use gnome; then + insinto /usr/share/pixmaps + doins ${FILESDIR}/icon/mozillafirefox-bin-icon.png + # Fix bug 54179: Install .desktop file into /usr/share/applications + # instead of /usr/share/gnome/apps/Internet (18 Jun 2004 agriffis) + insinto /usr/share/applications + doins ${FILESDIR}/icon/mozillafirefox-bin.desktop + fi + + # Normally firefox-bin-0.9 must be run as root once before it can + # be run as a normal user. Drop in some initialized files to + # avoid this. + einfo "Extracting firefox-bin-${PV} initialization files" + tar xjpf ${FILESDIR}/firefox-bin-0.9-init.tar.bz2 -C ${D}/opt/firefox +} + +pkg_preinst() { + export MOZILLA_FIVE_HOME=${ROOT}/opt/firefox + + # Remove the old plugins dir + pkg_mv_plugins /opt/firefox/plugins + + # Remove entire installed instance to prevent all kinds of + # problems... see bug 44772 for example + rm -rf "${MOZILLA_FIVE_HOME}" +} + +pkg_postinst() { + export MOZILLA_FIVE_HOME=${ROOT}/opt/firefox + + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.ebuild new file mode 100644 index 000000000000..ed78c7870da1 --- /dev/null +++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.0.ebuild,v 1.1 2005/03/18 16:42:34 seemant Exp $ + +inherit nsplugins eutils mozilla-launcher + +IUSE="gnome" + +DESCRIPTION="The Mozilla Firefox Web Browser" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0/linux-i686/en-US/firefox-${PV}.tar.gz" +HOMEPAGE="http://www.mozilla.org/projects/firefox" +RESTRICT="nostrip" + +KEYWORDS="-* x86 amd64" +SLOT="0" +LICENSE="MPL-1.1 NPL-1.1" + +DEPEND="virtual/libc" +RDEPEND="virtual/x11 + x86? ( + >=sys-libs/lib-compat-1.0-r2 + >=x11-libs/gtk+-2.2 + ) + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-1.0 + >=app-emulation/emul-linux-x86-gtklibs-1.0 + ) + >=net-www/mozilla-launcher-1.22" + +S=${WORKDIR}/firefox + +src_install() { + # Install firefox in /opt + dodir /opt + mv ${S} ${D}/opt/firefox + + # Plugin path setup (rescuing the existing plugins) + src_mv_plugins /opt/firefox/plugins + + # Fixing permissions + chown -R root:root ${D}/opt/firefox + + # mozilla-launcher-1.8 supports -bin versions + dodir /usr/bin + dosym /usr/libexec/mozilla-launcher /usr/bin/firefox-bin + + # Install icon and .desktop for menu entry + if use gnome; then + insinto /usr/share/pixmaps + doins ${FILESDIR}/icon/mozillafirefox-bin-icon.png + # Fix bug 54179: Install .desktop file into /usr/share/applications + # instead of /usr/share/gnome/apps/Internet (18 Jun 2004 agriffis) + insinto /usr/share/applications + doins ${FILESDIR}/icon/mozillafirefox-bin.desktop + fi + + # Normally firefox-bin-0.9 must be run as root once before it can + # be run as a normal user. Drop in some initialized files to + # avoid this. + einfo "Extracting firefox-bin-${PV} initialization files" + tar xjpf ${FILESDIR}/firefox-bin-0.9-init.tar.bz2 -C ${D}/opt/firefox +} + +pkg_preinst() { + export MOZILLA_FIVE_HOME=${ROOT}/opt/firefox + + # Remove the old plugins dir + pkg_mv_plugins /opt/firefox/plugins + + # Remove entire installed instance to prevent all kinds of + # problems... see bug 44772 for example + rm -rf "${MOZILLA_FIVE_HOME}" +} + +pkg_postinst() { + export MOZILLA_FIVE_HOME=${ROOT}/opt/firefox + + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} |