SOURCES: mozilla-firefox-searchplugins.patch (NEW) - yahoo and goo...

radek radek at pld-linux.org
Thu Jul 7 14:37:36 CEST 2005


Author: radek                        Date: Thu Jul  7 12:37:36 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- yahoo and google plugins: more privacy, utf-8 support for yahoo

---- Files affected:
SOURCES:
   mozilla-firefox-searchplugins.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mozilla-firefox-searchplugins.patch
diff -u /dev/null SOURCES/mozilla-firefox-searchplugins.patch:1.1
--- /dev/null	Thu Jul  7 14:37:36 2005
+++ SOURCES/mozilla-firefox-searchplugins.patch	Thu Jul  7 14:37:31 2005
@@ -0,0 +1,77 @@
+# Rationale:
+# 1. Mozilla's code contains a hard-coded check: if a search engine's name
+#    is "Yahoo" or "Google", some information is added to the URL to make
+#    the search recognizeable as coming from the Sherlock plugin.  I fail
+#    to see a reason for it.
+# 2. Since the /usr/lib*/mozilla*/searchplugins/ dir is writable only by
+#    root, there is no need for update* tags.
+--- ./browser/locales/en-US/searchplugins/yahoo.src~	2005-07-07 14:14:05.000000000 +0200
++++ ./browser/locales/en-US/searchplugins/yahoo.src	2005-07-07 14:20:02.000000000 +0200
+@@ -8,11 +8,13 @@
+ 
+ <SEARCH
+ #   version = "7.1" 
+-   name="Yahoo"
++   name="yahoo"
+    description="Yahoo Search"
+    searchForm="http://www.yahoo.com/r/so"
+    method="GET"
+    action="http://search.yahoo.com/search" 
++   queryEncoding="utf-8"
++   queryCharset="utf-8"
+ >
+ 
+ <input name="p" user>
+@@ -36,9 +38,9 @@
+ 
+ <browser
+     alsomatch="http://search.yahoo.com/bin/search"
+-    update="http://www.mozilla.org/products/firefox/plugins/yahoo.src"
+-    updateIcon="http://www.mozilla.org/products/firefox/plugins/yahoo.gif"
+-    updateCheckDays="3"
++#   update="http://www.mozilla.org/products/firefox/plugins/yahoo.src"
++#   updateIcon="http://www.mozilla.org/products/firefox/plugins/yahoo.gif"
++#   updateCheckDays="3"
+ >
+ 
+ </search>
+--- ./xpfe/components/search/datasets/google.src~	2005-07-07 14:11:24.000000000 +0200
++++ ./xpfe/components/search/datasets/google.src	2005-07-07 14:21:11.000000000 +0200
+@@ -1,12 +1,14 @@
+ # Mozilla/Google plug-in by amitp+mozilla at google.com
+ 
++# modified by PLD Team
++
+ <search 
+-   name="Google"
++   name="google"
+    description="Google Search"
+    method="GET"
+    action="http://www.google.com/search"
+-   update="http://www.google.com/mozilla/google.src"
+-   updateCheckDays=1   
++#  update="http://www.google.com/mozilla/google.src"
++#  updateCheckDays=1   
+    queryEncoding="utf-8"
+    queryCharset="utf-8"
+ >
+--- ./browser/locales/en-US/searchplugins/google.src~	2004-08-29 09:29:59.000000000 +0200
++++ ./browser/locales/en-US/searchplugins/google.src	2005-07-07 14:20:29.000000000 +0200
+@@ -1,12 +1,14 @@
+ # Mozilla/Google plug-in by amitp+mozilla at google.com
+ 
++# modified by PLD Team
++
+ <search 
+-   name="Google"
++   name="google"
+    description="Google Search"
+    method="GET"
+    action="http://www.google.com/search"
+-   update="http://www.google.com/mozilla/google.src"
+-   updateCheckDays=1   
++#  update="http://www.google.com/mozilla/google.src"
++#  updateCheckDays=1   
+    queryEncoding="utf-8"
+    queryCharset="utf-8"
+ >
================================================================



More information about the pld-cvs-commit mailing list