libre.patch 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. diff -Naurp1 --no-dereference a/desktop/searchweb.c b/desktop/searchweb.c
  2. --- a/desktop/searchweb.c 2020-05-25 02:55:29.000000000 +0600
  3. +++ b/desktop/searchweb.c 2020-10-22 01:43:25.567529763 +0600
  4. @@ -36,5 +36,5 @@
  5. struct search_provider {
  6. - char *name; /**< readable name such as 'google', 'yahoo', etc */
  7. - char *hostname; /**< host address such as www.google.com */
  8. - char *searchstring; /** < such as "www.google.com?search=%s" */
  9. + char *name; /**< readable name such as 'duckduckgo', 'seeks', etc */
  10. + char *hostname; /**< host address such as www.duckduckgo.com/html */
  11. + char *searchstring; /** < such as "www.duckduckgo.com/html/?q=%s" */
  12. char *ico; /** < location of domain's favicon */
  13. @@ -54,3 +54,3 @@ static struct search_web_ctx_s {
  14. -static const char *default_providers = "Google|www.google.com|http://www.google.com/search?q=%s|http://www.google.com/favicon.ico|\n";
  15. +static const char *default_providers = "DuckDuckGo HTML|www.duckduckgo.com|http://duckduckgo.com/html/?q=%s|http://www.duckduckgo.com/favicon.ico|\n";
  16. diff -Naurp1 --no-dereference a/frontends/amiga/dist/NetSurf.guide b/frontends/amiga/dist/NetSurf.guide
  17. --- a/frontends/amiga/dist/NetSurf.guide 2020-05-25 02:55:29.000000000 +0600
  18. +++ b/frontends/amiga/dist/NetSurf.guide 2020-10-22 01:43:25.554529763 +0600
  19. @@ -310,3 +310,3 @@ eg.
  20. |
  21. - +- Google
  22. + +- DuckDuckGo HTML
  23. @@ -316,3 +316,3 @@ Will look something like the following w
  24. |---------| |More NetSurf links|
  25. -|Google |
  26. +|DuckDuckGo HTML |
  27. diff -Naurp1 --no-dereference a/frontends/gtk/res/options.gtk2.ui b/frontends/gtk/res/options.gtk2.ui
  28. --- a/frontends/gtk/res/options.gtk2.ui 2020-05-25 02:55:29.000000000 +0600
  29. +++ b/frontends/gtk/res/options.gtk2.ui 2020-10-22 01:43:25.557529763 +0600
  30. @@ -191,23 +191,2 @@
  31. <row>
  32. - <col id="0">Google</col>
  33. - </row>
  34. - <row>
  35. - <col id="0">Yahoo!</col>
  36. - </row>
  37. - <row>
  38. - <col id="0">Microsoft Live</col>
  39. - </row>
  40. - <row>
  41. - <col id="0">Buisiness.com</col>
  42. - </row>
  43. - <row>
  44. - <col id="0">Omgili</col>
  45. - </row>
  46. - <row>
  47. - <col id="0">BBC News</col>
  48. - </row>
  49. - <row>
  50. - <col id="0">Ubuntu Packages</col>
  51. - </row>
  52. - <row>
  53. <col id="0">Creative Commons</col>
  54. @@ -215,8 +194,2 @@
  55. <row>
  56. - <col id="0">Ask</col>
  57. - </row>
  58. - <row>
  59. - <col id="0">Answers</col>
  60. - </row>
  61. - <row>
  62. <col id="0">Dictionary.com</col>
  63. @@ -224,26 +197,2 @@
  64. <row>
  65. - <col id="0">YouTube</col>
  66. - </row>
  67. - <row>
  68. - <col id="0">AeroMP3</col>
  69. - </row>
  70. - <row>
  71. - <col id="0">AOL</col>
  72. - </row>
  73. - <row>
  74. - <col id="0">Baidu</col>
  75. - </row>
  76. - <row>
  77. - <col id="0">Amazon</col>
  78. - </row>
  79. - <row>
  80. - <col id="0">Ebay</col>
  81. - </row>
  82. - <row>
  83. - <col id="0">IMBD</col>
  84. - </row>
  85. - <row>
  86. - <col id="0">ESPN</col>
  87. - </row>
  88. - <row>
  89. <col id="0">Wikipedia</col>
  90. @@ -251,3 +200,3 @@
  91. <row>
  92. - <col id="0">DuckDuckGo</col>
  93. + <col id="0">DuckDuckGo HTML</col>
  94. </row>
  95. diff -Naurp1 --no-dereference a/frontends/gtk/res/options.gtk3.ui b/frontends/gtk/res/options.gtk3.ui
  96. --- a/frontends/gtk/res/options.gtk3.ui 2020-05-25 02:55:29.000000000 +0600
  97. +++ b/frontends/gtk/res/options.gtk3.ui 2020-10-22 01:43:25.558529763 +0600
  98. @@ -2910,23 +2910,2 @@
  99. <row>
  100. - <col id="0" translatable="no">Google</col>
  101. - </row>
  102. - <row>
  103. - <col id="0" translatable="no">Yahoo!</col>
  104. - </row>
  105. - <row>
  106. - <col id="0" translatable="no">Microsoft Live</col>
  107. - </row>
  108. - <row>
  109. - <col id="0" translatable="no">Buisiness.com</col>
  110. - </row>
  111. - <row>
  112. - <col id="0" translatable="no">Omgili</col>
  113. - </row>
  114. - <row>
  115. - <col id="0" translatable="no">BBC News</col>
  116. - </row>
  117. - <row>
  118. - <col id="0" translatable="no">Ubuntu Packages</col>
  119. - </row>
  120. - <row>
  121. <col id="0" translatable="no">Creative Commons</col>
  122. @@ -2934,8 +2913,2 @@
  123. <row>
  124. - <col id="0" translatable="no">Ask</col>
  125. - </row>
  126. - <row>
  127. - <col id="0" translatable="no">Answers</col>
  128. - </row>
  129. - <row>
  130. <col id="0" translatable="no">Dictionary.com</col>
  131. @@ -2943,26 +2916,2 @@
  132. <row>
  133. - <col id="0" translatable="no">YouTube</col>
  134. - </row>
  135. - <row>
  136. - <col id="0" translatable="no">AeroMP3</col>
  137. - </row>
  138. - <row>
  139. - <col id="0" translatable="no">AOL</col>
  140. - </row>
  141. - <row>
  142. - <col id="0" translatable="no">Baidu</col>
  143. - </row>
  144. - <row>
  145. - <col id="0" translatable="no">Amazon</col>
  146. - </row>
  147. - <row>
  148. - <col id="0" translatable="no">Ebay</col>
  149. - </row>
  150. - <row>
  151. - <col id="0" translatable="no">IMBD</col>
  152. - </row>
  153. - <row>
  154. - <col id="0" translatable="no">ESPN</col>
  155. - </row>
  156. - <row>
  157. <col id="0" translatable="no">Wikipedia</col>
  158. @@ -2970,3 +2919,3 @@
  159. <row>
  160. - <col id="0" translatable="no">DuckDuckGo</col>
  161. + <col id="0" translatable="no">DuckDuckGo HTML</col>
  162. </row>
  163. File a/frontends/riscos/appdir/Resources/de/welcome.html,faf is a symbolic link while file b/frontends/riscos/appdir/Resources/de/welcome.html,faf is a regular file
  164. File a/frontends/riscos/appdir/Resources/en/welcome.html,faf is a symbolic link while file b/frontends/riscos/appdir/Resources/en/welcome.html,faf is a regular file
  165. File a/frontends/riscos/appdir/Resources/it/welcome.html,faf is a symbolic link while file b/frontends/riscos/appdir/Resources/it/welcome.html,faf is a regular file
  166. File a/frontends/riscos/appdir/Resources/ja/welcome.html,faf is a symbolic link while file b/frontends/riscos/appdir/Resources/ja/welcome.html,faf is a regular file
  167. File a/frontends/riscos/appdir/Resources/nl/welcome.html,faf is a symbolic link while file b/frontends/riscos/appdir/Resources/nl/welcome.html,faf is a regular file
  168. diff -Naurp1 --no-dereference a/frontends/riscos/appdir/Resources/SearchEngines b/frontends/riscos/appdir/Resources/SearchEngines
  169. --- a/frontends/riscos/appdir/Resources/SearchEngines 2020-05-25 02:55:29.000000000 +0600
  170. +++ b/frontends/riscos/appdir/Resources/SearchEngines 2020-10-22 01:43:25.534529764 +0600
  171. @@ -1,22 +1,5 @@
  172. -Google|www.google.com|http://www.google.com/search?q=%s|http://www.google.com/favicon.ico|
  173. -Yahoo|search.yahoo.com|http://search.yahoo.com/search?p=%s|http://www.yahoo.com/favicon.ico|
  174. -Bing|www.bing.com|http://www.bing.com/search?q=%s|http://www.bing.com/favicon.ico|
  175. -Business.com|www.business.com|http://www.business.com/search/rslt_default.asp?query=%s|http://www.business.com/favicon.ico|
  176. -Omgili|www.omgili.com|http://www.omgili.com/AAAAA/%s.html|http://www.omgili.com/favicon.ico|
  177. -BBC News|search.bbc.co.uk|http://search.bbc.co.uk/search?q=%s&tab=ns|http://news.bbc.co.uk/favicon.ico|
  178. -Ubuntu Packages|packages.ubuntu.com|http://packages.ubuntu.com/search?keywords=%s|http://packages.ubuntu.com/favicon.ico|
  179. Creative Commons|creativecommons.org|http://creativecommons.org/?s=%s|http://creativecommons.org/favicon.ico|
  180. -Ask.com|www.ask.com|http://www.ask.com/web?q=%s|http://www.ask.com/favicon.ico|
  181. -Answers.com|www.answers.com|http://www.answers.com/%s|http://www.answers.com/favicon.ico|
  182. Dictionary.com|dictionary.reference.com|http://dictionary.reference.com/browse/%s?jss=0|http://dictionary.reference.com/favicon.ico|
  183. -Youtube|www.youtube.com|http://www.youtube.com/results?search_query=%s|http://www.youtube.com/favicon.ico|
  184. -AeroMp3|www.aeromp3.com|http://www.aeromp3.com/search?q=%s|http://www.aeromp3.com/favicon.ico|
  185. -AOL|search.aol.com|http://search.aol.com/aol/search?query=%s|http://www.aol.com/favicon.ico|
  186. -Baidu|www.baidu.com|http://www.baidu.com/s?wd=%s|http://www.baidu.com/favicon.ico|
  187. -Amazon|www.amazon.com|http://www.amazon.com/s/ref=nb_ss_gw?field-keywords=%s|http://www.amazon.com/favicon.ico|
  188. -Ebay|shop.ebay.com|http://shop.ebay.com/items/%s|http://www.ebay.com/favicon.ico|
  189. -IMDB|www.imdb.com|http://www.imdb.com/find?q=%s|http://www.imdb.com/favicon.ico|
  190. -ESPN|search.espn.go.com|http://search.espn.go.com/%s/|http://www.espn.go.com/favicon.ico|
  191. Wikipedia|en.wikipedia.org|http://en.wikipedia.org/w/index.php?title=Special%%3ASearch&search=%s|http://en.wikipedia.org/favicon.ico|
  192. -DuckDuckGo|www.duckduckgo.com|http://www.duckduckgo.com/?q=%s|http://www.duckduckgo.com/favicon.ico|
  193. -Seeks|www.seeks-project.info|https://www.seeks-project.info/search.php/search?q=%s|http://www.seeks-project.info/search.php/public/images/seek_icon_32x32_transparent.png|
  194. +DuckDuckGo HTML|www.duckduckgo.com/html|http://www.duckduckgo.com/?q=%s|http://www.duckduckgo.com/favicon.ico|
  195. +Seeks|www.seeks.fr|https://www.seeks.fr/search.php/search?q=%s|http://www.seeks.fr/search.php/public/images/seek_icon_32x32_transparent.png|
  196. diff -Naurp1 --no-dereference a/Makefile.defaults b/Makefile.defaults
  197. --- a/Makefile.defaults 2020-05-25 02:55:29.000000000 +0600
  198. +++ b/Makefile.defaults 2020-10-22 01:43:25.509529765 +0600
  199. @@ -106,3 +106,3 @@ NETSURF_STRIP_BINARY := NO
  200. # Please don't be tempted to mention Mozilla here! Let's let that lie die.
  201. -NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s)"
  202. +NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; Arch Linux)"
  203. diff -Naurp1 --no-dereference a/resources/en/welcome.html b/resources/en/welcome.html
  204. --- a/resources/en/welcome.html 2020-05-25 02:55:29.000000000 +0600
  205. +++ b/resources/en/welcome.html 2020-10-22 01:43:25.576529762 +0600
  206. @@ -22,6 +22,6 @@
  207. -<form method="get" action="http://www.google.co.uk/search">
  208. +<form method="get" action="https://html.duckduckgo.com/html/">
  209. <div class="websearch">
  210. <input type="text" name="q" size="42" maxlength="255">
  211. -<input type="submit" value="Google Search" name="btnG">
  212. +<input type="submit" value="DuckDuckGo HTML Search" name="btnG">
  213. </div>
  214. diff -Naurp1 --no-dereference a/resources/SearchEngines b/resources/SearchEngines
  215. --- a/resources/SearchEngines 2020-05-25 02:55:29.000000000 +0600
  216. +++ b/resources/SearchEngines 2020-10-22 01:43:25.534529764 +0600
  217. @@ -1,20 +1,5 @@
  218. -Google|www.google.com|http://www.google.com/search?q=%s|http://www.google.com/favicon.ico|
  219. -Yahoo|search.yahoo.com|http://search.yahoo.com/search?p=%s|http://www.yahoo.com/favicon.ico|
  220. -Bing|www.bing.com|http://www.bing.com/search?q=%s|http://www.bing.com/favicon.ico|
  221. -Business.com|www.business.com|http://www.business.com/search/rslt_default.asp?query=%s|http://www.business.com/favicon.ico|
  222. -Omgili|www.omgili.com|http://www.omgili.com/AAAAA/%s.html|http://omgili.com/public/images/favicon.ico|
  223. -BBC News|search.bbc.co.uk|http://search.bbc.co.uk/search?q=%s&tab=ns|http://www.bbc.co.uk/favicon.ico|
  224. -Ubuntu Packages|packages.ubuntu.com|http://packages.ubuntu.com/search?keywords=%s|http://packages.ubuntu.com/favicon.ico|
  225. Creative Commons|creativecommons.org|http://creativecommons.org/?s=%s|http://creativecommons.org/favicon.ico|fixme:favicon does not work as it is served as x-icon and is a png
  226. -Ask.com|www.ask.com|http://www.ask.com/web?q=%s|http://sp.uk.ask.com/sh/i/a14/favicon/favicon.ico|fixme:favicon is served as text/plain
  227. Dictionary.com|dictionary.reference.com|http://dictionary.reference.com/browse/%s?jss=0|http://dictionary.reference.com/favicon.ico|
  228. -Youtube|www.youtube.com|http://www.youtube.com/results?search_query=%s|http://www.youtube.com/favicon.ico|
  229. -AOL|search.aol.com|http://search.aol.com/aol/search?query=%s|http://www.aol.com/favicon.ico|
  230. -Baidu|www.baidu.com|http://www.baidu.com/s?wd=%s|http://www.baidu.com/favicon.ico|
  231. -Amazon|www.amazon.com|http://www.amazon.com/s/ref=nb_ss_gw?field-keywords=%s|http://www.amazon.com/favicon.ico|
  232. -Ebay|shop.ebay.com|http://shop.ebay.com/items/%s|http://www.ebay.com/favicon.ico|
  233. -IMDB|www.imdb.com|http://www.imdb.com/find?q=%s|http://www.imdb.com/favicon.ico|
  234. -ESPN|search.espn.go.com|http://search.espn.go.com/%s/|http://www.espn.go.com/favicon.ico|
  235. Wikipedia|en.wikipedia.org|http://en.wikipedia.org/w/index.php?title=Special%%3ASearch&search=%s|http://en.wikipedia.org/favicon.ico|
  236. -DuckDuckGo|www.duckduckgo.com|http://www.duckduckgo.com/html/?q=%s|http://www.duckduckgo.com/favicon.ico|fixme:Their ico upsets the current implementation
  237. -Seeks|www.seeks-project.info|https://www.seeks-project.info/search.php/search?q=%s|http://www.seeks-project.info/search.php/public/images/seek_icon_32x32_transparent.png|fixme:they have no icon
  238. +DuckDuckGo HTML|www.duckduckgo.com/html|http://www.duckduckgo.com/html/?q=%s|http://www.duckduckgo.com/favicon.ico|fixme:Their ico upsets the current implementation
  239. +Seeks|www.seeks.fr|https://www.seeks.fr/search.php/search?q=%s|http://www.seeks.fr/search.php/public/images/seek_icon_32x32_transparent.png|fixme:they have no icon