Removed macOS stuff, updated librewolf-config.patch
This commit is contained in:
parent
505de6dbae
commit
d9945ef969
3 changed files with 9 additions and 27 deletions
12
build.sh
12
build.sh
|
|
@ -214,13 +214,6 @@ deps_pkg() {
|
||||||
echo "deps_pkg: done."
|
echo "deps_pkg: done."
|
||||||
}
|
}
|
||||||
|
|
||||||
deps_mac() {
|
|
||||||
echo "deps_mac: begin."
|
|
||||||
deps="yasm nasm ffmpeg node@14 gcc dbus nss"
|
|
||||||
brew install $deps
|
|
||||||
echo "deps_mac: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
# these utilities should work everywhere
|
# these utilities should work everywhere
|
||||||
clean() {
|
clean() {
|
||||||
echo "clean: begin."
|
echo "clean: begin."
|
||||||
|
|
@ -534,10 +527,6 @@ if [[ "$*" == *deps_pkg* ]]; then
|
||||||
deps_pkg
|
deps_pkg
|
||||||
done_something=1
|
done_something=1
|
||||||
fi
|
fi
|
||||||
if [[ "$*" == *deps_mac* ]]; then
|
|
||||||
deps_mac
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# main building actions...
|
# main building actions...
|
||||||
|
|
||||||
|
|
@ -619,7 +608,6 @@ Use: ./build.sh clean | all | [other stuff...]
|
||||||
deps_deb - install dependencies with apt.
|
deps_deb - install dependencies with apt.
|
||||||
deps_rpm - install dependencies with dnf.
|
deps_rpm - install dependencies with dnf.
|
||||||
deps_pkg - install dependencies with pkg. (experimental)
|
deps_pkg - install dependencies with pkg. (experimental)
|
||||||
deps_mac - install dependencies with brew. (experimental)
|
|
||||||
|
|
||||||
artifacts_deb - apply .cfg, create a dist zip file (for debian10).
|
artifacts_deb - apply .cfg, create a dist zip file (for debian10).
|
||||||
artifacts_rpm - apply .cfg, create a dist zip file (for fedora33).
|
artifacts_rpm - apply .cfg, create a dist zip file (for fedora33).
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/librewolf.cfg b/librewolf.cfg
|
diff --git a/librewolf.cfg b/librewolf.cfg
|
||||||
index 1ad0cea..7515734 100644
|
index 1ad0cea..597dd5e 100644
|
||||||
--- a/librewolf.cfg
|
--- a/librewolf.cfg
|
||||||
+++ b/librewolf.cfg
|
+++ b/librewolf.cfg
|
||||||
@@ -264,11 +264,12 @@ defaultPref("media.gmp-manager.certs.1.commonName", "");
|
@@ -264,11 +264,12 @@ defaultPref("media.gmp-manager.certs.1.commonName", "");
|
||||||
|
|
@ -68,7 +68,7 @@ index 1ad0cea..7515734 100644
|
||||||
// Default Value
|
// Default Value
|
||||||
// https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=
|
// https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=
|
||||||
// %REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=
|
// %REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=
|
||||||
@@ -1804,7 +1805,7 @@ lockPref("datareporting.healthreport.uploadEnabled", false);
|
@@ -1804,13 +1805,13 @@ lockPref("datareporting.healthreport.uploadEnabled", false);
|
||||||
lockPref("datareporting.policy.dataSubmissionEnabled", false);
|
lockPref("datareporting.policy.dataSubmissionEnabled", false);
|
||||||
|
|
||||||
// Pref : Disable right-click menu manipulation via JavaScript (disabled)
|
// Pref : Disable right-click menu manipulation via JavaScript (disabled)
|
||||||
|
|
@ -77,6 +77,13 @@ index 1ad0cea..7515734 100644
|
||||||
|
|
||||||
// Pref : Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript
|
// Pref : Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript
|
||||||
// Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in
|
// Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in
|
||||||
|
// JS-based web applications (Google Docs etc.)
|
||||||
|
// https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/dom.event.clipboardevents.enabled
|
||||||
|
-lockPref("dom.event.clipboardevents.enabled", false);
|
||||||
|
+lockPref("dom.event.clipboardevents.enabled", true);
|
||||||
|
|
||||||
|
// Pref : Force Punycode for Internationalized Domain Names
|
||||||
|
// http://kb.mozillazine.org/Network.IDN_show_punycode
|
||||||
@@ -2773,3 +2774,14 @@ defaultPref("devtools.selfxss.count", 0);
|
@@ -2773,3 +2774,14 @@ defaultPref("devtools.selfxss.count", 0);
|
||||||
// enable HTTPS only mode by default
|
// enable HTTPS only mode by default
|
||||||
defaultPref("dom.security.https_only_mode", true);
|
defaultPref("dom.security.https_only_mode", true);
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/distribution/policies.json b/distribution/policies.json
|
|
||||||
index 7f7e822..e517284 100644
|
|
||||||
--- a/distribution/policies.json
|
|
||||||
+++ b/distribution/policies.json
|
|
||||||
@@ -62,7 +62,7 @@
|
|
||||||
|
|
||||||
"Extensions": {
|
|
||||||
"Install": [
|
|
||||||
- "https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-1.33.2-an+fx.xpi"
|
|
||||||
+ "https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-1.33.2-an+fx.xpi",
|
|
||||||
],
|
|
||||||
"Uninstall": [
|
|
||||||
"google@search.mozilla.org",
|
|
||||||
Loading…
Add table
Reference in a new issue