--- mozilla-firefox-1.0.orig/browser/app/Makefile.in
+++ mozilla-firefox-1.0/browser/app/Makefile.in
@@ -320,4 +320,4 @@
 	$(INSTALL) $^ $(DIST)/bin/defaults/profile
 
 install:: $(srcdir)/profile/prefs.js
-	$(SYSINSTALL) $(IFLAGS1) $^ $(destdir)$(bindir)/defaults/profile
+	$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(bindir)/defaults/profile
--- mozilla-firefox-1.0.orig/browser/app/profile/firefox.js
+++ mozilla-firefox-1.0/browser/app/profile/firefox.js
@@ -38,6 +38,9 @@
 // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
 //  The first character after a period must be alphabetic.
 
+// Disable default browser checking.
+pref("browser.shell.checkDefaultBrowser", false);
+
 // pref("startup.homepage_override_url","chrome://browser-region/locale/region.properties");
 pref("general.startup.browser", true);
 
@@ -62,8 +65,8 @@
 );
 
 // App-specific update preferences
-pref("app.update.enabled", true);               // Whether or not app updates are enabled
-pref("app.update.autoUpdateEnabled", true);     // Whether or not background app updates 
+pref("app.update.enabled", false);               // Whether or not app updates are enabled
+pref("app.update.autoUpdateEnabled", false);     // Whether or not background app updates 
                                                 // are enabled
 pref("app.update.url", "chrome://mozapps/locale/update/update.properties");
 pref("app.update.updatesAvailable", false);
@@ -81,7 +84,7 @@
 //  .. etc ..
 //
 pref("extensions.update.enabled", true);
-pref("extensions.update.autoUpdateEnabled", true);
+pref("extensions.update.autoUpdateEnabled", false);
 pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
 pref("extensions.update.autoUpdate", false);    // Automatically download and install 
                                                 // updates to themes and extensions. 
@@ -236,6 +239,9 @@
 pref("network.cookie.cookieBehavior",       0); // cookies enabled
 pref("network.cookie.enableForCurrentSessionOnly", false);
 
+// Use LANG environment variable to choose locale
+pref("intl.locale.matchOS", true);
+
 // l12n and i18n
 pref("intl.accept_languages", "chrome://global/locale/intl.properties");
 // collationOption is only set on linux for japanese. see bug 18338 and 62015
@@ -326,3 +332,6 @@
 
 // plugin finder service
 pref("pfs.datasource.url", "chrome://mozapps/locale/plugins/plugins.properties");
+
+// enable negotiate extension
+pref("network.negotiate-auth.trusted-uris", "https://");
--- mozilla-firefox-1.0.orig/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in
+++ mozilla-firefox-1.0/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in
@@ -29,6 +29,15 @@
     <em:contributor>Mozilla Contributors</em:contributor>
 
     <em:internalName>classic/1.0</em:internalName>
+
+    <em:file>
+      <Description about="urn:mozilla:extension:file:classic.jar">
+        <em:skin>skin/classic/browser/</em:skin>
+	<em:skin>skin/classic/global/</em:skin>
+	<em:skin>skin/classic/communicator/</em:skin>
+	<em:skin>skin/classic/mozapps/</em:skin>
+      </Description>
+    </em:file>
   </Description>      
 
 </RDF>
--- mozilla-firefox-1.0.orig/browser/base/content/aboutDialog.css
+++ mozilla-firefox-1.0/browser/base/content/aboutDialog.css
@@ -26,11 +26,7 @@
    -moz-appearance: none;
    overflow: hidden;
 
-#ifdef XP_MACOSX
    height: 3.8em;
-#else
-   height: 2.4em;
-#endif
 
    border: none;
  }
--- mozilla-firefox-1.0.orig/browser/components/prefwindow/content/pref-advanced.xul
+++ mozilla-firefox-1.0/browser/components/prefwindow/content/pref-advanced.xul
@@ -72,9 +72,9 @@
               open="true" persist="open" clearhidden="true" align="left">
       <label>&softwareupdateinfo.label;</label>
       <vbox class="indent" align="left">
-        <checkbox id="enableSmartUpdate"
+        <!-- checkbox id="enableSmartUpdate"
                   label="&enableSmartUpdate.label;" accesskey="&enableSmartUpdate.accesskey;"
-                  prefstring="app.update.autoUpdateEnabled"/>
+                  prefstring="app.update.autoUpdateEnabled"/ -->
         <checkbox id="enableExtensionUpdate"
                   label="&enableExtensionUpdate.label;" accesskey="&enableExtensionUpdate.accesskey;"
                   prefstring="extensions.update.autoUpdateEnabled"/>      
--- mozilla-firefox-1.0.orig/security/nss/lib/freebl/unix_rand.c
+++ mozilla-firefox-1.0/security/nss/lib/freebl/unix_rand.c
@@ -875,12 +875,14 @@
 	safe_pclose(fp);
     }
 #endif
+#ifndef LINUX 
     fp = safe_popen(netstat_ni_cmd);
     if (fp != NULL) {
 	while ((bytes = fread(buf, 1, sizeof(buf), fp)) > 0)
 	    RNG_RandomUpdate(buf, bytes);
 	safe_pclose(fp);
     }
+#endif
 
 }
 #else
--- mozilla-firefox-1.0.orig/modules/libpref/src/init/all.js
+++ mozilla-firefox-1.0/modules/libpref/src/init/all.js
@@ -49,8 +49,8 @@
 
 pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&oe=utf-8&q=");
 pref("keyword.enabled", false);
-pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
-pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");
+pref("general.useragent.contentlocale", "chrome://browser-region/locale/region.properties");
 
 pref("general.config.obscure_value", 13); // for MCD .cfg files
 
@@ -640,31 +640,30 @@
 pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
 pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
 
-pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
+pref("intl.accept_languages",               "chrome://global/locale/intl.properties");
 pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
-pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
-pref("intl.menuitems.alwaysappendaccesskeys","chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.browser.unicode",    "chrome://navigator/locale/navigator.properties");
-pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
+pref("intl.collationOption",                "chrome://global-platform/locale/intl.properties");
+pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.static",     "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.more1",      "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.more2",      "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.more3",      "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.more4",      "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.more5",      "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.browser.unicode",    "chrome://global/locale/intl.properties");
+pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
 pref("intl.charsetmenu.browser.cache",      "");
 pref("intl.charsetmenu.mailview.cache",     "");
 pref("intl.charsetmenu.composer.cache",     "");
 pref("intl.charsetmenu.browser.cache.size", 5);
-pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
-pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
-pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
+pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
+pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
 pref("intl.locale.matchOS",                 false);
 // fallback charset list for Unicode conversion (converting from Unicode)
 // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
 // for ISO-8859-1
 pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
-pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
+pref("font.language.group",                 "chrome://global/locale/intl.properties");
 
 pref("images.dither", "auto");
 pref("security.directory",              "");
@@ -719,6 +718,16 @@
 pref("mousewheel.horizscroll.withaltkey.action",2);
 pref("mousewheel.horizscroll.withaltkey.numlines",-1);
 pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
+
+pref("mousebuttonsextended.buttonlist", "67");
+pref("mousebuttonsextended.buttons.6.action.up", 2);
+pref("mousebuttonsextended.buttons.6.numlines.up", -1);
+pref("mousebuttonsextended.buttons.6.action.down", -1);
+pref("mousebuttonsextended.buttons.6.numlines.down", -1);
+pref("mousebuttonsextended.buttons.7.action.up", 2);
+pref("mousebuttonsextended.buttons.7.numlines.up", 1);
+pref("mousebuttonsextended.buttons.7.action.down", -1);
+pref("mousebuttonsextended.buttons.7.numlines.down", -1);
 
 pref("profile.confirm_automigration",true);
 // profile.migration_behavior determines how the profiles root is set
--- mozilla-firefox-1.0.orig/toolkit/mozapps/extensions/content/extensions.js
+++ mozilla-firefox-1.0/toolkit/mozapps/extensions/content/extensions.js
@@ -678,7 +678,8 @@
       return !selectedItem ||
              (selectedItem &&
               selectedItem.getAttribute("toBeUninstalled") != "true" &&
-              selectedItem.getAttribute("toBeInstalled") != "true");
+              selectedItem.getAttribute("toBeInstalled") != "true" &&
+	      selectedItem.getAttribute("locked") != "true");
     case "cmd_reallyEnable":
     // controls whether to show Enable or Disable in extensions' context menu
       return selectedItem && 
--- mozilla-firefox-1.0.orig/toolkit/mozapps/extensions/src/nsExtensionManager.js.in
+++ mozilla-firefox-1.0/toolkit/mozapps/extensions/src/nsExtensionManager.js.in
@@ -20,6 +20,7 @@
  *
  * Contributor(s):
  *  Ben Goodger <ben@bengoodger.com>
+ *  Mike Hommey <mh@glandium.org>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -144,6 +145,19 @@
 }
 
 // Returns the file at the appropriate point in a directory hierarchy under
+// the specified key. Does NOT create the file NOR the directories along the
+// way.
+function getFileNoCreateDir(aKey, aPathToFile)
+{
+  var subdirs = [];
+  for (var i = 0; i < aPathToFile.length - 1; ++i)
+    subdirs.push(aPathToFile[i]);
+  var file = getDirNoCreate(aKey, subdirs);
+  file.append(aPathToFile[aPathToFile.length - 1]);
+  return file;
+}
+
+// Returns the file at the appropriate point in a directory hierarchy under
 // the specified key, creating directories along the way if necessary. Does
 // NOT create the file.
 function getFile(aKey, aPathToFile)
@@ -675,7 +689,7 @@
 function nsInstallLogReader(aExtensionID, aIsProfile, aListener)
 {
   this._isProfile = aIsProfile;
-  this.uninstallLog = getFile(getDirKey(aIsProfile),
+  this.uninstallLog = getFileNoCreateDir(getDirKey(aIsProfile),
                               [DIR_EXTENSIONS, aExtensionID, 
                                DIR_UNINSTALL, FILE_UNINSTALL_LOG]);
   this._listener = aListener
@@ -829,26 +843,20 @@
   {
     // extension,{GUID} or theme,{GUID}
     var parts = aLine.split(",");
-    var manifest = getFile(KEY_APPDIR, 
+    var manifest = getFileNoCreateDir(KEY_APPDIR, 
                            [DIR_EXTENSIONS, parts[1], FILE_INSTALL_MANIFEST]);
     if (parts.length != 2)
       return;
       
-    if (!manifest.exists()) {
-      defaultManifest = defaultFile = getFile(KEY_DEFAULTS, 
-                                              [DIR_DEFAULTS_EXTENSIONS, parts[1], FILE_INSTALL_MANIFEST]);
-      var extensionDir = getDir(KEY_APPDIR, [DIR_EXTENSIONS, parts[1]]);
-      defaultManifest.copyTo(extensionDir, FILE_INSTALL_MANIFEST);
-      manifest = getFile(KEY_APPDIR, 
-                         [DIR_EXTENSIONS, parts[1], FILE_INSTALL_MANIFEST]);
-    }
-    switch (parts[0]) {
-    case this.TOKEN_EXTENSION:
-      this._manager.ensurePreConfiguredItem(parts[1], nsIUpdateItem.TYPE_EXTENSION, manifest);
-      break;
-    case this.TOKEN_THEME:
-      this._manager.ensurePreConfiguredItem(parts[1], nsIUpdateItem.TYPE_THEME, manifest);
-      break;
+    if (manifest.exists()) {
+      switch (parts[0]) {
+      case this.TOKEN_EXTENSION:
+        this._manager.ensurePreConfiguredItem(parts[1], nsIUpdateItem.TYPE_EXTENSION, manifest);
+        break;
+      case this.TOKEN_THEME:
+        this._manager.ensurePreConfiguredItem(parts[1], nsIUpdateItem.TYPE_THEME, manifest);
+        break;
+      }
     }
   }
 };
@@ -917,21 +925,26 @@
     this._writer = new nsInstallLogWriter(this._extensionID, this._isProfile);
     this._writer.open();
     
-    // Move files from the staging dir into the extension's final home.
-    // This function generates uninstall log files and creates backups of
-    // existing files. 
-    // XXXben - would like to add exception handling here to test for file
-    //          I/O failures on uninstall log so that if there's a crash
-    //          and the uninstall log is incorrectly/incompletely written 
-    //          we can roll back. It's not critical that we do so right now
-    //          since if this throws the extension's chrome is never 
-    //          registered. 
-    this._installExtensionFiles();
-    
     // Load the metadata datasource
-    var metadataFile = getFile(this._extDirKey, 
+    var metadataFile = getFileNoCreateDir(this._extDirKey, 
                                [DIR_EXTENSIONS, aExtensionID, FILE_INSTALL_MANIFEST]);
     
+    // If the metadata file exists, it means we don't have to to extract the xpi.
+    // Useful for pre-configured extensions.
+
+    if (aIsProfile && !metadataFile.exists()) {
+      // Move files from the staging dir into the extension's final home.
+      // This function generates uninstall log files and creates backups of
+      // existing files. 
+      // XXXben - would like to add exception handling here to test for file
+      //          I/O failures on uninstall log so that if there's a crash
+      //          and the uninstall log is incorrectly/incompletely written 
+      //          we can roll back. It's not critical that we do so right now
+      //          since if this throws the extension's chrome is never 
+      //          registered. 
+      this._installExtensionFiles();
+    }
+
     this._metadataDS = getInstallManifest(metadataFile);
     if (!this._metadataDS) return;
     
@@ -1752,6 +1765,9 @@
       // Write bin/components.ini
       var manifest = getFile(KEY_APPDIR, [FILE_COMPONENT_MANIFEST]);
       this._writeProfileFile(manifest, this._getComponentsDir, false);
+
+      // Update the Defaults Manifest
+      this._writeDefaults(false);
     }
   },
 
@@ -1823,7 +1839,7 @@
         cr.selectSkin(KEY_DEFAULT_THEME, true);
       }
       catch (e) {
-        dump("*** nsExtensionManager::_disableObsoleteExtensions - failure, catching exception so finalize window can close\n");
+//        dump("*** nsExtensionManager::_disableObsoleteExtensions - failure, catching exception so finalize window can close\n");
       }
       win.close();
       
@@ -2002,6 +2018,34 @@
     this._ds.insertForthcomingItem(aItemID, aItemType, false);
     var metadataDS = getInstallManifest(aManifest);
     this._ds.addItemMetadata(aItemID, aItemType, metadataDS, false);
+
+    // Check whether the extension is installable (firefox_version fitting between
+    // em:MaxVersion and em:MinVersion)
+    var extensionID = this.canInstallItem(metadataDS);
+    // |extensionID| must be a GUID string, not a number - a number means failure.
+    if (isNaN(parseInt(extensionID))) {
+      // Do install the extension, meaning we register its chrome and components
+      if (!this._extInstaller)
+          this._extInstaller = new nsExtensionInstaller(this._ds);
+      try {
+          this._extInstaller.install(aItemID, false);
+      }
+      catch (e) {
+          // If the installation failed, we disable the extension in addition
+	  // to _not_ uninstalling it (which would fail anyway because it
+	  // would be done at launch time... as a user).
+	  this._ds.setItemProperty(aItemID, this._ds._emR("toBeUninstalled"),
+	                           null, false, aItemType);
+          this._ds.setItemProperty(aItemID, this._ds._emR("disabled"),
+                                   this._ds._emL("true"), false, aItemType);
+      }
+    } else {
+      // disable extensions that aren't installable
+      this._ds.setItemProperty(aItemID, this._ds._emR("disabled"),
+                              this._ds._emL("true"), false, aItemType);
+    }
+    // Force locking pre-configured items.
+    this._ds.lockUnlockItem(aItemID, true);
   },
   
   checkForMismatches: function nsExtensionManager_checkForMismatches () 
@@ -2028,22 +2072,31 @@
       if (items.length > 0) {
         for (var i = 0; i < items.length; ++i) {
           // Now disable the extension so it won't hurt anything. 
+	  var alreadyDisabled = this._ds.getItemProperty(items[i].id, "disabled");
           var itemType = getItemType(this._ds._getResourceForItem(items[i].id).Value);
           if (itemType != -1 && itemType & nsIUpdateItem.TYPE_EXTENSION)
-            this.disableExtension(items[i].id);
+            if (!alreadyDisabled) this.disableExtension(items[i].id);
           else if (itemType & nsIUpdateItem.TYPE_THEME) {
             if (gPref.prefHasUserValue(PREF_GENERAL_SKINS_SELECTEDSKIN))
               gPref.clearUserPref(PREF_GENERAL_SKINS_SELECTEDSKIN);
-            this._ds.disableTheme(items[i].id);
+            if (!alreadyDisabled) this._ds.disableTheme(items[i].id);
           }
         }
-        var updates = Components.classes["@mozilla.org/updates/update-service;1"]
-                                .getService(Components.interfaces.nsIUpdateService);
-        updates.checkForUpdates(items, items.length, nsIUpdateItem.TYPE_ADDON, 
-                                nsIUpdateService.SOURCE_EVENT_MISMATCH,
-                                null);
+	// We want to eliminate locked extensions
+	newitems = [];
+	for (var i = 0; i < items.length; ++i) {
+	  if (!this._ds.getItemProperty(items[i].id, "locked"))
+	    newitems.push(items[i]);
+	}
+	if (newitems.length > 0) {
+          var updates = Components.classes["@mozilla.org/updates/update-service;1"]
+                                  .getService(Components.interfaces.nsIUpdateService);
+          updates.checkForUpdates(newitems, newitems.length, nsIUpdateItem.TYPE_ADDON, 
+                                  nsIUpdateService.SOURCE_EVENT_MISMATCH,
+                                  null);
         
-        needsRestart = true;
+          needsRestart = true;
+	}
       }
     }
     
@@ -2087,7 +2140,7 @@
       this._writeDefaults(false);
     }
     catch (e) { 
-      dump("*** ExtensionManager:_updateManifests: no access privileges to application directory, skipping.\n"); 
+//      dump("*** ExtensionManager:_updateManifests: no access privileges to application directory, skipping.\n"); 
     };
     this._writeComponentManifest(true);
     this._writeDefaults(true);
@@ -2133,6 +2186,11 @@
         validExtensions.push({ sourceDir: sourceDir, isProfile: isProfile });
     }
     
+    // Debian hook to insert defaults/syspref into defaults.ini
+    if ((aFile.leafName == FILE_DEFAULTS) && aIsProfile == false) {
+      validExtensions.push({ sourceDir: getDirNoCreate(getDirKey(false), [DIR_DEFAULTS, "syspref"]), isProfile: false });
+    }
+
     var lines = ["[Extra Files]\r\n",
                  "Count=" + validExtensions.length + "\r\n"];
     for (i = 0; i < lines.length; ++i)
@@ -3090,8 +3148,10 @@
   checkForUpdates: function (aItem, aVersionUpdateOnly)
   {
     // A preference setting can disable updating for this item
+    // We'll also skip locked items.
     try {
-      if (!gPref.getBoolPref(PREF_EM_ITEM_UPDATE_ENABLED.replace(/%UUID%/, aItem.id))) {
+      if (this._updater._emDS.getItemProperty(aItem.id, "locked") ||
+          !gPref.getBoolPref(PREF_EM_ITEM_UPDATE_ENABLED.replace(/%UUID%/, aItem.id))) {
         gOS.notifyObservers(null, "Update:Extension:Item-Ended", "");
         this._updater._checkForDone();
         return;
@@ -3557,7 +3617,7 @@
   
   isProfileItem: function nsExtensionsDataSource_isProfileItem (aItemID)
   {
-    return this.getItemProperty(aItemID, "installLocation") != "global";
+    return this.getItemProperty(aItemID, "installLocation") == "profile";
   },
   
   _setProperty: function nsExtensionsDataSource__setProperty (aDS, aSource, aProperty, aNewValue)
--- mozilla-firefox-1.0.orig/toolkit/mozapps/update/src/nsUpdateService.js.in
+++ mozilla-firefox-1.0/toolkit/mozapps/update/src/nsUpdateService.js.in
@@ -178,9 +178,10 @@
       if (aRequestedTypes & nsIUpdateItem.TYPE_THEME)
         types |= nsIUpdateItem.TYPE_THEME;
     }
-    if (appUpdateEnabled && 
-        (aRequestedTypes & nsIUpdateItem.TYPE_APP))
-      types |= nsIUpdateItem.TYPE_APP;
+    // Disable application updates
+    //if (appUpdateEnabled && 
+    //    (aRequestedTypes & nsIUpdateItem.TYPE_APP))
+    //  types |= nsIUpdateItem.TYPE_APP;
 
     return types;
   },
--- mozilla-firefox-1.0.orig/configure
+++ mozilla-firefox-1.0/configure
@@ -5357,8 +5357,7 @@
         MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1
     ;;
     mips*)
-        CFLAGS="$CFLAGS -Wa,-xgot"
-        CXXFLAGS="$CXXFLAGS -Wa,-xgot"
+        MOZ_DEBUG_FLAGS="-g"   # We want inlining
     ;;
     esac
     ;;
@@ -14910,28 +14909,28 @@
   else
      PKG_CONFIG_MIN_VERSION=0.9.0
      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
-        echo $ac_n "checking for libIDL-2.0 >= 0.8.0""... $ac_c" 1>&6
-echo "configure:14915: checking for libIDL-2.0 >= 0.8.0" >&5
+        echo $ac_n "checking for libIDL-2.0 >= 0.7.4""... $ac_c" 1>&6
+echo "configure:14915: checking for libIDL-2.0 >= 0.7.4" >&5
 
-        if $PKG_CONFIG --exists "libIDL-2.0 >= 0.8.0" ; then
+        if $PKG_CONFIG --exists "libIDL-2.0 >= 0.7.4" ; then
             echo "$ac_t""yes" 1>&6
             succeeded=yes
 
             echo $ac_n "checking LIBIDL_CFLAGS""... $ac_c" 1>&6
 echo "configure:14922: checking LIBIDL_CFLAGS" >&5
-            LIBIDL_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.8.0"`
+            LIBIDL_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.7.4"`
             echo "$ac_t""$LIBIDL_CFLAGS" 1>&6
 
             echo $ac_n "checking LIBIDL_LIBS""... $ac_c" 1>&6
 echo "configure:14927: checking LIBIDL_LIBS" >&5
-            LIBIDL_LIBS=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.8.0"`
+            LIBIDL_LIBS=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.7.4"`
             echo "$ac_t""$LIBIDL_LIBS" 1>&6
         else
             LIBIDL_CFLAGS=""
             LIBIDL_LIBS=""
             ## If we have a custom action on failure, don't print errors, but 
             ## do set a variable so people can do so.
-            LIBIDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libIDL-2.0 >= 0.8.0"`
+            LIBIDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libIDL-2.0 >= 0.7.4"`
             echo $LIBIDL_PKG_ERRORS
         fi
 
@@ -14946,7 +14945,7 @@
   if test $succeeded = yes; then
      _LIBIDL_FOUND=1
   else
-     { echo "configure: error: Library requirements (libIDL-2.0 >= 0.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; }
+     { echo "configure: error: Library requirements (libIDL-2.0 >= 0.7.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; }
   fi
 
     fi
--- mozilla-firefox-1.0.orig/configure.in
+++ mozilla-firefox-1.0/configure.in
@@ -1112,8 +1112,7 @@
         MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1
     ;;
     mips*)
-        CFLAGS="$CFLAGS -Wa,-xgot"
-        CXXFLAGS="$CXXFLAGS -Wa,-xgot"
+        MOZ_DEBUG_FLAGS="-g"   # We want inlining
     ;;
     esac
     ;;
--- mozilla-firefox-1.0.orig/config/autoconf.mk.in
+++ mozilla-firefox-1.0/config/autoconf.mk.in
@@ -38,7 +38,7 @@
 mandir		= @mandir@
 idldir		= @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
 
-mozappdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+mozappdir	= $(libdir)/mozilla-firefox
 mredir		= $(libdir)/mre/mre-$(MOZ_APP_VERSION)
 mrelibdir	= $(mredir)/lib
 
--- mozilla-firefox-1.0.orig/config/rules.mk
+++ mozilla-firefox-1.0/config/rules.mk
@@ -455,7 +455,7 @@
 
 ifeq ($(OS_ARCH),Linux)
 ifneq (,$(filter mips mipsel,$(OS_TEST)))
-ifeq ($(MODULE),layout)
+ifneq (,$(filter layout content xul xuldoc xultmpl svg_doc view dom jsurl,$(MODULE)))
 OS_CFLAGS += -Wa,-xgot
 OS_CXXFLAGS += -Wa,-xgot
 endif
--- mozilla-firefox-1.0.orig/config/mkdepend/imakemdep.h
+++ mozilla-firefox-1.0/config/mkdepend/imakemdep.h
@@ -277,6 +277,9 @@
 # ifdef __i386__
 	"-D__i386__",
 # endif
+# ifdef __x86_64__
+	"-D__x86_64__",
+# endif
 # ifdef __GNUC__
 	"-traditional",
 # endif
--- mozilla-firefox-1.0.orig/embedding/browser/gtk/src/gtkmozembed2.cpp
+++ mozilla-firefox-1.0/embedding/browser/gtk/src/gtkmozembed2.cpp
@@ -646,12 +646,18 @@
 
 #ifdef MOZ_WIDGET_GTK2
   GtkWidget *toplevel = gtk_widget_get_toplevel(widget);
-  gtk_signal_disconnect_by_func(GTK_OBJECT(toplevel),
-                                GTK_SIGNAL_FUNC(handle_toplevel_focus_in),
-                                embedPrivate);
-  gtk_signal_disconnect_by_func(GTK_OBJECT(toplevel),
-                                GTK_SIGNAL_FUNC(handle_toplevel_focus_out),
-                                embedPrivate);
+  // the #define gtk_signal_disconnect_by_func() is buggy in woody:gtksignal.h
+  gtk_signal_compat_matched (GTK_OBJECT(toplevel),
+                            GTK_SIGNAL_FUNC(handle_toplevel_focus_in),
+                            embedPrivate,
+                            (GSignalMatchType)(G_SIGNAL_MATCH_FUNC |
+                                               G_SIGNAL_MATCH_DATA), 0);
+  gtk_signal_compat_matched (GTK_OBJECT(toplevel),
+                            GTK_SIGNAL_FUNC(handle_toplevel_focus_out),
+                            embedPrivate,
+                            (GSignalMatchType)(G_SIGNAL_MATCH_FUNC |
+                                               G_SIGNAL_MATCH_DATA), 0);
+
 #endif /* MOZ_WIDGET_GTK2 */
 
   if (GTK_WIDGET_CLASS(embed_parent_class)->unrealize)
--- mozilla-firefox-1.0.orig/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp
+++ mozilla-firefox-1.0/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp
@@ -1051,22 +1051,25 @@
     mResponseMsg = "";
 
     if (mAnonymous) {
-        char* anonPassword = nsnull;
-        PRBool useRealEmail = PR_FALSE;
-        nsCOMPtr<nsIPrefBranch> prefs = do_GetService(NS_PREFSERVICE_CONTRACTID);
-        if (prefs) {
-            rv = prefs->GetBoolPref("advanced.mailftp", &useRealEmail);
-            if (NS_SUCCEEDED(rv) && useRealEmail)
-                prefs->GetCharPref("network.ftp.anonymous_password", &anonPassword);
-        }
-        if (useRealEmail && anonPassword && *anonPassword != '\0') {
-            passwordStr.Append(anonPassword);
-            nsMemory::Free(anonPassword);
-        }
-        else {
-            // We need to default to a valid email address - bug 101027
-            // example.com is reserved (rfc2606), so use that
-            passwordStr.Append("mozilla@example.com");
+        if (!mPassword.IsEmpty()) {
+            // XXX Is UTF-8 the best choice?
+            AppendUTF16toUTF8(mPassword, passwordStr);
+        } else {
+            nsXPIDLCString anonPassword;
+            PRBool useRealEmail = PR_FALSE;
+            nsCOMPtr<nsIPrefBranch> prefs = do_GetService(NS_PREFSERVICE_CONTRACTID);
+            if (prefs) {
+                rv = prefs->GetBoolPref("advanced.mailftp", &useRealEmail);
+                if (NS_SUCCEEDED(rv) && useRealEmail)
+                    prefs->GetCharPref("network.ftp.anonymous_password", getter_Copies(anonPassword));
+            }
+            if (!anonPassword.IsEmpty()) {
+                passwordStr.Append(anonPassword);
+            } else {
+                // We need to default to a valid email address - bug 101027
+                // example.com is reserved (rfc2606), so use that
+                passwordStr.Append("mozilla@example.com");
+            }
         }
     } else {
         if (mPassword.IsEmpty() || mRetryPass) {
@@ -1144,6 +1147,12 @@
                     pm->RemoveUser(prePath, EmptyString());
                 }
             }
+        }
+
+        // If the login was anonymous, and it failed, try again with a username
+        if (mAnonymous) {
+            mAnonymous = PR_FALSE;
+            return FTP_S_USER;
         }
 
         mRetryPass = PR_TRUE;
--- mozilla-firefox-1.0.orig/xpcom/io/nsAppDirectoryServiceDefs.h
+++ mozilla-firefox-1.0/xpcom/io/nsAppDirectoryServiceDefs.h
@@ -75,8 +75,10 @@
 #define NS_APP_CHROME_DIR                       "AChrom"
 #define NS_APP_PLUGINS_DIR                      "APlugns"       // Deprecated - use NS_APP_PLUGINS_DIR_LIST
 #define NS_APP_SEARCH_DIR                       "SrchPlugns"
+#define NS_USER_SEARCH_DIR                      "UsrSrchPlugns"
 
 #define NS_APP_PLUGINS_DIR_LIST                 "APluginsDL"
+#define NS_APP_SEARCH_DIR_LIST                  "ASearchDL"
 
 // --------------------------------------------------------------------------------------
 // Files and directories which exist on a per-profile basis
--- mozilla-firefox-1.0.orig/xpcom/io/nsAppFileLocationProvider.cpp
+++ mozilla-firefox-1.0/xpcom/io/nsAppFileLocationProvider.cpp
@@ -252,6 +252,12 @@
         if (NS_SUCCEEDED(rv))
             rv = localFile->AppendRelativeNativePath(SEARCH_DIR_NAME);
     }
+    else if (nsCRT::strcmp(prop, NS_USER_SEARCH_DIR) == 0)
+    {
+        rv = GetProductDirectory(getter_AddRefs(localFile));
+        if (NS_SUCCEEDED(rv))
+            rv = localFile->AppendRelativeNativePath(SEARCH_DIR_NAME);
+    }
     else if (nsCRT::strcmp(prop, NS_APP_INSTALL_CLEANUP_DIR) == 0)
     {   
         // This is cloned so that embeddors will have a hook to override
@@ -586,6 +592,17 @@
         }
         *_retval = new nsPathsDirectoryEnumerator(this, keys);
 #endif
+        NS_IF_ADDREF(*_retval);
+        rv = *_retval ? NS_OK : NS_ERROR_OUT_OF_MEMORY;        
+    }
+    if (!nsCRT::strcmp(prop, NS_APP_SEARCH_DIR_LIST))
+    {
+        static const char* keys[] = { nsnull, NS_USER_SEARCH_DIR, NS_APP_SEARCH_DIR, nsnull };
+        if (!keys[0] && !(keys[0] = PR_GetEnv("MOZ_SEARCH_ENGINE_PATH"))) {
+            static const char nullstr = 0;
+            keys[0] = &nullstr;
+        }
+        *_retval = new nsPathsDirectoryEnumerator(this, keys);
         NS_IF_ADDREF(*_retval);
         rv = *_retval ? NS_OK : NS_ERROR_OUT_OF_MEMORY;        
     }
--- mozilla-firefox-1.0.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in
+++ mozilla-firefox-1.0/xpcom/reflect/xptcall/src/md/unix/Makefile.in
@@ -210,11 +210,7 @@
 ifneq (,$(findstring mips, $(OS_TEST)))
 CPPSRCS		:= xptcinvoke_mips.cpp xptcstubs_mips.cpp
 ASFILES		:= xptcinvoke_asm_mips.s xptcstubs_asm_mips.s
-#xptcstubs_mips.cpp
-# xptcstubs_asm_mips.s
-ifdef GNU_CC
-ASFLAGS		+= $(INCLUDES) -x assembler-with-cpp -D__GNUC__
-endif
+AS		:= $(CC) $(CFLAGS) $(INCLUDES) -c -x assembler-with-cpp
 endif
 endif
 
@@ -359,10 +355,8 @@
 
 ifeq ($(OS_ARCH),Linux)
 ifneq (,$(findstring mips, $(OS_TEST)))
