summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Laue <brad@gentoo.org>2005-04-16 18:17:56 +0000
committerBrad Laue <brad@gentoo.org>2005-04-16 18:17:56 +0000
commite8cc3c997da14f48eb2b2f6bb11860fe8835a2dd (patch)
treedcd669e93d6b2f52b5bf6e55295fb6259f1e0538 /www-client
parentBump to 1.7.7 (diff)
downloadgentoo-2-e8cc3c997da14f48eb2b2f6bb11860fe8835a2dd.tar.gz
gentoo-2-e8cc3c997da14f48eb2b2f6bb11860fe8835a2dd.tar.bz2
gentoo-2-e8cc3c997da14f48eb2b2f6bb11860fe8835a2dd.zip
Bump to 1.7.7
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/mozilla-bin/ChangeLog8
-rw-r--r--www-client/mozilla-bin/files/digest-mozilla-bin-1.7.71
-rw-r--r--www-client/mozilla-bin/files/mozilla-bin.desktop2
-rw-r--r--www-client/mozilla-bin/mozilla-bin-1.7.7.ebuild91
4 files changed, 100 insertions, 2 deletions
diff --git a/www-client/mozilla-bin/ChangeLog b/www-client/mozilla-bin/ChangeLog
index 7ae0d618c4d9..75d01c8e5877 100644
--- a/www-client/mozilla-bin/ChangeLog
+++ b/www-client/mozilla-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/mozilla-bin
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-bin/ChangeLog,v 1.8 2005/03/30 20:05:36 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-bin/ChangeLog,v 1.9 2005/04/16 18:17:56 brad Exp $
+
+*mozilla-bin-1.7.7 (16 Apr 2005)
+
+ 16 Apr 2005; Brad Laue <brad@gentoo.org> files/mozilla-bin.desktop,
+ +mozilla-bin-1.7.7.ebuild:
+ Bump to 1.7.7. Stable on x86 for bug #89305.
30 Mar 2005; Danny van Dyk <kugelfang@gentoo.org>
mozilla-bin-1.7.2.ebuild, mozilla-bin-1.7.3.ebuild,
diff --git a/www-client/mozilla-bin/files/digest-mozilla-bin-1.7.7 b/www-client/mozilla-bin/files/digest-mozilla-bin-1.7.7
new file mode 100644
index 000000000000..c5a41d57e986
--- /dev/null
+++ b/www-client/mozilla-bin/files/digest-mozilla-bin-1.7.7
@@ -0,0 +1 @@
+MD5 aec83f475c3bf9232ae7dc3f0563d771 mozilla-i686-pc-linux-gnu-1.7.7.tar.gz 13888040
diff --git a/www-client/mozilla-bin/files/mozilla-bin.desktop b/www-client/mozilla-bin/files/mozilla-bin.desktop
index 04a75f366641..38e9dcd56696 100644
--- a/www-client/mozilla-bin/files/mozilla-bin.desktop
+++ b/www-client/mozilla-bin/files/mozilla-bin.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Mozilla (bin)
Comment=Mozilla Application Suite
-Exec=/usr/bin/mozilla %U
+Exec=/usr/bin/mozilla-bin %U
Icon=mozilla-bin-icon.png
Terminal=false
Type=Application
diff --git a/www-client/mozilla-bin/mozilla-bin-1.7.7.ebuild b/www-client/mozilla-bin/mozilla-bin-1.7.7.ebuild
new file mode 100644
index 000000000000..b9537ef60afa
--- /dev/null
+++ b/www-client/mozilla-bin/mozilla-bin-1.7.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-bin/mozilla-bin-1.7.7.ebuild,v 1.1 2005/04/16 18:17:56 brad Exp $
+
+inherit nsplugins eutils mozilla-launcher
+
+IUSE=""
+
+# handle _rc versions
+MY_PV=${PV/_alpha/a} # handle alpha
+MY_PV=${MY_PV/_beta/b} # handle beta
+MY_PV=${MY_PV/_rc/rc} # handle rc
+
+MY_PN=${PN/-bin/}
+S=${WORKDIR}/mozilla
+DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
+HOMEPAGE="http://www.mozilla.org"
+# 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/mozilla/releases/mozilla${PV}/mozilla-i686-pc-linux-gnu-${PV}.tar.gz"
+RESTRICT="nostrip"
+
+KEYWORDS="~amd64 x86"
+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+-1.2*
+ )
+ amd64? (
+ >=app-emulation/emul-linux-x86-baselibs-1.0
+ >=app-emulation/emul-linux-x86-gtklibs-1.0
+ )
+ virtual/x11
+ >=www-client/mozilla-launcher-1.28"
+
+src_install() {
+ # Install mozilla in /opt
+ dodir /opt
+ mv ${S} ${D}/opt/mozilla
+
+ # Plugin path setup (rescuing the existing plugins)
+ src_mv_plugins /opt/mozilla/plugins
+
+ # Fixing permissions
+ chown -R root:root ${D}/opt/mozilla
+
+ # mozilla-launcher-1.8 supports -bin versions
+ dodir /usr/bin
+ cat <<EOF >${D}/usr/bin/mozilla-bin
+#!/bin/sh
+#
+# Stub script to run mozilla-launcher. We used to use a symlink here but
+# OOo brokenness makes it necessary to use a stub instead:
+# http://bugs.gentoo.org/show_bug.cgi?id=78890
+
+export MOZILLA_LAUNCHER=mozilla-bin
+exec /usr/libexec/mozilla-launcher "\$@"
+EOF
+ chmod 0755 ${D}/usr/bin/mozilla-bin
+
+ # Install icon and .desktop for menu entry
+ insinto /usr/share/pixmaps
+ doins ${FILESDIR}/mozilla-bin-icon.png
+ insinto /usr/share/applications
+ doins ${FILESDIR}/mozilla-bin.desktop
+}
+
+pkg_preinst() {
+ export MOZILLA_FIVE_HOME=${ROOT}/opt/mozilla
+
+ # Remove the old plugins dir
+ pkg_mv_plugins ${MOZILLA_FIVE_HOME}/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/mozilla
+
+ update_mozilla_launcher_symlinks
+}
+
+pkg_postrm() {
+ update_mozilla_launcher_symlinks
+}