new eclass for >=1.5 mozilla products
authorJory Pratt <anarchy@gentoo.org>
Mon, 7 Nov 2005 03:10:13 +0000 (03:10 +0000)
committerJory Pratt <anarchy@gentoo.org>
Mon, 7 Nov 2005 03:10:13 +0000 (03:10 +0000)
Package-Manager: portage-2.0.53_rc7

www-client/mozilla-firefox/ChangeLog
www-client/mozilla-firefox/Manifest
www-client/mozilla-firefox/files/digest-mozilla-firefox-1.5_rc1-r1 [moved from www-client/mozilla-firefox/files/digest-mozilla-firefox-1.5_rc1 with 100% similarity]
www-client/mozilla-firefox/mozilla-firefox-1.5_rc1-r1.ebuild [moved from www-client/mozilla-firefox/mozilla-firefox-1.5_rc1.ebuild with 90% similarity]

index 233f43437c694c64ebdbc4f6a19e54a3d0576d30..760b44d227a635fc738793d2faf8df23a65aff1c 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for www-client/mozilla-firefox
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.101 2005/11/03 03:24:51 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.102 2005/11/07 03:10:13 anarchy Exp $
+
+*mozilla-firefox-1.5_rc1-r1 (07 Nov 2005)
+
+  07 Nov 2005; Jory A. Pratt <anarchy@gentoo.org>
+  -mozilla-firefox-1.5_rc1.ebuild, +mozilla-firefox-1.5_rc1-r1.ebuild:
+  New eclass to support >=1.5 mozilla products
 
 *mozilla-firefox-1.5_rc1 (03 Nov 2005)
 
index a4cf36d6aa2255aa681623e6968371c6cc4c7861..b76f5b5ab9d21933e56dd93a458ee314d0719221 100644 (file)
@@ -1,4 +1,4 @@
-MD5 9a3b31b0d8a7e80633f0cf874ffd7126 ChangeLog 34983
+MD5 8a794b622eee5c771fc4f20af24882f0 ChangeLog 35195
 MD5 7847d262e628dcac303586fe02f2e8c4 files/1.5/firefox-cairo-canvas.patch 446
 MD5 91661761f2f232b08b74f5adc4f1eff0 files/1.5/firefox-nopangoxft.patch 839
 MD5 362f9e0b0f25b964f7120b68fb629ee0 files/1.5/firefox-visibility.patch 689
@@ -14,7 +14,7 @@ MD5 8e6ffd5837cb4de55271592e3448b177 files/digest-mozilla-firefox-1.0.6-r6 447
 MD5 8e6ffd5837cb4de55271592e3448b177 files/digest-mozilla-firefox-1.0.6-r7 447
 MD5 1d1a1fe09e04d58a8d9faa9f14ffd0c6 files/digest-mozilla-firefox-1.0.7-r2 231
 MD5 1d1a1fe09e04d58a8d9faa9f14ffd0c6 files/digest-mozilla-firefox-1.0.7-r3 231
-MD5 a7886597464ad164d843f88481985d97 files/digest-mozilla-firefox-1.5_rc1 216
+MD5 a7886597464ad164d843f88481985d97 files/digest-mozilla-firefox-1.5_rc1-r1 216
 MD5 8e7d6f3220336cd4467d20bbe402e09a files/embedprompter-modal.patch 1548
 MD5 48baf2f328e6478812c24e59037ff99c files/firefox-0.9-init.tar.bz2 3322
 MD5 6a7a2240dc5864e7f8ee444e34e84461 files/firefox.1 2538
@@ -51,4 +51,4 @@ MD5 d8c6c3085e4fc8d06ef878579dddf116 mozilla-firefox-1.0.6-r6.ebuild 11233
 MD5 8a30120dc035d60c58db0a9dc8c3b91b mozilla-firefox-1.0.6-r7.ebuild 9771
 MD5 7ec6e77c0014718ffae4a55c76acd1db mozilla-firefox-1.0.7-r2.ebuild 8564
 MD5 b686423c9050edfcfd7ff72ea4081f09 mozilla-firefox-1.0.7-r3.ebuild 9734