-xptcstubs_asm_mips.o: xptcstubs_asm_mips.s.m4 $(PUBLIC)/xptcstubsdef.inc
-	m4 $(INCLUDES) $< > ./xptcstubs_asm_mips.s && \
-	$(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_mips.s
-	$(RM) -f ./xptcstubs_asm_mips.s
+xptcstubs_asm_mips.o: xptcstubs_asm_mips.s $(PUBLIC)/xptcstubsdef.inc
+	$(AS) -o $@ $<
 endif
 endif
 
--- mozilla-firefox-1.0.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s
+++ mozilla-firefox-1.0/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s
@@ -21,6 +21,7 @@
  * Contributor(s):
  *   Brendan Eich     <brendan@mozilla.org>
  *   Stuart Parmenter <pavlov@netscape.com>
+ *   Thiemo Seufer    <seufer@csv.ica.uni-stuttgart.de>
  */
 
 /* This code is for MIPS using the O32 ABI. */
@@ -28,139 +29,123 @@
 #include <sys/regdef.h>
 #include <sys/asm.h>
 
-.text
-.globl  invoke_count_words
-.globl	invoke_copy_to_stack 
-
-# We need a variable number of words allocated from the stack for copies of
-# the params, and this space must come between the high frame (where ra, gp,
-# and s0 are saved) and the low frame (where a0-a3 are saved by the callee
-# functions we invoke). 
-
-LOCALSZ=4		# s0, s1, ra, gp
-NARGSAVE=4		# a0, a1, a2, a3
-HIFRAMESZ=(LOCALSZ*SZREG)
-LOFRAMESZ=(NARGSAVE*SZREG)
-FRAMESZ=(HIFRAMESZ+LOFRAMESZ+ALSZ)&ALMASK
-
-# XXX these 2*SZREG, etc. are very magic -- we *know* that ALSZ&ALMASK cause
-# FRAMESZ to be 0 mod 8, in this case to be 16 and not 12.
-RAOFF=FRAMESZ - (2*SZREG)
-GPOFF=FRAMESZ - (3*SZREG)
-S0OFF=FRAMESZ - (4*SZREG)
-S1OFF=FRAMESZ - (5*SZREG)
-
-# These are not magic -- they are just our argsave slots in the caller frame.
-A0OFF=FRAMESZ
-A1OFF=FRAMESZ + (1*SZREG)
-A2OFF=FRAMESZ + (2*SZREG)
-A3OFF=FRAMESZ + (3*SZREG)
-
-	#	
-	# _XPTC_InvokeByIndex(that, methodIndex, paramCount, params)
-	#                      a0       a1          a2         a3
-
-NESTED(_XPTC_InvokeByIndex, FRAMESZ, ra)
-
-	.set	noreorder
-	.cpload	t9
-	.set	reorder
-
+# NARGSAVE is the argument space in the callers frame, including extra
+# 'shadowed' space for the argument registers. The minimum of 4
+# argument slots is sometimes predefined in the header files.
+#ifndef NARGSAVE
+#define NARGSAVE 4
+#endif
+
+#define LOCALSZ 3	/* gp, fp, ra */
+#define FRAMESZ ((((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK)
+
+#define RAOFF (FRAMESZ - (1*SZREG))
+#define FPOFF (FRAMESZ - (2*SZREG))
+#define GPOFF (FRAMESZ - (3*SZREG))
+
+#define A0OFF (FRAMESZ + (0*SZREG))
+#define A1OFF (FRAMESZ + (1*SZREG))
+#define A2OFF (FRAMESZ + (2*SZREG))
+#define A3OFF (FRAMESZ + (3*SZREG))
+
+	.text
+
+#	
+# _XPTC_InvokeByIndex(that, methodIndex, paramCount, params)
+#                      a0       a1          a2         a3
+
+	.globl	_XPTC_InvokeByIndex
+	.align	2
+	.type	_XPTC_InvokeByIndex,@function
+	.ent	_XPTC_InvokeByIndex,0
+	.frame	fp, FRAMESZ, ra
+_XPTC_InvokeByIndex:
+	SETUP_GP
 	subu	sp, FRAMESZ
 
-	# specify the save register mask -- XXX do we want the a0-a3 here, given
-	# our "split" frame where the args are saved below a dynamicly allocated
-	# region under the high frame?
-	#
-	# 10010000000000010000000011110000
-	.mask 0x900100F0, -((NARGSAVE+LOCALSZ)*SZREG)
-
-	# thou shalt not use .cprestore if yer frame has variable size...
-	# .cprestore GPOFF
-
-	REG_S	ra, RAOFF(sp)
-
-	# this happens automatically with .cprestore, but we cannot use that op...
-	REG_S	gp, GPOFF(sp)
-	REG_S	s0, S0OFF(sp)
-	REG_S	s1, S1OFF(sp)
-
-	REG_S	a0, A0OFF(sp)
-	REG_S	a1, A1OFF(sp)
-	REG_S	a2, A2OFF(sp)
-	REG_S	a3, A3OFF(sp)
+	# specify the save register mask for gp, fp, ra, a3 - a0
+	.mask 0xD00000F0, RAOFF-FRAMESZ
 
-	# invoke_count_words(paramCount, params)
-	move	a0, a2
-	move	a1, a3
+	sw	ra, RAOFF(sp)
+	sw	fp, FPOFF(sp)
 
-	jal	invoke_count_words
-	lw	gp, GPOFF(sp)
+	# we can't use .cprestore in a variable stack frame
+	sw	gp, GPOFF(sp)
 
-	# save the old sp so we can pop the param area and any "low frame"
-	# needed as an argsave area below the param block for callees that
-	# we invoke.
-	move	s0, sp
-
-	REG_L	a1, A2OFF(sp)	# a1 = paramCount
-	REG_L	a2, A3OFF(sp)	# a2 = params
-
-	# we define a word as 4 bytes, period end of story!
-	sll	v0, 2		# 4 bytes * result of invoke_copy_words
-	subu	v0, LOFRAMESZ	# but we take back the argsave area built into
-				# our stack frame -- SWEET!
-	subu	sp, sp, v0	# make room
-	move	a0, sp		# a0 = param stack address
-	move	s1, a0		# save it for later -- it should be safe here
-
-	# the old sp is still saved in s0, but we now need another argsave
-	# area ("low frame") for the invoke_copy_to_stack call.
-	subu	sp, sp, LOFRAMESZ
+	sw	a0, A0OFF(sp)
+	sw	a1, A1OFF(sp)
+	sw	a2, A2OFF(sp)
+	sw	a3, A3OFF(sp)
+
+	# save bottom of fixed frame
+	move	fp, sp
+
+	# extern "C" uint32
+	# invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s);
+	la	t9, invoke_count_words
+	move	a0, a2
+	move	a1, a3
+	jalr	t9
+	lw  	gp, GPOFF(fp)
 
-	# copy the param into the stack areas
+	# allocate variable stack, with a size of:
+	# wordsize (of 4 bytes) * result (already aligned to dword)
+	# but a minimum of 16 byte
+	sll	v0, 2
+	slt	t0, v0, 16
+	beqz	t0, 1f
+	li	v0, 16
+1:	subu	sp, v0
+
+	# let a0 point to the bottom of the variable stack, allocate
+	# another fixed stack for:
+	# extern "C" void
 	# invoke_copy_to_stack(PRUint32* d, PRUint32 paramCount,
-	#                      nsXPTCVariant* s)
-	jal     invoke_copy_to_stack
-	lw  	gp, GPOFF(s0)
-
-	move	sp, s0		# get orig sp back, popping params and argsave
-
-	REG_L	a0, A0OFF(sp)	# a0 = set "that" to be "this"
-	REG_L	a1, A1OFF(sp)	# a1 = methodIndex
-
-	# t1 = methodIndex * 4
-	# (use shift instead of mult)
-	sll	t1, a1, 2
-
-	# calculate the function we need to jump to,
-	# which must then be saved in t9
+	#		       nsXPTCVariant* s);
+	la	t9, invoke_copy_to_stack
+	move	a0, sp
+	lw	a1, A2OFF(fp)
+	lw	a2, A3OFF(fp)
+	subu	sp, 16
+	jalr	t9
+	lw  	gp, GPOFF(fp)
+
+	# back to the variable stack frame
+	addu	sp, 16
+
+	# calculate the function we need to jump to, which must then be
+	# stored in t9
+	lw	a0, A0OFF(fp)	# a0 = set "that" to be "this"
+	lw	t0, A1OFF(fp)	# a1 = methodIndex
 	lw	t9, 0(a0)
-	addu	t9, t9, t1
-	lw	t9, 8(t9)
-
-	# a1..a3 and f13..f14 should now be set to what
-	# invoke_copy_to_stack told us. skip a0 and f12
-	# because that is the "this" pointer
-
-	REG_L	a1, 1*SZREG(s1)
-	REG_L	a2, 2*SZREG(s1)
-	REG_L	a3, 3*SZREG(s1)
-
-	l.d	$f13, 8(s1)
-	l.d	$f14, 16(s1)
-
-	# Create the stack pointer for the function, which must have 4 words
-	# of space for callee-saved args.  invoke_count_words allocated space
-        # for a0 starting at s1, so we just move s1 into sp.
-	move	sp, s1
+	# t0 = methodIndex << PTRLOG
+	sll	t0, t0, PTRLOG
+	addu	t9, t0
+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
+	lw	t9, (t9)
+#else /* not G++ V3 ABI */
+	lw	t9, 2*PTRSIZE(t9)
+#endif /* G++ V3 ABI */
+
+	# Set a1-a3 to what invoke_copy_to_stack told us. a0 is already
+	# the "this" pointer. We don't have to care about floating
+	# point arguments, the non-FP "this" pointer as first argument
+	# means they'll never be used.
+	lw	a1, 1*SZREG(sp)
+	lw	a2, 2*SZREG(sp)
+	lw	a3, 3*SZREG(sp)
+
+	jalr	t9
+	# Micro-optimization: There's no gp usage below this point, so
+	# we don't reload.
+	# lw	gp, GPOFF(fp)
 
-	jalr	ra, t9
-	lw	gp, GPOFF(s0)
+	# leave variable stack frame
+	move	sp, fp
 
-	move	sp, s0
+	lw	ra, RAOFF(sp)
+	lw	fp, FPOFF(sp)
 
-	REG_L	ra, RAOFF(sp)
-	REG_L	s0, S0OFF(sp)
-	addu	sp, FRAMESZ
+	addiu	sp, FRAMESZ
 	j	ra
-.end _XPTC_InvokeByIndex
+END(_XPTC_InvokeByIndex)
--- mozilla-firefox-1.0.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp
+++ mozilla-firefox-1.0/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp
@@ -20,6 +20,7 @@
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
+ *   Glen Nakamura <glen@imodulo.com>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or 
@@ -37,8 +38,6 @@
 
 /* Platform specific code to invoke XPCOM methods on native objects */
 
-/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
-
 #include "xptcprivate.h"
 
 /* Prototype specifies unmangled function name and disables unused warning */
@@ -163,7 +162,11 @@
     "bis $16,$16,$1\n\t"    /* load "this" */
     "ldq $2,16($15)\n\t"    /* load "methodIndex" */
     "ldq $1,0($1)\n\t"      /* load vtable */
+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
+    "s8addq $2,$31,$2\n\t"  /* vtable index = "methodIndex" * 8 */
+#else /* not G++ V3 ABI */
     "s8addq $2,16,$2\n\t"   /* vtable index = "methodIndex" * 8 + 16 */
+#endif /* G++ V3 ABI */
     "addq $1,$2,$1\n\t"
     "ldq $27,0($1)\n\t"     /* load address of function */
     "jsr $26,($27),0\n\t"   /* call virtual function */
@@ -176,4 +179,3 @@
     "ret $31,($26),1\n\t"
     ".end XPTC_InvokeByIndex"
     );
-
--- mozilla-firefox-1.0.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp
+++ mozilla-firefox-1.0/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp
@@ -21,7 +21,7 @@
  * Contributor(s):
  *   Stuart Parmenter <pavlov@netscape.com>
  *   Brendan Eich     <brendan@mozilla.org>
- * 
+ *   Thiemo Seufer    <seufer@csv.ica.uni-stuttgart.de>
  */
 
 /* This code is for MIPS using the O32 ABI. */
@@ -37,10 +37,8 @@
     // Count a word for a0 even though it's never stored or loaded
     // We do this only for alignment of register pairs.
     PRUint32 result = 1;
-    for (PRUint32 i = 0; i < paramCount; i++, s++)
+    for (PRUint32 i = 0; i < paramCount; i++, result++, s++)
     {
-        result++;
-
         if (s->IsPtrData())
             continue;
 
@@ -53,6 +51,9 @@
 		result++;
 	    result++;
 	    break;
+
+        default:
+            break;
         }
     }
     return (result + 1) & ~(PRUint32)1;
@@ -73,8 +74,6 @@
             continue;
         }
 
-        *((void**)d) = s->val.p;
-
         switch(s->type)
         {
         case nsXPTType::T_I64    :
@@ -89,6 +88,9 @@
             if ((PRWord)d & 4) d++;
             *((double*)   d) = s->val.d;      d++;
             break;
+        default:
+            *((void**)d) = s->val.p;
+            break;
         }
     }
 }
@@ -103,5 +105,4 @@
                    PRUint32 paramCount, nsXPTCVariant* params)
 {
     return _XPTC_InvokeByIndex(that, methodIndex, paramCount, params);
-}    
-
+}
--- mozilla-firefox-1.0.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp
+++ mozilla-firefox-1.0/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp
@@ -20,6 +20,7 @@
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
+ *   Glen Nakamura <glen@imodulo.com>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or 
@@ -37,8 +38,6 @@
 
 /* Implement shared vtbl methods. */
 
-/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
-
 #include "xptcprivate.h"
 
 /* Prototype specifies unmangled function name and disables unused warning */
@@ -188,23 +187,45 @@
  * nsresult nsXPTCStubBase::Stub##n()
  *  Sets register $1 to "methodIndex" and jumps to SharedStub.
  */
+#define STUB_MANGLED_ENTRY(n, symbol) \
+    "#### Stub"#n" ####"      "\n\t" \
+    ".text"                   "\n\t" \
+    ".align 5"                "\n\t" \
+    ".globl " symbol          "\n\t" \
+    ".ent " symbol            "\n"   \
+symbol ":"                    "\n\t" \
+    ".frame $30,0,$26,0"      "\n\t" \
+    "ldgp $29,0($27)"         "\n"   \
+"$" symbol "..ng:"            "\n\t" \
+    ".prologue 1"             "\n\t" \
+    "lda $1,"#n               "\n\t" \
+    "br $31,$SharedStub..ng"  "\n\t" \
+    ".end " symbol
+
+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
+
+#define STUB_ENTRY(n) \
+__asm__( \
+    ".if "#n" < 10"                                              "\n\t" \
+        STUB_MANGLED_ENTRY(n, "_ZN14nsXPTCStubBase5Stub"#n"Ev")  "\n\t" \
+    ".elseif "#n" < 100"                                         "\n\t" \
+        STUB_MANGLED_ENTRY(n, "_ZN14nsXPTCStubBase6Stub"#n"Ev")  "\n\t" \
+    ".elseif "#n" < 1000"                                        "\n\t" \
+        STUB_MANGLED_ENTRY(n, "_ZN14nsXPTCStubBase7Stub"#n"Ev")  "\n\t" \
+    ".else"                                                      "\n\t" \
+    ".err \"Stub"#n" >= 1000 not yet supported.\""               "\n\t" \
+    ".endif" \
+    );
+
+#else /* not G++ V3 ABI */
+
 #define STUB_ENTRY(n) \
 __asm__( \
-    "#### Stub"#n" ####\n" \
-".text\n\t" \
-    ".align 5\n\t" \
-    ".globl Stub"#n"__14nsXPTCStubBase\n\t" \
-    ".ent Stub"#n"__14nsXPTCStubBase\n" \
-"Stub"#n"__14nsXPTCStubBase:\n\t" \
-    ".frame $30,0,$26,0\n\t" \
-    "ldgp $29,0($27)\n" \
-"$Stub"#n"__14nsXPTCStubBase..ng:\n\t" \
-    ".prologue 1\n\t" \
-    "lda $1,"#n"\n\t" \
-    "br $31,$SharedStub..ng\n\t" \
-    ".end Stub"#n"__14nsXPTCStubBase" \
+    STUB_MANGLED_ENTRY(n, "Stub"#n"__14nsXPTCStubBase") \
     );
 
+#endif /* G++ V3 ABI */
+
 #define SENTINEL_ENTRY(n) \
 nsresult nsXPTCStubBase::Sentinel##n() \
 { \
@@ -213,4 +234,3 @@
 }
 
 #include "xptcstubsdef.inc"
-
--- mozilla-firefox-1.0.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s
+++ mozilla-firefox-1.0/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s
@@ -0,0 +1,142 @@
+/* -*- Mode: asm; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corp, Inc.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *   Stuart Parmenter <pavlov@netscape.com>
+ *   Chris Waterson   <waterson@netscape.com>
+ *   Thiemo Seufer    <seufer@csv.ica.uni-stuttgart.de>
+ */
+
+/* This code is for MIPS using the O32 ABI. */
+
+#include <sys/regdef.h>
+#include <sys/asm.h>
+
+# NARGSAVE is the argument space in the callers frame, including extra
+# 'shadowed' space for the argument registers. The minimum of 4
+# argument slots is sometimes predefined in the header files.
+#ifndef NARGSAVE
+#define NARGSAVE 4
+#endif
+
+#define LOCALSZ 2	/* gp, ra */
+#define FRAMESZ ((((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK)
+
+#define RAOFF (FRAMESZ - (1*SZREG))
+#define GPOFF (FRAMESZ - (2*SZREG))
+
+#define A0OFF (FRAMESZ + (0*SZREG))
+#define A1OFF (FRAMESZ + (1*SZREG))
+#define A2OFF (FRAMESZ + (2*SZREG))
+#define A3OFF (FRAMESZ + (3*SZREG))
+
+	.text
+
+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
+#define STUB_ENTRY(x)						\
+	.if x < 10;						\
+	.globl	_ZN14nsXPTCStubBase5Stub ##x ##Ev;		\
+	.type	_ZN14nsXPTCStubBase5Stub ##x ##Ev,@function;	\
+	.aent	_ZN14nsXPTCStubBase5Stub ##x ##Ev,0;		\
+_ZN14nsXPTCStubBase5Stub ##x ##Ev:;				\
+	SETUP_GP;						\
+	li	t0,x;						\
+	b	sharedstub;					\
+	.elseif x < 100;					\
+	.globl	_ZN14nsXPTCStubBase6Stub ##x ##Ev;		\
+	.type	_ZN14nsXPTCStubBase6Stub ##x ##Ev,@function;	\
+	.aent	_ZN14nsXPTCStubBase6Stub ##x ##Ev,0;		\
+_ZN14nsXPTCStubBase6Stub ##x ##Ev:;				\
+	SETUP_GP;						\
+	li	t0,x;						\
+	b	sharedstub;					\
+	.elseif x < 1000;					\
+	.globl	_ZN14nsXPTCStubBase7Stub ##x ##Ev;		\
+	.type	_ZN14nsXPTCStubBase7Stub ##x ##Ev,@function;	\
+	.aent	_ZN14nsXPTCStubBase7Stub ##x ##Ev,0;		\
+_ZN14nsXPTCStubBase7Stub ##x ##Ev:;				\
+	SETUP_GP;						\
+	li	t0,x;						\
+	b	sharedstub;					\
+	.else;							\
+	.err;							\
+	.endif
+#else /* not G++ V3 ABI */
+#define STUB_ENTRY(x)						\
+	.globl	Stub ##x ##__14nsXPTCStubBase;			\
+	.type	Stub ##x ##__14nsXPTCStubBase,@function;	\
+	.aent	Stub ##x ##__14nsXPTCStubBase,0;		\
+Stub ##x ##__14nsXPTCStubBase:;					\
+	SETUP_GP;						\
+	li	t0,x;						\
+	b	sharedstub
+#endif /* G++ V3 ABI */
+
+# SENTINEL_ENTRY is handled in the cpp file.
+#define SENTINEL_ENTRY(x)
+
+#
+# open a dummy frame for the function entries
+#
+	.align	2
+	.type	dummy,@function
+	.ent	dummy, 0
+	.frame	sp, FRAMESZ, ra 
+dummy:
+	SETUP_GP
+
+#include "xptcstubsdef.inc"
+
+sharedstub:
+	subu	sp, FRAMESZ
+
+	# specify the save register mask for gp, ra, a0-a3
+	.mask 0x900000F0, RAOFF-FRAMESZ
+
+	sw	ra, RAOFF(sp)
+	SAVE_GP(GPOFF)
+
+	# Micro-optimization: a0 is already loaded, and its slot gets
+	# ignored by PrepareAndDispatch, so no need to save it here.
+	# sw	a0, A0OFF(sp)
+	sw	a1, A1OFF(sp)
+	sw	a2, A2OFF(sp)
+	sw	a3, A3OFF(sp)
+
+	la	t9, PrepareAndDispatch
+
+	# t0 is methodIndex
+	move	a1, t0
+	# have a2 point to the begin of the argument space on stack
+	addiu	a2, sp, FRAMESZ
+
+	# PrepareAndDispatch(that, methodIndex, args)
+	jalr	t9
+
+	# Micro-optimization: Using jalr explicitly has the side-effect
+	# of not triggering .cprestore. This is ok because we have no
+	# gp reference below this point. It also allows better
+	# instruction sscheduling.
+	# lw	gp, GPOFF(fp)
+ 
+ 	lw	ra, RAOFF(sp)
+	addiu	sp, FRAMESZ
+	j	ra
+	END(dummy)
--- mozilla-firefox-1.0.orig/xpinstall/packager/unix/browser.jst
+++ mozilla-firefox-1.0/xpinstall/packager/unix/browser.jst
@@ -77,35 +77,18 @@
     logComment("dirCreate() returned: " + ignoreErr);
 
     var cf = getFolder("Chrome");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"toolkit.jar"),"content/global-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/navigator-platform/");
-
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"toolkit.jar"),"content/global-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/editor-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/navigator-region/");
-
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"toolkit.jar"),"content/global/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/autoconfig/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/cookie/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/wallet/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"content-packs.jar"),"content/content-packs/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/editor/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/navigator/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/necko/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/mozldap/");
     registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/communicator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/editor/");
     registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/global/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/messenger/");
     registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/navigator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/communicator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/editor/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/global/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/messenger/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/navigator/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"help.jar"),"content/help/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/xbl-marquee/");
     registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/p3p/");
--- mozilla-firefox-1.0.orig/content/events/src/nsEventStateManager.cpp
+++ mozilla-firefox-1.0/content/events/src/nsEventStateManager.cpp
@@ -22,6 +22,9 @@
  * Contributor(s):
  *   Makoto Kato  <m_kato@ga2.so-net.ne.jp>
  *   Dean Tessman <dean_tessman@hotmail.com>
+ *   Andrew Wellington <proton@wiretapped.net>
+ *   Graham Dennis <u3952328@anu.edu.au>
+ *   Thomas Kleffel <thomas.kleffel@maintech.de>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -1979,6 +1982,109 @@
             frameSel->SetMouseDownState(PR_FALSE);
         }
       }
+    }
+    break;
+  case NS_USER_DEFINED_EVENT: // In reality an extended mouse event
+    {
+      nsExtendedMouseEventStatus *eMEStatus;
+      nsMouseEvent *mEvent = (nsMouseEvent* )aEvent;
+      eMEStatus = (nsExtendedMouseEventStatus *)&mEvent->clickCount;
+      nsresult rv;
+      char ourbutton=0;
+      char *string, *suffix, *straction, *strnumlines;
+      PRInt32 action;
+      PRInt32 numLines;
+
+      rv = getPrefBranch();
+      if (NS_FAILED(rv)) return rv;
+      
+      // adding 2 below so the maximum number of mouse buttons we can
+      // support is 99 but to represent the buttons in buttonlist
+      // we're going to map 10->35 onto 'a'->'z'
+      // the storage actually supports 256
+      if(eMEStatus->button > 35) break;
+      if(eMEStatus->button > 9)
+        ourbutton = 'a' + eMEStatus->button -9;
+      else
+        ourbutton = '0' + eMEStatus->button;
+      mPrefBranch->GetCharPref("mousebuttonsextended.buttonlist", &string);
+      if(!string) break;
+      if(!strchr(string, ourbutton)) {
+          free(string);
+          break;
+      }
+      free(string);
+      switch(eMEStatus->event)
+        {
+        case nsExtendedMouseEventStatus_up:
+          suffix=strdup(".up");
+          break;
+
+        case nsExtendedMouseEventStatus_down:
+          suffix=strdup(".down");
+          break;
+        default:
+          return NS_OK;
+        }
+      straction= (char *)memset(malloc(100), 0, 100);
+      strnumlines=(char *)memset(malloc(100), 0, 100);
+
+      strcpy(straction, "mousebuttonsextended.buttons.X.action");
+      strcpy(strnumlines, "mousebuttonsextended.buttons.X.numlines");
+      strcpy(straction+strlen(straction), suffix);
+      strcpy(strnumlines+strlen(strnumlines), suffix); 
+
+      string = strchr(straction, 'X');  *string = ourbutton;
+      string = strchr(strnumlines, 'X'); *string = ourbutton;
+
+      mPrefBranch->GetIntPref(straction, &action);
+      mPrefBranch->GetIntPref(strnumlines, &numLines);
+
+      switch (action) {
+
+#if 0   // Because we would have to create a msEvent
+      case MOUSE_SCROLL_N_LINES:
+      case MOUSE_SCROLL_PAGE:
+        {
+          DoWheelScroll(aPresContext, aTargetFrame, msEvent, numLines,
+                        (msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
+                        (action == MOUSE_SCROLL_PAGE), PR_FALSE);
+
+        }
+        break;
+#endif 
+      case MOUSE_SCROLL_HISTORY:
+        {
+          nsCOMPtr<nsISupports> pcContainer;
+          pcContainer = mPresContext->GetContainer();
+          if (pcContainer) {
+            nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(pcContainer));
+            if (webNav) {
+              if (numLines < 0)
+                 webNav->GoBack();
+              else
+                 webNav->GoForward();
+            }
+          }
+        }
+        break;
+
+      case MOUSE_SCROLL_TEXTSIZE:
+        {
+          // Exclude form controls and XUL content.
+          nsIContent* content = aTargetFrame->GetContent();
+          if (content &&
+              !content->IsContentOfType(nsIContent::eHTML_FORM_CONTROL) &&
+              !content->IsContentOfType(nsIContent::eXUL))
+            {
+              ChangeTextSize((numLines > 0) ? 1 : -1);
+            }
+        }
+        break;
+
+      default:  // Including -1 (do nothing)
+        break;
+      }          
     }
     break;
   case NS_MOUSE_SCROLL:
--- mozilla-firefox-1.0.orig/gfx/src/gtk/fontEncoding.properties
+++ mozilla-firefox-1.0/gfx/src/gtk/fontEncoding.properties
@@ -54,8 +54,8 @@
 # font,  you do need them. 
 
 # Symbol font
-#encoding.symbol.ttf = Adobe-Symbol-Encoding
-#encoding.symbol.ftcmap = mac_roman
+encoding.symbol.ttf = Adobe-Symbol-Encoding
+encoding.symbol.ftcmap = mac_roman
 
 # TeX's Computer Modern fonts (Roman, Math Italic, Symbol and Extension)
 
--- mozilla-firefox-1.0.orig/htmlparser/src/nsParser.cpp
+++ mozilla-firefox-1.0/htmlparser/src/nsParser.cpp
@@ -2565,21 +2565,7 @@
   nsresult rv = NS_OK;
   
   if(eOnStart==mParserContext->mStreamListenerState) {
-    nsAutoString temp;
-
-    //If you're here, then OnDataAvailable() never got called. 
-    //Prior to necko, we never dealt with this case, but the problem may have existed.
-    //What we'll do (for now at least) is construct a blank HTML document.
-    if (!mParserContext->mMimeType.Equals(NS_LITERAL_CSTRING(kPlainTextContentType)))
-    {
-      temp.Assign(NS_LITERAL_STRING("<html><body></body></html>"));
-    }
-    // XXX: until bug #108067 has been fixed we must ensure that *something*
-    //      is in the scanner!  so, for now just put in a single space.
-    else {
-      temp.Assign(NS_LITERAL_STRING(" "));
-    }
-    mParserContext->mScanner->Append(temp);
+    //Everybody can live with an empty input stream, so just resume parsing.
     rv = ResumeParse(PR_TRUE,PR_TRUE);    
   }
 
--- mozilla-firefox-1.0.orig/layout/html/document/src/html.css
+++ mozilla-firefox-1.0/layout/html/document/src/html.css
@@ -441,6 +441,13 @@
 /* PRINT ONLY rules follow */
 @media print {
 
+  body {
+    font-family: times, serif;
+  }
+  tt, pre {
+    font-family: courier, monospace;
+  }
+
   marquee { -moz-binding: none; }
  
   *|*:-moz-any-link img, img[usemap], object[usemap],
--- mozilla-firefox-1.0.orig/widget/public/nsGUIEvent.h
+++ mozilla-firefox-1.0/widget/public/nsGUIEvent.h
@@ -22,6 +22,8 @@
  * Contributor(s):
  *   Makoto Kato  <m_kato@ga2.so-net.ne.jp>
  *   Dean Tessman <dean_tessman@hotmail.com>
+ *   Andrew Wellington <proton@wiretapped.net>
+ *   Graham Dennis <u3952328@anu.edu.au>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or 
@@ -818,6 +820,22 @@
   nsDragDropEventStatus_eDrop  
 };
 
