Update to 1.0RC1
authorBrad Laue <brad@gentoo.org>
Fri, 29 Oct 2004 05:59:57 +0000 (05:59 +0000)
committerBrad Laue <brad@gentoo.org>
Fri, 29 Oct 2004 05:59:57 +0000 (05:59 +0000)
net-www/mozilla-firefox-bin/Manifest
net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0_rc1 [new file with mode: 0644]
net-www/mozilla-firefox-bin/mozilla-firefox-bin-1.0_rc1.ebuild [new file with mode: 0644]

index 2de975aa8780bf09fee9456c295ff5d9d1771f53..e9cb51fdd02fed1d7eb4225fca9d497ce00313d7 100644 (file)
@@ -1,15 +1,17 @@
-MD5 e0f21a45cebdefdbf9bd885d2a453c0e ChangeLog 4590
-MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
-MD5 5bf449b3d908b1da4a4f513549bfec5f mozilla-firefox-bin-0.9.3.ebuild 2525
 MD5 ed0c5f499e98bd8cda96fc20ca4b869c mozilla-firefox-bin-1.0_pre.ebuild 2547
 MD5 2690e2b0a5d548875fdf123a81511fae mozilla-firefox-bin-1.0_pre-r1.ebuild 2414
-MD5 4682d7ab300858b026579a39eb1c4b4e files/digest-mozilla-firefox-bin-0.9.3 86
-MD5 48924e6ea5eeccdde41276f2231a8630 files/firebird-0.7-antialiasing-patch 1253
-MD5 5327e9cd9d6e7d2fc1de431c1a969636 files/firefox 573
+MD5 5bf449b3d908b1da4a4f513549bfec5f mozilla-firefox-bin-0.9.3.ebuild 2525
+MD5 e1665889dc406706b2410958e360da24 mozilla-firefox-bin-1.0_rc1.ebuild 2431
+MD5 e0f21a45cebdefdbf9bd885d2a453c0e ChangeLog 4590
+MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
 MD5 7b6378c14fc0f9bd858c2ac9abbca109 files/firefox-bin-0.9-init.tar.bz2 3327
+MD5 5327e9cd9d6e7d2fc1de431c1a969636 files/firefox 573
 MD5 daaa9b3ade69ebafff522b92b7dbad05 files/digest-mozilla-firefox-bin-1.0_pre 86
+MD5 ffc946278accac924ff84ec65deb7ef7 files/digest-mozilla-firefox-bin-1.0_rc1 84
+MD5 48924e6ea5eeccdde41276f2231a8630 files/firebird-0.7-antialiasing-patch 1253
 MD5 67de8188ceecf23eaf471c3adeb770bb files/digest-mozilla-firefox-bin-1.0_pre-r1 88
-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 4682d7ab300858b026579a39eb1c4b4e files/digest-mozilla-firefox-bin-0.9.3 86
 MD5 1336c4a7b24e96ae255fdf2330fac6fc files/icon/mozillafirefox.desktop 129
+MD5 dc62e3f15845b0343d1513abada402d7 files/icon/mozillafirefox-bin.desktop 203
+MD5 bff260036c5dcca45da3218517fb33d8 files/icon/mozillafirefox-bin-icon.png 3979
+MD5 bff260036c5dcca45da3218517fb33d8 files/icon/firefox-icon.png 3979
diff --git a/net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0_rc1 b/net-www/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.0_rc1
new file mode 100644 (file)
index 0000000..f3a9395
--- /dev/null
@@ -0,0 +1 @@
+MD5 9a4f75963f65292fdfc919daa06c0add firefox-1.0rc1.en-US.linux-i686.tar.gz 8250499
diff --git a/net-www/mozilla-firefox-bin/mozilla-firefox-bin-1.0_rc1.ebuild b/net-www/mozilla-firefox-bin/mozilla-firefox-bin-1.0_rc1.ebuild
new file mode 100644 (file)
index 0000000..ebbee27
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox-bin/mozilla-firefox-bin-1.0_rc1.ebuild,v 1.1 2004/10/29 05:59:57 brad Exp $
+
+inherit nsplugins eutils mozilla-launcher
+
+IUSE="gnome"
+
+MY_PV=${PV/_/}
+S=${WORKDIR}/firefox
+DESCRIPTION="The Mozilla Firefox Web Browser"
+# Mirrors have it in one of the following places, depending on what
+# mirror you check and when you check it... :-(
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/firefox-${MY_PV}.en-US.linux-i686.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
+       )
+       virtual/x11
+       >=net-www/mozilla-launcher-1.13"
+
+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
+}