commit 91202fbcdff7ad6488f4ed8192c3ccb8f82ac7c3 Author: Rosa Date: Wed Feb 1 14:23:54 2012 +0400 Automatic import for version 5.0.1 diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..ec5e3d6 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,3 @@ +--- +sources: + firefox-5.0.1.source.tar.bz2: c93b3513e160d87535a9d61c5e06a6a701e9cd3e diff --git a/firefox-3.6.3-appname.patch b/firefox-3.6.3-appname.patch new file mode 100644 index 0000000..d4aa893 --- /dev/null +++ b/firefox-3.6.3-appname.patch @@ -0,0 +1,29 @@ +From: Wolfgang Rosenauer +Subject: Hardcode app starter for default check + +diff --git a/browser/components/shell/src/nsGNOMEShellService.cpp b/browser/components/shell/src/nsGNOMEShellService.cpp +--- a/browser/components/shell/src/nsGNOMEShellService.cpp ++++ b/browser/components/shell/src/nsGNOMEShellService.cpp +@@ -127,17 +127,21 @@ nsGNOMEShellService::Init() + nsCOMPtr appPath; + rv = dirSvc->Get(NS_XPCOM_CURRENT_PROCESS_DIR, NS_GET_IID(nsILocalFile), + getter_AddRefs(appPath)); + NS_ENSURE_SUCCESS(rv, rv); + + rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME)); + NS_ENSURE_SUCCESS(rv, rv); + +- return appPath->GetNativePath(mAppPath); ++ /* This path to firefox is hardcoded for the default path setting */ ++ mAppPath.Assign ("/usr/bin/firefox"); ++ ++ //return appPath->GetNativePath(mAppPath); ++ return NS_OK; + } + + NS_IMPL_ISUPPORTS1(nsGNOMEShellService, nsIShellService) + + PRBool + nsGNOMEShellService::KeyMatchesAppName(const char *aKeyValue) const + { + diff --git a/firefox-5.0-asciidel.patch b/firefox-5.0-asciidel.patch new file mode 100644 index 0000000..1916cb3 --- /dev/null +++ b/firefox-5.0-asciidel.patch @@ -0,0 +1,15 @@ +Patch from: Bill Nottingham + +diff -up mozilla-release/browser/base/Makefile.in.fu mozilla-release/browser/base/Makefile.in +--- mozilla-release/browser/base/Makefile.in.fu 2011-06-24 16:50:23.802042086 -0400 ++++ mozilla-release/browser/base/Makefile.in 2011-06-24 16:50:42.324042096 -0400 +@@ -62,7 +62,7 @@ EXTRA_JS_MODULES = \ + + include $(topsrcdir)/config/rules.mk + +-PRE_RELEASE_SUFFIX := "" ++PRE_RELEASE_SUFFIX := + + DEFINES += \ + -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \ + diff --git a/firefox-5.0.1.source.tar.bz2.asc b/firefox-5.0.1.source.tar.bz2.asc new file mode 100644 index 0000000..7a3b158 --- /dev/null +++ b/firefox-5.0.1.source.tar.bz2.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (Cygwin) + +iEYEABECAAYFAk4WvpQACgkQtXtUhBd4X+hPXACfcpm9QhgI7NnSEaQ3/ndVUx4k +xHwAn2/1gNJw/ZBQajKTwv17L2Z8nrGx +=1mKA +-----END PGP SIGNATURE----- diff --git a/firefox-disable-check-default-browser.patch b/firefox-disable-check-default-browser.patch new file mode 100644 index 0000000..4cfef8a --- /dev/null +++ b/firefox-disable-check-default-browser.patch @@ -0,0 +1,12 @@ +diff -Naur mozilla/browser/app/profile/firefox.js mozilla.tpg/browser/app/profile/firefox.js +--- mozilla/browser/app/profile/firefox.js 2008-02-04 19:36:22.000000000 +0000 ++++ mozilla.tpg/browser/app/profile/firefox.js 2008-02-29 21:26:08.000000000 +0000 +@@ -184,7 +184,7 @@ + + // Whether or not the application should check at startup each time if it + // is the default browser. +-pref("browser.shell.checkDefaultBrowser", true); ++pref("browser.shell.checkDefaultBrowser", false); + + // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session + // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore diff --git a/firefox-kde.patch b/firefox-kde.patch new file mode 100644 index 0000000..cf97557 --- /dev/null +++ b/firefox-kde.patch @@ -0,0 +1,1646 @@ +diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in +--- a/browser/app/Makefile.in ++++ b/browser/app/Makefile.in +@@ -44,16 +44,17 @@ srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + + DIRS = profile/extensions + + PREF_JS_EXPORTS = $(srcdir)/profile/firefox.js \ + $(srcdir)/profile/channel-prefs.js \ ++ $(srcdir)/profile/kde.js \ + $(NULL) + + + # hardcode en-US for the moment + AB_CD = en-US + + DEFINES += -DAB_CD=$(AB_CD) + +diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul +new file mode 100644 +--- /dev/null ++++ b/browser/base/content/browser-kde.xul +@@ -0,0 +1,1078 @@ ++#filter substitution ++ ++# -*- Mode: HTML -*- ++# ++# ***** BEGIN LICENSE BLOCK ***** ++# Version: MPL 1.1/GPL 2.0/LGPL 2.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 Communicator client code, released ++# March 31, 1998. ++# ++# The Initial Developer of the Original Code is ++# Netscape Communications Corporation. ++# Portions created by the Initial Developer are Copyright (C) 1998-2000 ++# the Initial Developer. All Rights Reserved. ++# ++# Contributor(s): ++# Blake Ross ++# David Hyatt ++# Joe Hewitt ++# Pierre Chanial ++# Dean Tessman ++# Johnathan Nightingale ++# Dão Gottwald ++# Ehsan Akhgari ++# Robert Strong ++# Rob Campbell ++# Patrick Walton ++# David Dahl ++# Frank Yan ++# ++# 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 ++# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), ++# in which case the provisions of the GPL or the LGPL are applicable instead ++# of those above. If you wish to allow use of your version of this file only ++# under the terms of either the GPL or the LGPL, and not to allow others to ++# use your version of this file under the terms of the MPL, indicate your ++# decision by deleting the provisions above and replace them with the notice ++# and other provisions required by the GPL or the LGPL. If you do not delete ++# the provisions above, a recipient may use your version of this file under ++# the terms of any one of the MPL, the GPL or the LGPL. ++# ++# ***** END LICENSE BLOCK ***** ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++# All DTD information is stored in a separate file so that it can be shared by ++# hiddenWindow.xul. ++#include browser-doctype.inc ++ ++ ++ ++# All JS files which are not content (only) dependent that browser.xul ++# wishes to include *must* go into the global-scripts.inc file ++# so that they can be shared by macBrowserOverlay.xul. ++#include global-scripts.inc ++