+/**
+ * Event status for an extended mouse button event
+ * The event (called clickCount) is type PRUint32:
+ * hence this struct will be of the same size
+ */
+typedef struct {
+  PRUint16 realClickCount;
+  PRUint8  button;
+  PRUint8  event;  // eg button went up / down
+} nsExtendedMouseEventStatus;
+
+enum {
+  /// different types of events
+  nsExtendedMouseEventStatus_up,
+  nsExtendedMouseEventStatus_down
+};
 
 #define NS_IS_MOUSE_EVENT(evnt) \
        (((evnt)->message == NS_MOUSE_LEFT_BUTTON_DOWN) || \
--- mozilla-firefox-1.0.orig/widget/src/gtk2/nsWindow.cpp
+++ mozilla-firefox-1.0/widget/src/gtk2/nsWindow.cpp
@@ -1395,6 +1395,9 @@
         return;
 
     switch (aEvent->button) {
+    case 1:
+        eventType = NS_MOUSE_LEFT_BUTTON_DOWN;
+        break;
     case 2:
         eventType = NS_MOUSE_MIDDLE_BUTTON_DOWN;
         break;
@@ -1402,7 +1405,6 @@
         eventType = NS_MOUSE_RIGHT_BUTTON_DOWN;
         break;
     default:
-        eventType = NS_MOUSE_LEFT_BUTTON_DOWN;
         break;
     }
 
--- mozilla-firefox-1.0.orig/xpfe/components/search/src/nsInternetSearchService.cpp
+++ mozilla-firefox-1.0/xpfe/components/search/src/nsInternetSearchService.cpp
@@ -997,8 +997,25 @@
 
 		// get available search engines
 		nsCOMPtr<nsIFile>			nativeDir;
-		if (NS_SUCCEEDED(rv = GetSearchFolder(getter_AddRefs(nativeDir))))
-		{
+
+		nsCOMPtr<nsIProperties> dirService(do_GetService("@mozilla.org/file/directory_service;1", &rv));
+		if (NS_FAILED(rv))	return rv;
+
+		nsCOMPtr<nsISimpleEnumerator> dirList;
+		rv = dirService->Get(NS_APP_SEARCH_DIR_LIST, NS_GET_IID(nsISimpleEnumerator), getter_AddRefs(dirList));
+		if (NS_FAILED(rv))	return rv;
+
+		PRBool hasMore;
+		while (NS_SUCCEEDED(dirList->HasMoreElements(&hasMore)) && hasMore)   
+                {
+			nsCOMPtr<nsISupports> supports;
+			rv = dirList->GetNext(getter_AddRefs(supports));
+			if (NS_FAILED(rv))
+				continue;
+			nativeDir = do_QueryInterface(supports, &rv);
+			if (NS_FAILED(rv))
+				continue;
+
 			rv = GetSearchEngineList(nativeDir, PR_FALSE, PR_FALSE);
 			
 			// read in category list
@@ -2560,6 +2577,15 @@
 	nsCOMPtr<nsIFile>	outFile;
 	if (NS_FAILED(rv = GetSearchFolder(getter_AddRefs(outFile))))		return(rv);
 
+	PRBool exists; 
+	rv = outFile->Exists(&exists); 
+	if (NS_FAILED(rv)) return(rv);
+	if (!exists)
+	{
+		rv = outFile->Create(nsIFile::DIRECTORY_TYPE, 0755);
+		if (NS_FAILED(rv)) return(rv);
+	}
+
 	const PRUnichar	*dataBuf = nsnull;
 	if (NS_FAILED(rv = context->GetBufferConst(&dataBuf)))	return(rv);
 
@@ -4100,7 +4126,7 @@
   *searchDir = nsnull;
 	
   nsCOMPtr<nsIFile> aDir;
-  nsresult rv = NS_GetSpecialDirectory(NS_APP_SEARCH_DIR, getter_AddRefs(aDir));
+  nsresult rv = NS_GetSpecialDirectory(NS_USER_SEARCH_DIR, getter_AddRefs(aDir));
   if (NS_FAILED(rv)) return rv;
   
   *searchDir = aDir;
--- mozilla-firefox-1.0.orig/debian/README.Debian
+++ mozilla-firefox-1.0/debian/README.Debian
@@ -0,0 +1,90 @@
+README for Debian
+=================
+
+*** Please submit non packaging issue (e.g. feature requests) bugs to
+the Debian BTS and the upstream bugzilla
+(http://bugzilla.mozilla.org/buglist.cgi?product=Firefox) and put a
+reference to the bugzilla bug in the Debian bug report, to ease bug
+triage for the maintainer. Thank you. ***
+
+Firefox is still in heavy development, and it does not fully support
+upgrading from one release to another. Moving your .mozilla/firefox
+directory out of the way should be your first course of action before
+filing a bug report. Please see #202130 for an excellent analysis. You
+may also want to try removing ~/.mozilla/firefox/default/*/XUL.mfasl.
+
+Firefox requires the loopback interface (lo) to be up and unfiltered
+to accept keyboard input and function correctly. Please make sure this
+is the case before filing any bugs.
+
+Application Update
+------------------
+
+From version 1.0-2 onwards, the automatic application update has been
+completely disabled at the source code level, since it makes no sense
+in the context of Debian.
+
+Extensions
+----------
+
+From Firefox 0.9, "old" extensions are disabled at first run (i.e.
+when no profile was found). By old extensions, Firefox means extensions
+not following the new extensions guidelines described at:
+http://www.bengoodger.com/software/mb/extensions/packaging/extensions.html
+But even the ones following these guidelines can be considered old if the
+contents.rdf file in their chrome gives the attribute chrome:extension = 
+"true" in the package information.
+
+For packaged extensions, that will lead to a lock case where you can't
+enable the extension back, due to an Extensions Manager bug. In such case,
+edit the chrome/chrome.rdf file in your user profile (usually
+~/.mozilla/firefox/default.*/chrome/chrome.rdf) and remove the
+c:disabled="true" attributes from the extensions you want to enable back.
+
+Note that the mentioned Extensions Manager bug will prevent you to disable
+packaged extensions for you profile from Firefox GUI. You need to edit the
+chrome/chrome.rdf file in the opposite way, i.e. adding a c:disabled="true"
+attribute to the corresponding rdf:Description element.
+
+Sound
+-----
+
+By default, firefox detects and runs the correct dsp wrapper for esd
+or arts. If this is not the desired behaviour, edit
+/etc/mozilla-firefox/mozilla-firefoxrc or ~/.mozilla-firefoxrc and set
+the FIREFOX_DSP variable to:
+
+"auto": The default, auto-detection.
+
+"esddsp": Use esd.
+
+"artsdsp": Use arts.
+
+"none": Don't use any sound wrapper.
+
+
+using Java. (You should use plugin which compiled with gcc-3.2)
+----------
+ 
+Grab a binary Java distribution from http://java.sun.com/. Install the
+java-package package and do a make-jpkg on the file.
+
+Buttons
+-------
+
+Some people have complained that the button order in dialogs is
+non-intuitive (ie, they don't like it). To reverse the order, add the
+following to your chrome/userChrome.css file, under the ~/.firefox
+directory:
+
+.dialog-button-box { -moz-box-direction: reverse; -moz-box-pack: right; }
+
+Emacs keybindings
+-----------------
+
+Versions of Firfox before 1.0 supported Emacs style keybindings in
+text entry boxes. Version 1.0 now merely follows the GTK keybindings
+settings. To enable Emacs keybindings in GTK, follow the instructions
+at http://www.gtk.org/gtk-2.0.0-notes.html.
+
+ -- Eric Dorland <eric@debian.org>, Sat Nov 27 20:04:47 2004
--- mozilla-firefox-1.0.orig/debian/changelog
+++ mozilla-firefox-1.0/debian/changelog
@@ -0,0 +1,1516 @@
+mozilla-firefox (1.0-3.backports.org.1) unstable; urgency=medium
+
+  * recompiled for http://www.backports.org/
+    + removed libx11-dev, libxp-dev, libxft2-dev, libxrender-dev,
+      libgnome2-dev, libgconf2-dev and libgnomevfs2-dev from build-dependencies
+    + removed fontconfig from mozilla-firebird dependencies
+    + reduced version for libidl-dev build-dependency
+    + modified configure script to work with older libidl
+    + renamed libpng12-dev build-dependency to libpng2-dev
+    + removed xft2 and xinerama support from debian/rules
+    + applied a patch from Marc Herbert to workaround a bug in gtk+ 2.0.2
+
+ -- Norbert Tretkowski <tretkowski@inittab.de>  Mon, 29 Nov 2004 11:23:56 +0100
+
+mozilla-firefox (1.0-4) unstable; urgency=medium
+
+  * debian/control: Make mozilla-firefox-gnome-support and xprt-xprintorg
+    Suggests, no Recommends after a look at policy. (Closes: #282432)
+  * debian/README.Debian: 
+    - Refer to .mozilla/firefox, not .firefox.
+    - Explain how to reenable emacs style keybindings. (Closes: #282321)
+
+ -- Eric Dorland <eric@debian.org>  Sat, 27 Nov 2004 20:40:10 -0500
+
+mozilla-firefox (1.0-3) unstable; urgency=low
+
+  * Changes by Mike Hommey
+  * The "becoming more and more an iceweasel" release.
+  * debian/firefox.js:
+    + Enable firefox's internal locale autodetection.
+    + Disable default browser question at startup. (Closes: #280752)
+  * debian/mozilla-firefox-runner: Removed our locale autodetection.
+    That means now locales installed in user profiles are automatically
+    used, and that there is no need for /var/lib/mozilla-firefox/locales.d
+    anymore.
+  * debian/mozilla-firefox.dirs: Removed creation of
+    /var/lib/mozilla-firefox/locales.d.
+  * debian/rules: Removed creation of the locale file in
+    /var/lib/mozilla-firefox/locales.d.
+  * debian/presubj: Put some more recent information.
+  * htmlparser/src/nsParser.cpp: Applied patch from bz#57717 so that empty
+    html files don't get <html><body></body></html> when viewing source.
+  * browser/base/content/aboutDialog.css: increase the User Agent element
+    height as in bz#238137 (but up to MacOSX's height) to show the full User
+    Agent string.
+  * xpcom/io/nsAppDirectoryServiceDefs.h,
+    xpcom/io/nsAppFileLocationProvider.cpp,
+    xpfe/components/search/src/nsInternetSearchService.cpp: Applied patch from
+    bz#123315 so that Internet search services in user profiles are supported.
+    (Closes: #219053)
+  * debian/mozilla-firefox-runner:
+    + Remove compatibility.ini only if it is older than
+      /usr/lib/mozilla-firefox/components.ini. That way, we only rebuild it
+      after an update-mozilla-firefox-chrome.
+    + Detect if we're being run through sudo without the -H option, in which
+      case we force setting of $HOME. (Closes: #218156)
+  * browser/app/profile/firefox.js: Sync'ed with debian/firefox.js.
+  * toolkit/mozapps/extensions/src/nsExtensionManager.js.in:
+    + Removed some error messages that get there because firefox is trying to
+      write in the /usr/lib/mozilla-firefox directory as a user. They are
+      useless and lead users to think something is going wrong while it's the
+      (stupid but) normal way firefox works.
+    + Avoid creation of directories when attempting to read files, that
+      throwed uncaught exceptions breaking some stuff in several different
+      ways when extensions don't follow the new scheme for extensions.
+    + Avoid copying stuff from
+      /usr/lib/mozilla-firefox/defaults/profile/extensions/ to
+      /usr/lib/mozilla-firefox/extensions/, that's the *very* old way of
+      installing extensions, which, since the old scheme has been thrown away,
+      won't work anyway, if any extension provides files out there.
+    + CheckForMismatches: Avoid to disable already disabled global extensions,
+      and don't propose to upgrade the locked extensions. That fixes a
+      never-ending loop occuring when running firefox for the first time in a
+      user account, while some global extensions are expired.
+      (Closes: #278722, #281537)
+  * debian/mozilla-firefox.prerm, debian/mozilla-firefox.preinst: Moved
+    removal of links to /usr/lib/mozilla-firefox/defaults/profile/extensions/
+    sitting in /usr/lib/mozilla-firefox/extensions/, if any remaining, from
+    prerm to preinst. We remove them once and for all, they won't be created
+    by us anymore.
+  * debian/update-mozilla-firefox-chrome:
+    + Removed support for extensions in
+      /usr/lib/mozilla-firefox/defaults/profile/extensions/.
+    + Removed some clean-up that had been introduced to help the Extensions
+      Manager not to die, and which, actually, did not work out quite so well.
+      Anyways, with the changes this time, the EM is supposed to support much
+      more problems than ever before (as usual ;) ) so we don't need that
+      anymore.
+    + Avoid stupid mv error messages when firefox-bin -register fails (which
+      is not supposed to happen, but you're never too careful)
+  * debian/update-mozilla-firefox-chrome, debian/mozilla-firefox.preinst:
+    Move removal of some very old stuff to preinst, to do it once and for all
+    instead of doing it every time we run update-mozilla-firefox-chrome.
+  * netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp: Applied patch from
+    bz#124561 to get a prompt for username/password in case anonymous login
+    fails.
+  * debian/mozilla-firefox-runner:
+    + Added check for more arguments so that the url in the command line get
+      detected more accurately.
+    + When a file name is given on the command line, prepend "file://" and
+      change spaces into %20. (Closes: #281800)
+
+  * Changes by Eric Dorland
+  * debian/mozilla-firefox.prerm: Patch from Philipp Weis to fix order of
+    find arguments. (Closes: #280852)
+  * debian/mozilla-firefox.desktop: Support new mime type handler in Gnome
+    2.8. (Closes: #281274) (MH: I added some more myme-types)
+  * debian/mozilla-firefox.postinst: Run update-desktop-database if it
+    exists.
+  * widget/src/gtk/nsWidget.cpp: We don't use gtk anymore, might as well
+    revert these patches. Thanks Stephane Despret. 
+
+ -- Eric Dorland <eric@debian.org>  Thu, 18 Nov 2004 22:16:28 -0500
+
+mozilla-firefox (1.0-2) unstable; urgency=low
+
+  * Changes by Mike Hommey
+  * The "don't do too much on the same day, it's bad for health" release.
+  * debian/firefox.js: Re-activated the extensions update service, and
+    removed the update url.
+  * browser/app/profile/firefox.js: Sync'ed with debian/firefox.js.
+  * debian/mozilla-firefox-dom-inspector.preinst: Removed old inspector.js
+    file.
+  * toolkit/mozapps/extensions/src/nsExtensionManager.js.in,
+    toolkit/mozapps/extensions/content/extensions.js: Disabled possibility
+    to update locked extensions and themes. Locked extensions being the
+    ones installed by the packaging system, they should be updated through
+    that.
+  * toolkit/mozapps/update/src/nsUpdateService.js.in: Disabled application
+    update functionnality. Firefox should be updated through the packaging
+    system.
+  * browser/components/prefwindow/content/pref-advanced.xul: Removed the
+    preferences panel item to activate application update, since it is
+    totally disabled.
+  * debian/mozilla-firefox-runner: Remove compatibility.ini instead of
+    compreg.dat. (Eric: This will cause a rebuild of the compreg.dat)
+  
+  * Changes by Eric Dorland:
+  * debian/mozilla-firefox.NEWS: Fix typos.
+  * README.Debian: 
+    - Add note about application update being completely disabled.
+    - Fix path to XUL.mfsal
+
+ -- Eric Dorland <eric@debian.org>  Wed, 10 Nov 2004 22:56:22 -0500
+
+mozilla-firefox (1.0-1) unstable; urgency=medium
+
+  * New upstream release (Closes: #280449)
+  
+  * Changes by Mike Hommey:
+  * netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp: Apply new patch
+    #164795 from bz#266835 + some tweaks as previously. This might lead to
+    encoding problems with the password, but it is supposed to be ASCII
+    anyway.
+  * toolkit/mozapps/extensions/src/nsExtensionManager.js.in: Reworked the
+    previous patches so that the Extensions Manager shows extensions that
+    have been disabled due to version mismatch, and added a workaround so
+    that components registration works correctly.
+  * debian/update-mozilla-firefox-chrome: Removed part that is useless due
+    to last changes in the Extensions Manager.
+  * Make the inspector a real extension again:
+    - debian/inspector/00dom-inspector: File for
+      /var/lib/mozilla-firefox/extensions.d.
+    - debian/inspector/Uninstall: Uninstall file needed in extension 
+      directory.
+    - debian/inspector/install.rdf: install.rdf taken from older versions, 
+      and adapted to newer versions, adding registered chrome.
+    - debian/mozilla-firefox-dom-inspector.dirs: Removed. Everything will 
+      be created by dh_install.
+    - debian/mozilla-firefox-dom-inspector.install: install
+      debian/inspector.rdf and most inspector files in the right place in
+      /usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}
+      and /var/lib/mozilla-firefox
+  * Make the classic theme a real extension, even though it's still in 
+    the main package:
+    - debian/theme/00classic: File for 
+      /var/lib/mozilla-firefox/extensions.d.
+    - debian/theme/Uninstall: Uninstall file needed in extension 
+      directory.
+    - debian/mozilla-firefox.install: Install all files in the right 
+      place in
+      /usr/lib/mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+    - debian/mozilla-firefox.dirs: Removed creation of
+      /usr/lib/mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome, 
+      it will be done by dh_install.
+    - browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in:
+      Added chrome to be registered.
+  * Removed support for /var/lib/mozilla-firefox/chrome.d:
+    - debian/mozilla-firefox.dirs: Removed creation of the directory.
+    - debian/rules: Removed creation of files there, and put the
+      installed-chrome.txt, excluding inspector and classic theme stuff,
+      directly in /usr/lib/mozilla-firefox/chrome.
+    - debian/update-mozilla-firefox-chrome: Removed all
+      /var/lib/mozilla-firefox/chrome.d related stuff.
+    - debian/mozilla-firefox.links: Removed installed-chrome.txt link.
+    - toolkit/mozapps/extensions/src/nsExtensionManager.js.in: disable
+      extensions that fail to install chrome.
+  * debian/mozilla-firefox-runner: Remove user profile compreg.dat at
+    launch time.
+  * Moved some files in /var/lib/mozilla-firefox:
+    - debian/mozilla-firefox.links: Add a symlink for Extensions.rdf 
+      and components.ini, from /usr to /var.
+    - debian/mozilla-firefox.prerm: Don't remove files we don't 
+      provide and remove files at their new locations.
+    - debian/mozilla-firefox.preinst: Remove
+      /var/lib/mozilla-firefox/installed-chrome.txt.
+    - debian/update-mozilla-firefox-chrome: Create links for 
+      Extensions.rdf and components.ini after register call, and remove 
+      components.ini before.
+  * Clean-up in files generated by update-mozilla-firefox-chrome:
+    - debian/mozilla-firefox.links: Put all the links generated by
+      update-mozilla-firefox-chrome into the package.
+    - debian/mozilla-firefox.prerm: Remove all /var files generated 
+      in the remove target, and changed the way we clean-up 
+      /var/lib/mozilla-firefox.
+  * debian/mozilla-firefox.install: Removed chromelist.txt.
+  * Add support for extensions preferences:
+    - debian/update-mozilla-firefox-chrome: Handle
+      /usr/lib/mozilla-firefox/defaults.ini file.
+    - debian/mozilla-firefox.links: Add a symlink to /var for 
+      defaults.ini.
+    - toolkit/mozapps/extensions/src/nsExtensionManager.js.in: Added 
+      defaults registration in -register command.
+    - mozilla-firefox-dom-inspector.install: Move inspector.js into 
+      the appropriate extension specific directory.
+  * Move preferences back into /usr:
+    - debian/rules: Don't move the prefs into 
+      /etc/mozilla-firefox/pref, and put the vendor thing into /usr 
+      as well, and remove firefox-l10.js file.
+    - debian/mozilla-firefox.preinst: remove old prefs in /etc and 
+      old symlink /usr/lib/mozilla-firefox/defaults/pref.
+    - debian/firefox.js: new Debian default preferences file.
+    - debian/mozilla-firefox.install: install firefox.js in
+      /etc/mozilla-firefox/pref.
+    - debian/mozilla-firefox.links: rename
+      /usr/lib/mozilla-firefox/defaults/pref symlink to
+      /usr/lib/mozilla-firefox/defaults/syspref.
+    - toolkit/mozapps/extensions/src/nsExtensionManager.js.in: Added 
+      a hook so that defaults/syspref gets registered in defaults.ini 
+      after all other extensions preferences.
+  * debian/mozilla-firefox.preinst: only clean-up stuff if we are
+    upgrading from a version known to still have the files. Added some
+    more clean-up.
+  * debian/mozilla-firefox.install: Removed useless init.d.
+  * modules/libpref/src/init/all.js: Fixed all chrome URLs which refered to
+    mozilla stuff.
+  * debian/update-mozilla-firefox-chrome: Remove some more files before running
+    firefox-bin -register.
+
+  * Changes by Eric Dorland:
+  * debian/mozilla-firefox.NEWS: Add warning about broken extension and
+    locale packages with this release. 
+  * debian/mozilla-firefox-runner: Comment out warning about xprint,
+    xprint isn't necessarily needed for printing since postscript was
+    reenabled. (Closes: #279858)
+
+ -- Eric Dorland <eric@debian.org>  Wed, 10 Nov 2004 00:33:44 -0500
+
+mozilla-firefox (0.99+1.0RC1-4) unstable; urgency=low
+
+  * debian/mozilla-firefox-runner:
+    - Fixed to run properly with dash. (Closes: #279549).
+    - Fixed indentation.
+    - Added a basic debugger support.
+  * debian/mozilla-firefox.1: Added information about debugger options.
+  * debian/rules: Added a debug option to DEB_BUILD_OPTIONS. If you want to
+    build a fully gdb'able package, use DEB_BUILD_OPTIONS="noopt nostrip
+    debug"
+  * netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp: Apply new patch from
+    bz#266835.
+    - Further change this patch to use Append rather than AppendLiteral,
+      which doesn't seem to exist. (ED)
+
+ -- Mike Hommey <mh@glandium.org>  Thu,  4 Nov 2004 22:01:51 +0900
+
+mozilla-firefox (0.99+1.0RC1-3) unstable; urgency=low
+
+  * netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp: Apply patch from
+    bz#266835 to fix anonymous user password issue. (Closes: #226784)
+  * toolkit/mozapps/extensions/src/nsExtensionManager.js.in: (MH)
+    - Fully apply previous patches, which for some reason left a spurious code
+      line which made the extensions manager not like expired extensions
+      anymore. (Closes: #279140)
+    - Enhanced extensions manager so that the behaviour described in
+      https://bugzilla.mozilla.org/show_bug.cgi?id=247846#c14 *actually*
+      works. Extensions packagers are invited to move their chrome files
+      accordingly, and remove /var/lib/mozilla-firefox/chrome.d files so that
+      extensions chrome don't get registered when they are forced-disable due
+      to version mismatch or some other reason.
+  * debian/mozilla-firefox-runner: 
+    - Fix some thinkos. (MH)
+    - Fix for loading files from the command line. (Closes: #279018) (MH)
+    - Removed setting --display from $DISPLAY, let it get it from the 
+      environment, but pass --display if it is set. (Mike, 
+      I'm worried this will screw up some session 
+      managers, let me know what you think, we can revert it)
+    - Removed FIREFOX_OPEN_IN stuff, so that firefox now obeys to "open 
+      links from other applications in" setting. (Closes: #279073) (MH)
+    - Enhanced command line parsing, and drop empty arguments. 
+      (Closes: #279138) (MH)
+    - No need for a find to look for XUL.mfasl, we already have its 
+      location from the path list taken from profiles.ini. (MH)
+    - Better detection of dsp wrapper, when FIREFOX_DSP=auto. 
+      (Closes: #254611) (MH)
+    - Correctly open local files even when firefox was not previously 
+      running. (Closes: #279018) (MH)
+  * debian/mozilla-firefox.1: (MH)
+    - Removed references to FIREFOX_OPEN_IN.
+    - Added the -safe-mode option.
+  * debian/mozilla-firefoxrc: Removed FIREFOX_OPEN_IN. (MH)
+  
+ -- Eric Dorland <eric@debian.org>  Tue,  2 Nov 2004 00:46:28 -0500
+
+mozilla-firefox (0.99+1.0RC1-2) unstable; urgency=medium
+
+  * browser/app/profile/firefox.js: Disable browser update checking by
+    default.
+  * debian/mozilla-firefox-runner: Apply patch from Aurelien Jarno to fix
+    variable name typo. (Closes: #278844)
+
+ -- Eric Dorland <eric@debian.org>  Fri, 29 Oct 2004 23:50:59 -0400
+
+mozilla-firefox (0.99+1.0RC1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * layout/xul/base/src/nsImageBoxFrame.{cpp,h}: Remove some conflicts
+    from a previous patch.
+
+ -- Eric Dorland <eric@debian.org>  Thu, 28 Oct 2004 23:33:46 -0400
+
+mozilla-firefox (0.10.1+1.0PR-5) unstable; urgency=low
+
+  * debian/rules: (MH)
+    - Use upstream extensions set. This will eventually get a
+      correct help menu and fix some yet undiscovered UI issues. 
+      (Closes: #257946)
+    - Added support for DEB_BUILD_OPTIONS=noopt.
+    - Changed OPTFLAGS assignment.
+    - Remove whitespace characters in version number for UserAgent
+      branding.
+    - Install mozilla-firefox-runner into /usr/lib/mozilla-firefox/firefox
+      (Closes: #278477)
+  * debian/mozilla-firefox.links: (MH)
+    - Link /usr/bin/firefox and /usr/bin/mozilla-firefox to 
+      /usr/lib/mozilla-firefox/firefox.
+    - Removed obsolete profile/US links.
+  * debian/mozilla-firefox.dirs: Create /etc/mozilla/profile instead of
+    /etc/mozilla/profile/US. (MH)
+  * toolkit/xre/nsAppRunner.cpp: Fix crash in nsCmdLineService::Initialize
+    when argc is changed by gtk (when treating gtk specific arguments)
+    (MH)
+  * debian/mozilla-firefox-runner (Changes by MH):
+    - Removed workaround for bug #122990. First, xmlterm is not an activated
+      extension, and secondly, if it still requires the TERM environment
+      variable, it is the user's duty to set it to whatever he wants, not
+      firefox's start script's.
+    - Removed the ulimit -c setting. First, it is set by default to 0 on a
+      newly installed debian, and secondly, it is user's choice to set it or
+      not if he needs to get core files.
+    - Removed unused shell variables.
+    - Removed unsetting AUDIODEV variable. If it still crashes, it does belong
+      to some other code than firefox. The AUDIODEV environment variable is
+      used nowhere in firefox code:
+      http://lxr.mozilla.org/aviarybranch/search?string=AUDIODEV
+      Note that there is a "A crash which occurred when AUDIODEV doesn't
+      contain "/" was fixed." log message in esound version 0.2.33 changes and
+      that the bug may have belonged there.
+    - Replaced ${HOME}/.mozilla-firefoxrc file by a ${HOME}/.mozilla/firefox/rc
+      file. The former is still supported, though, but will bring a warning
+      message. If both are present, only the latter is taken into account.
+    - Changed the way system and user FIREFOX_DSP and FIREFOX_OPEN_IN
+      variables are handled. First, use system values defined in
+      /etc/mozilla-firefox/mozilla-firefoxrc, then override with
+      ${HOME}/.mozilla/firefox/rc and then with runtime environment variables.
+    - Don't die when DISPLAY is not set. Display can be passed by --display
+      option, and if not set and needed (some options don't require it),
+      firefox will complain.
+    - Some shell code simplifications by using some coreutils.
+    - Added better command line parsing.
+    - Added verbosity mode.
+    - Removed setting of FONTCONFIG_PATH, /usr/lib/mozilla-firefox/res/Xft
+      doesn't exist
+    - Factorized localization detection.
+  * debian/mozilla-firefox.1 (MH):
+    - Made some clean-up between dashes and hyphens.
+    - Removed obsolete options and added new ones.
+    - Added informations about some debian specific stuff.
+  * debian/update-mozilla-firefox-chrome: Changed the way we move files to
+    /var/lib/mozilla-firefox. It will avoid creating files with a * in their
+    name whenever registration failed. (MH)
+  * debian/README.Debian: Update java instructions, tell them to just use
+    java-package.
+
+ -- Eric Dorland <eric@debian.org>  Thu, 28 Oct 2004 21:30:40 -0400
+
+mozilla-firefox (0.10.1+1.0PR-4) unstable; urgency=medium
+
+  * This release mostly courtesy Mike Hommey. 
+  * layout/src/xul/base/src/nsImageBoxFrame.*: Backported patch from
+    bz#255372. (Closes: #278046)
+  * toolkit/mozapps/extensions/src/nsExtensionManager.js.in: Force locking
+    globally installed extensions, that will prevent extensions packages
+    files to be unexpectedly removed by firefox.
+  * debian/control: Add Mike Hommey as an Uploader.
+  * debian/mozilla-firefox.install: Removed content-packs.jar which is
+    mozilla-browser specific.
+  * debian/mozilla-firefox.dirs: 
+    - Remove leading /'s.  
+    - Create
+    /usr/lib/mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+    /chrome directory so that preview is shown in the Themes Manager. Yes,
+    this is stupid, but it is the way firefox wants it (and it's not even
+    created by make install, nor in the official binary tarball. It is
+    only created at run time, but you know what ? under *nix, a normal
+    user can't create that directory) (Closes: #276404)
+  * debian/rules: Add a /etc/mozilla-firefox/pref/vendor.js file adding
+    the debian package version to the UserAgent. (Closes: #268654)
+  * debian/README.Debian: Update java instructions. I'd love some more
+    definitive pointers. (Closes: #277983)
+
+ -- Eric Dorland <eric@debian.org>  Tue, 26 Oct 2004 00:11:48 -0400
+
+mozilla-firefox (0.10.1+1.0PR-3) experimental; urgency=low
+
+  * debian/control: 
+    - Rename the mozilla-firefox-gnome-vfs package
+      mozilla-firefox-gnome-support since it does more than vfs. No 
+      need for Replaces or anything, since it never actually made it to 
+      the archive.
+    - Remove strict build dependencies on g++ and binutils, since the 
+      fixed versions have hit sarge.
+    - Remove hppa build depends, since gcc has also been fixed there.
+    - Build-depend on libgnome2-dev and libgconf2-dev to build in more 
+      gnome support.
+    - Have mozilla-firefox recommend it's gnome support. 
+  * debian/rules: 
+    - Remove hppa CC redefinitions.
+    - Exclude *gnome* not just *gnomevfs*.
+    - dh_install for gnome-support.
+  * debian/mozilla-firefox-gnome-vfs.*: Rename to
+    mozilla-firefox-gnome-support.*.
+  * debian/mozilla-firefox-gnome-support.install: Grab *gnome*, not just
+    *gnomevfs*.
+
+ -- Eric Dorland <eric@debian.org>  Thu, 21 Oct 2004 23:04:53 -0400
+
+mozilla-firefox (0.10.1+1.0PR-2) experimental; urgency=low
+
+  * debian/mozilla-firefox-runner: 
+    - Patch from Sam Morris to handle cleanup of directories with 
+      unusual names.
+    - Fix return value check, patch from rgselk. (Closes: #269690)
+  * debian/mozilla-firefox.1: List full path to firefox-bin. (Closes:
+    #275563)
+  * debian/rules: 
+    - --with-gssapi=/usr, enable Negotiate extension. (Closes:
+      #274258)
+    - Enable gnomevfs support, 
+  * debian/control: 
+    - Build-depend on libkrb5-dev.
+    - Build-depend on libgnomevfs2-dev.
+    - New gnomevfs package, based on work by Mike Hommey. (Closes: 
+      #262062)
+  * debian/mozilla-firefox-gnome-vfs.post{inst,rm}: Added, same as
+    corresponding files from mozilla-firefox-dom-inspector.
+  * debian/mozilla-firefox-gnome-vfs.install: Install gnomevfs components.
+  * browser/app/profile/firefox.js: Set
+    network.negotiate-auth.trusted-uris to https:// to enable the
+    negotiate extension over secure links.
+  * config/rules.mk: Tweak patch from Thiemo Seufer to include svg_doc in
+    non-optimization. (Closes: #273353)
+
+ -- Eric Dorland <eric@debian.org>  Sun, 17 Oct 2004 21:25:08 -0400
+
+mozilla-firefox (0.10.1+1.0PR-1) experimental; urgency=critical
+
+  * New upstream release, fixes security issue bz#259708. (Closes:
+    #274493)
+
+ -- Eric Dorland <eric@debian.org>  Sun,  3 Oct 2004 03:32:43 -0400
+
+mozilla-firefox (0.10+1.0PR-1) experimental; urgency=low
+
+  * New upstream release. (Closes: #273700, #267003)
+  * toolkit/mozapps/extensions/src/nsExtensionManager.js.in,
+    netwerk/dns/src/nsIDNService.cpp,
+    modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp,
+    gfx/src/windows/nsImageWin.cpp, gfx/src/shared/gfxImageFrame.cpp,
+    browser/app/profile/firefox.js: Resolve conflicts between my tree and
+    upstream.
+  * browser/app/Makefile.in: Fix $(DESTDIR) variable.
+  * accessible/src/atk/nsAccessibleWrap.cpp,
+    accessible/src/atk/nsAccessibleWrap.h: Apply patch from bugzilla for
+    alpha fix that's more likely to make it into CVS.
+  * debian/update-mozilla-firefox-chrome: Patch from Mike Hommey to make
+    update-mozilla-firefox-chrome more verbose on -v.
+  * debian/rules:
+    - Remove typeaheadfind for new find toolbar to work. (Mike Hommey) 
+      (Closes: #267170)
+    - Changes to reflect new upstream files. 
+  * debian/control: 
+    - Remove build-depend on libcairo-dev.
+    - Build depend on libxt-dev, seems to be necessary now. (Closes: 
+      #274311)
+  * debian/docs: Removed, as browser/README.html disappeared. (Mike Hommey)
+  * debian/mozilla-firefox.dirs: 
+    - Changes to reflect new upstream files.
+    - Removed obsolete libnullplugin.so.
+  * debian/mozilla-firefox.install: 
+     - Remove .jar's that aren't there anymore.
+     - Removed obsolete libnullplugin.so.
+  * debian/mozilla-firefox-dom-inspector.dirs,
+    debian/mozilla-firefox-dom-inspector.install, debian/rules: Upstream
+    doesn't consider DOM Inspector as a real extension, and do not provide
+    the appropriate files to make it appear in the extensions
+    manager. Removed all the extension related stuff in the package. (Mike
+    Hommey)
+  * other-licenses/libart_lgpl: Removed, was for SVG, no longer needed.
+  * modules/plugin/samples/default/unix/*: Reverted debian specific
+    changes, we don't want them in the diff since libnullplugin won't get
+    installed.
+
+ -- Eric Dorland <eric@debian.org>  Fri,  1 Oct 2004 18:50:46 -0400
+
+mozilla-firefox (0.9.3-6) unstable; urgency=high
+
+  * gfx/src/gtk/fontEncoding.properties: Uncomment symbol fonts. (Closes:
+    #272927)
+  * debian/control: Build-depend on binutils (>= 2.15-4) but only on mips
+    and mipsel. (Closes: #273353)
+  * configure.in, configure, rules.mk: Patch from Thiemo Seufer to
+    increase stability and performance on mips. (Closes: #272159)
+  * debian/mozilla-firefox-runner: Detect failure of ping()
+    better. (Closes: #267393)
+  * layout/html/document/src/html.css: Testing fix for xprint problems.
+
+ -- Eric Dorland <eric@debian.org>  Mon, 27 Sep 2004 17:07:37 -0400
+
+mozilla-firefox (0.9.3-5) unstable; urgency=high
+
+  * debian/update-mozilla-firefox-chrome: Apply another patch form Mike
+    Hommey to fix a few more issues in the script. (Closes: #271480)
+  * Fixes to Secunia security bugs, ported from bugzilla: 
+    (Closes: #271888)
+    - browser/base/content/browser.js, 
+      xpfe/communicator/resources/content/contentAreaDD.js: Fix for
+      drag and drop exploit, bz#250862.
+    - caps/include/nsScriptSecurityManager.h, caps/src/caps.properties,
+      caps/src/nsScriptSecurityManager.cpp: Fix for enablePrivilege
+      exploit, bz#253942.
+    - gfx/src/shared/gfxImageFrame.cpp, gfx/src/windows/nsImageWin.cpp,
+      modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp: Fix for various
+      overflows in the BMP code, bz#255067.
+    - netwerk/dns/src/nsIDNService.cpp: Fix for bug in non-ASCII 
+      characters in domain names, bz#256316
+    - content/xbl/src/nsXBLPrototypeHandler.cpp: Clipboard injection 
+      fix, bz#257523.
+
+ -- Eric Dorland <eric@debian.org>  Thu, 16 Sep 2004 20:06:47 -0400
+
+mozilla-firefox (0.9.3-4) unstable; urgency=high
+
+  * Urgency high, go into testing dammit!
+  * Apply patch from Mike Hommey as -3.1, which wasn't actually
+    released. See below. (Closes: #271480)
+  * debian/rules: Patch from Matthew Mueller to fix underquoted
+    argument. (Closes: #271432)
+  * debian/control: Build depend on binutils (>= 2.15-3) with fixed mips
+    support. We still need a fixed gcc.
+
+ -- Eric Dorland <eric@debian.org>  Mon, 13 Sep 2004 20:41:27 -0400
+
+mozilla-firefox (0.9.3-3.1) unstable; urgency=low
+
+  * debian/rules: removed
+    /usr/lib/mozilla-firefox/defaults/profile/extensions/installed-extensions.txt
+  * debian/update-mozilla-firefox-chrome:
+    + Added a "verbose" mode.
+    + Added warning messages (only shown in verbose mode) about some
+      extensions specific issues. This is intended to be useful for extensions
+      maintainers.
+    + Check if the installed-extensions.txt file disappears, which tells if the
+      mozilla-firefox -register went ok.
+  * debian/update-mozilla-firefox-chrome.8:
+    + Fixed typos.
+    + Added reference to the -v option for the verbose mode.
+  * debian/mozilla-firefox-runner: enhanced the profile directory check. It
+    didn't work if the path indicated in the profiles.ini was not absolute.
+
+ -- Mike Hommey <mh@glandium.org>  Mon, 13 Sep 2004 20:31:21 +0900
+
+mozilla-firefox (0.9.3-3) unstable; urgency=high
+
+  * Acknowlege NMU from Mike Hommey. He did a fantastic job in porting a
+    large amount of fixes from upstream CVS. I owe him several large
+    beverages of his choice. (Closes: #259046, #259836)
+  * Port all of Mike's changes to my local CVS.
+  * debian/mozilla-firefox-runner: 
+    - Pass command-line arguments to get_locale so they can actually 
+      be used. (Closes: #240058)
+    - Apply patch from Mike Hommey to use the profiles.ini to find the 
+      path to the profile to clean XUL.mfasl. (Closes: #267326)
+  * debian/update-mozilla-firefox-chrome: Patch from Mike Hommey to fix
+    some bashisms introduced by his NMU.
+  * xpcom/reflect/xptcall/src/md/unix/Makefile.in,
+    xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s,
+    xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp,
+    xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.m4,
+    xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s: Patch from
+    Thiemo Seufer to fix mips. This requires patches to gcc and binutils
+    to work and fully close #270621.
+
+ -- Eric Dorland <eric@debian.org>  Wed,  8 Sep 2004 21:13:35 -0400
+
+mozilla-firefox (0.9.3-2.2) unstable; urgency=high
+
+  * The "never edit the diff file unless you're sure nothing will be
+    missing" release.
+  * debian/mozilla-firefox.prerm: restore the uncut version.
+  * debian/control, debian/rules: Use gcc-3.2 to build on hppa, because of
+    toolchain bug #254549.
+
+ -- Mike Hommey <mh@glandium.org>  Mon, 23 Aug 2004 19:45:54 +0900
+
+mozilla-firefox (0.9.3-2.1) unstable; urgency=high
+
+  * Non Maintainer Upload for RC Fixes.
+  * Applied changes to toolkit/mozapps/extensions/src/nsExtensionManager.js.in
+    and toolkit/mozapps/extensions/locale/extensions.properties to solve some
+    issues with extensions management. (taken from CVS)
+  * Applied other changes to
+    toolkit/mozapps/extensions/src/nsExtensionManager.js.in,
+    toolkit/mozapps/extensions/public/nsIExtensionManager.idl and
+    mozilla/toolkit/xre/nsAppRunner.cpp to be able to use -register
+    instead of -list-global-items for extensions/components/chrome
+    registration through update-mozilla-firefox-chrome, thus not needing
+    Xvfb anymore (-register option doesn't require a X server).
+    (taken from CVS)
+  * Applied some more changes to
+    toolkit/mozapps/extensions/src/nsExtensionManager.js.in in order to
+    avoir overlayinfo deletion during extensions registration process.
+    (taken from CVS)
+  * Final changes to toolkit/mozapps/extensions/src/nsExtensionManager.js.in
+    to avoid registering out of date extensions so that firefox doesn't enter
+    a loop at startup when no profile was found, and to only write in the
+    installed-extensions-processed.txt file the list of actually installed
+    extensions. Note that for packaged extensions installing their files
+    directly into the chrome or components directories, that only means they
+    won't appear in the Extensions Manager. They will still be available in
+    the GUI.
+  * All these fixes improve the Extensions Manager. Closes: #259046.
+  * accessible/src/atk/nsAccessibleWrap.cpp,
+    accessible/src/atk/nsAccessibleWrap.h: fixed 32-bit abuse of gobject
+    (Steve Langasek). Closes: #259836.
+  * debian/control: Removed dependency upon xvfb.
+  * debian/update-mozilla-firefox-chrome:
+    + Removed use of Xvfb.
+    + Removed creation of a root default profile, but kept the fake home
+      hack to avoid creation of a .mozilla directory in root's home.
+    + Changed extensions handling so that the overall process is cleaner.
+      Extensions packages will have to move extensions {uid} directories
+      to /usr/lib/mozilla-firefox/extensions/, while the current location
+      is still supported for compatibility purpose (but is strongly not
+      recommended).
+    + Removed use of regxpcom and regchrome, since what they both do is
+      done by firefox-bin -register.
+  * debian/rules: force GnomeVFS support to be disabled. (Josselin Mouette)
+  * debian/README.Debian:
+    + Added a note about potential problems with packaged "old" extensions.
+    + Added a note about how to manually disable packaged extensions in user
+      profile.
+    + Removed some old notes that don't apply anymore.
+  * debian/mozilla-firefox-dom-inspector.install, debian/rules: Move
+    extensions files to /usr/lib/mozilla-firefox/extensions/ instead of
+    /usr/lib/mozilla-firefox/defaults/profile/extensions/.
+  * debian/mozilla-firefox.links: Move installed-extensions.txt symlink
+    from /usr/lib/mozilla-firefox/defaults/profile/extensions/ to
+    /usr/lib/mozilla-firefox/extensions/.
+  * debian/mozilla-firefox.prerm: More cleanup on removal of package.
+
+ -- Mike Hommey <mh@glandium.org>  Sun, 22 Aug 2004 21:43:47 +0900
+
+mozilla-firefox (0.9.3-2) unstable; urgency=low
+
+  * xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.m4: Comment out
+    NARGSAVE, like I did in 0.9.1-7, should fully fix #262571.
+  * debian/mozilla-firefox.preinst: Remove brace expansion
+    bashism. (Closes: #264200)
+  * debian/control: Depend on debianutils (>= 1.16) since we use mktemp
+    -d. (Closes: #263958)
+  * debian/mozilla-firefox-runner: Make -contentLocale COUNTRY, not
+    lang-COUNTRY. (Closes: #263940)
+
+ -- Eric Dorland <eric@debian.org>  Sun,  8 Aug 2004 23:41:02 -0400
+
+mozilla-firefox (0.9.3-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #263193)
+  * debian/update-mozilla-firefox-chrome.8: Add manpage from Mark Suter
+    for update-mozilla-firefox-chrome.8. (Closes: #263149)
+  * debian/mozilla-firefox.manpages: Add update-mozilla-firefox-chrome.8.
+  * debian/control: Add build-deps on gcc-3.4 for amd64. (Closes: #262679)
+
+ -- Eric Dorland <eric@debian.org>  Wed,  4 Aug 2004 20:21:22 -0400
+
+mozilla-firefox (0.9.1-7) unstable; urgency=low
+
+  * debian/mozilla-firefox-runner:
+    - Reintroduce check for command-line arguments (I broke this last 
+      release). (Closes: #262692, #262462, #262537, #262588, #262727)
+    - Allow overriding of -contentLocale and -UILocale. (Closes: 
+      #240058)
+  * xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s: Comment out
+    NARGSAVE reassignment, it is defined elsewhere. (Closes: #262571)
+  * debian/rules: Force amd64 to build with gcc 3.4. (Closes: #262679)
+
+ -- Eric Dorland <eric@debian.org>  Mon,  2 Aug 2004 10:16:46 -0400
+
+mozilla-firefox (0.9.1-6) unstable; urgency=low
+
+  * widget/src/gtk2/keysym2ucs.c: Patch from Eugeniy Meshcheryakov to
+    allow mozilla firefox to enter a ghe with upturn. (Closes: #261543)
+  * debian/mozilla-firefox-runner: 
+    - Remove some mail and composer cruft. 
+    - Add warning if DISPLAY is not set. (Closes: #261465)
+
+ -- Eric Dorland <eric@debian.org>  Thu, 29 Jul 2004 22:49:59 -0400
+
+mozilla-firefox (0.9.1-5) unstable; urgency=low
+
+  * debian/control: Goodbye mozilla-firebird transition package.
+  * debian/mozilla-firefox-runner: Add -a firefox flag when running
+    firefox-bin. (Closes: #259237)
+  * debian/mozilla-firefox.desktop: Add GenericName field.
+  * debian/update-mozilla-firefox-chrome: Fix quoting problem with
+    {*}. (Closes: #257243)
+  * debian/rules: 
+    - Re-enable postscript printing support, since the security 
+      issues turned out to be bogus. (Closes: #257628)
+    - Disable SVG support, it's still too broken to be usable. 
+      (Closes: #259544)
+
+ -- Eric Dorland <eric@debian.org>  Sun, 18 Jul 2004 20:09:14 -0400
+
+mozilla-firefox (0.9.1-4) unstable; urgency=low
+
+  * The "Let's try unstable" release. There are still issues, but there
+    are issues with 0.8 as well, so no more point in waiting.
+  * debian/update-mozilla-firefox-chrome:
+    - Copy over empty Extensions.rdf file on update. (Closes: #257243)
+    - Increase sleep to 15 seconds, hopefully this will work on most 
+      people's machines. 
+  * My apologies to Mike Hommey for mispelling his name in last release.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 11 Jul 2004 23:51:24 -0400
+
+mozilla-firefox (0.9.1-3) experimental; urgency=low
+
+  * Ok, I was wrong, we're still in experimental. I think we need to fix a
+    few more issues before getting this in unstable, like #257258, and
+    make sure the hacky extensions mechanism is more bullet-proof.
+  * debian/rules: --disable-installer, since we don't use it.
+  * debian/update-mozilla-firefox-chrome: 
+    - Wait 8 seconds instead of 5 for the hack, might help some 
+      people reporting problems.
+    - Remove ${LIBDIR}/extensions/{*}. I may move that to 
+      /var/lib/mozilla-firefox eventually, but let's leave it for now.
+  * debian/mozilla-firefox.png.uu: Make a nicer png icon, based on the
+    about box graphic.
+  * debian/mozilla-firefox.preinst: Remove old config files in
+    /etc/mozilla-firefox/pref. (Closes: #257711, 257557)
+  * browser/app/profile: firefox.js: Revert change to app.version,
+    apparently it breaks extensions. (Closes: #257941)
+
+ -- Eric Dorland <eric@debian.org>  Wed,  7 Jul 2004 21:26:55 -0400
+
+mozilla-firefox (0.9.1-2) experimental; urgency=low
+
+  * The "Mike Homey, lord of the bugs" release. Thanks to Mike for being a
+    huge help with bug triage. That's right, help with bugs and your name
+    could have a prestigious place in the changelog.
+  * I'd like my next release to be to unstable, so let me know about
+    profile transition bugs, etc.
+  * debian/control: Build-depend on libcairo1-dev. 
+  * debian/rules: Enable svg support using cairo renderer. (Closes:
+    #215990)
+  * debian/mozilla-firefox-xremote-client: Add -a firefox switch to make
+    the remote client find firefox only. Thanks Jonathan Black. (Closes:
+    #256967)
+  * debian/mozilla-firefox.desktop: Make comment Gnome HIG
+    compliant. (Closes: #257592)
+  * browser/app/profile/firefox.js: 
+    - app.version = 0.9.1.
+    - Disable app updates by default. We're debian, we handle updates.
+  * debian/update-mozilla-firefox-chrome: 
+    - Remove installed-extensions-processed.txt before regenerating. 
+      (Closes: #257243)
+    - Take some, but not all advice from Alexandru Fomin. Improve Xvfb 
+      and extension registration hacks. 
+
+ -- Eric Dorland <eric@debian.org>  Sun,  4 Jul 2004 16:58:17 -0400
+
+mozilla-firefox (0.9.1-1) experimental; urgency=low
+
+  * New upstream release.
+  * config/autoconf.mk.in: Alright, /usr/lib/firefox-0.9 was a bad idea,
+    use /usr/lib/mozilla-firefox. Change all the instances
+    /usr/lib/firefox-0.9 back to /usr/lib/mozilla-firefox. I feel
+    silly. (Closes: #256991)
+  * debian/mozilla-firefox-runner: Actually check for the existence of the
+    .mozilla/firefox directory before trying to clean it. 
+  * debian/update-mozilla-firefox-runner: 
+    - Call firefox-bin, not firefox you silly goose.  
+    - Use mozilla-firefox tempfile, not mozilla-browser.
+    - The horrible hackiness continues: For my previous hack to work, 
+      I need to preseed a profile directory in the home directory I
+      create. Now things should work. (Closes: #256812)
+
+ -- Eric Dorland <eric@debian.org>  Thu,  1 Jul 2004 17:16:29 -0400
+
+mozilla-firefox (0.9-1) experimental; urgency=low
+
+  * New upstream release. There may be regressions from 0.8. (Closes:
+    #254522)
+  * widget/src/gtk/nsGtkMozRemoteHelper.cpp,
+    widget/src/gtk2/nsGtkMozRemoteHelper.cpp,
+    widget/src/xremoteclient/XRemoteClient.cpp: Fix previously applied to
+    fix -remote behaviour undone. Mozilla now includes the program name in
+    the properties to distinguish between various Mozilla apps.
+  * xpcom/reflect/xptcall/src/md/unix/Makefile.in: remove extra endif.
+  * dom/public/idl/core/nsIDOMNSDocument.idl: Reintroduce referrer
+    attribute that got lost somehow.
+  * content/events/src/nsEventStateManager.cpp: Fix a strange broken
+    function call to GetContainer.
+  
+  * debian/rules: 
+    - Follow upstream and --enable-single-profile and 
+      --disable-profilesharing.
+    - Replace /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+    - --user-app-dir=.mozilla to jive with new location.
+    - Remove dom-inspector extension dir from the regular package. 
+  * debian/control: Depend on xvfb for insane hack below.
+  * debian/mozilla-firefox.install:
+    - Replace /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+    - Remove ipc dir, mozipcd.
+    - Add init.d, greprefs dirs.
+  * debian/mozilla-firefox.dirs:
+    - Add /var/lib/mozilla-firefox/extensions{,.d}
+  * debian/mozilla-firefox-dom-inspector.dirs: Add
+    /var/lib/mozilla-firefox/extensions.d.
+  * debian/mozilla-firefox-dom-inspector.install:
+    - Replace /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+    - Install dom-inspector extension dir.
+  * debian/mozilla-firefox.links:
+    - Replace /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+    - Link /usr/lib/mozilla-firefox to /usr/lib/firefox-0.9.
+    - Link installed-extensions.txt to our place in 
+      /var/lib/mozilla-firefox.
+  * debian/mozilla-firefox-runner: 
+    - Replace /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+    - Fix xprintorg typo. (Closes: #255706)
+    - Search .mozilla/firefox for XUL.mfasl files.
+  * debian/mozilla-firefox-xremote-client: Replace
+    /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+  * debian/update-mozilla-firefox-chrome: 
+    - Replace /usr/lib/mozilla-firefox with /usr/lib/firefox-0.9.
+    - Capture return values from reg* commands on error, stolen 
+      from mozilla source.
+    - Remove returns from check_running.
+    - Pull in snippets from /var/lib/mozilla-firefox/extensions.d 
+      to generate installed-extensions.txt for new extensions mechanism.  
+    - An insane hack, but necessary because of upstream: Launch a Xvfb 
+      to run firefox to generate the necessary extension metadata. I've
+      been told this will not be necessary in the next version. 
+
+ -- Eric Dorland <eric@debian.org>  Mon, 28 Jun 2004 23:40:59 -0400
+
+mozilla-firefox (0.8-12) unstable; urgency=low
+
+  * The "Last Chance Before 0.9" release.
+  * debian/mozilla-firefox-runner: Fix unescaped \n, thanks Olly
+    Betts. (Closes: #252436)
+  * debian/update-mozilla-firefox-chrome: Watch out for empty
+    LD_LIBRARY_PATH. Thanks George Cristian Birzan. (Closes: #254142)
+  * debian/README.Debian: Restructure and update a bit.
+  * debian/presubj: Add bug information from README.Debian for reportbug.
+  * debian/mozilla-firefox.install: Install the presubj. 
+
+ -- Eric Dorland <eric@debian.org>  Mon, 14 Jun 2004 19:39:27 -0400
+
+mozilla-firefox (0.8-11) unstable; urgency=low
+
+  * Apply amd64 fix from #249211. 
+  * debian/README.Debian: Shamelessly stole the java plugin installation
+    instructions from the mozilla package. (Closes: #243513)
+  * nsCommonWidget.cpp, nsCommonWidget.h, nsWindow.cpp: Apply patch (with
+    some hand massaging) from upstream bugzilla bug #209342 to fix initial
+    window placement. (Closes: #235209, 241519)
+  * nsprpub/pr/src/misc/prnetdb.c: Apply patch from Miquel van Smoorenburg
+    to prevent unless reverse DNS lookups. (Closes: #251978)
+  * debian/mozilla-firefox-runner: Apply patch from Jasper Spaans to fix
+    remote xprint printing. (Closes: #252072)
+
+ -- Eric Dorland <eric@debian.org>  Tue,  1 Jun 2004 23:12:36 -0400
+
+mozilla-firefox (0.8-10) unstable; urgency=low
+
+  * debian/mozilla-firefox.install: Don't install uuencoded file. (Closes:
+    #251441)
+  * debian/mozilla-firefox-runner: unset AUDIODEV which can cause
+    crashes. Thanks Christopher Armstrong. (Closes: #236231)
+  * update-mozilla-firefox-chrome: Port security fix from #249613 to
+    handle insecure tempfile creation.
+  * debian/rules: Following the advice of #247585 I'm disabling postscript
+    printing. Perhaps this will alleviate some of the other printing
+    problems.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 30 May 2004 01:47:52 -0400
+
+mozilla-firefox (0.8-9) unstable; urgency=low
+
+  * debian/control: 
+    - Suggest latex-xft-fonts for MathML fonts. Thanks Michael 
+      JasonSmith. (Closes: #216925)
+    - Build depend on libx11-dev & libxp-dev instead of xlibs-dev to 
+      reflect new X packages.
+  * widget/src/gtk2/nsWindow.cpp: Apply patch from Peter Colberg to ignore
+    unused mouse buttons. (Closes: #244305)
+  * debian/README.Debian: Document the fact that the loopback interface
+    has to be up and unfiltered for things to work right.
+
+ -- Eric Dorland <eric@debian.org>  Wed,  5 May 2004 23:30:42 -0400
+
+mozilla-firefox (0.8-8) unstable; urgency=low
+
+  * security/nss/lib/freebl/unix_rand.c: Remove code that called netstat
+    to gain so entropy. It's pretty useless on a Linux system. Thanks
+    Wichert. (Closes: #241200)
+  * debian/README.Debian: Add note about changing the button order in the
+    dialog boxes. (Closes: #240261)
+  * debian/control: Add dummy package for mozilla-firebird to smooth
+    upgrades. (Closes: #235577)
+
+ -- Eric Dorland <eric@debian.org>  Sat,  3 Apr 2004 16:19:34 -0500
+
+mozilla-firefox (0.8-7) unstable; urgency=low
+
+  * debian/mozilla-firefox-runner: 
+    - Cleanup XUL.mfasl whenever firefox is run with no 
+      command-line. (Closes: #238717)
+    - Add patch from Laurent Buffler to add config to allow 
+      new tabs to be opened instead of new windows. (Closes: #239323)
+  * debian/mozilla-firefoxrc: Put the new FIREFOX_OPEN_IN variable in
+    there and document it's use.
+
+ -- Eric Dorland <eric@debian.org>  Sat, 27 Mar 2004 17:21:51 -0500
+
+mozilla-firefox (0.8-6) unstable; urgency=low
+
+  * debian/control: Build-depend on g++-3.3 (>= 3.3.3-4) to work around
+    broken 3.3.3-3 release. (Closes: #238318, #238241, #238441, #238523,
+    #238534)
+  * debian/rules: Install new small-firefox icon. 
+  * debian/mozilla-firefox{.png, .xpm, -small.xpm}: Use the new DFSG-free
+    icons, the old pretty ones are trademarked and not DSFG-free. I know,
+    it's stupid. Complain to the Mozilla Foundation, not me. (Closes:
+    #234869)
+
+ -- Eric Dorland <eric@debian.org>  Sun, 21 Mar 2004 22:09:16 -0500
+
+mozilla-firefox (0.8-5) unstable; urgency=low
+
+  * Rebuild with g++-3.3 3.3.3-2 to work around broken g++. (Closes:
+    #238318)
+
+ -- Eric Dorland <eric@debian.org>  Wed, 17 Mar 2004 21:38:58 -0500
+
+mozilla-firefox (0.8-4) unstable; urgency=low
+
+  * debian/README.Debian: 
+    - Tell people not to remove their ~/.firefox directory. Just move it
+      out of the way. (Closes: #235594)
+    - Add notes about the sound dsp. (Closes: #236678)
+  * debian/mozilla-firefox-runner: 
+    - Don't redirect stderr. (Closes: #236160)
+    - Add get_locale code from Aurelien Jarno (Closes: #235521)
+    - Fix dsp auto-detection code. (Closes: #236678)
+  * debian/rules: Add default locale file.
+  * debian/mozilla-firefox.dirs: Add locales dir. 
+
+  * browser/app/profile/all.js,
+    content/events/src/nsEventStateManager.cpp,
+    modules/libpref/src/init/all.js, widget/public/nsGUIEvent.h,
+    widget/src/gtk/nsWidget.cpp: Reapply extended mouse events patch from
+    Derek Upham. (Closes: #235385, #230876)
+  * browser/base/content/browser-sets.inc: Make ESC stop animations
+    again. (Closes: #235474)
+
+ -- Eric Dorland <eric@debian.org>  Tue, 16 Mar 2004 00:31:19 -0500
+
+mozilla-firefox (0.8-3) unstable; urgency=low
+
+  * debian/mozilla.firefox.menu: Change the case of
+    mozilla-Firefox. (Closes: #234982, #234755)
+  * debian/NEWS.Debian: Move to debian/mozilla-firefox.NEWS so that it
+    actually gets installed. (Closes: #234700)
+  * debian/update-mozilla-firefox-chrome: Setup dummy home directory to
+    capture silly .firefox directory. (Closes: #234855)
+  * debian/mozilla-firefox.png.uu, debian/mozilla-firefox.xpm: Use the
+    new, pretty mozilla-firefox icons. (Closes: #234869)
+  * debian/rules: Install the pretty icon in the right places. 
+
+ -- Eric Dorland <eric@debian.org>  Thu, 26 Feb 2004 21:10:27 -0500
+
+mozilla-firefox (0.8-2) unstable; urgency=low
+
+  * The "what he taketh, he giveth back" release.
+  * debian/rules:
+    - Disable the wallet extension, this really closes #222447.
+    - Remove some more cruft left over from the patch system.
+    - Reinstall the dom-inspector.
+  * debian/control: Add the dom-inspector back, now that it is supported
+    upstream.
+  * debian/mozilla-firefox-dom-inspector.{install,dirs,postinst,postrm}:
+    Bring these files back.
+  * docshell/base/nsWebShell.cpp: Only do keyword lookup on when DNS
+    entries don't exist. (Closes: #233916, #218033, #211524)
+
+ -- Eric Dorland <eric@debian.org>  Mon, 23 Feb 2004 21:48:03 -0500
+
+mozilla-firefox (0.8-1) unstable; urgency=low
+  
+  * The "Let's Change Our Name Every Other Day" release.
+  * New upstream release, mozilla-firebird has been renamed to
+    mozilla-firefox. Let's hope it lasts. (Closes: #231903, #222447)
+  * debian/mozilla-firebird.*: Renamed to debian/mozilla-firefox.*.
+
+  * debian/README.Debian: Update for firefox, remove blurb about the
+    inspector.
+  * debian/NEWS.Debian: Explain how to move your configs over. I may make
+    this automatic if enough people complain, but I'm loathe to muck
+    around in pople's home directories.
+
+  * debian/control:
+    - Rename the package.
+    - Tweak description to list Firefox's previous aliases.
+    - Remove conflicts on mozilla-firebird-dom-inspector.
+
+  * debian/rules: 
+    - s/firebird/firefox/g, s/MozillaFirebird/firebird/g.
+    - Comment out some old inspector code. 
+    - Remove unused patch subsystem.
+    - Disable gtktest. We don't need no stinking tests.
+    - Remove disable plaintext editor line, not sure why it's there.
+    - Disable LDAP support. We don't use it.
+    - Remove executable bit on *.so files.
+    - Remove useless preference files.
+    - Exclude the inspector files.
+    - Don't remove installed-chrome, we don't install it anymore.
+    - user-app-dir = .firefox. (Closes: #212301)
+    - export MOZILLA_OFFICIAL for the build ID. (Closes: #231133)
+
+  * debian/mozilla-firefox-runner: 
+    - s/firebird/firefox/g.
+    - Remove composer and editor functions.
+    - Use .firefox directory.
+
+  * debian/mozilla-firefox.install: 
+    - s/firebird/firefox/g, s/MozillaFirebird/firefox/g.
+    - Don't install timebombgen.
+    - Install icons directory.
+    - Don't install installed-chrome.txt, we just remove it anyway. 
+
+  * debian/mozilla-firefox.desktop, debian/mozilla-firefox.dirs,
+    debian/mozilla-firefox.manpages, debian/mozilla-firefox.links,
+    debian/mozilla-firefox.menu, debian/mozilla-firefox.mime,
+    debian/mozilla-firefoxrc, debian/mozilla-firefox.postinst,
+    debian/mozilla-firefox.prerm, debian/update-mozilla-firefox-chrome,
+    debian/mozilla-firefox.1, debian/mozilla-firefox-xremote-client:
+    s/firebird/firefox/g, s/MozillaFirebird/firefox/g.
+
+  * debian/mozilla-firefox.links: Link mozilla-firefox.1 to firefox.1.
+  
+  * debian/mozilla-firefox.preinst: Remove, at least with the rename I can
+    erase some of my previous blunders.
+
+  * debian/mozilla-firefox.{png.uu,xpm}: Use the package icon.
+
+  * browser/app/nsBrowserApp.cpp: Change package name to Firefox, so now
+    the ~/.firefox is used. (Closes: #196550)
+
+  * browser/app/profile/all.js: Merge in autoscroll fixes.
+  * browser/base/content/browser-sets.inc: Merge in upstream stop button
+    fix.
+  * modules/plugin/samples/default/unix/nullplugin.c: Merge in removal of
+    commented code.
+  * nsprpub/pr/include/md/_linux.cfg, nsprpub/pr/include/md/_linux.h,
+    security/coreconf/Linux.mk: Merge in hppa build fixes from upstream.
+  * config/autoconf.mk.in: Install into /usr/lib/mozilla-firefox now.
+  * content/base/src/nsDocumentViewer.cpp: Remove redundant stop patch
+    since it has been merged upstream.
+  * content/events/src/nsEventStateManager.cpp,
+    modules/libpref/src/init/all.js, widget/src/gtk/nsWidget.cpp: Revert
+    back to upstream version. There was a patch here to add support for
+    extended mouse buttons, but I'm removing it since I don't trust that
+    it works in the new version correctly. Send me another patch if you
+    want this functionality back.
+  * toolkit/components/passwordmgr/base/nsPasswordManager.cpp: Revert this
+    back to upstream, I'm not sure which patches I applied to this file,
+    likely something to try and fix the double password prompt.
+  * widget/src/xremoteclient/XRemoteClient.cpp,
+    widget/src/xremoteclient/XRemoteClient.h: Revert to upstream version,
+    I believe it does the right thing now, but the patch I used does not
+    apppear to have been used. Restore the properties to _FIREFOX_*
+    though.
+  * widget/src/gtk/nsGtkMozRemoteHelper.cpp,
+    widget/src/gtk2/nsGtkMozRemoteHelper.cpp: Change the _FIREBIRD_* to
+    _FIREFOX_* here as well.
+  * content/base/src/nsDocument.cpp: Comment out nsDocument::GetDomConfig,
+    needed to get things to compile.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 15 Feb 2004 21:28:45 -0500
+
+mozilla-firebird (0.7-7) unstable; urgency=low
+
+  * debian/mozilla-firebird-runner: Open a new window when loading a
+    regular file. (Closes: #228853)
+
+ -- Eric Dorland <eric@debian.org>  Thu, 29 Jan 2004 22:12:30 -0500
+
+mozilla-firebird (0.7-6) unstable; urgency=medium
+
+  * The "Indian-giver-christmas" release.
+  * Urgency medium since we're closing some critical bugs that need to get
+    in before a freeze.
+  * Completely remove mozilla-firebird-dom-browser. No one stepped up to
+    help fix it's brokeness in 0.7 and I don't use it or particularly care
+    about it. So it is no more. If someone steps up to take responsibility
+    I might put it back, but otherwise it may RIP. (Closes: #222085)
+  * debian/mozilla-firebird-runner: Remove XUL.mfasl uncoditionally
+    now. There is a corner case where this file is corrupted on upgrade
+    when firebird was running. This is a total hack, and not an elegant
+    solution, but at least it fixes the problem. (Closes: #224779,
+    #224323)
+  * debian/control: Conflict against old mozilla-firebird-dom-inspector
+    since it doesn't work anymore.
+
+ -- Eric Dorland <eric@debian.org>  Thu, 25 Dec 2003 15:54:21 -0500
+
+mozilla-firebird (0.7-5) unstable; urgency=low
+
+  * browser/base/content/browser-sets.inc: Patch to make ESC stop actually
+    work. (Closes: #223382)
+  * debian/rules: Turn down optimizations on sparc. (Closes: #223760)
+
+ -- Eric Dorland <eric@debian.org>  Sun, 14 Dec 2003 23:01:59 -0500
+
+mozilla-firebird (0.7-4) unstable; urgency=low
+
+  * The "All of Takuo's hard work really pays off" release.
+  * toolkit/components/passwordmgr/base/nsPasswordManager.cpp: Patch from
+    upstream bugzilla (#220214) to fix double password prompt
+    problem. (Closes: #222696)
+  * xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.m4: Stolen
+    patch from mozilla package to make mozilla-firebird build on
+    mips. (Closes: #222743)
+  * content/base/src/nsDocumentViewer.cpp: Port yet another patch to allow
+    the ESC key to stop animated gifs. (Closes: #223382)
+
+ -- Eric Dorland <eric@debian.org>  Mon,  8 Dec 2003 23:59:16 -0500
+
+mozilla-firebird (0.7-3) unstable; urgency=low
+
+  * debian/control: Add dependency on psmisc since we use fuser. Thanks
+    Daniel Schröter.
+  * widget/src/xremoteclient/XRemoteClient.{cpp,h}: Apply patch from
+    bugzilla to fix -remote behaviour on modern WMs. Thanks Nikolai
+    Prokoschenko. (Closes: #197632)
+  * nsprpub/pr/src/misc/prdtoa.c: Apply fix from mozilla package (#215067)
+    to fix building on arm. This is a partial fix to #222743.
+  * debian/patches: Remove these. Put everything in CVS.
+
+ -- Eric Dorland <eric@debian.org>  Fri,  5 Dec 2003 20:03:46 -0500
+
+mozilla-firebird (0.7-2) unstable; urgency=low
+
+  * Apply excellent patch from Alexander Sack <asac@jwsdot.com> to fix the
+    issues with mozilla running and firebird not starting. (Closes:
+    #216264)
+  * browser/app/profile/all.js: Set the default of "general.autoScroll" to
+    false because it annoyes me. (Closes: #221661)
+
+ -- Eric Dorland <eric@debian.org>  Wed, 19 Nov 2003 20:59:55 -0500
+
+mozilla-firebird (0.7-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #216019)
+  * debian/patches/dom-inspector.diff: Remove, and apply directly into my
+    CVS.
+  * debian/patches/pref.diff: Removed, doesn't seem applicable anymore.
+  * debian/rules: export MOZ_FIREBIRD=1.
+  * debian/control: 
+    - Change Chimera to Camino. (Closes: #220821)
+    - Fix typos in descriptions. (Closes: #218202)
+    - Add build-deps on m4. (Closes: #219681)
+
+ -- Eric Dorland <eric@debian.org>  Wed, 12 Nov 2003 23:01:35 -0500
+
+mozilla-firebird (0.6.1-8) unstable; urgency=low
+
+  * Apply patch to make forward and back buttons work on mice. (Closes:
+    #211606)
+  * debian/rules: Use -O optimization on alpha, so it will build
+    again. (Closes: #213603)
+  
+ -- Eric Dorland <eric@debian.org>  Fri,  3 Oct 2003 00:07:44 -0400
+
+mozilla-firebird (0.6.1-7) unstable; urgency=low
+
+  * Rebuild with the latest and greatest from unstable. This seems to fix
+    the problems with bookmarks people were having, at least for me. No
+    idea why. Please reopen if this doesn't fix it for you. (Closes:
+    #209339, #211706, #211286, #211146, #212011) 
+
+ -- Eric Dorland <eric@debian.org>  Mon, 22 Sep 2003 00:00:08 -0400
+
+mozilla-firebird (0.6.1-6) unstable; urgency=low
+
+  * Patch from Eric Wong <normalperson@yhbt.net> to make plugin requests
+    less annoying. (Closes: #196609)
+  * debian/rules: Stop building libart.
+  * debian/mozilla-firebird.links: Fix path to bookmarks file. (Partial
+    fix to #211286)
+
+ -- Eric Dorland <eric@debian.org>  Wed, 17 Sep 2003 20:22:56 -0400
+
+mozilla-firebird (0.6.1-5) unstable; urgency=low
+
+  * The "sorry Chris Gray" release.
+  * debian/rules: disable SVG. This was causing drag and drop to lock up
+    X and possibly fixes #208630. (Closes: #209371)
+  * debian/mozilla-firebird-runner: Remove XUL.mfasl if we have upgraded,
+    since it can cause problems. (Closes: #200073, #202130, #207351)
+
+ -- Eric Dorland <eric@debian.org>  Sat, 13 Sep 2003 20:15:37 -0400
+
+mozilla-firebird (0.6.1-4) unstable; urgency=low
+
+  * The "pleasing Chris Gray" release.
+  * other-licenses/libart_gpl: Add this library for svg.
+  * debian/rules: 
+    - Enable svg.
+    - Move bookmarks.html file into /etc. (Closes: #207398)
+  * debian/mozilla-firebird.links: Add links back to files moved to /etc.
+  * security/coreconf/Linux2.6.mk: Add this as a copy of Linux2.5.mk to
+    get mozilla-firebird to build on 2.6. (Closes: #207821)
+
+ -- Eric Dorland <eric@debian.org>  Sun, 31 Aug 2003 04:40:30 -0400
+
+mozilla-firebird (0.6.1-3) unstable; urgency=low
+
+  * debian/mozilla-firebird.prerm: Remove mozilla alternative on
+    remove. (Closes: #205310)
+  * debian/debsearch.{gif.uu,src}: Debian search plugin graciously
+    contributed by Fergus McKenzie-Kay <Linux@NerdIT.com>.
+  * debian/rules: 
+    - uudecode and clean up debsearch.gif.uu.
+    - Steal platform specific optimization code from mozilla 
+      package. Thanks Brian Nelson. (Closes: #206309) 
+  * debian/mozilla-firebird.install: Install the above files. 
+  * debian/control: Update Standards-Version to 3.6.1.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 24 Aug 2003 19:09:11 -0400
+
+mozilla-firebird (0.6.1-2) unstable; urgency=low
+
+  * The "Stop Pestering Me Already!" release.
+  * debian/control: Only recommend xprt-xprintorg, don't require
+    it. (Closes: #204176)
+
+ -- Eric Dorland <eric@debian.org>  Sun, 10 Aug 2003 20:00:11 -0400
+
+mozilla-firebird (0.6.1-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #203518, #201203)
+  * debian/control:
+    - Standards-Version to 3.6.0.
+    - Don't provide www-browser anymore. (Closes: #201035)
+    - Depend on xprt-xprintorg so printing will work. (Closes: #202418)
+  * debian/mozilla-firebird.preinst: Remove www-browser alternative.
+  * debian/mozilla-firebird.postinst: Don't install www-browser alternative.
+  * debian/mozilla-firebird.prerm: Don't remove www-browser alternative
+    anymore.
+  * debian/README.Debian: Added note about configuration breaking on
+    upgrade. (Closes: #202130)
+  * debian/patches/classic.diff: Removed. Not sure what it's point was.
+  * debian/rules: Add --disable-pedantic to the configure options.
+
+ -- Eric Dorland <eric@debian.org>  Sun,  3 Aug 2003 14:58:12 -0400
+
+mozilla-firebird (0.6-8) unstable; urgency=low
+
+  * debian/patches/alpha-build-fix.diff: Steal patch from mozilla to allow
+    building on alpha. (Closes: #198638)
+  * debian/patches/hppa-build-fix.diff: Steal patch from mozilla to allow
+    building on hppa, clean it up so it applies cleanly. (Closes: #199068)
+  * debian/mozilla-firebird.png.uu: Added uuencoded nice png icon.
+  * debian/rules: Add code to decode and clean up the new icon file.
+  * debian/mozilla-firebird.install: Install new icon.
+  * debian/mozilla-firebird.desktop: Use the new icon.
+
+ -- Eric Dorland <eric@debian.org>  Fri, 27 Jun 2003 23:21:56 -0400
+
+mozilla-firebird (0.6-7) unstable; urgency=low
+
+  * debian/mozilla-firebird.1: Stole the mozilla manpage for my own
+    nefarious purposes. (Closes: #196638)
+  * debian/mozilla-firebird.postrm: Add slave links to the
+    mozilla-firebird manpage. (Closes: #197145)
+  * debian/mozilla-firebird-xremote-client: Set up the environment
+    properly so it returns correct information. (Closes: #197632)
+  * debian/mozilla-firebird.xpm: Added icon from
+    http://iconpacks.mozdev.org/phoenix/iconshots/flame48true.png to have
+    a nice menu icon. (Closes: #197565)
+  * Updated the README.Debian with some helpful bug reporting tips.
+  * debian/rules: Replaced dh_installmanpages with dh_installman.
+
+ -- Eric Dorland <eric@debian.org>  Sun, 22 Jun 2003 15:15:37 -0400
+
+mozilla-firebird (0.6-6) unstable; urgency=low
+
+  * debian/mozilla-firebird.postinst: Add priority 0 alternative on
+    mozilla. (Closes: #196444)
+  * debian/control: Add build-depends on libxrender-dev, libmng-dev,
+    libpng12-dev, libjpeg62-dev.
+  * debian/rules: 
+    - Build with system jpeg, mng and png libs.
+    - Exclude inspector files from mozilla-firebird. 
+      (Closes: #196432, #196509)
+
+ -- Eric Dorland <eric@debian.org>  Sat,  7 Jun 2003 15:19:23 -0400
+
+mozilla-firebird (0.6-5) unstable; urgency=low
+
+  * The "Mike Hommey is my homey" release.
+  * Thanks to Mike Hommey <mh@glandium.org> for his excellent work on this
+    version (it's 99% his), which I've shamelessly stolen.
+  * Added a README.Debian file.
+  * Added a separate mozilla-firebird-dom-inspector package.
+  * debian/patches/dom-inspector.diff:
+    - add DOM Inspector to Tools menu. (note: DOM Inspector is still
+      not very well integrated with Firebird)
+    - remove modern skin references.
+  * debian/patches/xpinstall.diff: remove unneeded chrome registrations
+    from xpinstall/packager/unix/browser.jst.
+  * debian/patches/classic.diff: remove
+    themes/classic/global/win/preview.gif from jar file and modify
+    preview image reference in rdf file to Preview.png.
+  * debian/patches/pref.diff: remove preview image constraints in
+    browser/components/prefwindow/skin/pref.css file to avoid deformation
+    of preview image in classic theme.
+  * debian/mozilla-firebird.preinst: added #DEBHELPER#.
+  * debian/mozilla-firebird.install:
+    - Don't install the modern.jar and embed-sample.jar files.
+    - Remove files related to dom-inspector.
+  * debian/rules:
+    - enabling xinerama support.
+    - disabling build of chatzilla and venkman.
+    - moved /var/lib/mozilla-firebird/chrome.d/99default to
+      /var/lib/mozilla-firebird/chrome.d/00all
+    - remove references to embed-sample.jar in
+      /var/lib/mozilla-firebird/chrome.d/00all
+    - Add some comments.
+    - Change == to =, for more strict /bin/sh's.
+  * debian/control: Build-Depend on libidl-dev (>= 0.8.0) because the
+    configure script requires at least this version.
+  * debian/copyright: Make this a real debian copyright file. 
+  
+ -- Eric Dorland <eric@debian.org>  Thu,  5 Jun 2003 01:00:32 -0400
+
+mozilla-firebird (0.6-4) unstable; urgency=low
+
+  * debian/rules: Change -O2 to -O for building on powerpc.
+  * debian/mozilla-firebird.preinst: Delete
+    /usr/lib/mozilla-firebird/defaults/pref on upgrade to facilitate
+    transition to prefs in /etc. Thanks to all who reported this.
+
+ -- Eric Dorland <eric@debian.org>  Tue, 27 May 2003 21:45:06 -0400
+
+mozilla-firebird (0.6-3) unstable; urgency=low
+
+  * First attempt at a debian upload. (Closes: #163270)
+  * debian/rules:
+    + Small fix to Mike Hommey's chrome patch.
+    + Suggestion from Bernhard R. Link to install
+      /usr/lib/mozilla-firebird/defaults/pref to 
+      /etc/mozilla-firebird/pref
+    + Add dh_installmime call.
+  * debian/mozilla-firebird.mime: Install mime type handlers for firebird.
+  * debian/mozilla-firebird.links: Link
+    /usr/lib/mozilla-firebird/defaults/pref to /etc/mozilla-firebird/pref
+  * debian/mozilla-firebird.install: Don't install the inspector.jar.
+
+ -- Eric Dorland <eric@debian.org>  Mon, 26 May 2003 00:28:40 -0400
+
+mozilla-firebird (0.6-2) unstable; urgency=low
+
+  * debian/rules:
+    + Add --with-user-appdir=.mozilla-firebird, since it still 
+      defaults to .phoenix.
+    + Don't use the ${prefix} variable, use /usr, since ${prefix} 
+      doesn't seem to work.
+    + Use --without-system-nspr.
+  * debian/mozilla-firebird.install:
+    + Be picky about what chrome files we install, since there's 
+      quite a few we don't need, and a bunch of empty dirs.
+  * Excellent patch from Mike Hommey <mh@glandium.org> to add a
+    update-mozilla-firebird-chrome script.
+  
+ -- Eric Dorland <eric@debian.org>  Sat, 24 May 2003 13:00:44 -0400
+
+mozilla-firebird (0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Renamed to mozilla-firebird.
+  * Changed phoenix to mozilla-firebird where appropriate.
+  * debian/mozilla-firebird.links: Add link mozilla-firebird to
+    MozillaFirebird.
+  * debian/control:
+    + Standars-Version to 3.5.10.0.
+    + Build-depend on gtk2 libs now.
+    + Build-depend on libidl-dev.
+    + Add Provides x-www-browser.
+  * debian/rules:
+    + Enable building with the gtk2 libs.
+    + Make mozilla-firebird-xremote-client executable in install target.
+  * debian/mozilla-firebird.desktop: Added gnome menu entry.
+  * debian/mozilla-firebird.{prerm,postinst}: Add alternatives to
+    www-browser and x-www-browser.
+
+ -- Eric Dorland <eric@debian.org>  Mon, 19 May 2003 20:43:39 -0400
+
+phoenix (0.5-4) unstable; urgency=low
+
+  * debian/control: Depend on fontconfig.
+  * debian/rules: Add source-tarball-from-cvs to build a orig tarball from
+    a checked out cvs tree. Now I can provide source package. And there
+    was much rejoicing.
+
+ -- Eric Dorland <eric@debian.org>  Fri, 17 Jan 2003 21:06:47 -0500
+
+phoenix (0.5-3) unstable; urgency=low
+
+  * debian/phoenix-xremote-client: Added to send remote commands to
+    phoenix. Just a wrapper that calls phoenix-bin -remote.
+  * debian/phoenix-runner: 
+    + Use phoenix-xremote-client.
+    + Replace MOZILLA_DSP with PHOENIX_DSP.
+  * debian/phoenixrc: phoenix-runner uses this file to determine what dsp
+    to start.
+  * debian/phoenix.install: 
+    + Install phoenix-xremote-client, and don't install
+	  mozilla-xremote-client.
+    + Install phoenixrc.
+
+ -- Eric Dorland <eric@debian.org>  Mon, 23 Dec 2002 02:52:21 -0500
+
+phoenix (0.5-2) unstable; urgency=low
+
+  * debian/control: 
+    + Add Provides: www-browser.
+    + Build-depend on libxft2-dev, libnspr-dev.
+  * debian/rules:
+    + Use xft and the system nspr.
+    + Install phoenix-runner.
+  * debian/phoenix-runner: Stolen from the mozilla package to run phoenix.
+
+ -- Eric Dorland <eric@debian.org>  Sat, 21 Dec 2002 02:03:11 -0500
+
+phoenix (0.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/phoenix.install: Fix paths to phoenix libs.
+  * debian/control: 
+    + Standards-Version to 3.5.8
+    + Improve build-deps.
+  * debian/rules: 
+    + Have configure options here, no more .mozconfig.
+    + Steal some patch code from Colin.
+  * debian/patches/mozappdir.diff: Change the mozappdir.
+  
+ -- Eric Dorland <eric@debian.org>  Mon,  9 Dec 2002 02:43:13 -0500
+
+phoenix (0.4-3) unstable; urgency=low
+
+  * debian/phoenix.menu: Add menu entry.
+  * Rebuild to fix libstdc++ dependency.
+  * .mozonfig: Disable more tests.
+
+ -- Eric Dorland <eric@debian.org>  Wed, 20 Nov 2002 19:13:18 -0500
+
+phoenix (0.4-2) unstable; urgency=low
+
+  * debian/control:
+    + Add build-depends.
+    + Fix section and description.
+  * .mozconfig:
+    + Use system zlib.
+
+ -- Eric Dorland <eric@debian.org>  Wed, 13 Nov 2002 19:03:52 -0500
+
+phoenix (0.4-1) unstable; urgency=low
+
+  * Initial release.
+  
+ -- Eric Dorland <eric@debian.org>  Mon, 11 Nov 2002 23:09:41 -0500
--- mozilla-firefox-1.0.orig/debian/compat
+++ mozilla-firefox-1.0/debian/compat
@@ -0,0 +1 @@
+4
--- mozilla-firefox-1.0.orig/debian/control
+++ mozilla-firefox-1.0/debian/control
@@ -0,0 +1,27 @@
+Source: mozilla-firefox
+Section: web
+Priority: optional
+Maintainer: Eric Dorland <eric@debian.org>
+Uploaders: Mike Hommey <mh@glandium.org>
+Build-Depends: debhelper (>= 4.0), libgtk2.0-dev, zlib1g-dev, liborbit2-dev, libidl-dev (>= 0.7.4), zip, libpng2-dev, libmng-dev, libjpeg62-dev, libkrb5-dev, patch, sharutils, m4, gcc-3.4 [amd64], g++-3.4 [amd64]
+Standards-Version: 3.6.1
+
+Package: mozilla-firefox
+Architecture: any
+Depends: psmisc, debianutils (>= 1.16), ${shlibs:Depends}
+Suggests: mozilla-firefox-gnome-support (= ${Source-Version}), latex-xft-fonts, xprt-xprintorg
+Provides: www-browser
+Description: lightweight web browser based on Mozilla
+ Firefox is a redesign of the Mozilla browser component, similar to
+ Galeon, K-Meleon and Camino, but written using the XUL user interface
+ language and designed to be lightweight and cross-platform.
+ .
+ This browser was previously known as Firebird and Phoenix.
+
+Package: mozilla-firefox-dom-inspector
+Architecture: any
+Depends: ${shlibs:Depends}, mozilla-firefox (= ${Source-Version})
+Description: tool for inspecting the DOM of pages in Mozilla Firefox
+ This is a tool that allows you to inspect the DOM for web pages in
+ Mozilla Firefox.  This is of great use to people who are doing
+ Mozilla chrome development or web page development.
--- mozilla-firefox-1.0.orig/debian/copyright
+++ mozilla-firefox-1.0/debian/copyright
@@ -0,0 +1,576 @@
+This package was debianized by Eric Dorland <eric@debian.org> on
+Thu, 05 Jun 2003 01:01:22 -0400
+
+It was downloaded from http://www.mozilla.org/projects/firebird
+
+Upstream Authors: Mozilla Project
+
+Copyright:
+
+                          MOZILLA PUBLIC LICENSE
+                                Version 1.1
+
+                              ---------------
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     Software distributed under the License is distributed on an "AS IS"
+     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+     License for the specific language governing rights and limitations
+     under the License.
+
+     The Original Code is ______________________________________.
+
+     The Initial Developer of the Original Code is ________________________.
+     Portions created by ______________________ are Copyright (C) ______
+     _______________________. All Rights Reserved.
+
+     Contributor(s): ______________________________________.
+
+     Alternatively, the contents of this file may be used under the terms
+     of the _____ license (the  "[___] License"), in which case the
+     provisions of [______] License are applicable instead of those
+     above.  If you wish to allow use of your version of this file only
+     under the terms of the [____] License and not to allow others to use
+     your version of this file under the MPL, indicate your decision by
+     deleting  the provisions above and replace  them with the notice and
+     other provisions required by the [___] License.  If you do not delete
+     the provisions above, a recipient may use your version of this file
+     under either the MPL or the [___] License."
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+
+     ----------------------------------------------------------------------
+
+     AMENDMENTS
+
+     The Netscape Public License Version 1.1 ("NPL") consists of the
+     Mozilla Public License Version 1.1 with the following Amendments,
+     including Exhibit A-Netscape Public License.  Files identified with
+     "Exhibit A-Netscape Public License" are governed by the Netscape
+     Public License Version 1.1.
+
+     Additional Terms applicable to the Netscape Public License.
+          I. Effect.
+          These additional terms described in this Netscape Public
+          License -- Amendments shall apply to the Mozilla Communicator
+          client code and to all Covered Code under this License.
+
+          II. "Netscape's Branded Code" means Covered Code that Netscape
+          distributes and/or permits others to distribute under one or more
+          trademark(s) which are controlled by Netscape but which are not
+          licensed for use under this License.
+
+          III. Netscape and logo.
+          This License does not grant any rights to use the trademarks
+          "Netscape", the "Netscape N and horizon" logo or the "Netscape
+          lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
+          "Smart Browsing" even if such marks are included in the Original
+          Code or Modifications.
+
+          IV. Inability to Comply Due to Contractual Obligation.
+          Prior to licensing the Original Code under this License, Netscape
+          has licensed third party code for use in Netscape's Branded Code.
+          To the extent that Netscape is limited contractually from making
+          such third party code available under this License, Netscape may
+          choose to reintegrate such code into Covered Code without being
+          required to distribute such code in Source Code form, even if
+          such code would otherwise be considered "Modifications" under
+          this License.
+
+          V. Use of Modifications and Covered Code by Initial Developer.
+               V.1. In General.
+               The obligations of Section 3 apply to Netscape, except to
+               the extent specified in this Amendment, Section V.2 and V.3.
+
+               V.2. Other Products.
+               Netscape may include Covered Code in products other than the
+               Netscape's Branded Code which are released by Netscape
+               during the two (2) years following the release date of the
+               Original Code, without such additional products becoming
+               subject to the terms of this License, and may license such
+               additional products on different terms from those contained
+               in this License.
+
+               V.3. Alternative Licensing.
+               Netscape may license the Source Code of Netscape's Branded
+               Code, including Modifications incorporated therein, without
+               such Netscape Branded Code becoming subject to the terms of
+               this License, and may license such Netscape Branded Code on
+               different terms from those contained in this License.
+
+          VI. Litigation.
+          Notwithstanding the limitations of Section 11 above, the
+          provisions regarding litigation in Section 11(a), (b) and (c) of
+          the License shall apply to all disputes relating to this License.
+
+     EXHIBIT A-Netscape Public License.
+
+          "The contents of this file are subject to the Netscape Public
+          License Version 1.1 (the "License"); you may not use this file
+          except in compliance with the License. You may obtain a copy of
+          the License at http://www.mozilla.org/NPL/
+
+          Software distributed under the License is distributed on an "AS
+          IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+          implied. See the License for the specific language governing
+          rights and limitations under the License.
+
+          The Original Code is Mozilla Communicator client code, released
+          March 31, 1998.
+
+          The Initial Developer of the Original Code is Netscape
+          Communications Corporation. Portions created by Netscape are
+          Copyright (C) 1998-1999 Netscape Communications Corporation. All
+          Rights Reserved.
+
+          Contributor(s): ______________________________________.
+
+          Alternatively, the contents of this file may be used under the
+          terms of the _____ license (the "[___] License"), in which case
+          the provisions of [______] License are applicable  instead of
+          those above.  If you wish to allow use of your version of this
+          file only under the terms of the [____] License and not to allow
+          others to use your version of this file under the NPL, indicate
+          your decision by deleting  the provisions above and replace  them
+          with the notice and other provisions required by the [___]
+          License.  If you do not delete the provisions above, a recipient
+          may use your version of this file under either the NPL or the
+          [___] License."
--- mozilla-firefox-1.0.orig/debian/debsearch.gif.uu
+++ mozilla-firefox-1.0/debian/debsearch.gif.uu
@@ -0,0 +1,12 @@
+begin 644 debsearch.gif
+M1TE&.#EA$``0`*4``/___^^_S]!(<,``0,@80-`H8-A@@.>OO\@04-]_G]!`
+M<-A8@."(H.>?K\`(0._'S\@@4/??W^_/W\@00-^'G]AH@/?G[^^_O_??[^^O
+MO]`P8-!`8.^OK]!0@-`X<,@84-A@<,@X4-AHD.^GO]A0@.>/K_?/W_______
+M____________________________________________________________
+M_________________________________R'^%4-R96%T960@=VET:"!4:&4@
+M1TE-4``L`````!``$`!`!GA`@%`8$`P(!<-A*+P@A@<#@`.P>"Q#R80R9%02
+M#T"`(&&22LQT>C%@I`,#P?#B&$J'&(`#*U0DF!8C?&I")%R$:48("8Q&"FD-
+M#F%J!A`11`.756X`FI)"&1I#&WQ4#QU,'T,1("$)(@N#0@^/B(0*D[9I)B(9
+$A$$`.P``
+`
+end
--- mozilla-firefox-1.0.orig/debian/debsearch.src
+++ mozilla-firefox-1.0/debian/debsearch.src
@@ -0,0 +1,26 @@
+# Mozilla Firebird plugin file
+#
+# Debian package lookup
+# by Fergus McKenzie-Kay copying code 
+# by Spencer Wysinger <http://wysinger.com/>
+#
+# Last updated: August 12, 2003
+
+<search 
+	name="Deb Search"
+	description="Perform a search for Debian packages"
+	action="http://packages.debian.org/cgi-bin/search_packages.pl"
+	searchForm="http://packages.debian.org/"
+	queryEncoding="utf-8"
+	queryCharset="utf-8"
+	method="GET"
+>
+
+<input name="searchon" value="names">
+<input name="subword" value="1">
+<input name="version" value="all">
+<input name="release" value="all">
+<input name="keywords" user="">
+<input name="sourceid" value="mozilla-search">
+
+</search>
--- mozilla-firefox-1.0.orig/debian/firefox.js
+++ mozilla-firefox-1.0/debian/firefox.js
@@ -0,0 +1,18 @@
+// This is the Debian specific preferences file for Mozilla Firefox
+// You can make any change in here, it is the purpose of this file.
+// You can, with this file and all files present in the
+// /etc/mozilla-firefox/pref directory, override any preference that is
+// present in /usr/lib/mozilla-firefox/defaults/pref directory.
+// While your changes will be kept on upgrade if you modify files in
+// /etc/mozilla-firefox/pref, please note that they won't be kept if you
+// do them in /usr/lib/mozilla-firefox/defaults/pref.
+
+pref("extensions.update.enabled", true);
+pref("extensions.update.autoUpdateEnabled", false);
+pref("extensions.update.autoUpdate", false);
+
+// Use LANG environment variable to choose locale
+pref("intl.locale.matchOS", true);
+
+// Disable default browser checking.
+pref("browser.shell.checkDefaultBrowser", false);
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-dom-inspector.install
+++ mozilla-firefox-1.0/debian/mozilla-firefox-dom-inspector.install
@@ -0,0 +1,9 @@
+debian/tmp/usr/lib/mozilla-firefox/components/libinspector.so usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/components
+debian/tmp/usr/lib/mozilla-firefox/components/inspector.xpt usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/components
+debian/tmp/usr/lib/mozilla-firefox/chrome/inspector.jar usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/chrome
+debian/tmp/usr/lib/mozilla-firefox/res/inspector/viewer-registry.rdf usr/lib/mozilla-firefox/res/inspector
+debian/tmp/usr/lib/mozilla-firefox/res/inspector/search-registry.rdf usr/lib/mozilla-firefox/res/inspector
+debian/inspector/install.rdf usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}
+debian/inspector/Uninstall usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/uninstall
+debian/inspector/00dom-inspector var/lib/mozilla-firefox/extensions.d
+debian/tmp/usr/lib/mozilla-firefox/defaults/pref/inspector.js usr/lib/mozilla-firefox/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/defaults/preferences
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-dom-inspector.postinst
+++ mozilla-firefox-1.0/debian/mozilla-firefox-dom-inspector.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+ 
+if [ "$1" = "configure" ] ; then
+    update-mozilla-firefox-chrome
+fi
+ 
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-dom-inspector.postrm
+++ mozilla-firefox-1.0/debian/mozilla-firefox-dom-inspector.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+ 
+case "$1" in
+    abort-install|purge|remove)
+        update-mozilla-firefox-chrome
+        ;;
+    *)
+        ;;
+esac
+ 
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-dom-inspector.preinst
+++ mozilla-firefox-1.0/debian/mozilla-firefox-dom-inspector.preinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+if [ "$1" = "upgrade" ]; then
+    # Remove old conf files 
+    if dpkg --compare-versions "$2" lt 1.0-2; then
+      rm -f /etc/mozilla-firefox/pref/inspector.js
+    fi
+fi
+
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-gnome-support.install
+++ mozilla-firefox-1.0/debian/mozilla-firefox-gnome-support.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/mozilla-firefox/components/*gnome* usr/lib/mozilla-firefox/components
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-gnome-support.postinst
+++ mozilla-firefox-1.0/debian/mozilla-firefox-gnome-support.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+ 
+if [ "$1" = "configure" ] ; then
+    update-mozilla-firefox-chrome
+fi
+ 
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-gnome-support.postrm
+++ mozilla-firefox-1.0/debian/mozilla-firefox-gnome-support.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+ 
+case "$1" in
+    abort-install|purge|remove)
+        update-mozilla-firefox-chrome
+        ;;
+    *)
+        ;;
+esac
+ 
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-runner
+++ mozilla-firefox-1.0/debian/mozilla-firefox-runner
@@ -0,0 +1,381 @@
+#!/bin/sh
+#
+# The contents of this file are subject to the Netscape Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/NPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Netscape
+# Communications Corporation.  Portions created by Netscape are
+# Copyright (C) 1998 Netscape Communications Corporation. All
+# Rights Reserved.
+#
+# Contributor(s): 
+#
+
+##
+## For silly people running firefox through sudo
+##
+if [ "${SUDO_USER}" ] && [ "${SUDO_USER}" != "${USER}" ]; then
+    SUDO_HOME=`getent passwd ${SUDO_USER} | cut -f6 -d:`
+    if [ "${SUDO_HOME}" = "${HOME}" ]; then
+        echo "You should really not run firefox through sudo WITHOUT the -H option." >&2
+        echo "Anyway, I'll do as if you did use the -H option." >&2
+        HOME=`getent passwd ${USER} | cut -f6 -d:`
+        if [ -z "${HOME}" ]; then
+            echo "Could not find the correct home directory. Please use the -H option of sudo." >&2.
+        fi
+    fi
+fi
+
+##
+## Variables
+##
+MOZ_DIST_BIN="/usr/lib/mozilla-firefox"
+MOZ_PROGRAM="/usr/lib/mozilla-firefox/firefox-bin"
+
+##
+## Load system and user properties
+##
+
+RUNTIME_FIREFOX_DSP="${FIREFOX_DSP}"
+
+if [ -f /etc/mozilla-firefox/mozilla-firefoxrc ]; then
+    . /etc/mozilla-firefox/mozilla-firefoxrc
+fi
+
+if [ -f "${HOME}/.mozilla/firefox/rc" ]; then
+    . "${HOME}/.mozilla/firefox/rc"
+elif [ -f "${HOME}/.mozilla-firefoxrc" ]; then
+    . "${HOME}/.mozilla-firefoxrc"
+    echo "Warning: a .mozilla-firefoxrc file has been found in your home directory" >&2
+    echo "While it is still supported, it is recommended to move it to" >&2
+    echo "\${HOME}/.mozilla/firefox/rc" >&2
+fi
+
+if [ "${RUNTIME_FIREFOX_DSP}" ]; then
+    FIREFOX_DSP="${RUNTIME_FIREFOX_DSP}"
+fi
+
+if [ -z "${FIREFOX_DSP}" ]; then
+    FIREFOX_DSP="auto"
+fi
+
+##
+## find /dev/dsp handler
+##
+
+if [ "${FIREFOX_DSP}" = "auto" ]; then
+    FIREFOX_DSP=
+    P=`fuser /dev/dsp /dev/sound/dsp /dev/snd/pcm* /dev/audio 2>/dev/null | sed -e 's#[^0-9 ]##g' `
+    if [ -n "$P" ]; then
+        if echo $P | xargs ps --no-headers -o user,command -p | grep "^${USER} *.*esd" >/dev/null 2>&1; then 
+            FIREFOX_DSP=esddsp 
+        elif echo $P | xargs ps --no-headers -o user,command -p | grep "^${USER} *.*arts" >/dev/null 2>&1; then 
+            FIREFOX_DSP=artsdsp 
+        fi
+    fi
+elif [ "${FIREFOX_DSP}" = "none" ]; then
+    FIREFOX_DSP=
+fi
+
+##
+## Set MOZILLA_FIVE_HOME
+##
+MOZILLA_FIVE_HOME="/usr/lib/mozilla-firefox"
+
+export MOZILLA_FIVE_HOME
+
+##
+## Set LD_LIBRARY_PATH
+##
+EXTENT_LD_LIB_PATH=/usr/lib/mozilla-firefox:/usr/lib/mozilla-firefox/plugins:/usr/lib/mozilla/plugins:/usr/lib
+if [ "${LD_LIBRARY_PATH}" ]; then
+    LD_LIBRARY_PATH=${EXTENT_LD_LIB_PATH}:${LD_LIBRARY_PATH}
+else
+    LD_LIBRARY_PATH=${EXTENT_LD_LIB_PATH}
+fi
+
+export LD_LIBRARY_PATH
+
+# Set XPSERVERLIST if not set yet for XPrint support, or complain.
+
+#if [ -z "${XPSERVERLIST}" ]; then
+#    if [ -x /etc/init.d/xprint ]; then
+#        XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`
+#        export XPSERVERLIST
+#    else
+#        echo -e "Warning: \${XPSERVERLIST} not set and /etc/init.d/xprint not found;\nprinting will not work.\nPlease install the xprt-xprintorg package" >&2
+#    fi  
+#fi
+
+verbose () {
+    if [ "${VERBOSE}" ]; then
+        echo $@
+    fi
+}
+
+echo_vars () {
+    if [ "${VERBOSE}" ]; then
+      for var in "$@"; do
+          echo "$var=`eval echo \\${$var}`"
+      done
+    fi
+}
+    
+# exec wrapper for verbosity
+exec_verbose () {
+    verbose Running: $@
+    exec $@
+}
+
+# exec wrapper for verbosity
+run_verbose () {
+    verbose Running: $@
+    $@
+}
+
+# Figure out if we need to ser LD_ASSUME_KERNEL for older versions of the JVM.
+set_jvm_vars () {
+
+    if [ ! -L /usr/lib/mozilla/plugins/libjavaplugin_oji.so ]; then
+        return;
+    fi
+
+    JVM_LINK=`readlink /usr/lib/mozilla/plugins/libjavaplugin_oji.so`
+
+    # is it relative?  if so append the full path
+
+    echo "${JVM_LINK}" | grep -e "^/" 2>&1 > /dev/null
+
+    if [ "$?" -ne 0 ]; then
+        JVM_LINK="/usr/lib/mozilla/plugins/${JVM_LINK}"
+    fi
+
+    JVM_BASE=`basename "${JVM_LINK}"`
+    JVM_DIR=`dirname "${JVM_LINK}"`
+    JVM_COMMAND="${JVM_DIR}/java"
+    if [ ! -r "${JVM_COMMAND}" ]; then
+        JVM_DIR="${JVM_DIR}/../../../bin/"
+        JVM_COMMAND="${JVM_DIR}/java"
+        # does the command exist?
+        if [ ! -r "${JVM_COMMAND}" ]; then
+            return
+        fi
+    fi
+
+    # export this temporarily - it seems to work with old and new
+    # versions of the JVM.
+    export LD_ASSUME_KERNEL=2.2.5
+
+    # get the version
+    JVM_VERSION=`${JVM_COMMAND} -version 2>&1 | grep version | cut -f 3 -d " " | sed -e 's/\"//g'`
+
+    unset LD_ASSUME_KERNEL
+
+    case "${JVM_VERSION}" in
+        (1.3.0*)
+        # bad JVM
+        export LD_ASSUME_KERNEL=2.2.5
+        ;;
+    esac
+
+    echo_vars JVM_DIR JVM_VERSION
+}
+
+clean_profile()
+{
+# Clean up the XUL.mfasl unconditionally on launch, since we have the
+# corner case of when firefox is running when upgraded. Need a
+# better solution or upstream fix.
+# Clean up the compatibility.ini as well, since we have a corner case of when
+# some components register protocols. Need a better solution or upstream fix.
+    if [ -f "${HOME}/.mozilla/firefox/profiles.ini" ]; then
+        sed -e '/Path=/! d' -e 's,Path=/,/,' -e "s,Path=,${HOME}/.mozilla/firefox/," "${HOME}/.mozilla/firefox/profiles.ini" \
+        | while read dir
+            do
+            rm -f "${dir}/XUL.mfasl"
+	    if [ "${dir}/compreg.dat" -ot "/usr/lib/mozilla-firefox/components.ini" ]; then
+	        rm -f "${dir}/compatibility.ini"
+	    fi
+        done
+    fi
+}
+
+# OK, here's where all the real work gets done
+
+# parse command line
+APPLICATION_ID=firefox
+REMOTE=0
+TRY_USE_EXIST=0
+VERBOSE=
+DEBUG=0
+DEBUGGER=
+first=1
+opt=
+for arg in "$@"; do
+    if [ ${first} -eq 1 ]; then
+        set dummy
+        first=0
+    fi
+
+    case "${arg}" in
+        -a | --display | -contentLocale | -UILocale | -remote | --debugger | -height | -width | -chrome | -P)
+            prev=${arg}
+            continue
+        ;;
+    esac
+    
+    if [ "${prev}" ]; then
+        case "${prev}" in
+            -a)
+                APPLICATION_ID="${arg}"
+                ;;
+            --display)
+                CMDLINE_DISPLAY="${arg}"
+                set "$@" --display "${arg}"
+                ;;
+            -remote)
+                REMOTE=1
+                set "$@" -remote "${arg}"
+                ;;
+            --debugger)
+                DEBUGGER="${arg}"
+                DEBUG=1
+                ;;
+            *)
+                set "$@" "${prev}" "${arg}"
+                ;;
+        esac
+        prev=
+    elif [ "${arg}" ]; then
+        case "$arg" in
+            --verbose | -V)
+                VERBOSE=1
+                ;;
+            --display=*)
+                CMDLINE_DISPLAY=`echo ${arg} | sed 's/^--display=//'`
+                set "$@" "${arg}"
+                ;;
+            -g | -debug)
+                DEBUG=1
+                ;;
+            -*)
+                set "$@" "${arg}"
+                ;;
+            *)
+                if [ -z "${opt}" ]; then
+                    opt="${arg}"
+                    # check to make sure that the url contains at least a :/ in it.
+                    echo ${opt} | grep -e ':/' 2>/dev/null > /dev/null
+                    RETURN_VAL=$?
+                    if [ "${RETURN_VAL}" -eq 1 ]; then
+                    # if it doesn't begin with a '/' and it exists when the pwd is
+                    # prepended to it then append the full path
+                        echo ${opt} | grep -e '^/' 2>/dev/null > /dev/null
+                        if [ "$?" -ne "0" ] && [ -e "`pwd`/${opt}" ]; then
+                            opt="`pwd`/${opt}"
+                        fi
+		        # Replace all spaces by %20 and prepend file:// if it is a valid file
+			if [ -e "${opt}" ]; then
+		          opt="file://`echo ${opt} | sed 's/ /%20/g'`"
+			fi
+                    fi
+                    set "$@" "${opt}"
+                else
+                    set "$@" "${arg}"
+                fi
+                ;;
+        esac
+    fi
+done
+
+if [ $# -ne 0 ]; then
+    shift
+fi
+OPTIONS="$@"
+
+if [ ${DEBUG} -eq 1 ]; then
+    if [ "${DEBUGGER}" = "" ]; then
+        DEBUGGER=gdb
+    fi
+    TMPFILE=`mktemp -t firefox_argsXXXXXX`
+    echo set args -a ${APPLICATION_ID} "$@" > ${TMPFILE}
+    case "${DEBUGGER}" in
+        gdb)
+            run_verbose gdb "${MOZ_PROGRAM}" -x ${TMPFILE}
+            ;;
+        ddd)
+            run_verbose ddd --debugger "gdb -x ${TMPFILE}" "${MOZ_PROGRAM}"
+            ;;
+        *)
+            run_verbose ${DEBUGGER} "${MOZ_PROGRAM}" "$@"
+            ;;
+    esac
+    rm ${TMPFILE}
+    exit
+fi
+
+if [ $# -eq 1 ] && [ "$1" = "${opt}" ]; then
+    TRY_USE_EXIST=1
+fi
+
+MOZ_PROGRAM="${MOZ_PROGRAM} -a ${APPLICATION_ID}"
+
+echo_vars FIREFOX_DSP APPLICATION_ID CMDLINE_DISPLAY DISPLAY REMOTE \
+          TRY_USE_EXIST OPTIONS DEBUG DEBUGGER
+
+# set our JVM vars
+set_jvm_vars
+
+PING_STATUS=1
+
+# No need to check if DISPLAY is not set, it will fail. But let's continue,
+# so that firefox gives the display error message itself.
+if [ "${DISPLAY}" ] || [ "${CMDLINE_DISPLAY}" ]; then
+    if [ -z "${CMDLINE_DISPLAY}" ]; then
+        CMDLINE_DISPLAY="${DISPLAY}"
+    fi
+    
+    # check to see if there's an already running instance or not
+    verbose "Running: ${MOZ_PROGRAM} -remote 'ping()'"
+    DISPLAY="${CMDLINE_DISPLAY}" ${MOZ_PROGRAM} -remote 'ping()' \
+        > /dev/null 2>&1
+    PING_STATUS=$?
+fi
+
+echo_vars PING_STATUS
+
+# Clean user profile if we are not trying to use the running instance and only
+# if the check was successful (status 2)
+if [ "${REMOTE}" -eq 0 ] && [ "${TRY_USE_EXIST}" -eq 0 ] && [ "${PING_STATUS}" -eq 2 ]; then
+    verbose "Cleaning user profile"
+    clean_profile
+fi
+
+# If there is no command line argument at all then try to open a new
+# window in an already running instance.
+if [ "${PING_STATUS}" -eq 0 ] && [ $# -eq 0 ]; then
+    exec_verbose ${MOZ_PROGRAM} -remote "xfeDoCommand(openBrowser)"
+fi
+
+# If we are trying to use existing instance, and it exists, and we're not having
+# a -remote command line argument, then open in window or tab accordingly.
+if [ "${REMOTE}" -eq 0 ] && [ "${TRY_USE_EXIST}" -eq 1 ] && [ "${PING_STATUS}" -eq 0 ]; then
+    # just pass it off if it looks like a url
+    exec_verbose ${MOZ_PROGRAM} -remote "openURL(${opt})"
+fi
+
+if type "${FIREFOX_DSP}" > /dev/null 2>&1; then
+    # echo "Using $FIREFOX_DSP."
+    MOZ_PROGRAM="${FIREFOX_DSP} ${MOZ_PROGRAM}"
+fi
+
+exec_verbose ${MOZ_PROGRAM} "$@"
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-small.xpm
+++ mozilla-firefox-1.0/debian/mozilla-firefox-small.xpm
@@ -0,0 +1,156 @@
+/* XPM */
+static char * mozicon16_xpm[] = {
+"16 16 137 2",
+"  	c None",
+". 	c #388BBF",
+"+ 	c #59ADD6",
+"@ 	c #68CEEF",
+"# 	c #62CCEE",
+"$ 	c #45AAD7",
+"% 	c #3578AF",
+"& 	c #4A93C3",
+"* 	c #5EA9D2",
+"= 	c #72D1EF",
+"- 	c #6DCCEC",
+"; 	c #4B9FCE",
+"> 	c #3483BA",
+", 	c #1E67A5",
+"' 	c #1B6BA5",
+") 	c #2F7AB0",
+"! 	c #48B9E0",
+"~ 	c #5CC2E5",
+"{ 	c #6ED0EE",
+"] 	c #6FC9E9",
+"^ 	c #4994C5",
+"/ 	c #3783B9",
+"( 	c #1E5D9D",
+"_ 	c #1463A1",
+": 	c #028DC4",
+"< 	c #128DC3",
+"[ 	c #27ABD7",
+"} 	c #3CB8E0",
+"| 	c #4EC0E5",
+"1 	c #5BC3E6",
+"2 	c #50A2CE",
+"3 	c #3B7EB5",
+"4 	c #3C93C4",
+"5 	c #2164A1",
+"6 	c #145A9A",
+"7 	c #0E8FC4",
+"8 	c #007EBA",
+"9 	c #0694C8",
+"0 	c #1896C7",
+"a 	c #2B99C9",
+"b 	c #3CB7DE",
+"c 	c #48B9DF",
+"d 	c #3E95C5",
+"e 	c #2E71AB",
+"f 	c #399DCA",
+"g 	c #34A9D4",
+"h 	c #2387BE",
+"i 	c #1388C0",
+"j 	c #0059A1",
+"k 	c #005C9E",
+"l 	c #00498B",
+"m 	c #095897",
+"n 	c #1869A3",
+"o 	c #289CCA",
+"p 	c #34B1DA",
+"q 	c #3BB3DB",
+"r 	c #3BB3DA",
+"s 	c #35AFD7",
+"t 	c #2BA2CF",
+"u 	c #1E6AA2",
+"v 	c #106AA7",
+"w 	c #0258A0",
+"x 	c #00357F",
+"y 	c #002D71",
+"z 	c #003175",
+"A 	c #013A7E",
+"B 	c #084889",
+"C 	c #1577AF",
+"D 	c #1FA1CF",
+"E 	c #26A3D1",
+"F 	c #28A2CF",
+"G 	c #269ACA",
+"H 	c #2088BE",
+"I 	c #174784",
+"J 	c #0B1F5F",
+"K 	c #012568",
+"L 	c #00206A",
+"M 	c #00185A",
+"N 	c #001F62",
+"O 	c #002569",
+"P 	c #002C70",
+"Q 	c #0567A7",
+"R 	c #0D81BB",
+"S 	c #1485BD",
+"T 	c #1883BC",
+"U 	c #177DB7",
+"V 	c #144A88",
+"W 	c #0C1D5C",
+"X 	c #030B47",
+"Y 	c #00023B",
+"Z 	c #00207A",
+"` 	c #002072",
+" .	c #00236B",
+"..	c #001556",
+"+.	c #001B5E",
+"@.	c #003D81",
+"#.	c #01599E",
+"$.	c #04559E",
+"%.	c #0761A6",
+"&.	c #085499",
+"*.	c #061958",
+"=.	c #020843",
+"-.	c #000137",
+";.	c #001C79",
+">.	c #00155D",
+",.	c #000945",
+"'.	c #000B49",
+").	c #000E4C",
+"!.	c #002367",
+"~.	c #002A6F",
+"{.	c #003E8B",
+"].	c #003787",
+"^.	c #00175C",
+"/.	c #000035",
+"(.	c #000030",
+"_.	c #000E67",
+":.	c #00043B",
+"<.	c #000339",
+"[.	c #00043C",
+"}.	c #00053E",
+"|.	c #00063F",
+"1.	c #000E4F",
+"2.	c #00247E",
+"3.	c #00166A",
+"4.	c #00002E",
+"5.	c #00014F",
+"6.	c #000029",
+"7.	c #00012F",
+"8.	c #000953",
+"9.	c #000E6E",
+"0.	c #000A6C",
+"a.	c #000563",
+"b.	c #00002F",
+"c.	c #00001D",
+"d.	c #000025",
+"e.	c #000040",
+"f.	c #000033",
+"                                ",
+"          . + @ # $             ",
+"        % & * = - ; > ,         ",
+"      ' ) ! ~ { ] ^ / ( _       ",
+"    : < [ } | 1 2 3 4 5 6 7     ",
+"    8 9 0 a b c d e f g h i     ",
+"  j k l m n o p q r s t u v w   ",
+"  x y z A B C D E F G H I J K   ",
+"  L M N O P Q R S T U V W X Y   ",
+"  Z `  ...+.@.#.$.%.&.*.=.-.    ",
+"    ;.>.,.'.).!.~.{.].^./.(.    ",
+"      _.:.<.[.}.|.1.2.3.4.      ",
+"      5.6.(.4.7.8.9.0.a.        ",
+"          b.b.c.d.e.f.          ",
+"                                ",
+"                                "};
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox-xremote-client
+++ mozilla-firefox-1.0/debian/mozilla-firefox-xremote-client
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+##
+## Set MOZILLA_FIVE_HOME
+##
+MOZILLA_FIVE_HOME="/usr/lib/mozilla-firefox"
+
+export MOZILLA_FIVE_HOME
+
+##
+## Set LD_LIBRARY_PATH
+##
+if [ "$LD_LIBRARY_PATH" ]
+then
+  LD_LIBRARY_PATH=/usr/lib/mozilla-firefox:/usr/lib/mozilla-firefox/plugins:/usr/lib/mozilla/plugins:/usr/lib:$LD_LIBRARY_PATH
+else
+  LD_LIBRARY_PATH=/usr/lib/mozilla-firefox:/usr/lib/mozilla-firefox/plugins:/usr/lib/mozilla/plugins:/usr/lib
+fi
+ export LD_LIBRARY_PATH
+
+/usr/lib/mozilla-firefox/firefox-bin -a firefox -remote "$1"
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.1
+++ mozilla-firefox-1.0/debian/mozilla-firefox.1
@@ -0,0 +1,145 @@
+.TH MOZILLA\-FIREFOX 1 "November 4, 2004" mozilla\-firefox "Linux User's Manual"
+.SH NAME
+mozilla\-firefox - a Web browser for X11 derived from the Mozilla browser
+
+.SH SYNOPSIS
+.B mozilla\-firefox
+[\fIOPTIONS\fR] [\fIURL\fR]
+
+.B /usr/lib/mozilla\-firefox/firefox\-bin
+[\fIOPTIONS\fR] [\fIURL\fR]
+
+.SH DESCRIPTION
+\fBMozilla Firefox\fR is an open-source web browser, designed for
+standards compliance, performance and portability.
+
+.SH USAGE
+\fBmozilla\-firefox\fR is a simple shell script that will set up the
+environment for the actual executable, \fBfirefox\-bin\fR.
+
+.SH OPTIONS
+A summary of the options supported by \fBmozilla\-firefox\fR is included below.
+
+.SS "GTK options"
+\fB\-\-gdk\-debug=\fR\fIFLAGS\fR
+Gdk debugging flags to set
+.TP
+\fB\-\-gdk\-no\-debug=\fR\fIFLAGS\fR
+Gdk debugging flags to unset
+.TP
+\fB\-\-gtk\-debug=\fR\fIFLAGS\fR
+Gtk+ debugging flags to set
+.TP
+\fB\-\-gtk\-no\-debug=\fR\fIFLAGS\fR
+Gtk+ debugging flags to unset
+.TP
+\fB\-\-gtk\-module=\fR\fIMODULE\fR
+Load an additional Gtk module
+
+.SS "X11 options"
+.TP
+.BI \-\-display= DISPLAY
+X display to use
+.TP
+.B \-\-sync
+Make X calls synchronous
+.TP
+.B \-\-no\-xshm
+Don't use X shared memory extension
+.TP
+.BI \-\-xim\-preedit= STYLE
+.TP
+.BI \-\-xim\-status= STYLE
+.TP
+.B \-\-g\-fatal\-warnings
+Make all warnings fatal
+
+.SS "Mozilla options"
+.TP
+\fB\-height\fR \fIvalue\fR
+Set height of startup window to \fIvalue\fR.
+.TP
+.B \-h, \-help
+Show summary of options.
+.TP
+.B \-installer
+Start with Mozilla 4.x migration window.
+.TP
+\fB\-width\fR \fIvalue\fR
+Set width of startup window to \fIvalue\fR.
+.TP
+.B \-v, \-version
+Print Mozilla Firefox version.
+.TP
+\fB\-CreateProfile\fR \fIprofile\fR
+Create \fIprofile\fR.
+.TP
+\fB\-P\fR \fIprofile\fR
+Start with \fIprofile\fR.
+.TP
+.B \-ProfileManager
+Start with profile manager.
+.TP
+\fB\-UILocale\fR \fIlocale\fR
+Start with \fIlocale\fR resources as User Interface locale. By default, it is
+guessed from environment and available locales for Mozilla Firefox.
+.TP
+\fB\-ContentLocale\fR \fIlocale\fR
+Start with \fIlocale\fR resources as content locale. By default, it is
+guessed from environment and available locales for Mozilla Firefox.
+.TP
+\fB\-remote\fR \fIcommand\fR
+Execute \fIcommand\fR in an already running Mozilla Firefox process.
+For more info, see: \fIhttp://www.mozilla.org/unix/remote.html\fR
+.TP
+.B \-splash
+Enable splash screen.
+.TP
+.B \-jsconsole
+Start with Javascript Console
+.TP
+\fB\-chrome\fR \fIurl\fR
+Load the specified chrome.
+.TP
+.B \-safe\-mode
+Starts Mozilla Firefox in safe mode, that is disabling all extensions and
+showing a bit more debugging messages.
+
+.SS "Debugger options"
+.TP
+.B \-g, \-debug
+Starts Mozilla Firefox through a debugger (gdb by default).
+.TP
+\fB\-\-debugger\fR \fIprogram\fR
+Use \fIprogram\fR as a debugger for Mozilla Firefox. Implies \fB\-debug\fR.
+
+.SH ENVIRONMENT
+\fIFIREFOX_DSP\fR - configures the /dev/dsp wrapper to use. Accepted values
+are "auto" (default), "arts", "esd" or "none".
+
+.SH FILES
+\fI/usr/bin/mozilla\-firefox\fR - shell script wrapping
+\fBfirefox\-bin\fR
+.br
+
+\fI/usr/lib/mozilla/firefox\-bin\fR - \fBmozilla\-firefox\fR
+executable
+.br
+
+\fI/etc/mozilla\-firefox/mozilla\-firefoxrc\fR - file containing environment
+variables to be passed to Mozilla Firefox.
+.br
+
+\fI${HOME}/.mozilla/firefox/rc\fR - file containing environment variables to
+be passed to Mozilla Firefox. Overrides \fI/etc/mozilla\-firefox/mozilla\-firefoxrc\fR
+
+.SH BUGS
+To report a bug, please visit \fIhttp://bugzilla.mozilla.org/\fR
+
+.SH "SEE ALSO"
+.BR mozilla(1)
+
+.SH AUTHORS
+.TP
+.B The Mozilla Organization
+.I http://www.mozilla.org/about.html
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.NEWS
+++ mozilla-firefox-1.0/debian/mozilla-firefox.NEWS
@@ -0,0 +1,22 @@
+mozilla-firefox (1.0-1) unstable; urgency=medium
+
+    A heavily patched extension manager has been introduced this
+    release by Mike Hommey. It is designed to work around the
+    deficiencies in the upstream's current offering. Unfortunately, the
+    registration process for extension and locale packages has now
+    changed in an incompatible way. The packages will install
+    correctly but won't actually be registered with
+    Firefox. Maintainers are aware of the issue and are working on new
+    packages that will work with this new mechanism. Please do not
+    file bugs on this issue.
+    
+ -- Eric Dorland <eric@debian.org>, Wed, 10 Nov 2004 00:16:15 -0500
+
+mozilla-firefox (0.8-1) unstable; urgency=low
+
+    The mozilla-firefox package no longer uses the ~/.phoenix
+    directory for it's configuration, but the ~/.firefox directory. To
+    migrate your config, just execute "mv ~/.phoenix ~/.firefox" which
+    should work in most cases.
+
+ -- Eric Dorland <eric@debian.org>, Fri Feb 20 00:01:54 2004
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.desktop
+++ mozilla-firefox-1.0/debian/mozilla-firefox.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Mozilla Firefox
+GenericName=Web Browser
+Comment=Browse the World Wide Web
+Exec=firefox
+Terminal=false
+MultipleArgs=false
+Type=Application
+Icon=mozilla-firefox.png
+Categories=Application;Network
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;x-directory/webdav;x-directory/webdav-prefer-directory;image/gif;image/jpeg;image/png
+
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.dirs
+++ mozilla-firefox-1.0/debian/mozilla-firefox.dirs
@@ -0,0 +1,6 @@
+var/lib/mozilla-firefox/extensions.d
+var/lib/mozilla-firefox/extensions
+usr/lib/mozilla-firefox/extensions
+usr/lib/mozilla-firefox/plugins
+usr/sbin
+etc/mozilla-firefox/profile
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.install
+++ mozilla-firefox-1.0/debian/mozilla-firefox.install
@@ -0,0 +1,39 @@
+debian/tmp/usr/bin/firefox usr/bin
+debian/tmp/usr/lib/mozilla-firefox/*.so usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/*.chk usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/components usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/defaults usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/greprefs usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/res usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/searchplugins usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/icons usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/firefox-bin usr/lib/mozilla-firefox
+debian/mozilla-firefox-xremote-client usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/regchrome usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/regxpcom usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/xp* usr/lib/mozilla-firefox
+debian/tmp/usr/lib/mozilla-firefox/run-mozilla.sh usr/lib/mozilla-firefox
+
+debian/tmp/usr/lib/mozilla-firefox/chrome/browser.jar usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/comm.jar usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/en-US.jar usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/help.jar usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/icons usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/toolkit.jar usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/pipnss.jar usr/lib/mozilla-firefox/chrome
+debian/tmp/usr/lib/mozilla-firefox/chrome/pippki.jar usr/lib/mozilla-firefox/chrome
+
+debian/mozilla-firefox.desktop usr/share/applications
+debian/mozilla-firefoxrc etc/mozilla-firefox
+debian/mozilla-firefox.xpm usr/share/pixmaps
+debian/mozilla-firefox.png usr/share/pixmaps
+debian/presubj usr/share/bug/mozilla-firefox
+
+debian/firefox.js etc/mozilla-firefox/pref
+
+debian/debsearch.gif usr/lib/mozilla-firefox/searchplugins
+debian/debsearch.src usr/lib/mozilla-firefox/searchplugins
+
+debian/tmp/usr/lib/mozilla-firefox/chrome/classic.jar usr/lib/mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome
+debian/theme/00classic var/lib/mozilla-firefox/extensions.d
+debian/theme/Uninstall usr/lib/mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/uninstall
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.links
+++ mozilla-firefox-1.0/debian/mozilla-firefox.links
@@ -0,0 +1,13 @@
+/usr/lib/mozilla-firefox/firefox /usr/bin/mozilla-firefox
+/usr/lib/mozilla-firefox/firefox /usr/bin/firefox
+/usr/share/man/man1/mozilla-firefox.1.gz /usr/share/man/man1/firefox.1.gz
+/var/lib/mozilla-firefox/chrome/overlayinfo /usr/lib/mozilla-firefox/chrome/overlayinfo
+/var/lib/mozilla-firefox/chrome/chrome.rdf /usr/lib/mozilla-firefox/chrome/chrome.rdf
+/var/lib/mozilla-firefox/extensions/installed-extensions.txt /usr/lib/mozilla-firefox/extensions/installed-extensions-processed.txt
+/var/lib/mozilla-firefox/extensions/Extensions.rdf /usr/lib/mozilla-firefox/extensions/Extensions.rdf
+/var/lib/mozilla-firefox/defaults.ini /usr/lib/mozilla-firefox/defaults.ini
+/var/lib/mozilla-firefox/components.ini /usr/lib/mozilla-firefox/components.ini
+/var/lib/mozilla-firefox/components/xpti.dat /usr/lib/mozilla-firefox/components/xpti.dat
+/var/lib/mozilla-firefox/components/compreg.dat /usr/lib/mozilla-firefox/components/compreg.dat
+/etc/mozilla-firefox/pref /usr/lib/mozilla-firefox/defaults/syspref
+/etc/mozilla-firefox/profile/bookmarks.html /usr/lib/mozilla-firefox/defaults/profile/bookmarks.html
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.manpages
+++ mozilla-firefox-1.0/debian/mozilla-firefox.manpages
@@ -0,0 +1,2 @@
+debian/mozilla-firefox.1
+debian/update-mozilla-firefox-chrome.8
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.menu
+++ mozilla-firefox-1.0/debian/mozilla-firefox.menu
@@ -0,0 +1,4 @@
+?package(mozilla-firefox):needs="x11" section="Apps/Net" \
+        title="Mozilla Firefox" \
+	icon="/usr/share/pixmaps/mozilla-firefox.xpm" \
+	command="firefox" hints="Web browsers"
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.mime
+++ mozilla-firefox-1.0/debian/mozilla-firefox.mime
@@ -0,0 +1,5 @@
+text/html; /usr/bin/mozilla-firefox %s; description=HTML Text; test=test -n "$DISPLAY";  nametemplate=%s.html; priority=5
+text/xml; /usr/bin/mozilla-firefox %s; description=XML Text; test=test -n "$DISPLAY";  nametemplate=%s.xml; priority=5
+image/png;  /usr/bin/mozilla-firefox %s; description=PNG Image; test=test -n "$DISPLAY";  nametemplate=%s.png; priority=2
+image/jpeg;  /usr/bin/mozilla-firefox %s; description=JPEG Image; test=test -n "$DISPLAY";  nametemplate=%s.jpeg; priority=2
+image/gif;  /usr/bin/mozilla-firefox %s; description=GIF Image; test=test -n "$DISPLAY";  nametemplate=%s.gif; priority=2
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.png.uu
+++ mozilla-firefox-1.0/debian/mozilla-firefox.png.uu
@@ -0,0 +1,146 @@
+begin 644 mozilla-firefox.png
+MB5!.1PT*&@H````-24A$4@```$````!`"`8```"J:7'>````!F)+1T0`_P#_
+M`/^@O:>3````"7!(67,```L3```+$P$`FIP8````!W1)344'U`8=!!(VV`_#
+M[0``&*Y)1$%4>-KMFWF,7==]WS_GW.7M\]ZLG(WD<+B9I$QM=F18LFI;L1"G
+M-EHD7H`T5ERT!EH@2(.@@.T4!5H!7=(B0`H42%P;@1T[:9JXDMO85BS9KA?)
+MUF)J,2DN0W)(:3B<?7_K/5O_./<M0U&VO,AQVKS!#^>^B_OFWN_W]_TMY]Q[
+MX>\^_W]_Q-_$29]XXNSPA0O+<F.C3K.IR&8CRN4<DY,5)B;*6V]\XW3S_QD"
+M'G[XJ>PW'I_=(S+QL:IQO_K,E4UN/3[ZCVJ6W*81&$`*03&`4@@K2]O?"!-]
+MZ9VWC28FT7\Z4(@N?>0C]RW_K2+@D4>>S7S^H1>FDCC\M7,KS;O=:.6^>1EC
+M!\I$(V6B?)8@"I"A1`0!A"$N##"`;BF2E2W$R@;%S1TF6O6%BE%?S=:;GWS_
+M>T]<^M5?><O"SRT!G_SDU^)GSR[>/;?=^MALPOUS<8[LOA&*I2R#I2SE0H9"
+M+B:;B\C$$4$F0D0!+@A0#IJ)H=94U.H)F_46V[46C4:"6MDBN[C&='7GI6/#
+M^4_<,E7YD]_^K5^:_[DAX#O?.1L\^O69>T^]M/Z[9[;5+ZZ5^RB.5!CM+S#8
+MEZ4OGR&,0\(H(,C$1$-E@BA$2`D"G`.M#4E3D;0422LA:2J:346UGK!1:[%5
+M;]&L-0F7-IANU*^\=:+PJ0^^Y\2?W'WWB6M_HP0\]/!34__M+Y_[R)6F_MVY
+M7([RGG[&!XOT]^7(9B*B."2,>BP3$O7W$10R2"D10F`=&&-I-1*:M29),^F0
+MT6HF)"U%LYFP56NQ64MH-9ID5C:Y4YK9$Z-]O_$'__F#C_^XUQ_\).!_[_>_
+M?-]G'SWWA:?J^CWU_CXF1RM,]A<H9"/"0!($DD!VQS"0!$(0.$=8R!)(@10"
+MB4`(D%*@&BU,2V.UP2@_6F5PVA`80\89,):ZE%Q-3/_RRO:'[SKY'GWQS)>^
+M_>-@D#\N^'_S[Q[^MY]]_.*C3S;,OOQ`D?V#1<K9$.$<6(NPZ>@<PCID.@KG
+MMP,A"($`1X`E!&AII#8(TV/:]GRW!,91$([^`*(PX&H4RV]OU![\!Q_^Q-<_
+M][EO[ON9$/`;_^Q3#_[18R_^JPN)E4/E'"/%+(%P8"S.6)QQ.&/!.IRUX/RV
+M<"DA`B0."03.R]!_=Z`T:`O:^-%XCZ--NNU)"9VE)`59`<U\+GCTVN8[/O._
+MGOWRQ_[UY_>_K@3\_??]_H-?>.[*Q]>B.!@L92EF0@_26)SUAK4XEY+0L]^E
+M"@@*640;M'`$PA$`<29$2@'&2[X#O+UM/"'.>'*$->1P9'&H*.*;2]437SMU
+MZ4L/_L?_O?]U(>"W/_8_'GQRK?'Q:B875O(9,E)@M<4:B[5^="8=M<4)`<4<
+M3@BL32\\$R%R&?\/G4.F"@AP"&MQB>X`=MJDBK+^M\;@M.V2D:HB=H[8.4PV
+MQPMCXR>^=6GC2W_V9Z\M',+7"OZ__N&C#_ZG[Z]_?./0_K#XTCR!<!ZX,3@3
+M8+7!!8$'&F61AR8(*D5D'"+6MW$;VY#/0E\!B\,YBVLG/P<."`)):;1":W8)
+MIS1H[4E(P\&UPT![,D4@*;[Q`'*XG_KR!CM-16W/((]OUDZ,/[_XR+ESL^\^
+M=FSZY9^X"GSZL]]XQZ>^M_B'YXY.Q1ECB!=6D5(@`TDP/N0;FD3YC"XE,I\E
+M.C!.$$FD$`3Y+$%_B;!<0$8A,JV_HJ<.6P=;"QMLSJ^1-!)THM'*8)3"*(U6
+M&J.,M[0RF)9";59Q4M`X/P>;.X1OV$>CD.7*<FVX^MQ53GWW?W[E)PJ!LV<O
+M37_YR;D_/C4TE!%Q@$@2K#%>Y@-EQ%VWP"W3<&@26\AZ192+&,!8AW$.`]C`
+MM[K&.;3U9JQ#68M*CXM+.:PR6*W!.:SV9=!I@Y""N)('UPX-OU]O5JD^?1ZU
+MM(Y9V227)(0"MJ=&^?JV_1>_\]$_O^<G(N`S?_[\/WE,1U.F7$`8AYU?P>9S
+MV%(.=_(0QCEL7P&#P&SL8#,QC`][\+WF'-I:M&F#MQZ\<2ACT<8B<Q&%T0K9
+M@1(R$_H>0!L*XP/LO>\VAF\_Z%-'2HHS72(P!A%'A(4LQ5`B!%R>W"-?6&E\
+MYK&O?F_RQ\H!?_!?OCC]J>\N/+!Q9#^DR<V^\\W8V/?O1@HO14".#T&Y`*4\
+M)@R0SJ*M1`J;2CW]DQ:LW^,$6.'+H3.6I-:DL=U@<VX5E2B,\E(780@"DNTZ
+MIIGL!MZC!F$-S6=G"`Y-D!&29B[BJ3`W_=!?SSP`_/L?20'GSU^,OO&]^7\^
+M4RA.$DA?VHSU'5KJ1?V5%VC]T:/HC1HF"K&#94PN1EO;\;SN&;5Q'04H8TF,
+M11E+=;/&XKEK+)V?9VMQP\>[-ABM,5JS=O8EEIZ9(1XHT7=X@GBPY$/#F&Z_
+M82QZ91.[4T=&$1E`6D=UN,*W7][YI__A]QZ>^)$(>/*IEVZ;M_)WDH'2KCIL
+MM<48B[$6>]=A;#&+*69W@?7;-C4?Y[HC^=32X[=7=UB]LD2CUO03H6:"5J:;
+M!+5/?$FM!5(P\*9#9$8JB##`:4-F<HCL@5%$&!`,ELG]PG%`$%A'Y(!`<C'*
+M'C@WN_Z/+U^>%:\Y!)XYO?@/3]M(@DMKK@5I<=)ZV4N!*68(?NT>C`!MK"]I
+M0B*P""$1.`06G$"XE&OA<$BL<U@AV+J^CFTIG$I[_T2G6=]_-\JK(#M2QDF)
+MM9;^-QTAW-//XF.G*-UV"#DV0'9M&YN-,4)BFQJL)<*1&$MKN,+5U:7?//7L
+MW*>!:S]4`8\^^N3^BVO-#S=+^;0=M9TV%).6(&70QG:E[79+7)O4XSTJ:'O>
+MJ\#O<T&`4H8DT2BE4<JDHR>A383,9SQISF&M(S,VP-#]=Y+9-P(+&X3/OXS<
+M:7:O5UNDL03.@A"<:;!G=:/^H=<4`C.7UMYZ;E.-(T77^VU+9V9M$I1.I6XL
+MNM%"+:VCM$7MU%&+ZZAZJRO[-.-WR-"6>*R"BT)L(#SX1*7@-3K-`48;"`),
+MFENL\U4ES.>P3\Y@S\SYUCN*.M6A?;V!GVNSD<GRS-G5=Y\]>[[P`PFX>/%B
+M-+]<_?4E&W1!I]U79X+20X#1QA-0K:,OS:&-02^NDERZAII?0<TM>8]:BS+&
+MDZ`MRAH2:[%12.'P&'W']Q&6\UWPJ5D@.SZ([,OWE%6+M0X+V-4=G)2XN]^`
+M"V6/P]+2:"S"6%P^9GZK];8K5]:F?F`.J%8;>V<7JF]/XB@%+D`*$!:D`2%`
+M:]A>Q0[T8;(QHM%$K&_ZI9U6XK-R*"$(8+,*C19.9G%"8ITA%`+C!(%PF/9Z
+M0!A0.#2!BT.2K;I/:OD,4:5`V%?`!;)37:QU?NZ1"7'W'O-S!=TMBV@_9W#:
+M=@DPCN<6ZFAC'P`^^JH$+"[N'+ZR7,L3]WDF>X'+M&>]^C+4&[BY"),N;8DX
+MA#A$*`.1Q)D`%_IY@EO9Q`6#N$R(=0(K!8$3&`&!$'YF*$"$DMST&#DZ<Z6.
+MW.VNTIIN:X.5TA/0:.%4"ESU*%;YZ3/:L.DD%V?7)F9F9N(C1XXD-R6@7D\.
+MSJZU8/@&X$*`-7!M'G:JWKO&X)(`$P8($_E%BR@$$T!H04L(#>ZE19S2N`/C
+M6.$\"<*O!AGA//AVLR3\S,BE#%@'KD-"VEH;Z\$G&GMM&;NVA5U8P24*F\WB
+M#DU[1:C=JE`R8'ZY5E%*98%7$C`S,Y-_^IFK4YO--(:D`)&2(`QLK,/**LA4
+MWD$`@9\1:F/`1/YW48"+0@@DF``7&-BI^V4M*0BMP$B!%*1+8EV>=WU2!;B>
+M[&^MP6B+5;XGL?4F=G$%M[F-:R4XO8Z5`6YXCR=`]>2N4')MJ2J!_<#I5Q"@
+ME,JO;]9/$@C_H]HV)`T8GP"1@;5U2!3MSA!C(?`9ND."#E/3G?5^F\O@*B6L
+ML81.8(0/@4"`Q!,ATE`0WO=I"+B4!+^8XM+I=Y<`@QWHQRZL8I,U;**P28([
+M?18;7\(5^W`CXS@1>#S6L55-[FTV]<F;$J"U9G.KB;/X'VQN0'4+HMB[8WW#
+MCT9"D(*W/A20?DU`=V(OP$4&P@!7R.&T]5+M[R.0PG,G=JN`5`FB`]YUEM7:
+MRVQ6^\61-@G&@=T[@;W\D@>?)%X)V]O86@,G(URV",*K<Z>N"ZU6$M\T"89A
+M.%2K)YAV&<D68'T9KE[V7I=!5_[6=HF0TN>+0&*U1+>]K[4G8&$%M[J!VS.(
+M/7D8&P9>1&D>\#E`^,[1I6L$/02TYR'.N,YJD]4I"5ICEM>PC49'`58E6*5P
+MM67<PCQ.!E`>@&R1ZIXAE-+![.RLF)Z>=KL($$),ZG;?KPS$>8AST-CQGI8I
+M6-L&'?ACI4SC78*46*W1@<:I`!=VS=::!$V%"ZVO!*GW.WFVAX3=!+15D)*@
+M?2C8I16_?6D6DRA,DG@"$H55J24)Z`2VU\%I3.$7D%(.6&LE8'81X)PK!%)X
+M\,I`?0=J6RG@'M"VQ^L=(D2J$.%)$`87R"[X(""0`:ZEL<H02(GM)$(/7K9S
+M@$M'BU]1-JZSJ.IT=U9J6P;[PO>QU5KJ>855"28=K?:&U;Z"64T8Y0A#V6^M
+M#5Y!`!`5<I+(&90VT&Q`JYEZ7:9@V^!3$[U$F/2[)\%IB5'"DY#+XLI]N(9"
+M!B(%WVNNNTSFND1T0L!V5YFMMKBSY[`KJ]A:'=MJ=3QN4OE;[4>,!N?!XPRE
+MK$!*PO9JW(TA4*N4L\JU-,0&ME=!JZZ7G4A#(04I4H^+&PD1:5V3."$QI2+N
+M^%%<%&.;"8&4Z>%=`CK-$/B;*ZX]]N8!3X*K-7`OS6&;3;]LIA*LTJGW=4I"
+MXG-0"ASGG92-Q'-!()M""'NS1FAM<K*T$AH_"_/S``U.IC<W4@6TU2!2-8@>
+M$E+@G7UA"`>FL'$&UU3(5/J!%#T$=+._0/B;)VTB;`\!;1+FK^,:#5P'N.YX
+MW&B%U0IKE)>]T_[:<1!$#`SDKPO!JI32W*P,OES(9QC*"ZXI#:4Q#Z:QX9DD
+M!=_V<I@V/NWOMI>,%%4<^F-:"B=\`V1%&@(=$GISP&X5M.\J]:J`M75LLXE3
+M"JLU3JMT`55US(-/S?\C!#%3^\H((;8.'CSX2@5(*76QF)&C_='5:]?-%%$`
+M?7NA/`&Z#JTZ5.M>^F.#7ATKU_Q)>D&+E(@@@""$,R_"OGTP-.QOATN)$6D[
+M#,BE342MA9@<1.:B3AGL5`/;)<&MK?J;)ZT$IY.4`(TU/@>X=L)SINOYU,*H
+MP(ECPTMA&-I7ZP-T'$?-PP>*ET]=69UR[0L(`XC[O-4V(930-P)6@6K"ZG4/
+MVO:`%_X6%RO+?KM>AY-9F+T$(WM@9!0G\$OF:U7$BW.(/>5T%2E-A+TYP#EH
+M-'&GGX?:#LYXX.W16NW/Y]HQ[WK`>[QC8Z,,CY1D&(;77XV`[2`(SK_UKK'X
+MH<<6:2D!+DC+D?,>'>GSA"0:%F:@NNX9%S>`I_<[OJ+,S\/B`BPMPG$+@R->
+M$:,57#D/VB"T2<M@J@+;0\+\'&QMI(NA&HS&6=,%;MM>W^UY'_\YIO8./-57
+MRD?.N1=N2L"A0X?LZ=.GE_?MZW=3>R(N+)IN0^(""%TZ#TCG_9M+/C?T@N\`
+MQX^DA%1WX.+9[G,9ERY`L9+^!H@#:&GO./P$J$.\=1[8SK8'JY*TKG?+6Q>\
+MNZD%83]WOW7O7"83KP=!4'O5]0`AQ'?Z^TOO/GFL?&KFY:4[G0U[DE"[#78^
+M#*SR%R1Z8K\-N$-&S[85W8:_5H6F\D2UFJEDT\0:A#W$I^=.$@@R4!Z&0C\L
+M78'ME9XR=R-XNDH0DO'Q26X].;H31='9*(H:KTI`%$4KN5SNVKWWC)NO?7/I
+MSO6&]MYWSO<`84J$E?Z"U'8/R-3SR*YGVVJ@APCP(*M5F#T#29L`_,1KXB"4
+MAFYHAP44AR`_F.(+86=E=YGK`-_M?1%4>-,=X\\.#Y>C.(Z?/GCPH'O5-<&C
+M1X_6,IG,]Z>GA]VM)TI+0FD?[[W6WM<WG4[:TX;#JIZQ9SN-5V_I_E8#7CH/
+M6RO0J$*SYFUGP^^O[O@P:RD_!4\4*.LMT>!"R%72,F=O2'B])A@<W,<[WKYO
+MIE0J;4DI+_W05>$P#+]5J93MN^Z;^&XYRRN!M]*1K"^)'0)N8D:_DB"C0#=A
+M9:Y+BE%=XFI;</X[,'<>FHD_7_N<B?+;]1W?F78\;F\84Y/]W/7FO=<.'=S3
+MRF:S3\5QO/-#"8BBZ'H^GW_VEEO&U^]Z<V5=ZINHH'U147^:@75WO*FIFQ"C
+M=JO%].Q7#5A_&:K;716T5)<(6009DQ;2'NM50<C8Z#3WOVOJR4JEHL(P?*Q7
+M_J]*P.'#AUT<QU\>&!@0O_S+^[X],1Z`;KV2A$1#-`GY(Y`=3Y.1[BE)[6WU
+M@U72SN8=<E)2C/+)KY?P1'>)(/LJ\O??HV@/][_KP%</'1JKYO/Y)Z(H6GK-
+M]P:C*+I:+!:?/G1H8N.][YW\6BZ;@-GQ)6@7"0[(0;+2TX28W:KH_=[9=Q,B
+MVMG<:?_L1FD:7/:5X-OGED.0V7<3!1B$R'+\^.$+]]UWX-K`P$`KCN-'#A\^
+M[%XS`4>.''&93.:AP<'!ZCWW3,V_[6UC7PR"*KCUE(A6-SG59T%O[59`+\B;
+M[;,W$F)`9J'O"!2/0/^;(!Q*P=\0`JU>%>R#\#B(@T`&T(!@SYXCUQ]XX-@3
+MX^.C8:%0>.3X\>-+/_+S`<>.'5L^<^;,E\;&QG[]?>^K+Z^NUJX___S%<6OK
+MX')@LMYZVLWN0R\]HWN5_>WR*'-0NLW_#U'P;E$V)93=[;#=/3GR5DB?]ID"
+MZO3W]YL/?>CVIZ:GQ^/^_OXKV6SVL1_[(:E\/O]8?W__P;U[)][RP`/-K]1J
+MS?MG9BY,.%=+8S"7GERE@I(W>0+7W?S)W'86-PW0SGO0:7]\9S9XPWR@W14Z
+M#2X!6JDU@2;%8K_^P`>./7S''?N:HZ.C]7P^_\='CARI_T3/"I\_?WZ@6JU^
+M='Y^?N_%BU>;G_C$L_=?OGQFPEJ;DD!ZUUG2?N@-QH!\"GXUE:9Z]<L(AD#N
+M]PIP/4].N51=G=R@4NL%WP(22J41_?[WW_GPV]]^6$]-3:F!@8%/WW+++?_G
+MI_*P]-FS9_?L[.Q\[-JU:\-7KLPEG_O<Z?M/GWYFPIA&&GL;*<@0B('#J3K"
+ME)`&<#G];^8FE^#2#G(:W%!/4M/I\3>";UL3L`P,'%`?_."=7[CKKFF]?_]^
+M/3`P\-]OO?761WZJ3XN?.W?NX-;6UF_-S\\/S<W-M_[JK\[?\<033]W:;"ZD
+M_ZJ1>IU4`5%*0)BJH`J,`@N=+NV5GWY@/`7=:ZJ'A"X!0F38O_^-BQ_XP.W?
+M/'%BK]V[=Z\9'!S\8JE4^LOIZ6G[4W]<_MRY<P>WM[=_<W%Q<<_\_+QYYIEK
+MQ:]\Y7OO7%@XW>?<5NK]&"CT@`_3"P[24ZZF'A<W/+(XD(:42`DR/=[7-Q``
+M^?PD=]SQIC/O><^1IR<G1W.3DY.J4JD\5"J5OGSPX$'UNKTO\.*++XXTF\U_
+MN;R\/';]^G5S[=JR^>I7+]WQW'-/WU:K7<6YY`;OM\.@G2#;TA4]U2/?DS/L
+M#R#`$8;#3$W=>OV^^TY\Y\2)L>;X^)@9&QNSI5+I+TZ>//G7/Y,7)LZ?/]_?
+M;#8_L+FY^?<6%A;4RLJ*N'IU53_^^.P=%RZ\>.OV]BS.[?2T&VWORY[V0_1T
+M<<$-'=V-1,3$\1[&QHXOO.4MQY^X_?;1G>'A`3DZ.AH/#P\O%HO%/SU^_/BI
+MG^D;([.SL[)>K]];J]5^975U=6!U=56NKZ_K^?DM?>K4]8,S,U>.+RU='=)Z
+M&=CN*8<_Z-2]QV0(@D'*Y0GV[IV>N?WV?=\_<F2H.C!0CH>&AMS(R(@LE\O?
+MBN/X+XX=.[;^-_;.T+ESYX9;K=9[:[7:/>OKZ_'Z^KK8VMJRFYM5O;Q<=^?.
+MK>R[?GWMC1L;*R-;6\LH50,46K=2-3BDC-*PR5`L]C,PL&=K:*C_V3>\861]
+M__[R5G]_0?;UE:)*I<+@X*"H5"I7LMGLYW.YW/=?2[)[W=\:FYF9$4JI2:74
+M+S4:C;=L;FYFM[:V],[.3E"KU6RKE=AZ/;'-IF)[.REN;R=]]7I"K6;)9`39
+M;$0N%U*I9!:+Q=#F\QF1SV?"7"Y'H5"PY7)95BJ5H%`HS&2SV<>B*'KNZ-&C
+M]9^[]P8O7KPHE%)#QIA[6ZW6'8U&XT"M5K/U>MTU&@V3)$FLE$)KG1ACG+56
+M"B&L$((@"&3D/S:?S^M<+A<7BT5;*!3J<1P_%T71M\(PO'STZ-&?VINEK^N;
+MHQ<N7,AJK2O.N;N54H/6VA-*J2&MM5!*66,,UEHAA'!22H(@$%$4B2B*5!`$
+M9Z,HF@_#\!0P%\=Q[="A0^YOW:NS[<_ERY>%UCK66@=`&`3!"##BG*L`B1!B
+KQSEW52FU$X8A412U#A\^;/B[S^O[^;\Z\7.<>GK+0@````!)14Y$KD)@@@``
+`
+end
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.postinst
+++ mozilla-firefox-1.0/debian/mozilla-firefox.postinst
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" -o "$1" = "abort-upgrade" ] ; then
+    update-alternatives --install /usr/bin/x-www-browser \
+        x-www-browser /usr/bin/mozilla-firefox 70 \
+        --slave /usr/share/man/man1/x-www-browser.1.gz \
+        x-www-browser.1.gz /usr/share/man/man1/mozilla-firefox.1.gz
+    update-alternatives --install /usr/bin/mozilla mozilla \
+        /usr/bin/mozilla-firefox 0 \
+        --slave /usr/share/man/man1/mozilla.1.gz mozilla.1.gz \
+        /usr/share/man/man1/mozilla-firefox.1.gz
+fi
+
+if [ "$1" = "configure" ] ; then
+    update-mozilla-firefox-chrome
+fi
+
+if [ -x /usr/sbin/update-desktop-database ]; then
+    /usr/sbin/update-desktop-database
+fi
+
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.preinst
+++ mozilla-firefox-1.0/debian/mozilla-firefox.preinst
@@ -0,0 +1,55 @@
+#!/bin/sh -e
+
+LIBDIR=/usr/lib/mozilla-firefox
+VARDIR=/var/lib/mozilla-firefox
+
+if [ "$1" = "upgrade" ]; then
+    if [ -d "/usr/lib/mozilla-firebird/defaults/pref" ]; then
+        rm -rf /usr/lib/mozilla-firebird/defaults/pref
+    fi
+
+    # Remove old alternative to www-browser that version < 0.6.1-1 installed
+    if dpkg --compare-versions "$2" lt 0.6.1-1; then
+      update-alternatives --remove www-browser /usr/bin/MozillaFirebird || true
+    fi
+
+    # Remove old conf files 
+    if dpkg --compare-versions "$2" lt 0.9.1-3; then
+      rm -f /etc/mozilla-firefox/pref/all.js
+      rm -f /etc/mozilla-firefox/pref/security-prefs.js
+      rm -f /etc/mozilla-firefox/pref/unix.js
+      rm -f /etc/mozilla-firefox/pref/xpinstall.js
+      rm -f /etc/mozilla-firefox/pref/non-shared.txt
+    fi
+
+    if dpkg --compare-versions "$2" lt 0.10.1+1.0PR-5; then
+      if [ -f /etc/mozilla-firefox/profile/US/bookmarks.html ]; then
+        mv /etc/mozilla-firefox/profile/US/bookmarks.html /etc/mozilla-firefox/profile/bookmarks.html
+      fi
+      [ -d /etc/mozilla-firefox/profile/US ] && rmdir --ignore-fail-on-non-empty /etc/mozilla-firefox/profile/US
+    fi
+
+    if dpkg --compare-versions "$2" lt 1.0-1; then
+      rm -f /etc/mozilla-firefox/pref/firefox-l10n.js
+      rm -f /etc/mozilla-firefox/pref/vendor.js
+
+      # Remove old link
+      rm -f ${LIBDIR}/defaults/pref
+
+      # Remove old installed-chrome.txt
+      rm -f ${VARDIR}/chrome/installed-chrome.txt
+    fi
+
+    if dpkg --compare-versions "$2" lt 1.0-3; then
+      for f in `find ${LIBDIR}/extensions/ -maxdepth 1 -name '{*}' -type l`; do
+        if [ "`readlink -f $f`" = "${LIBDIR}/defaults/profile/extensions/`basename $f`" ]; then
+            rm -f $f
+	fi
+      done
+      if [ -e ${LIBDIR}/defaults/profile/extensions/installed-extensions.txt ] || [ -L ${LIBDIR}/defaults/profile/extensions/installed-extensions.txt ]; then
+        rm -f ${LIBDIR}/defaults/profile/extensions/installed-extensions.txt
+      fi
+    fi
+fi
+
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.prerm
+++ mozilla-firefox-1.0/debian/mozilla-firefox.prerm
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" -o "$1" = "deconfigure" ] ; then
+    update-alternatives --remove x-www-browser /usr/bin/mozilla-firefox
+    update-alternatives --remove mozilla /usr/bin/mozilla-firefox
+fi
+
+if [ "$1" = "remove" ]; then
+    rm -rf /var/lib/mozilla-firefox/chrome/overlayinfo
+    rm -f /var/lib/mozilla-firefox/chrome/chrome.rdf
+    rm -f /var/lib/mozilla-firefox/defaults.ini
+    rm -f /var/lib/mozilla-firefox/components.ini
+    rm -f /var/lib/mozilla-firefox/components/xpti.dat
+    rm -f /var/lib/mozilla-firefox/components/compreg.dat
+    rm -f /var/lib/mozilla-firefox/extensions/installed-extensions.txt
+    rm -f /var/lib/mozilla-firefox/extensions/Extensions.rdf
+    if [ -d /var/lib/mozilla-firefox/ ]; then
+        find /var/lib/mozilla-firefox/ -type d -depth -empty -exec rmdir {} \;
+    fi
+fi
+
+#DEBHELPER#
--- mozilla-firefox-1.0.orig/debian/mozilla-firefox.xpm
+++ mozilla-firefox-1.0/debian/mozilla-firefox.xpm
@@ -0,0 +1,1144 @@
+/* XPM */
+static char * mozicon50_xpm[] = {
+"48 48 1093 2",
+"  	c None",
+". 	c #2099CF",
+"+ 	c #2CA7D9",
+"@ 	c #33AEDD",
+"# 	c #34B2E1",
+"$ 	c #35B8E5",
+"% 	c #2FBAE8",
+"& 	c #26B5E4",
+"* 	c #199FD6",
+"= 	c #177DB8",
+"- 	c #2C8FC4",
+"; 	c #43A0CE",
+"> 	c #55ADD6",
+", 	c #5CB5DD",
+"' 	c #61C4E8",
+") 	c #63CBED",
+"! 	c #64CFF1",
+"~ 	c #63D1F2",
+"{ 	c #5ECCEF",
+"] 	c #57C3E9",
+"^ 	c #4EB8E1",
+"/ 	c #3CABD9",
+"( 	c #2A9ED1",
+"_ 	c #1991C9",
+": 	c #0F7CBA",
+"< 	c #166EAC",
+"[ 	c #3387BC",
+"} 	c #4797C6",
+"| 	c #51A0CC",
+"1 	c #56A7D2",
+"2 	c #5BAED7",
+"3 	c #60B6DD",
+"4 	c #67CDEE",
+"5 	c #69D3F2",
+"6 	c #6BD4F4",
+"7 	c #69D3F4",
+"8 	c #63CDEF",
+"9 	c #5AC0E6",
+"0 	c #51B6DF",
+"a 	c #49ACD8",
+"b 	c #42A2D1",
+"c 	c #3898CA",
+"d 	c #298CC2",
+"e 	c #167EB9",
+"f 	c #0B5A9C",
+"g 	c #2674AE",
+"h 	c #3D87BA",
+"i 	c #4590C0",
+"j 	c #4B97C6",
+"k 	c #519FCB",
+"l 	c #58A6D1",
+"m 	c #5DADD5",
+"n 	c #62B3DA",
+"o 	c #69C3E6",
+"p 	c #6ED4F2",
+"q 	c #6FD6F4",
+"r 	c #6ED5F4",
+"s 	c #6AD3F2",
+"t 	c #5FC3E7",
+"u 	c #53B2DC",
+"v 	c #4BA8D5",
+"w 	c #439FCE",
+"x 	c #3B95C7",
+"y 	c #338BC0",
+"z 	c #2B82B9",
+"A 	c #1D76B1",
+"B 	c #0C69A9",
+"C 	c #10599A",
+"D 	c #2D71AA",
+"E 	c #377CB2",
+"F 	c #3D84B8",
+"G 	c #458DBE",
+"H 	c #4B95C4",
+"I 	c #529CC9",
+"J 	c #59A4CF",
+"K 	c #5FABD4",
+"L 	c #65B1D8",
+"M 	c #6BC2E4",
+"N 	c #71D5F3",
+"O 	c #73D6F3",
+"P 	c #72D5F3",
+"Q 	c #6DD1F0",
+"R 	c #5FBBE2",
+"S 	c #54ADD8",
+"T 	c #4CA4D2",
+"U 	c #439ACB",
+"V 	c #3B91C4",
+"W 	c #3487BD",
+"X 	c #2D7EB7",
+"Y 	c #2675AF",
+"Z 	c #1E6CA9",
+"` 	c #0F5FA0",
+" .	c #055296",
+"..	c #115394",
+"+.	c #2767A2",
+"@.	c #2F70A9",
+"#.	c #3679AF",
+"$.	c #3C81B5",
+"%.	c #448ABC",
+"&.	c #4A92C2",
+"*.	c #519AC7",
+"=.	c #58A2CD",
+"-.	c #5FA9D2",
+";.	c #65B0D7",
+">.	c #6EC8E9",
+",.	c #74D4F2",
+"'.	c #76D6F3",
+").	c #75D6F3",
+"!.	c #71D3F1",
+"~.	c #62BCE1",
+"{.	c #54A9D5",
+"].	c #4C9FCE",
+"^.	c #4396C8",
+"/.	c #3B8CC1",
+"(.	c #3483BA",
+"_.	c #2C7AB3",
+":.	c #2670AC",
+"<.	c #1F68A6",
+"[.	c #195F9F",
+"}.	c #0D5497",
+"|.	c #04488D",
+"1.	c #0F4A8D",
+"2.	c #1F5A98",
+"3.	c #2663A0",
+"4.	c #2D6DA6",
+"5.	c #3475AD",
+"6.	c #3B7EB3",
+"7.	c #4287B9",
+"8.	c #4990C1",
+"9.	c #51A4CF",
+"0.	c #569FCA",
+"a.	c #5DA6CF",
+"b.	c #66B5DB",
+"c.	c #6FD1F0",
+"d.	c #75D4F1",
+"e.	c #79D5F2",
+"f.	c #75D3F1",
+"g.	c #63BBE0",
+"h.	c #54A4D1",
+"i.	c #4B9BCB",
+"j.	c #4391C4",
+"k.	c #3B88BD",
+"l.	c #337FB6",
+"m.	c #2C76B0",
+"n.	c #266CA9",
+"o.	c #1F64A3",
+"p.	c #1A5B9C",
+"q.	c #145396",
+"r.	c #0A498E",
+"s.	c #034C8F",
+"t.	c #085293",
+"u.	c #164D8E",
+"v.	c #1D5695",
+"w.	c #24609C",
+"x.	c #2A69A3",
+"y.	c #3271AA",
+"z.	c #387AAF",
+"A.	c #429FCC",
+"B.	c #4CBFE4",
+"C.	c #52C4E8",
+"D.	c #57AFD7",
+"E.	c #5DB3DA",
+"F.	c #65C5E7",
+"G.	c #6DD0EE",
+"H.	c #72D2EF",
+"I.	c #78D4F0",
+"J.	c #7BD5F1",
+"K.	c #76D2EF",
+"L.	c #6AC5E6",
+"M.	c #55A5D1",
+"N.	c #4A95C6",
+"O.	c #428CC0",
+"P.	c #3A83B9",
+"Q.	c #337AB3",
+"R.	c #2C71AD",
+"S.	c #2568A6",
+"T.	c #1F5F9F",
+"U.	c #1D65A3",
+"V.	c #269ACA",
+"W.	c #1C84BA",
+"X.	c #0D7DB5",
+"Y.	c #0298CC",
+"Z.	c #0296CA",
+"`.	c #0C5998",
+" +	c #14498A",
+".+	c #1B609C",
+"++	c #2498C8",
+"@+	c #2977AF",
+"#+	c #2F75AC",
+"$+	c #3575AC",
+"%+	c #40ABD5",
+"&+	c #49BFE4",
+"*+	c #50C3E7",
+"=+	c #56C5E8",
+"-+	c #5DC8EA",
+";+	c #63CBEB",
+">+	c #69CEED",
+",+	c #6ED0EE",
+"'+	c #73D2EF",
+")+	c #77D3EF",
+"!+	c #72CEEC",
+"~+	c #5AA7D1",
+"{+	c #4F99C9",
+"]+	c #4891C3",
+"^+	c #4087BC",
+"/+	c #387EB5",
+"(+	c #3277B1",
+"_+	c #2B70AB",
+":+	c #2463A2",
+"<+	c #1E5B9C",
+"[+	c #185395",
+"}+	c #165496",
+"|+	c #10498D",
+"1+	c #105F9E",
+"2+	c #0A9ECF",
+"3+	c #0088C0",
+"4+	c #038DC3",
+"5+	c #0A4A8C",
+"6+	c #114E8E",
+"7+	c #1989BD",
+"8+	c #22AAD7",
+"9+	c #28A2D0",
+"0+	c #2C71A9",
+"a+	c #3380B5",
+"b+	c #3EB9E1",
+"c+	c #45BDE3",
+"d+	c #4CC0E5",
+"e+	c #53C3E7",
+"f+	c #59C6E8",
+"g+	c #5EC9EA",
+"h+	c #64CBEB",
+"i+	c #69CDEC",
+"j+	c #6ECFED",
+"k+	c #70D0ED",
+"l+	c #64BDE1",
+"m+	c #55A6D1",
+"n+	c #3D82B8",
+"o+	c #3D8BBE",
+"p+	c #49AFD8",
+"q+	c #378DBF",
+"r+	c #225F9E",
+"s+	c #1D5698",
+"t+	c #174E92",
+"u+	c #12468B",
+"v+	c #0E3F85",
+"w+	c #115F9D",
+"x+	c #15A2D1",
+"y+	c #0395C9",
+"z+	c #0088C1",
+"A+	c #0190C6",
+"B+	c #079ACC",
+"C+	c #0FA0D0",
+"D+	c #169ECF",
+"E+	c #1D99CC",
+"F+	c #25AAD7",
+"G+	c #2BA0CE",
+"H+	c #32AED8",
+"I+	c #3AB7DF",
+"J+	c #41BBE1",
+"K+	c #47BEE3",
+"L+	c #4EC1E5",
+"M+	c #53C4E7",
+"N+	c #5FC8E9",
+"O+	c #63CAEA",
+"P+	c #67CBEB",
+"Q+	c #69CBEA",
+"R+	c #62BCE0",
+"S+	c #5AAFD7",
+"T+	c #478DBF",
+"U+	c #4084B9",
+"V+	c #3A7CB4",
+"W+	c #3E8CBF",
+"X+	c #4DBADF",
+"Y+	c #3383B8",
+"Z+	c #215B9B",
+"`+	c #1B5295",
+" @	c #164A8E",
+".@	c #114288",
+"+@	c #0D3A82",
+"@@	c #0E4C8E",
+"#@	c #1380B7",
+"$@	c #0D96C9",
+"%@	c #0089C1",
+"&@	c #007BB8",
+"*@	c #0085BE",
+"=@	c #008CC4",
+"-@	c #0496C9",
+";@	c #0B9DCF",
+">@	c #1168AB",
+",@	c #174F99",
+"'@	c #21AAD7",
+")@	c #28AED9",
+"!@	c #2FB1DB",
+"~@	c #36B5DE",
+"{@	c #3CB8E0",
+"]@	c #42BBE2",
+"^@	c #49BEE4",
+"/@	c #54C3E6",
+"(@	c #59C5E7",
+"_@	c #5DC7E8",
+":@	c #5FC5E7",
+"<@	c #53A9D3",
+"[@	c #4B96C6",
+"}@	c #478FC2",
+"|@	c #4186BB",
+"1@	c #3C7FB5",
+"2@	c #3676AF",
+"3@	c #306EA9",
+"4@	c #3889BD",
+"5@	c #44AFD8",
+"6@	c #2F84B9",
+"7@	c #194D91",
+"8@	c #15458A",
+"9@	c #144D90",
+"0@	c #0C367E",
+"a@	c #0C4086",
+"b@	c #1797C8",
+"c@	c #1295C8",
+"d@	c #0487C0",
+"e@	c #0079B6",
+"f@	c #0081BC",
+"g@	c #0E9ACC",
+"h@	c #1597CA",
+"i@	c #1CA7D5",
+"j@	c #23ABD8",
+"k@	c #2AAFDA",
+"l@	c #31B2DC",
+"m@	c #37B5DE",
+"n@	c #3DB8E0",
+"o@	c #43BBE2",
+"p@	c #49BEE3",
+"q@	c #4EC0E4",
+"r@	c #53C2E5",
+"s@	c #57C4E6",
+"t@	c #4EAAD4",
+"u@	c #4696C5",
+"v@	c #438FC0",
+"w@	c #4088BC",
+"x@	c #3C80B6",
+"y@	c #3778B1",
+"z@	c #3270AB",
+"A@	c #2C68A5",
+"B@	c #3D9AC8",
+"C@	c #46BADF",
+"D@	c #3DB0D8",
+"E@	c #287CB2",
+"F@	c #164D90",
+"G@	c #299ECC",
+"H@	c #1B79B0",
+"I@	c #1A8CBF",
+"J@	c #199BCC",
+"K@	c #1392C6",
+"L@	c #0A86BE",
+"M@	c #0079B7",
+"N@	c #006AAC",
+"O@	c #0074B3",
+"P@	c #007CB9",
+"Q@	c #0083BE",
+"R@	c #008BC2",
+"S@	c #0393C8",
+"T@	c #099CCD",
+"U@	c #10A1D1",
+"V@	c #17A4D3",
+"W@	c #1EA8D6",
+"X@	c #25ABD8",
+"Y@	c #2BAFDA",
+"Z@	c #37B5DD",
+"`@	c #3DB8DF",
+" #	c #42BAE1",
+".#	c #48BCE2",
+"+#	c #4CBEE3",
+"@#	c #50C0E4",
+"##	c #48A8D3",
+"$#	c #3F8EC0",
+"%#	c #3C87BC",
+"&#	c #3A81B7",
+"*#	c #3679B1",
+"=#	c #3171AC",
+"-#	c #2D6AA6",
+";#	c #2862A0",
+">#	c #40A5D1",
+",#	c #43B8DE",
+"'#	c #3DB5DC",
+")#	c #38B1DA",
+"!#	c #2D9ECC",
+"~#	c #2B9FCE",
+"{#	c #246AAA",
+"]#	c #1F96C7",
+"^#	c #1996C9",
+"/#	c #138DC3",
+"(#	c #0E84BC",
+"_#	c #0175B4",
+":#	c #0068AC",
+"<#	c #0070B1",
+"[#	c #0077B5",
+"}#	c #007FBA",
+"|#	c #0086BF",
+"1#	c #018DC4",
+"2#	c #0596C9",
+"3#	c #0B9DCE",
+"4#	c #12A1D1",
+"5#	c #1897C8",
+"6#	c #1E96C7",
+"7#	c #25A0CE",
+"8#	c #2B90C2",
+"9#	c #31A4D0",
+"0#	c #37B4DD",
+"a#	c #3CB7DF",
+"b#	c #41B9E0",
+"c#	c #45BBE0",
+"d#	c #49BCE1",
+"e#	c #4BBBE0",
+"f#	c #419FCC",
+"g#	c #3C91C2",
+"h#	c #337AB1",
+"i#	c #3072AC",
+"j#	c #2C6BA7",
+"k#	c #2864A1",
+"l#	c #255F9E",
+"m#	c #3FAAD4",
+"n#	c #40B6DC",
+"o#	c #3AB3DB",
+"p#	c #35B0D8",
+"q#	c #2F86BD",
+"r#	c #29599F",
+"s#	c #237DB7",
+"t#	c #1E99CA",
+"u#	c #1892C5",
+"v#	c #1389C0",
+"w#	c #0E7FBA",
+"x#	c #0473B2",
+"y#	c #0065AA",
+"z#	c #0064A9",
+"A#	c #006BAD",
+"B#	c #0072B2",
+"C#	c #0080BC",
+"D#	c #0082BC",
+"E#	c #028DC4",
+"F#	c #0796C9",
+"G#	c #0D88BD",
+"H#	c #1372AB",
+"I#	c #1982B8",
+"J#	c #1F79B0",
+"K#	c #247BB1",
+"L#	c #2A86B9",
+"M#	c #31B1DA",
+"N#	c #36B3DC",
+"O#	c #3AB5DD",
+"P#	c #3FB7DE",
+"Q#	c #42B9DF",
+"R#	c #45BAE0",
+"S#	c #48BBE0",
+"T#	c #47B6DD",
+"U#	c #3689BC",
+"V#	c #2D72AB",
+"W#	c #2C73AC",
+"X#	c #2F7DB3",
+"Y#	c #399BC9",
+"Z#	c #3FB4DB",
+"`#	c #3CB3DA",
+" $	c #37B0D9",
+".$	c #32AED7",
+"+$	c #2CA8D3",
+"@$	c #277EB8",
+"#$	c #229CCC",
+"$$	c #1D95C8",
+"%$	c #188DC2",
+"&$	c #1384BD",
+"*$	c #0D7AB6",
+"=$	c #066FB0",
+"-$	c #0057A0",
+";$	c #005FA5",
+">$	c #0066AA",
+",$	c #006DAF",
+"'$	c #006EAC",
+")$	c #004C8E",
+"!$	c #005595",
+"~$	c #025999",
+"{$	c #085D9B",
+"]$	c #0D64A0",
+"^$	c #1369A4",
+"/$	c #196EA7",
+"($	c #1E73AA",
+"_$	c #2376AD",
+":$	c #2AA0CE",
+"<$	c #2FAFD9",
+"[$	c #34B1DB",
+"}$	c #38B3DC",
+"|$	c #3BB5DC",
+"1$	c #3EB6DD",
+"2$	c #40B7DD",
+"3$	c #42B7DD",
+"4$	c #43B7DE",
+"5$	c #43B7DD",
+"6$	c #40B5DC",
+"7$	c #3DB4DB",
+"8$	c #3AB2DA",
+"9$	c #33AED6",
+"0$	c #2EABD5",
+"a$	c #29A5D2",
+"b$	c #259ECD",
+"c$	c #2094C6",
+"d$	c #1C8DC2",
+"e$	c #1787BE",
+"f$	c #127EB9",
+"g$	c #0D75B3",
+"h$	c #076AAC",
+"i$	c #005FA6",
+"j$	c #00539D",
+"k$	c #005AA2",
+"l$	c #0060A6",
+"m$	c #0068AB",
+"n$	c #0063A5",
+"o$	c #004487",
+"p$	c #004386",
+"q$	c #004789",
+"r$	c #004B8D",
+"s$	c #045192",
+"t$	c #095997",
+"u$	c #0E5F9C",
+"v$	c #1365A0",
+"w$	c #1869A4",
+"x$	c #1D6EA7",
+"y$	c #2274AB",
+"z$	c #28A6D2",
+"A$	c #2DAED8",
+"B$	c #31AFD9",
+"C$	c #34B1DA",
+"D$	c #37B2DB",
+"E$	c #39B3DB",
+"F$	c #3BB4DB",
+"G$	c #3CB4DB",
+"H$	c #3BB3DA",
+"I$	c #38B1D9",
+"J$	c #35AFD8",
+"K$	c #32ADD6",
+"L$	c #2EAAD4",
+"M$	c #2BA5D1",
+"N$	c #2795C5",
+"O$	c #2374AA",
+"P$	c #1E5691",
+"Q$	c #1A4C89",
+"R$	c #156AA5",
+"S$	c #1078B5",
+"T$	c #0B6FAF",
+"U$	c #0665A9",
+"V$	c #004A97",
+"W$	c #004D9A",
+"X$	c #00509A",
+"Y$	c #00579F",
+"Z$	c #0062A7",
+"`$	c #00468A",
+" %	c #00387C",
+".%	c #003C7F",
+"+%	c #004083",
+"@%	c #044D8E",
+"#%	c #095493",
+"$%	c #0E5A98",
+"%%	c #13609C",
+"&%	c #18659F",
+"*%	c #1C6BA4",
+"=%	c #219FCD",
+"-%	c #25AAD5",
+";%	c #29ABD6",
+">%	c #2DADD7",
+",%	c #30AED8",
+"'%	c #32AFD8",
+")%	c #34B0D8",
+"!%	c #34AED7",
+"~%	c #30ABD4",
+"{%	c #2DA8D2",
+"]%	c #2BA3CF",
+"^%	c #289DCC",
+"/%	c #2494C5",
+"(%	c #20659E",
+"_%	c #1C4684",
+":%	c #183D7C",
+"<%	c #133B7A",
+"[%	c #0F5695",
+"}%	c #0A5FA1",
+"|%	c #055FA5",
+"1%	c #00559F",
+"2%	c #004D99",
+"3%	c #004896",
+"4%	c #002E74",
+"5%	c #003C82",
+"6%	c #004E94",
+"7%	c #003377",
+"8%	c #003175",
+"9%	c #003578",
+"0%	c #003B7F",
+"a%	c #003F82",
+"b%	c #014285",
+"c%	c #044889",
+"d%	c #094E8E",
+"e%	c #0D5493",
+"f%	c #125997",
+"g%	c #167FB4",
+"h%	c #1A96C7",
+"i%	c #1EA5D2",
+"j%	c #22A7D3",
+"k%	c #25A9D4",
+"l%	c #28AAD5",
+"m%	c #2AAAD5",
+"n%	c #2CABD6",
+"o%	c #2DACD6",
+"p%	c #2EACD5",
+"q%	c #2DA9D3",
+"r%	c #2CA6D1",
+"s%	c #299FCD",
+"t%	c #279ACA",
+"u%	c #2495C7",
+"v%	c #218FC3",
+"w%	c #1D86BC",
+"x%	c #1A4683",
+"y%	c #163574",
+"z%	c #112C6C",
+"A%	c #0D2464",
+"B%	c #082D6F",
+"C%	c #044E94",
+"D%	c #004F9A",
+"E%	c #004292",
+"F%	c #00347D",
+"G%	c #002266",
+"H%	c #002669",
+"I%	c #00286C",
+"J%	c #002B6F",
+"K%	c #002E72",
+"L%	c #003478",
+"M%	c #00377B",
+"N%	c #003A7E",
+"O%	c #013D80",
+"P%	c #044285",
+"Q%	c #084889",
+"R%	c #0D4D8D",
+"S%	c #115492",
+"T%	c #15609B",
+"U%	c #189ACB",
+"V%	c #1CA0CF",
+"W%	c #1FA2CF",
+"X%	c #21A3D1",
+"Y%	c #24A4D1",
+"Z%	c #25A5D1",
+"`%	c #27A4D1",
+" &	c #28A4D1",
+".&	c #28A0CE",
+"+&	c #289ECC",
+"@&	c #2596C8",
+"#&	c #2392C5",
+"$&	c #208DC2",
+"%&	c #1D87BD",
+"&&	c #1A75AE",
+"*&	c #173978",
+"=&	c #132E6D",
+"-&	c #0F2565",
+";&	c #0B1D5D",
+">&	c #071555",
+",&	c #021151",
+"'&	c #001F61",
+")&	c #00276D",
+"!&	c #003D8E",
+"~&	c #003B89",
+"{&	c #001E62",
+"]&	c #002063",
+"^&	c #002569",
+"/&	c #002D72",
+"(&	c #003074",
+"_&	c #003579",
+":&	c #033C7F",
+"<&	c #074183",
+"[&	c #0B4787",
+"}&	c #0F5392",
+"|&	c #1391C5",
+"1&	c #1695C8",
+"2&	c #1998CA",
+"3&	c #1C99CA",
+"4&	c #1E9ACB",
+"5&	c #209BCB",
+"6&	c #219BCB",
+"7&	c #229ACA",
+"8&	c #2399C9",
+"9&	c #2397C8",
+"0&	c #2394C6",
+"a&	c #2291C4",
+"b&	c #1E89C0",
+"c&	c #1C84BC",
+"d&	c #1A5B97",
+"e&	c #174C89",
+"f&	c #142D6C",
+"g&	c #102665",
+"h&	c #0C1E5D",
+"i&	c #081756",
+"j&	c #040F4F",
+"k&	c #000847",
+"l&	c #000541",
+"m&	c #00033D",
+"n&	c #00368A",
+"o&	c #00256E",
+"p&	c #00185A",
+"q&	c #001A5D",
+"r&	c #001D60",
+"s&	c #001F63",
+"t&	c #002568",
+"u&	c #00276B",
+"v&	c #00296D",
+"w&	c #002B70",
+"x&	c #003276",
+"y&	c #023579",
+"z&	c #063A7D",
+"A&	c #0A5997",
+"B&	c #0D87BF",
+"C&	c #108AC1",
+"D&	c #138CC3",
+"E&	c #168EC4",
+"F&	c #188FC4",
+"G&	c #1A90C4",
+"H&	c #1C90C4",
+"I&	c #1D8FC4",
+"J&	c #1D8EC3",
+"K&	c #1D8CC2",
+"L&	c #1D8AC0",
+"M&	c #1C87BE",
+"N&	c #1B83BC",
+"O&	c #1A7FB9",
+"P&	c #1864A0",
+"Q&	c #164987",
+"R&	c #132C6A",
+"S&	c #102564",
+"T&	c #0D1E5D",
+"U&	c #091756",
+"V&	c #06104E",
+"W&	c #020947",
+"X&	c #000441",
+"Y&	c #00023C",
+"Z&	c #000038",
+"`&	c #003086",
+" *	c #001A5E",
+".*	c #001354",
+"+*	c #001658",
+"@*	c #001D5F",
+"#*	c #001F62",
+"$*	c #002164",
+"%*	c #002367",
+"&*	c #002D71",
+"**	c #014C8E",
+"=*	c #0474B2",
+"-*	c #077CB9",
+";*	c #0B80BA",
+">*	c #0E82BB",
+",*	c #1083BC",
+"'*	c #1285BD",
+")*	c #1485BE",
+"!*	c #1686BD",
+"~*	c #1785BD",
+"{*	c #1884BC",
+"]*	c #1882BB",
+"^*	c #1880B9",
+"/*	c #187DB7",
+"(*	c #177AB6",
+"_*	c #1571AF",
+":*	c #143676",
+"<*	c #122968",
+"[*	c #0F2362",
+"}*	c #0D1D5C",
+"|*	c #0A1755",
+"1*	c #030A47",
+"2*	c #000239",
+"3*	c #002A82",
+"4*	c #00175D",
+"5*	c #00104F",
+"6*	c #001252",
+"7*	c #001454",
+"8*	c #001657",
+"9*	c #00195C",
+"0*	c #001C5E",
+"a*	c #001D61",
+"b*	c #002165",
+"c*	c #002366",
+"d*	c #002468",
+"e*	c #006CAE",
+"f*	c #006FB0",
+"g*	c #0271B1",
+"h*	c #0574B3",
+"i*	c #0877B4",
+"j*	c #0B78B5",
+"k*	c #0F7AB6",
+"l*	c #107AB7",
+"m*	c #127AB6",
+"n*	c #1279B5",
+"o*	c #1377B4",
+"p*	c #1375B3",
+"q*	c #1372B1",
+"r*	c #126FAF",
+"s*	c #115797",
+"t*	c #0F2766",
+"u*	c #0D2160",
+"v*	c #0B1B5A",
+"w*	c #091554",
+"x*	c #06104D",
+"y*	c #030A46",
+"z*	c #000540",
+"A*	c #000036",
+"B*	c #00237E",
+"C*	c #002980",
+"D*	c #002372",
+"E*	c #001A60",
+"F*	c #001659",
+"G*	c #001358",
+"H*	c #001A5F",
+"I*	c #002064",
+"J*	c #001B5E",
+"K*	c #005397",
+"L*	c #0065A9",
+"M*	c #0067AB",
+"N*	c #0069AC",
+"O*	c #026AAD",
+"P*	c #046CAE",
+"Q*	c #0768AB",
+"R*	c #0965A9",
+"S*	c #0A6EAF",
+"T*	c #0C6EAE",
+"U*	c #0D6DAE",
+"V*	c #0D6CAD",
+"W*	c #0D6AAB",
+"X*	c #0D67AA",
+"Y*	c #0D64A7",
+"Z*	c #0C498C",
+"`*	c #0A1E5E",
+" =	c #091856",
+".=	c #071350",
+"+=	c #050D4B",
+"@=	c #020844",
+"#=	c #00043F",
+"$=	c #00023B",
+"%=	c #000037",
+"&=	c #000035",
+"*=	c #000034",
+"==	c #001A77",
+"-=	c #00237D",
+";=	c #002881",
+">=	c #002D84",
+",=	c #00287F",
+"'=	c #000B6C",
+")=	c #00388A",
+"!=	c #003785",
+"~=	c #001556",
+"{=	c #001759",
+"]=	c #00195B",
+"^=	c #001C5F",
+"/=	c #001C60",
+"(=	c #004B91",
+"_=	c #004287",
+":=	c #00569C",
+"<=	c #0061A7",
+"[=	c #023187",
+"}=	c #033388",
+"|=	c #0563A7",
+"1=	c #0662A7",
+"2=	c #0762A7",
+"3=	c #0860A6",
+"4=	c #085EA4",
+"5=	c #085CA3",
+"6=	c #084388",
+"7=	c #071B5B",
+"8=	c #061453",
+"9=	c #04104D",
+"0=	c #030B48",
+"a=	c #010742",
+"b=	c #00033E",
+"c=	c #00013A",
+"d=	c #000033",
+"e=	c #000032",
+"f=	c #001C79",
+"g=	c #00217C",
+"h=	c #002780",
+"i=	c #002B83",
+"j=	c #003589",
+"k=	c #001D63",
+"l=	c #000F4F",
+"m=	c #000F4E",
+"n=	c #001050",
+"o=	c #001152",
+"p=	c #001353",
+"q=	c #001455",
+"r=	c #002F74",
+"s=	c #00529A",
+"t=	c #0058A1",
+"u=	c #00529D",
+"v=	c #0156A0",
+"w=	c #02569F",
+"x=	c #02549E",
+"y=	c #03529D",
+"z=	c #034F9A",
+"A=	c #032062",
+"B=	c #020F4E",
+"C=	c #010C49",
+"D=	c #000845",
+"E=	c #00033C",
+"F=	c #000138",
+"G=	c #000135",
+"H=	c #001474",
+"I=	c #001F7B",
+"J=	c #00247E",
+"K=	c #002D83",
+"L=	c #001051",
+"M=	c #000A46",
+"N=	c #000B48",
+"O=	c #000C4A",
+"P=	c #000D4B",
+"Q=	c #000E4D",
+"R=	c #001151",
+"S=	c #001253",
+"T=	c #00377E",
+"U=	c #004E9A",
+"V=	c #004C98",
+"W=	c #00408C",
+"X=	c #000946",
+"Y=	c #00053F",
+"Z=	c #000137",
+"`=	c #000031",
+" -	c #000030",
+".-	c #001373",
+"+-	c #001876",
+"@-	c #001D79",
+"#-	c #00267F",
+"$-	c #000D4D",
+"%-	c #000741",
+"&-	c #000843",
+"*-	c #000945",
+"=-	c #000A47",
+"--	c #000B49",
+";-	c #000D4C",
+">-	c #002F77",
+",-	c #00327A",
+"'-	c #002267",
+")-	c #002166",
+"!-	c #00256A",
+"~-	c #003D89",
+"{-	c #004393",
+"]-	c #003F90",
+"^-	c #003C8D",
+"/-	c #003382",
+"(-	c #003587",
+"_-	c #002069",
+":-	c #00033A",
+"<-	c #000136",
+"[-	c #00002F",
+"}-	c #000C6E",
+"|-	c #001171",
+"1-	c #001574",
+"2-	c #001E7A",
+"3-	c #00196A",
+"4-	c #00053E",
+"5-	c #000640",
+"6-	c #000742",
+"7-	c #00185B",
+"8-	c #003787",
+"9-	c #00398C",
+"0-	c #00378B",
+"a-	c #003388",
+"b-	c #002779",
+"c-	c #00063F",
+"d-	c #00002D",
+"e-	c #00096C",
+"f-	c #000D6F",
+"g-	c #001271",
+"h-	c #001675",
+"i-	c #001872",
+"j-	c #000338",
+"k-	c #00043A",
+"l-	c #00043B",
+"m-	c #00053D",
+"n-	c #000844",
+"o-	c #000944",
+"p-	c #002573",
+"q-	c #002E85",
+"r-	c #002C83",
+"s-	c #001E71",
+"t-	c #00002E",
+"u-	c #00002C",
+"v-	c #000266",
+"w-	c #00066A",
+"x-	c #000A6D",
+"y-	c #000E70",
+"z-	c #000C58",
+"A-	c #000643",
+"B-	c #000337",
+"C-	c #000236",
+"D-	c #000339",
+"E-	c #00053C",
+"F-	c #00063E",
+"G-	c #00073F",
+"H-	c #00145A",
+"I-	c #001C78",
+"J-	c #000743",
+"K-	c #00002A",
+"L-	c #00005F",
+"M-	c #000267",
+"N-	c #000A6C",
+"O-	c #000952",
+"P-	c #000131",
+"Q-	c #000132",
+"R-	c #000133",
+"S-	c #000134",
+"T-	c #000235",
+"U-	c #00196E",
+"V-	c #001D7A",
+"W-	c #001B78",
+"X-	c #001977",
+"Y-	c #001775",
+"Z-	c #001473",
+"`-	c #000E66",
+" ;	c #00002B",
+".;	c #000029",
+"+;	c #000053",
+"@;	c #00005E",
+"#;	c #000265",
+"$;	c #000464",
+"%;	c #000130",
+"&;	c #001160",
+"*;	c #001164",
+"=;	c #001674",
+"-;	c #001272",
+";;	c #001071",
+">;	c #000E6F",
+",;	c #000B6E",
+"';	c #00086C",
+");	c #00045F",
+"!;	c #000152",
+"~;	c #000046",
+"{;	c #000051",
+"];	c #00005A",
+"^;	c #00012F",
+"/;	c #000542",
+"(;	c #00106E",
+"_;	c #001070",
+":;	c #000F70",
+"<;	c #00086B",
+"[;	c #000367",
+"};	c #000163",
+"|;	c #00005B",
+"1;	c #000052",
+"2;	c #000047",
+"3;	c #000041",
+"4;	c #000028",
+"5;	c #000021",
+"6;	c #000025",
+"7;	c #00003E",
+"8;	c #00003A",
+"9;	c #00075A",
+"0;	c #00076B",
+"a;	c #000569",
+"b;	c #000368",
+"c;	c #000162",
+"d;	c #00005C",
+"e;	c #000054",
+"f;	c #00004C",
+"g;	c #000042",
+"h;	c #000039",
+"i;	c #000026",
+"j;	c #000023",
+"k;	c #000017",
+"l;	c #00001C",
+"m;	c #00004D",
+"n;	c #000055",
+"o;	c #000027",
+"p;	c #00003D",
+"q;	c #000058",
+"r;	c #00004E",
+"s;	c #000048",
+"t;	c #000019",
+"u;	c #000012",
+"v;	c #00001D",
+"w;	c #00001F",
+"x;	c #000044",
+"y;	c #000008",
+"z;	c #000018",
+"A;	c #000024",
+"B;	c #000015",
+"C;	c #000022",
+"D;	c #00000F",
+"E;	c #000004",
+"F;	c #000007",
+"G;	c #000009",
+"H;	c #00000C",
+"I;	c #00000D",
+"J;	c #00000E",
+"K;	c #00000A",
+"L;	c #000003",
+"M;	c #000000",
+"N;	c #000001",
+"O;	c #000005",
+"P;	c #00000B",
+"                                                                                                ",
+"                                                                                                ",
+"                                        . + @ # $ % & *                                         ",
+"                                = - ; > , ' ) ! ~ { ] ^ / ( _ :                                 ",
+"                            < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d e                               ",
+"                        f g h i j k l m n o p q r s t u v w x y z A B                           ",
+"                      C D E F G H I J K L M N O P Q R S T U V W X Y Z `  .                      ",
+"                    ..+.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.                    ",
+"                  1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.                  ",
+"                t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.                ",
+"              Z.`. +.+++@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+}+|+1+2+                ",
+"            3+4+5+6+7+8+9+0+a+b+c+d+e+f+g+h+i+j+k+k+l+m+]+n+o+p+q+r+s+t+u+v+w+x+y+              ",
+"            z+A+B+C+D+E+F+G+H+I+J+K+L+M+f+N+O+P+Q+R+S+T+U+V+W+X+Y+Z+`+ @.@+@@@#@$@%@            ",
+"          &@*@=@-@;@>@,@'@)@!@~@{@]@^@L+/@(@_@:@<@[@}@|@1@2@3@4@5@6@7@8@9@0@a@b@c@d@            ",
+"          e@f@z+A+B+g@h@i@j@k@l@m@n@o@p@q@r@s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@L@M@          ",
+"        N@O@P@Q@R@S@T@U@V@W@X@Y@l@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#          ",
+"        :#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#t#u#v#w#x#y#        ",
+"        z#A#B#M@C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$z#        ",
+"      -$;$>$,$O@'$)$!$~${$]$^$/$($_$:$<$[$}$|$1$2$3$4$5$3$6$7$8$ $9$0$a$b$c$d$e$f$g$h$i$        ",
+"      j$k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z$A$B$C$D$E$F$G$G$H$8$I$J$K$L$M$N$O$P$Q$R$S$T$U$k$V$      ",
+"      W$X$Y$Z$`$ %.%+%p$q$@%#%$%%%&%*%=%-%;%>%,%'%)%p#p#J$!%K$~%{%]%^%/%(%_%:%<%[%}%|%1%2%      ",
+"      3%4%5%6%7%8%9% %0%a%b%c%d%e%f%g%h%i%j%k%l%m%n%o%p%0$q%r%]%s%t%u%v%w%x%y%z%A%B%C%D%3%      ",
+"      E%F%G%H%I%J%K%8%L%M%N%O%P%Q%R%S%T%U%V%W%X%Y%Z%`% &9+.&+&V.@&#&$&%&&&*&=&-&;&>&,&'&)&      ",
+"      !&~&{&]&G%^&I%J%/&(&7%_& %:&<&[&}&|&1&2&3&4&5&6&7&8&9&0&a&$&b&c&d&e&f&g&h&i&j&k&l&m&      ",
+"      n&o&p&q&r&s&G%t&u&v&w&K%(&x&y&z&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V&W&X&Y&Z&      ",
+"      `& *.*+*p&q&@*#*$*%*^&u&v&J%&***=*-*;*>*,*'*)*!*~*{*]*^*/*(*_*:*<*[*}*|*V&1*l&Y&Z&2*      ",
+"      3*4*5*6*7*8*p&9*0*a*s&b*c*d*v&e*f*g*h*i*j**$k*l*m*n*o*p*q*r*s*t*u*v*w*x*y*z*Y&Z&A*z*      ",
+"      B*C*D*E*F*G*H*I*+*p&9*J*r&{&x&K*L*M*N*O*P*Q*R*S*T*U*V*W*X*Y*Z*`* =.=+=@=#=$=%=&=*=        ",
+"      ==-=;=>=,='=)=!=J*.*~=+*{=]=^=/=(=_=:=l$<=[=}=|=1=2=3=4=5=6=7=8=9=0=a=b=c=%=&=d=e=        ",
+"        f=g=h=i=3*j=k=l=m=n=o=p=q=~=8*r=^=b*s=t=j$u=-$v=w=x=y=z=A=B=C=D=z*E=F=A*&=d=e=G=        ",
+"        H===I=J=;=K=L=M=N=O=P=Q=l=n=R=6*S=.*T=D%D%D%U=2%V=V$3%W=J*L=X=Y=$=Z=&=*=e=`= -          ",
+"          .-+-@-g=#-$-%-&-*-M==---O=P=;-Q=m=>-,-'-)-!-~-{-E%]-^-/-(-_-:-<-*=d=e=`=[-[-          ",
+"          }-|-1-==2-3-4-4-5-%-6-&-*-X==-=-N=q&;-O=O=O=7-8-9-0-j=a-`&b-c-d=e=`= -[-d-$=          ",
+"            e-f-g-h-i-4-j-k-l-m-4-c-5-%-6-6-&-&-n-o-o-*-M=p-q-r-3*h=s-X=`= -[-t-u-u-            ",
+"            v-w-x-y-g-z-A-B-C-j-D-:-l-l-E-m-4-F-F-c-c-c-G-H-#-J=g=I=I-J-t-t-d-u-K-              ",
+"              L-M-w-N-f-O-P-Q-R-S-T-C-C-B-j-D-D-:-k-l-k-D=U-V-W-X-Y-Z-`-[- ; ;.;u-              ",
+"                +;@;#;$; ;u-d-t-[- -%;P-Q-R-R-S-B-z*&;*;Y-=;H=-;;;>;,;';);!;%=d-                ",
+"                  ~;{;];u-.;K- ; ;u-d-d-d-t-t-^;/;(;_;;;:;f-}-x-<;w-[;};|;1;2;                  ",
+"                  A*%=3;4;5;6;u-7;8;u-K- ; ; ; ;^;9;<;0;w-a;b;v-c;d;e;f;g;h;                    ",
+"                      i;j;k;l;d=m;1;n;d= ;i;o;o;o;o;p;@;d;q;+;r;s;3;h;`=K-                      ",
+"                        t;u;k;o;e=Z&%=5;*=l;v;v;v;w; ;x;3;p;Z&d=d-i;w;                          ",
+"                            y;u;z;v;5;A;A;B;u;u;u;j; ;.;i;C;v;z;u;D;                            ",
+"                                E;E;F;G;H;I;I;I;H;D;J;H;K;F;E;K;                                ",
+"                                      y;L;M;M;N;N;M;N;O;P;                                      ",
+"                                                                                                ",
+"                                                                                                ",
+"                                                                                                ",
+"                                                                                                "};
--- mozilla-firefox-1.0.orig/debian/mozilla-firefoxrc
+++ mozilla-firefox-1.0/debian/mozilla-firefoxrc
@@ -0,0 +1,2 @@
+# which /dev/dsp wrapper to use
+FIREFOX_DSP="auto"
--- mozilla-firefox-1.0.orig/debian/presubj
+++ mozilla-firefox-1.0/debian/presubj
@@ -0,0 +1,14 @@
+*** Please submit non packaging issue (e.g. feature requests) bugs to
+the Debian BTS and the upstream bugzilla
+(http://bugzilla.mozilla.org/buglist.cgi?product=Firefox) and put a
+reference to the bugzilla bug in the Debian bug report, to ease bug
+triage for the maintainers. Thank you. ***
+
+If your Firefox installation pre-dates 1.0, you might have had problems
+Firefox not really cleanly supporting upgrade from one release to another.
+Please try moving around your ~/.mozilla/firefox directory to see if it
+helps with your issue.
+
+Firefox requires the loopback interface (lo) to be up and unfiltered
+to accept keyboard input and function correctly. Please make sure this
+is the case before filing any bugs.
--- mozilla-firefox-1.0.orig/debian/rules
+++ mozilla-firefox-1.0/debian/rules
@@ -0,0 +1,234 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+SHELL=/bin/bash # I use bashisms
+
+# build phoenix
+export MOZ_PHOENIX=1
+export MOZ_FIREBIRD=1
+export MOZ_FIREFOX=1
+export BUILD_OFFICIAL=1 
+export MOZILLA_OFFICIAL=1
+#export MOZ_INTERNAL_LIBART_LGPL=1
+
+PHOENIX := mozilla-firefox
+PHOENIX_CVS := mozilla
+# things to remove from upstream tarball cause we don't need them
+UPSTREAM_REMOVE := debian mailnews themes/modern editor/ui \
+	editor/composer/src lib/mac
+UPSTREAM_VERSION := $(shell perl -e '<STDIN> =~ /\((.*)-.*\)/; print "$$1\n"' <debian/changelog)
+LIB_DIR := /usr/lib/mozilla-firefox
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	OPTFLAGS = -O0
+else
+	OPTFLAGS = -O2
+endif
+
+ifeq ($(DEB_BUILD_ARCH),ia64)
+OPTFLAGS=-O
+endif
+
+ifeq ($(DEB_BUILD_ARCH),powerpc)
+OPTFLAGS=-O
+endif
+
+ifeq ($(DEB_BUILD_ARCH),arm)
+OPTFLAGS=-O
+endif
+
+ifeq ($(DEB_BUILD_ARCH),alpha)
+OPTFLAGS=-O
+endif
+
+ifeq ($(DEB_BUILD_ARCH),sparc)
+OPTFLAGS=-O
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	OPTFLAGS += -g
+endif
+
+OPTFLAGS += -DDEBIAN
+
+ifeq ($(DEB_BUILD_ARCH),amd64)
+export CC=gcc-3.4
+export CXX=g++-3.4
+endif
+
+
+NULL = 
+CONFIGURE_OPTIONS = \
+	--enable-default-toolkit=gtk2 \
+	--with-default-mozilla-five-home=$(LIB_DIR) \
+	--with-user-appdir=.mozilla \
+	--with-system-mng=/usr \
+	--with-system-png=/usr \
+	--with-system-jpeg=/usr \
+	--disable-mailnews \
+	--disable-composer \
+	--disable-ldap \
+	--enable-postscript \
+	--disable-installer \
+	--enable-xprint \
+	--enable-crypto \
+	--enable-strip-libs \
+	--disable-svg \
+	--enable-mathml \
+	--disable-tests \
+	--disable-gtktest \
+	--disable-debug \
+	--disable-xft \
+	--enable-optimize="-pipe -w $(OPTFLAGS)" \
+	--with-system-zlib=/usr \
+	--with-gssapi=/usr \
+	--without-system-nspr \
+	--disable-xinerama \
+	--enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,negotiateauth \
+	--disable-pedantic \
+	--disable-long-long-warning \
+	--enable-single-profile \
+	--disable-profilesharing \
+	$(NULL)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info $(CONFIGURE_OPTIONS)
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE)
+
+	(cd debian && uudecode mozilla-firefox.png.uu \
+		&& uudecode debsearch.gif.uu)
+	touch build-stamp
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp debian/stamp-* \
+		debian/mozilla-firefox.png debian/debsearch.gif
+
+	-$(MAKE) distclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	chmod 755 debian/mozilla-firefox-xremote-client
+# Remove execute on javascript files
+	find debian/tmp -name '*.so' | xargs chmod -x 
+	chmod -x debian/tmp/$(LIB_DIR)/components/*.js
+
+# Exclude inspector for mozilla-firefox
+	dh_install -pmozilla-firefox '-X*inspector*'
+	dh_install -pmozilla-firefox-dom-inspector
+
+#Install helpers
+	install -m 755 debian/mozilla-firefox-runner \
+		debian/mozilla-firefox/usr/lib/mozilla-firefox/firefox
+	install -m 755 debian/update-mozilla-firefox-chrome \
+		debian/mozilla-firefox/usr/sbin/update-mozilla-firefox-chrome
+
+# Filter installed chrome
+	egrep -v 'inspector\.jar|embed-sample\.jar|classic\.jar' \
+		debian/tmp/$(LIB_DIR)/chrome/installed-chrome.txt \
+		> debian/mozilla-firefox/$(LIB_DIR)/chrome/installed-chrome.txt
+
+# Remove installed-extensions.txt
+	rm -rf 'debian/mozilla-firefox/$(LIB_DIR)/defaults/profile/extensions/installed-extensions.txt'
+
+# Move classic theme's install.rdf to final destination
+	mv debian/mozilla-firefox/$(LIB_DIR)/defaults/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf debian/mozilla-firefox/$(LIB_DIR)/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
+# Remove unneeded extensions directory
+	rm -rf debian/mozilla-firefox/$(LIB_DIR)/defaults/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+
+# Remove unneeded configs
+	rm -f debian/mozilla-firefox/$(LIB_DIR)/defaults/pref/editor.js \
+		debian/mozilla-firefox/${LIB_DIR}/defaults/pref/mailnews.js \
+		debian/mozilla-firefox/${LIB_DIR}/defaults/pref/inspector.js \
+		debian/mozilla-firefox/${LIB_DIR}/defaults/pref/firefox-l10n.js
+
+# Add Debian package version to preferences
+	echo // Debian package version \
+		> debian/mozilla-firefox/${LIB_DIR}/defaults/pref/vendor.js
+	echo "pref(\"general.useragent.vendorComment\",\"Debian package `dpkg-parsechangelog | sed -n 's/Version: *\(.*\)/\1/ p'`\");" \
+		>> debian/mozilla-firefox/${LIB_DIR}/defaults/pref/vendor.js
+
+# Move profiles into /etc
+	mv \
+	 debian/mozilla-firefox/$(LIB_DIR)/defaults/profile/*.html \
+	 debian/mozilla-firefox/etc/mozilla-firefox/profile
+
+
+#Move pretty icons into place
+	cp -f debian/mozilla-firefox.xpm \
+		debian/mozilla-firefox/$(LIB_DIR)/icons/default.xpm
+	cp -f debian/mozilla-firefox.xpm \
+		debian/mozilla-firefox/$(LIB_DIR)/icons/mozicon50.xpm
+	cp -f debian/mozilla-firefox-small.xpm \
+		debian/mozilla-firefox/$(LIB_DIR)/icons/mozicon16.xpm
+	cp -f debian/mozilla-firefox.xpm \
+		debian/mozilla-firefox/$(LIB_DIR)/chrome/icons/default/default.xpm
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion
+	dh_testdir
+	dh_testroot
+	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+#	dh_installcron
+	dh_installman
+	dh_installinfo
+	dh_installmime
+#	dh_undocumented
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source-tarball-from-cvs: clean
+	cp -af ../$(PHOENIX_CVS) ../$(PHOENIX)-$(UPSTREAM_VERSION).orig
+	cd ../$(PHOENIX)-$(UPSTREAM_VERSION).orig ; rm -rf mailnews debian
+	cd ../$(PHOENIX)-$(UPSTREAM_VERSION).orig ; find . -depth \( -name CVS \
+		 -or -name .cvsignore \) -exec rm -rf '{}' \;
+	cd .. ; tar --remove-files -cf $(PHOENIX)_$(UPSTREAM_VERSION).orig.tar \
+		$(PHOENIX)-$(UPSTREAM_VERSION).orig 
+	rm -rf ../$(PHOENIX)-$(UPSTREAM_VERSION).orig
+	gzip -9 ../$(PHOENIX)_$(UPSTREAM_VERSION).orig.tar
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure source-tarball-from-cvs
--- mozilla-firefox-1.0.orig/debian/update-mozilla-firefox-chrome
+++ mozilla-firefox-1.0/debian/update-mozilla-firefox-chrome
@@ -0,0 +1,128 @@
+#!/bin/sh
+
+set -e
+
+umask 022
+
+echo -n "Updating mozilla-firefox chrome registry..."
+
+if [ "$1" = "-v" ]; then
+    VERBOSE=1
+    echo
+fi
+
+unset MOZILLA_FIVE_HOME || :
+MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
+export MOZILLA_FIVE_HOME
+
+# PATH
+PATH=/usr/lib/mozilla-firefox:$PATH
+export PATH
+
+# added /usr/lib : don't load your local library
+LD_LIBRARY_PATH=/usr/lib/mozilla-firefox${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+export LD_LIBRARY_PATH
+
+# fake home to capture .firefox
+HOME=`mktemp -d /tmp/mozilla-firefox-pkg.XXXXXX`
+export HOME
+
+/sbin/ldconfig
+
+VARDIR=/var/lib/mozilla-firefox
+LIBDIR=/usr/lib/mozilla-firefox
+EXTDIR=${VARDIR}/extensions.d
+
+# cleaning VARDIR
+rm -fr ${VARDIR}/chrome ${VARDIR}/components ${VARDIR}/extensions/*
+
+# cleaning LIBDIR
+rm -rf ${LIBDIR}/chrome/overlayinfo
+rm -f  ${LIBDIR}/chrome/*.rdf
+rm -f  ${LIBDIR}/components/*.dat
+rm -f  ${LIBDIR}/components.ini
+rm -f  ${LIBDIR}/defaults.ini
+
+# create VARDIR
+install -d ${VARDIR}/chrome/overlayinfo
+install -d ${VARDIR}/components
+
+# create symlinks to LIBDIR
+ln -sf ${VARDIR}/chrome/overlayinfo ${LIBDIR}/chrome/overlayinfo
+ln -sf ${VARDIR}/extensions/installed-extensions.txt \
+    ${LIBDIR}/extensions
+
+# purge installed-extensions-processed.txt
+rm -f ${LIBDIR}/extensions/installed-extensions-processed.txt
+
+# purge Extensions.rdf
+rm -f ${LIBDIR}/extensions/Extensions.rdf
+
+# gen installed-extensions.txt
+TMPFILE=`tempfile`
+for f in `echo ${EXTDIR}/* | sort`; do
+    while read line; do
+    	EXTUID=`echo ${line} | cut -f 2 -d ,`
+        EXTUIDDIR=${LIBDIR}/extensions/${EXTUID}
+        if [ -e ${EXTUIDDIR} ]; then
+	    if [ -e ${EXTUIDDIR}/install.rdf ]; then
+	        if grep ${EXTUID} ${EXTUIDDIR}/install.rdf 2>&1 > /dev/null; then
+	            echo $line >> ${TMPFILE}
+	        elif [ "${VERBOSE}" ]; then
+		    echo "W: ${f}: ${EXTUIDDIR}/install.rdf doesn't contain the UID." >& 2
+		fi
+	    elif [ "${VERBOSE}" ]; then
+	        echo "W: ${f}: ${EXTUIDDIR}/install.rdf doesn't exist." >&2
+	    fi
+	elif [ "${VERBOSE}" ]; then
+	    echo "W: ${f}: ${EXTUIDDIR} doesn't exist." >&2
+	fi
+    done < $f
+done
+
+mv ${TMPFILE} ${VARDIR}/extensions/installed-extensions.txt
+chmod 0644 ${VARDIR}/extensions/installed-extensions.txt
+
+if [ "$VERBOSE" ]; then
+    for f in `find ${LIBDIR}/extensions/ -name '{*}' -maxdepth 1`; do
+        if ! grep `basename $f` ${VARDIR}/extensions/installed-extensions.txt 2>&1 > /dev/null; then
+	    echo "W: `basename $f` not in ${VARDIR}/extensions/installed-extensions.txt" >&2
+	fi
+    done
+fi
+
+# gen
+firefox-bin -register >/dev/null 2>&1 || echo "E: Registration process existed with status: $?" >&2
+
+if [ -e ${LIBDIR}/extensions/installed-extensions.txt ]; then
+    echo "E: ${LIBDIR}/extensions/installed-extensions.txt still present. Registration might have gone wrong." >&2
+fi
+
+# move and link
+for file in ${LIBDIR}/components/*.dat; do
+  if [ -f "${file}" ]; then
+    mv ${file} ${VARDIR}/components/
+    ln -fs ${VARDIR}/components/`basename "${file}"` ${LIBDIR}/components/
+  fi
+done
+
+for file in ${LIBDIR}/chrome/*.rdf; do
+  if [ -f "${file}" ]; then
+    mv ${file} ${VARDIR}/chrome/
+    ln -fs ${VARDIR}/chrome/`basename "${file}"` ${LIBDIR}/chrome/
+  fi
+done
+
+mv ${LIBDIR}/defaults.ini ${VARDIR}/
+ln -fs ${VARDIR}/defaults.ini ${LIBDIR}/
+
+mv ${LIBDIR}/components.ini ${VARDIR}/
+ln -fs ${VARDIR}/components.ini ${LIBDIR}/
+
+mv ${LIBDIR}/extensions/Extensions.rdf ${VARDIR}/extensions/
+ln -fs ${VARDIR}/extensions/Extensions.rdf ${LIBDIR}/extensions/
+
+rm -fr ${HOME}
+
+# done
+echo done.
--- mozilla-firefox-1.0.orig/debian/update-mozilla-firefox-chrome.8
+++ mozilla-firefox-1.0/debian/update-mozilla-firefox-chrome.8
@@ -0,0 +1,14 @@
+.TH UPDATE-MOZILLA-FIREFOX-CHROME 8 
+.SH NAME
+update-mozilla-firefox-chrome \- maintence script for Mozilla Firefox
+.SH SYNOPSIS
+.B update-mozilla-firefox-chrome [ -v ]
+.SH OPTIONS
+.TP
+\fB\-v\fR
+Display warning messages, if any.
+.SH DESCRIPTION
+Run as superuser to update the installation of Mozilla Firefox.
+This script is normally called by the package maintainance script; however, you may invoke it yourself if you've added chrome to Mozilla Firefox.
+.SH "SEE ALSO"
+.BR mozilla-firefox (1).
--- mozilla-firefox-1.0.orig/debian/inspector/00dom-inspector
+++ mozilla-firefox-1.0/debian/inspector/00dom-inspector
@@ -0,0 +1 @@
+extension,{641d8d09-7dda-4850-8228-ac0ab65e2ac9}
--- mozilla-firefox-1.0.orig/debian/inspector/Uninstall
+++ mozilla-firefox-1.0/debian/inspector/Uninstall
@@ -0,0 +1,4 @@
+register	global	package	inspector
+register	global	skin	classic/1.0
+register	global	skin	modern/1.0
+register	global	locale	en-US
--- mozilla-firefox-1.0.orig/debian/inspector/install.rdf
+++ mozilla-firefox-1.0/debian/inspector/install.rdf
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+
+<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+
+  <Description about="urn:mozilla:install-manifest">
+    <em:id>{641d8d09-7dda-4850-8228-ac0ab65e2ac9}</em:id>
+    <em:version>1.0</em:version>
+    
+    <!-- Target Application this extension can install into, 
+        with minimum and maximum supported versions. --> 
+    <em:targetApplication>
+      <Description>
+        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+        <em:minVersion>1.0</em:minVersion>
+        <em:maxVersion>1.0</em:maxVersion>
+      </Description>
+    </em:targetApplication>
+    
+    <!-- Front End MetaData -->
+    <em:name>DOM Inspector</em:name>
+    <em:description>A powerful tool for viewing and manipulating documents.</em:description>
+    <em:creator>Joe Hewitt</em:creator>
+    
+    <!-- Packages, Skins and Locales that this extension registers -->
+    <em:file>
+      <Description about="urn:mozilla:extension:file:inspector.jar">
+        <em:package>content/inspector/</em:package>
+	<em:locale>locale/en-US/inspector/</em:locale>
+	<em:skin>skin/classic/inspector/</em:skin>
+	<em:skin>skin/modern/inspector/</em:skin>
+      </Description>
+    </em:file>
+  </Description>      
+  
+</RDF>
--- mozilla-firefox-1.0.orig/debian/theme/00classic
+++ mozilla-firefox-1.0/debian/theme/00classic
@@ -0,0 +1 @@
+theme,{972ce4c6-7e08-4474-a285-3208198ce6fd}
--- mozilla-firefox-1.0.orig/debian/theme/Uninstall
+++ mozilla-firefox-1.0/debian/theme/Uninstall
@@ -0,0 +1,4 @@
+register	global	skin	classic/1.0
+register	global	skin	classic/1.0
+register	global	skin	classic/1.0
+register	global	skin	classic/1.0