-MD5 90b632eacca0eee401d5c9d5447b763e mozilla-firefox-1.5_rc1.ebuild 9955
+MD5 b0bcfdc62109ea19382d0ca7662da14c mozilla-firefox-1.5_rc1-r1.ebuild 9222
similarity index 90%
rename from www-client/mozilla-firefox/mozilla-firefox-1.5_rc1.ebuild
rename to www-client/mozilla-firefox/mozilla-firefox-1.5_rc1-r1.ebuild
index 635a7c47e71b7d90cbcfa716a471e3c936a07745..eb9cef783496e168d15ceeadb809b0fcdcd5fdc7 100644 (file)
@@ -1,6 +1,6 @@
 # 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/mozilla-firefox-1.5_rc1.ebuild,v 1.2 2005/11/03 16:13:29 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5_rc1-r1.ebuild,v 1.1 2005/11/07 03:10:13 anarchy Exp $
 
 unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
 MOZ_FREETYPE2="no"   # Need to disable for newer .. remove here and in mozconfig
@@ -8,7 +8,7 @@ MOZ_FREETYPE2="no"   # Need to disable for newer .. remove here and in mozconfig
 MOZ_PANGO="yes"      # Need to enable for newer .. remove here and in mozconfig
                         # when older is removed from tree.
 
-inherit flag-o-matic toolchain-funcs eutils mozconfig mozilla-launcher makeedit multilib fdo-mime versionator
+inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib fdo-mime versionator
 
 MY_P="$(replace_version_separator 2 '')"
 FV=${MY_P/beta/b}
@@ -96,8 +96,7 @@ src_unpack() {
        sed -i -e '1s,usr/local/bin,usr/bin,' ${S}/security/nss/cmd/smimetools/smime
        eend $? || die "sed failed"
 
-       ewarn ""
-       ewarn ""
+       echo
        ewarn "This firefox-1.5rc1 ebuild is provided for your convenience,"
        ewarn "the use of this ebuild is not supported by gentoo developers. "
        ewarn "Please file bugs related to firefox-1.5 with upstream developers."
@@ -257,43 +256,21 @@ src_install() {
 pkg_postinst() {
        declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN}
 
-       ####################################
-       #
-       # The registration is done here,
-       # mozilla-launcher do not do it correctly for now
-       #
-       ####################################
-
-       touch ${MOZILLA_FIVE_HOME}/components/compreg.dat
-       touch ${MOZILLA_FIVE_HOME}/components/xpti.dat
-       [ -x ${MOZILLA_FIVE_HOME}/firefox ] && ${MOZILLA_FIVE_HOME}/firefox -register
-       [ -x ${MOZILLA_FIVE_HOME}/regxpcom ] && ${MOZILLA_FIVE_HOME}/regxpcom
-
        # This should be called in the postinst and postrm of all the
        # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and
        # thunderbird-bin ebuilds.
        update_mozilla_launcher_symlinks
 
-       ewarn ""
-       ewarn ""
+       echo
        ewarn "This firefox-1.5rc1 ebuild is provided for your convenience,"
        ewarn "the use of this ebuild is not supported by gentoo developers. "
        ewarn "Please file bugs related to firefox-1.5 with upstream developers."
        ewarn "Bugs should be filed @ https://bugzilla.mozilla.org."
-       ewarn "Thank you Anarchy"
+       ewarn "Thank you. anarchy@gentoo.org for more info"
 }
 
 pkg_postrm() {
        declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN}
 
-       ####################################
-       #
-       # The registration is done here,
-       # mozilla-launcher do not do it correctly for now
-       #
-       ####################################
-
-       [ -x ${MOZILLA_FIVE_HOME}/firefox ] && ${MOZILLA_FIVE_HOME}/firefox -register
-       [ -x ${MOZILLA_FIVE_HOME}/regxpcom ] && ${MOZILLA_FIVE_HOME}/regxpcom
        update_mozilla_launcher_symlinks
 }