diff -r 19a8c8d53349 -r bc5dfe5b853a firefox-kde.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/firefox-kde.patch Mon Nov 30 13:11:31 2009 +0100 @@ -0,0 +1,1148 @@ +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,643 @@ ++#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 ++# ++# 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 ++