# ChangeLog for net-www/mozilla-bin
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-bin/ChangeLog,v 1.5 2004/09/21 20:53:38 swtaylor Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-bin/ChangeLog,v 1.6 2004/12/28 21:40:46 chriswhite Exp $
+
+*mozilla-bin-1.7.5 (29 Dec 2004)
+
+ 29 Dec 2004; Chris White <chriswhite@gentoo.org>
+ +mozilla-bin-1.7.5.ebuild:
+ Bumped to 1.7.5 as per bug #68976. Also handled x86 stable marking.
21 Sep 2004; Scott W Taylor <swtaylor@gentoo.org> mozilla-bin-1.7.2.ebuild,
mozilla-bin-1.7.3.ebuild:
-MD5 668a9257df18164edecaa7d072555aff mozilla-bin-1.7.3.ebuild 2103
-MD5 3ff781b36ec8d8b65f25c4a11af23a7a ChangeLog 1033
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a70becf98407a73181ffb39b2a76203b ChangeLog 1221
MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
MD5 41a89a6654a7ca7985929be6abcc4b05 mozilla-bin-1.7.2.ebuild 2107
+MD5 668a9257df18164edecaa7d072555aff mozilla-bin-1.7.3.ebuild 2103
+MD5 0c8d80354e27e27145cafcb6891e1497 mozilla-bin-1.7.5.ebuild 2105
MD5 20d752803fe0a78a4167a6100d4209cb files/digest-mozilla-bin-1.7.2 85
MD5 3ac1f23690d1f3208ac0d9ef0e680e23 files/digest-mozilla-bin-1.7.3 85
MD5 6d52ff4ce4567db1cad08ea40157a65d files/mozilla-bin-icon.png 2350
MD5 4eac4e98b875ba3b652d6626756f5517 files/mozilla-bin.desktop 184
+MD5 018ecd12fcb5cd65246173770adb9638 files/digest-mozilla-bin-1.7.5 85
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB0dI9FdQwWVoAgN4RAsx6AKD8U3JdRS2ayT+5iO0jBUIOl/NbFACcCg7a
+WtvvJ+wQpJW6i2sAmTotKbY=
+=ujNl
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-bin/mozilla-bin-1.7.5.ebuild,v 1.1 2004/12/28 21:40:46 chriswhite 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="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+-1.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 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
+ dosym /usr/libexec/mozilla-launcher /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
+}