diff options
Diffstat (limited to 'libre/icecat')
-rwxr-xr-x | libre/icecat/PKGBUILD | 12 | ||||
-rwxr-xr-x | libre/icecat/libre.patch | 357 | ||||
-rwxr-xr-x | libre/icecat/mozconfig | 2 |
3 files changed, 307 insertions, 64 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD index 822f800f2..85d0bd554 100755 --- a/libre/icecat/PKGBUILD +++ b/libre/icecat/PKGBUILD @@ -15,8 +15,8 @@ _pgo=false pkgname=icecat -pkgver=14.0 -pkgrel=4 +pkgver=17.0.1 +pkgrel=1 pkgdesc='The GNUzilla web browser, based on Mozilla Firefox. SafeBrowsing and other Google services disabled!' arch=(i686 x86_64 mips64el) license=(GPL2 MPL LGPL) @@ -72,10 +72,10 @@ source=( $pkgname-safe.desktop $pkgname-install-dir.patch vendor.js - cairo.patch + #cairo.patch ) md5sums=( - 6bb02202cd568e8a4f43239b8f52a4a7 + c88a29aa92fc41a07e777a0e63ac5f7e 3117865902d1a20ab61d75707be9888e ac29b01c189f20abae2f3eef1618ffc0 3009b176cc5f9b1e416b1bf7c45b064b @@ -84,7 +84,7 @@ md5sums=( d93fe402b87cd000a869e1fd6badc6c9 b320085e7effa2890a79f4f45760614b 0d053487907de4376d67d8f499c5502b - c8552d030494443218d88792f4dbbd0f + #c8552d030494443218d88792f4dbbd0f ) build() { @@ -98,7 +98,7 @@ build() { patch -Np1 -i $srcdir/$pkgname-install-dir.patch # install to /usr/lib/$pkgname patch -Np1 -i $srcdir/xulrunner-copy-stub.patch # small fix patch -Np1 -i $srcdir/libre.patch # Remove Google+Mozilla stuff - patch -Np1 -i $srcdir/cairo.patch # fix cairo + #patch -Np1 -i $srcdir/cairo.patch # fix cairo # Fix for use nspr, sqlite and nss external sed -i 's/\(MOZ_PKG_FATAL_WARNINGS =\).*/\1 0/' \ diff --git a/libre/icecat/libre.patch b/libre/icecat/libre.patch index 1f0d4306e..bf2dff437 100755 --- a/libre/icecat/libre.patch +++ b/libre/icecat/libre.patch @@ -1,33 +1,242 @@ diff -Nur a/browser/branding/unofficial/locales/browserconfig.properties b/browser/branding/unofficial/locales/browserconfig.properties --- a/browser/branding/unofficial/locales/browserconfig.properties +++ b/browser/branding/unofficial/locales/browserconfig.properties -@@ -1,2 +1,2 @@ +@@ -3,5 +3,29 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Do NOT localize or otherwise change these values --browser.startup.homepage=http://gnuzilla.gnu.org -+browser.startup.homepage=about:home ++ ++# Default startup homepage + browser.startup.homepage=about:home +-browser.search.defaultenginename="DuckDuckGo" ++ ++# Default search engine ++browser.search.defaultenginename=DuckDuckGo HTML ++ ++# Search engine order (order displayed in the search bar dropdown)s ++browser.search.order.1=DuckDuckGo HTML ++browser.search.order.2=DuckDuckGo Lite ++browser.search.order.3=Seeks Search ++ ++# increment this number when anything gets changed in the list below. This will ++# cause Firefox to re-read these prefs and inject any new handlers into the ++# profile database. Note that "new" is defined as "has a different URL"; this ++# means that it's not possible to update the name of existing handler, so ++# don't make any spelling errors here. ++gecko.handlerService.defaultHandlersVersion=3 ++ ++# The default set of protocol handlers for irc: ++gecko.handlerService.schemes.irc.0.name=Freenode ++gecko.handlerService.schemes.irc.0.uriTemplate=https://webchat.freenode.net/ ++ ++# The default set of protocol handlers for ircs: ++gecko.handlerService.schemes.ircs.0.name=Freenode ++gecko.handlerService.schemes.ircs.0.uriTemplate=https://webchat.freenode.net/ diff -Nur a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js ---- a/browser/app/profile/firefox.js -+++ b/browser/app/profile/firefox.js -@@ -70,6 +70,7 @@ - pref("extensions.getAddons.cache.enabled", true); - pref("extensions.getAddons.maxResults", 15); - pref("extensions.getAddons.get.url","http://www.gnu.org/software/gnuzilla/addons.html"); -+pref("extensions.getAddons.getWithPerformance.url","http://www.gnu.org/s/gnuzilla/addons.html"); - pref("extensions.getAddons.search.browseURL","http://www.gnu.org/software/gnuzilla/addons.html"); - pref("extensions.getAddons.search.url","http://www.gnu.org/software/gnuzilla/addons.html"); - pref("extensions.webservice.discoverURL","http://www.gnu.org/software/gnuzilla/addons.html"); -diff -Nur a/browser/base/content/aboutHome.js b/browser/base/content/abouthome/aboutHome.js ---- a/browser/base/content/abouthome/aboutHome.js -+++ b/browser/base/content/abouthome/aboutHome.js -@@ -38,104 +38,6 @@ - * - * ***** END LICENSE BLOCK ***** */ - --// If a definition requires additional params, check that the final search url --// is handled correctly by the engine. --const SEARCH_ENGINES = { +--- a/browser/app/profile/firefox.js 2012-12-01 16:06:30.000000000 -0200 ++++ b/browser/app/profile/firefox.js 2012-12-04 20:42:20.753633713 -0200 +@@ -324,15 +324,15 @@ + pref("browser.search.searchEnginesURL","http://www.gnu.org/software/gnuzilla/addons.html#search%20engines"); + + // pointer to the default engine name +-pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties"); ++pref("browser.search.defaultenginename", "chrome://branding/locale/browserconfig.properties"); + + // disable logging for the search service by default + pref("browser.search.log", false); + + // Ordering of Search Engines in the Engine list. +-pref("browser.search.order.1", "chrome://browser-region/locale/region.properties"); +-pref("browser.search.order.2", "chrome://browser-region/locale/region.properties"); +-pref("browser.search.order.3", "chrome://browser-region/locale/region.properties"); ++pref("browser.search.order.1", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.search.order.2", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.search.order.3", "chrome://branding/locale/browserconfig.properties"); + + // search bar results always open in a new tab + pref("browser.search.openintab", false); +@@ -616,23 +616,23 @@ + pref("browser.send_pings", false); + + /* initial web feed readers list */ +-pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties"); +-pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties"); ++pref("browser.contentHandlers.types.0.title", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.contentHandlers.types.0.uri", "chrome://branding/locale/browserconfig.properties"); + pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed"); +-pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties"); +-pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties"); ++pref("browser.contentHandlers.types.1.title", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.contentHandlers.types.1.uri", "chrome://branding/locale/browserconfig.properties"); + pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed"); +-pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties"); +-pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties"); ++pref("browser.contentHandlers.types.2.title", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.contentHandlers.types.2.uri", "chrome://branding/locale/browserconfig.properties"); + pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed"); +-pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties"); +-pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties"); ++pref("browser.contentHandlers.types.3.title", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.contentHandlers.types.3.uri", "chrome://branding/locale/browserconfig.properties"); + pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed"); +-pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties"); +-pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties"); ++pref("browser.contentHandlers.types.4.title", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.contentHandlers.types.4.uri", "chrome://branding/locale/browserconfig.properties"); + pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed"); +-pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties"); +-pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties"); ++pref("browser.contentHandlers.types.5.title", "chrome://branding/locale/browserconfig.properties"); ++pref("browser.contentHandlers.types.5.uri", "chrome://branding/locale/browserconfig.properties"); + pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed"); + + pref("browser.feeds.handler", "ask"); +@@ -643,7 +643,7 @@ + // region.properties file is newer than the version number in the handler + // service datastore, it will add any new handlers it finds in the prefs (as + // seeded by this file) to its datastore. +-pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties"); ++pref("gecko.handlerService.defaultHandlersVersion", "chrome://branding/locale/browserconfig.properties"); + + // The default set of web-based protocol handlers shown in the application + // selection dialog for webcal: ; I've arbitrarily picked 4 default handlers +@@ -651,65 +651,65 @@ + // protocol not currently listed here), we should go ahead and add those. + + // webcal +-pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties"); ++pref("gecko.handlerService.schemes.webcal.0.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.1.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.2.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.3.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://branding/locale/browserconfig.properties"); + + // mailto +-pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties"); ++pref("gecko.handlerService.schemes.mailto.0.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.1.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.2.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.3.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://branding/locale/browserconfig.properties"); + + // irc +-pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties"); ++pref("gecko.handlerService.schemes.irc.0.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.1.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.2.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.3.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://branding/locale/browserconfig.properties"); + + // ircs +-pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties"); +-pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties"); ++pref("gecko.handlerService.schemes.ircs.0.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.1.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.2.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.3.name", "chrome://branding/locale/browserconfig.properties"); ++pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://branding/locale/browserconfig.properties"); + + // By default, we don't want protocol/content handlers to be registered from a different host, see bug 402287 + pref("gecko.handlerService.allowRegisterFromDifferentHost", false); + + #ifdef MOZ_SAFE_BROWSING +-pref("browser.safebrowsing.enabled", true); +-pref("browser.safebrowsing.malware.enabled", true); ++pref("browser.safebrowsing.enabled", false); ++pref("browser.safebrowsing.malware.enabled", false); + pref("browser.safebrowsing.debug", false); + +-pref("browser.safebrowsing.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); +-pref("browser.safebrowsing.keyURL", "https://sb-ssl.google.com/safebrowsing/newkey?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); +-pref("browser.safebrowsing.gethashURL", "http://safebrowsing.clients.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); +-pref("browser.safebrowsing.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/report?"); +-pref("browser.safebrowsing.reportGenericURL", "http://%LOCALE%.phish-generic.mozilla.com/?hl=%LOCALE%"); +-pref("browser.safebrowsing.reportErrorURL", "http://%LOCALE%.phish-error.mozilla.com/?hl=%LOCALE%"); +-pref("browser.safebrowsing.reportPhishURL", "http://%LOCALE%.phish-report.mozilla.com/?hl=%LOCALE%"); +-pref("browser.safebrowsing.reportMalwareURL", "http://%LOCALE%.malware-report.mozilla.com/?hl=%LOCALE%"); +-pref("browser.safebrowsing.reportMalwareErrorURL", "http://%LOCALE%.malware-error.mozilla.com/?hl=%LOCALE%"); ++pref("browser.safebrowsing.updateURL", ""); ++pref("browser.safebrowsing.keyURL", ""); ++pref("browser.safebrowsing.gethashURL", ""); ++pref("browser.safebrowsing.reportURL", ""); ++pref("browser.safebrowsing.reportGenericURL", ""); ++pref("browser.safebrowsing.reportErrorURL", ""); ++pref("browser.safebrowsing.reportPhishURL", ""); ++pref("browser.safebrowsing.reportMalwareURL", ""); ++pref("browser.safebrowsing.reportMalwareErrorURL", ""); + +-pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/%LOCALE%/firefox/phishing-protection/"); +-pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); ++pref("browser.safebrowsing.warning.infoURL", ""); ++pref("browser.safebrowsing.malware.reportURL", ""); + + // Name of the about: page contributed by safebrowsing to handle display of error + // pages on phishing/malware hits. (bug 399233) +@@ -1149,13 +1149,3 @@ + // might keep around more than this, but we'll try to get down to this value). + // (This is intentionally on the high side; see bug 746055.) + pref("image.mem.max_decoded_image_kb", 256000); +- +-// Example social provider +-pref("social.manifest.facebook", "{\"origin\":\"https://www.facebook.com\",\"name\":\"Facebook Messenger\",\"workerURL\":\"https://www.facebook.com/desktop/fbdesktop2/socialfox/fbworker.js.php\",\"iconURL\":\"data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAX0lEQVQ4jWP4%2F%2F8%2FAyUYTFhHzjgDxP9JxGeQDSBVMxgTbUBCxer%2Fr999%2BQ8DJBuArJksA9A10s8AXIBoA0B%2BR%2FY%2FjD%2BEwoBoA1yT5v3PbdmCE8MAshhID%2FUMoDgzUYIBj0Cgi7ar4coAAAAASUVORK5CYII%3D\",\"sidebarURL\":\"https://www.facebook.com/desktop/fbdesktop2/?socialfox=true\"}"); +-// Comma-separated list of nsIURI::prePaths that are allowed to activate +-// built-in social functionality. +-pref("social.activation.whitelist", "https://www.facebook.com"); +-pref("social.sidebar.open", true); +-pref("social.sidebar.unload_timeout_ms", 10000); +-pref("social.active", false); +-pref("social.toast-notifications.enabled", true); +diff -Nur a/browser/branding/unofficial/content/aboutHome.js b/browser/branding/unofficial/content/aboutHome.js +--- a/browser/branding/unofficial/content/aboutHome.js ++++ b/browser/branding/unofficial/content/aboutHome.js +@@ -5,100 +5,41 @@ + // If a definition requires additional params, check that the final search url + // is handled correctly by the engine. + const SEARCH_ENGINES = { +- "Duck Duck Go": { +- image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAcCAYAAADxyeavAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3AwBERgxGkWttAAABtVJREFUWMPtmGtwVdUVx397n3PuK8m9uXlASCHQIBqeEooEDAymUEAKEaGlUoeOtbYdnSmdYjud6fjBdhytLS0zdRzbWkAGsCBtSktrRRQFY4gWaQZQUJFwCUhISHLzuo9zzj67Hy4Cd+RD6XDBD90z59uZdX5rrf96nC24xkd7jtlb/7VSda6jQEYKQiA8nUwlzcm39oWfXnvuWn5LXCtDyk6V9N6x4FGvu2ceydQw7amA8PsNAO04rvD7E8KQHxlTqncWbnnu0c8MfM+C+mfVh8fv144jfXPuwJoxA5QLUoJS4Gm0cnF27cY52IKsGOFas2ofDP/qyT/cMPieurmjvb7BfdhOuTl1CtbM27FfehnnjTdB6+yXLQv/nfMwqqqwd7+COtWGHDKkMfit+xYHV349fl3hu2fPne6dOv26UXWL36qdjtO4H/ffLWBZYBgIkW1aaw1KIQwTY9IEzPFjcfY1opXXWdS8t0wI4V03+PPjqm1z0kTLml5D4hdrIBRC5ueh471opUDKTzlw0QlABAIEVq4gtXELsqT4fNH+vaVXyyD/F/Cu22a2GUOHWOb4sQw+9jhCCNwVy8k/2Exh6zEiL2zBP6cOhMg4cnm0hEAIgU6lSG36I8EHv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pEUYmb9p28N85D/e9Y1g1U1fmdKs0J0/+snYc7R46jDV9Gtp1M51HStz9zbTbJzkaf4/OdC/p2qkMhH0cmhhm/iOjcE0QaITI1IZ2HPzLl+G+exRhmrGC36zdcVUsVwsfeX7Dma6pMx+wX35lXWjVQ2DbOM1vIywLeeAg79c6bDj+NzpUlFHBCAM/HI0oD/KOGKS11MfYM2mUASiFf9kSdFc3duObnlU9+R5a3sr9Pl98oHG9CATWDf7sCXwLF+BbOB8MA1/LYVwvYzKW+Ji23pO0lucjTYnlaoS+tEn6Fi4A18VuasJXM21lYcPW5uv6D3t+0m3biceX+ZbUC1GQj9vVw7HVc9iXfpfKwhqmRW+hPFRG1zNP07Dr9yxr9RMYPwFj/FjUsfexG/e71heqv1nYsHXzDbk96K6uuctLJDeLcEG+cfMYjPvvxf/FuViX70QDg6gdO7Hbz2K/tg8ViyFCoVZZXl4f/ev2Izf83qZryvQ1Opn6vo7HTQBjdCWyrAxcB9V2Gu9sO0ipZTTab42rWhHetvnFz8yl08VM1NYtIZlcrNPpm73+AQtDahkOJ3HVAWtW7a7wb596lf8f+A8mm/+hmETyjwAAAABJRU5ErkJggg=="}, - "Google": { -- image: "data:image/png;base64," + ++ "DuckDuckGo HTML": { + image: "data:image/png;base64," + - "iVBORw0KGgoAAAANSUhEUgAAAEYAAAAcCAYAAADcO8kVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ" + - "bWFnZVJlYWR5ccllPAAADHdJREFUeNrsWQl0VNUZvve9NzNJJpnsIkuEJMoqAVJAodCKoFUsAUFQ" + - "qhig0npaRUE8Viv1FFtQWxSwLXVhEawbhOWobOICFCGiEIIQRGIgCSFjMslsb9567+1/Z+7gmIYK" + @@ -118,31 +327,65 @@ diff -Nur a/browser/base/content/aboutHome.js b/browser/base/content/abouthome/a - "/UOfx9jvvTHBKP+/RmKRoHwIiYg8pgQJsszTKFYSV2qC0VcShyqnqlEKRpolqsAyFfnpKmLOnOgr" + - "VAVirhYnYzsZLbgSe57nwtL375N8H+Oy3H2qKpAKEL5eVc65E04rD2NW66uWrUDobKnAnPs7PR5+" + - "tLFQHjMS0knhEZLdim/8bxId+RetX/4RYACXlwEEPBQycwAAAABJRU5ErkJggg==" -- } --}; -- - // The process of adding a new default snippet involves: - // * add a new entity to aboutHome.dtd - // * add a <span/> for it in aboutHome.xhtml -@@ -143,7 +45,7 @@ - // The <a/> part of the snippet will be linked to the corresponding url. - const DEFAULT_SNIPPETS_URLS = [ - "http://www.mozilla.com/firefox/features/?WT.mc_ID=default1" --, "https://addons.mozilla.org/firefox/?src=snippet&WT.mc_ID=default2" -+, "http://www.gnu.org/software/gnuzilla/addons.html?src=snippet&WT.mc_ID=default2" - ]; ++ "iVBORw0KGgoAAAANSUhEUgAAAC8AAAAcCAYAAADxyeavAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI" + ++ "WXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3AwBERgxGkWttAAABtVJREFUWMPtmGtwVdUVx397n3Pu" + ++ "K8m9uXlASCHQIBqeEooEDAymUEAKEaGlUoeOtbYdnSmdYjud6fjBdhytLS0zdRzbWkAGsCBtSktr" + ++ "RRQFY4gWaQZQUJFwCUhISHLzuo9zzj67Hy4Cd+RD6XDBD90z59uZdX5rrf96nC24xkd7jtlb/7VS" + ++ "da6jQEYKQiA8nUwlzcm39oWfXnvuWn5LXCtDyk6V9N6x4FGvu2ceydQw7amA8PsNAO04rvD7E8KQ" + ++ "HxlTqncWbnnu0c8MfM+C+mfVh8fv144jfXPuwJoxA5QLUoJS4Gm0cnF27cY52IKsGOFas2ofDP/q" + ++ "yT/cMPieurmjvb7BfdhOuTl1CtbM27FfehnnjTdB6+yXLQv/nfMwqqqwd7+COtWGHDKkMfit+xYH" + ++ "V349fl3hu2fPne6dOv26UXWL36qdjtO4H/ffLWBZYBgIkW1aaw1KIQwTY9IEzPFjcfY1opXXWdS8" + ++ "t0wI4V03+PPjqm1z0kTLml5D4hdrIBRC5ueh471opUDKTzl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R52IUvnCCyLMx" + ++ "Aov6UCf8F78u8vLQA4MgJb6vLN2WE9kYI0c0qw8+tIXf5zMqKlAdHQgpQUqCh48woBQFFwYXgE4G" + ++ "SawvRmwqQg51EHkeXp+B126B1AhDAwI5rAwViyFLSwbyf/C93TmJfFHjniOypORo4olfEvjuA5d2" + ++ "dinxn4zRf64jOzITxyJ8mYKk3cQ94cc7b4KpEUYmb9p28N85D/e9Y1g1U1fmdKs0J0/+snYc7R46" + ++ "jDV9Gtp1M51HStz9zbTbJzkaf4/OdC/p2qkMhH0cmhhm/iOjcE0QaITI1IZ2HPzLl+G+exRhmrGC" + ++ "36zdcVUsVwsfeX7Dma6pMx+wX35lXWjVQ2DbOM1vIywLeeAg79c6bDj+NzpUlFHBCAM/HI0oD/KO" + ++ "GKS11MfYM2mUASiFf9kSdFc3duObnlU9+R5a3sr9Pl98oHG9CATWDf7sCXwLF+BbOB8MA1/LYVwv" + ++ "YzKW+Ji23pO0lucjTYnlaoS+tEn6Fi4A18VuasJXM21lYcPW5uv6D3t+0m3biceX+ZbUC1GQj9vV" + ++ "w7HVc9iXfpfKwhqmRW+hPFRG1zNP07Dr9yxr9RMYPwFj/FjUsfexG/e71heqv1nYsHXzDbk96K6u" + ++ "uctLJDeLcEG+cfMYjPvvxf/FuViX70QDg6gdO7Hbz2K/tg8ViyFCoVZZXl4f/ev2Izf83qZryvQ1" + ++ "Opn6vo7HTQBjdCWyrAxcB9V2Gu9sO0ipZTTab42rWhHetvnFz8yl08VM1NYtIZlcrNPpm73+AQtD" + ++ "ahkOJ3HVAWtW7a7wb596lf8f+A8mm/+hmETyjwAAAABJRU5ErkJggg==" + } + }; +@@ -115,8 +56,8 @@ const SNIPPETS_UPDATE_INTERVAL_MS = 86400000; // 1 Day. + + // Bug with dom.storage.enabled set as false +-// We are using DDG as a default in this case. +-let gSearchEngine = {"name": "Duck Duck Go", "searchUrl": "https://duckduckgo.com/html/?t=icecat&q=_searchTerms_"}; ++// We are using DDG HTML as a default in this case. ++let gSearchEngine = {"name": "DuckDuckGo HTML", "searchUrl": "https://duckduckgo.com/html/?q=_searchTerms_"}; + + document.addEventListener("DOMContentLoaded", function init() { + setupSearchEngine(); diff -Nur a/browser/locales/en-US/chrome/browser-region/region.properties b/browser/locales/en-US/chrome/browser-region/region.properties ---- a/browser/locales/en-US/chrome/browser-region/region.properties 2012-08-21 21:53:59.000000000 -0300 -+++ b/browser/locales/en-US/chrome/browser-region/region.properties 2012-11-30 01:17:50.561255302 -0200 -@@ -1,28 +1,16 @@ +--- a/browser/locales/en-US/chrome/browser-region/region.properties ++++ b/browser/locales/en-US/chrome/browser-region/region.properties +@@ -3,30 +3,18 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # Default search engine --browser.search.defaultenginename=Google +-browser.search.defaultenginename=DuckDuckGo +browser.search.defaultenginename=DuckDuckGo HTML # Search engine order (order displayed in the search bar dropdown)s --browser.search.order.1=Duck Duck Go +-browser.search.order.1=DuckDuckGo -browser.search.order.2=Google -browser.search.order.3=Yahoo - @@ -170,7 +413,7 @@ diff -Nur a/browser/locales/en-US/chrome/browser-region/region.properties b/brow # increment this number when anything gets changed in the list below. This will # cause Firefox to re-read these prefs and inject any new handlers into the -@@ -30,3 +18,11 @@ +@@ -34,3 +22,11 @@ # means that it's not possible to update the name of existing handler, so # don't make any spelling errors here. gecko.handlerService.defaultHandlersVersion=3 @@ -260,13 +503,13 @@ diff -Nur a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js -pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/android/"); -pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/android/api/%API_VERSION%/search/guid:%IDS%?src=mobile&appOS=%OS%&appVersion=%VERSION%"); -pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/android/api/%API_VERSION%/search/guid:%IDS%?src=mobile&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); -+pref("extensions.getAddons.recommended.browseURL","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.recommended.url","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.search.browseURL","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.search.url","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.browseAddons","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.get.url","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.getWithPerformance.url","http://www.gnu.org/s/gnuzilla/addons.html"); ++pref("extensions.getAddons.recommended.browseURL","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.recommended.url","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.search.browseURL","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.search.url","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.browseAddons","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.get.url","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.getWithPerformance.url","http://www.gnu.org/software/gnuzilla/addons.html"); /* preference for the locale picker */ pref("extensions.getLocales.get.url", ""); @@ -328,13 +571,13 @@ diff -Nur a/mobile/xul/app/mobile.js b/mobile/xul/app/mobile.js -pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/mobile/"); -pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/mobile/api/%API_VERSION%/search/guid:%IDS%?src=mobile&appOS=%OS%&appVersion=%VERSION%"); -pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/mobile/api/%API_VERSION%/search/guid:%IDS%?src=mobile&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); -+pref("extensions.getAddons.recommended.browseURL","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.recommended.url","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.search.browseURL","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.search.url","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.browseAddons","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.get.url","http://www.gnu.org/s/gnuzilla/addons.html"); -+pref("extensions.getAddons.getWithPerformance.url","http://www.gnu.org/s/gnuzilla/addons.html"); ++pref("extensions.getAddons.recommended.browseURL","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.recommended.url","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.search.browseURL","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.search.url","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.browseAddons","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.get.url","http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.getWithPerformance.url","http://www.gnu.org/software/gnuzilla/addons.html"); /* preference for the locale picker */ pref("extensions.getLocales.get.url", ""); diff --git a/libre/icecat/mozconfig b/libre/icecat/mozconfig index c09eacaca..5df8547f7 100755 --- a/libre/icecat/mozconfig +++ b/libre/icecat/mozconfig @@ -15,7 +15,7 @@ ac_add_options --with-system-libvpx ac_add_options --enable-system-hunspell ac_add_options --enable-system-sqlite ac_add_options --enable-system-ffi -ac_add_options --enable-system-cairo +ac_add_options --disable-system-cairo ac_add_options --enable-system-pixman ac_add_options --with-pthreads |