summaryrefslogtreecommitdiff
path: root/firefox-1.0-locales-no-searchplugins.patch
diff options
context:
space:
mode:
Diffstat (limited to 'firefox-1.0-locales-no-searchplugins.patch')
-rw-r--r--firefox-1.0-locales-no-searchplugins.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/firefox-1.0-locales-no-searchplugins.patch b/firefox-1.0-locales-no-searchplugins.patch
new file mode 100644
index 0000000..0cf6bfa
--- /dev/null
+++ b/firefox-1.0-locales-no-searchplugins.patch
@@ -0,0 +1,23 @@
+Index: browser/locales/Makefile.in
+===================================================================
+RCS file: /cvsroot/mozilla/browser/locales/Makefile.in,v
+retrieving revision 1.1.2.24
+diff -d -u -p -r1.1.2.24 Makefile.in
+--- browser/locales/Makefile.in 22 Oct 2004 16:47:44 -0000 1.1.2.24
++++ browser/locales/Makefile.in 24 May 2005 17:37:59 -0000
+@@ -97,6 +97,7 @@ install:: $(addprefix $(AB_CD)/profile/,
+ install:: $(addprefix $(AB_CD)/profile/chrome/,$(PROFILE_CHROME))
+ $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/chrome
+
++ifeq ($(AB_CD),en-US)
+ SEARCH_PLUGINS = $(shell cat $(srcdir)/$(AB_CD)/searchplugins/list.txt)
+ SEARCH_PLUGIN_PREFIX = $(addprefix $(srcdir)/$(AB_CD)/searchplugins/,$(SEARCH_PLUGINS))
+
+@@ -105,6 +106,7 @@ libs realchrome:: $(addsuffix .src,$(SEA
+
+ install:: $(addsuffix .src,$(SEARCH_PLUGIN_PREFIX)) $(foreach base,$(SEARCH_PLUGIN_PREFIX),$(wildcard $(base).gif)$(wildcard $(base).png))
+ $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/searchplugins
++endif
+
+ # Let's imagine we wanted to create a language JARfile without registering it
+ # the following targets only work with JARed chrome: flat chrome is not supported
bgstack15