Commit b2e9c80e by Ruben Rodriguez

make-firefox updated for v57

parent 9a3d7716
......@@ -3,19 +3,18 @@
{
"name": "Amazon",
"include_locales": [ "af", "ar", "as", "az", "bg", "bn-IN", "br", "cak", "cy", "da", "de", "el", "en-GB", "en-US", "en-ZA", "eo", "es-AR", "eu", "fa", "fr", "ga-IE", "gd", "gl", "gn", "hr", "hsb", "hy-AM", "is", "it", "ja", "ka", "km", "kn", "ku", "lt", "mk", "mr", "ms", "my", "nb-NO", "nn-NO", "or", "pt-PT", "ro", "si", "son", "sq", "sr", "te", "th", "ur", "uz", "zh-CN", "zu"],
"exclude_locales": [],
"match": "amazon*.xml",
"match": "amazondotcom.xml",
"source": "en-US/amazondotcom.xml",
"locale_specific": [
{
"locales": [ "br", "fr", "oc" ],
"match": "amazon*.xml",
"locales": [ "br", "fr", "son" ],
"match": "amazon-france.xml",
"source": "fr/amazon-france.xml"
},
{
"locales": [ "cy", "da", "el", "en-GB", "eu", "ga-IE", "gd", "gl", "hr", "nb-NO", "nn-NO", "pt-PT", "sq", "sr" ],
"match": "amazon*.xml",
"match": "amazon-en-GB.xml",
"source": "en-GB/amazon-en-GB.xml"
},
{
......@@ -34,6 +33,11 @@
"source": "ja/amazon-jp.xml"
},
{
"locales": [ "ur" ],
"match": "amazon-in.xml",
"source": "ur/amazon-in.xml"
},
{
"locales": [ "zh-CN" ],
"match": "amazondotcn.xml",
"source": "zh-CN/amazondotcn.xml"
......@@ -58,25 +62,8 @@
"name": "Google",
"include_locales": [ "*" ],
"exclude_locales": [],
"match": "google*.xml",
"source": "en-US/google.xml",
"locale_specific": [
{
"locales": [ "en-GB" ],
"match": "google.xml",
"source": "en-GB/google.xml"
},
{
"locales": [ "en-ZA" ],
"match": "google.xml",
"source": "en-ZA/google.xml"
},
{
"locales": [ "ku" ],
"match": "google.xml",
"source": "ku/google-ku.xml"
}
]
"match": "google.xml",
"source": "en-US/google.xml"
}
],
"additions": [
......
// Release notes and vendor URLs
pref("app.releaseNotesURL", "http://trisquel.info/browser");
pref("app.vendorURL", "http://trisquel.info/browser");
pref("app.releaseNotesURL", "https://trisquel.info/en/wiki/abrowser-help");
pref("app.vendorURL", "https://trisquel.info/en/wiki/abrowser-help");
pref("privacy.trackingprotection.introURL", "https://trisquel.info/en/wiki/abrowser-help");
// PFS url
pref("pfs.datasource.url", "http://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%");
pref("pfs.filehint.url", "http://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%");
pref("pfs.datasource.url", "https://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%");
pref("pfs.filehint.url", "https://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%");
// I'm feeling Ducky.
pref("keyword.URL", "https://duckduckgo.com/?t=trisquel&q=!+");
......@@ -58,22 +59,22 @@ pref("general.useragent.compatMode.firefox",true);
// Startup pages
//pref ("browser.startup.page" , 3);
//pref ("browser.startup.homepage" , "http://trisquel.info");
//pref ("startup.homepage_welcome_url", "http://trisquel.info/welcome");
//pref ("startup.homepage_override_url" , "http://trisquel.info/newbrowser");
//pref ("browser.startup.homepage" , "https://trisquel.info");
//pref ("startup.homepage_welcome_url", "https://trisquel.info/welcome");
//pref ("startup.homepage_override_url" , "https://trisquel.info/newbrowser");
pref ("browser.startup.homepage_override.mstone", "ignore");
// Preferences for the Get Add-ons panel
pref ("extensions.webservice.discoverURL", "https://trisquel.info/browser-plain");
pref ("extensions.getAddons.search.url", "http://trisquel.info");
pref ("extensions.getAddons.search.url", "https://trisquel.info");
// Help URL
pref ("app.support.baseURL", "http://trisquel.info/wiki/");
pref ("app.support.baseURL", "https://trisquel.info/wiki/");
pref ("app.support.inputURL", "https://trisquel.info/contact");
pref ("app.feedback.baseURL", "https://trisquel.info/contact");
pref ("browser.uitour.url", "http://trisquel.info/browser");
pref ("plugins.update.url", "http://trisquel.info/browser");
pref ("browser.customizemode.tip0.learnMoreUrl", "http://trisquel.info/browser");
pref ("browser.uitour.url", "https://trisquel.info/en/wiki/abrowser-help");
pref ("plugins.update.url", "https://trisquel.info/en/wiki/abrowser-help");
pref ("browser.customizemode.tip0.learnMoreUrl", "https://trisquel.info/en/wiki/abrowser-help");
// Dictionary download preference
pref("browser.dictionaries.download.url", "http://dictionaries.mozdev.org/");
......@@ -98,7 +99,7 @@ pref("privacy.donottrackheader.value", 1);
pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
pref("browser.safebrowsing.enabled", false);
pref("browser.safebrowsing.malware.enabled", false);
pref("services.sync.privacyURL", "http://trisquel.info/en/legal");
pref("services.sync.privacyURL", "https://trisquel.info/en/legal");
pref("social.enabled", false);
pref("social.remote-install.enabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
......@@ -194,3 +195,18 @@ pref("xpinstall.signatures.required", false);
// disable screenshots extension
pref("extensions.screenshots.disabled", true);
pref("browser.onboarding.newtour", "performance,private,addons,customize,default");
pref("browser.onboarding.updatetour", "performance,library,singlesearch,customize");
// Disable rating bar
pref("browser.onboarding.enabled", false);
// New tab settings
pref("browser.newtabpage.activity-stream.default.sites", "https://www.trisquel.info/,https://www.gnu.org/,https://www.fsf.org/,https://libreplanet.org/,https://www.wikipedia.org/,https://www.wikinews.org/"):
pref("browser.newtabpage.activity-stream.showTopSites",false);
pref("browser.newtabpage.activity-stream.feeds.section.topstories",false);
pref("browser.newtabpage.activity-stream.feeds.snippets",false);
// Enable xrender
pref("gfx.xrender.enabled",true);
......@@ -9,7 +9,7 @@ mkdir /tmp/update-extension
(cd /tmp/update-extension
wget -O extension.xpi https://addons.mozilla.org/firefox/downloads/latest/$extension/addon-${extension}-latest.xpi
unzip extension.xpi
rm extension.xpi)
)
if [ -f /tmp/update-extension/install.rdf ]; then
......@@ -19,7 +19,7 @@ if [ -f /tmp/update-extension/manifest.json ]; then
ID=$(grep '"id":' /tmp/update-extension/manifest.json |head -n1|cut -d \" -f 4)
fi
rm -rf extensions/$ID
mv /tmp/update-extension extensions/$ID
mv /tmp/update-extension/extension.xpi extensions/$ID.xpi
done
......@@ -160,10 +160,11 @@ MOZILLA_REPO = http://hg.mozilla.org/releases/mozilla-release
L10N_REPO = http://hg.mozilla.org/releases/l10n/mozilla-release
EOF
cp $DATA/branding/content/identity-icons-brand.svg ./browser/extensions/onboarding/content/img/watermark.svg
# Replace about:home
rm browser/base/content/abouthome -rf
cp $DATA/abouthome -a browser/base/content
sed '/mozilla.*svg/d' -i ./browser/base/jar.mn
sed '/abouthome/s/*/ /' -i ./browser/base/jar.mn
# Delete stuff we don't use and that may contain trademaked logos
......@@ -230,7 +231,7 @@ replace "Trisquel Corporation" "Mozilla Corporation" .
replace "abrowser.com" "firefox.com" .
#sed -i 's/iceweasel, abrowser, icecat,/iceweasel, firefox, icecat,/g' debian/control.in
sed '/Provides/s/abrowser-locale/firefox-locale/' -i debian/control.langpacks
sed 's/Abrowser/Firefox/' -i third_party/rust/idna/src/lib.rs
sed 's/Abrowser/Firefox/' -i third_party/rust/idna/src/lib.rs third_party/rust/encoding_rs/.travis.yml third_party/rust/encoding_rs/README.md
sed 's/Trisquel/Mozilla/' -i third_party/rust/encoding_rs/src/lib.rs browser/components/uitour/UITour-lib.js
# Restore useragent to Firefox
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment