diff options
author | B Stack <bgstack15@gmail.com> | 2019-03-07 22:16:53 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-03-07 22:16:53 -0500 |
commit | c9f688eefd60452f138654d3f596378e217dd4c4 (patch) | |
tree | 990fa126ce573c38ff8f21153adf3821a5ce9d56 | |
parent | WIP: waterfox dpkg (diff) | |
download | stackrpms-c9f688eefd60452f138654d3f596378e217dd4c4.tar.gz stackrpms-c9f688eefd60452f138654d3f596378e217dd4c4.tar.bz2 stackrpms-c9f688eefd60452f138654d3f596378e217dd4c4.zip |
WIP: initial bgstackification
-rw-r--r-- | waterfox/debian/.gitignore | 3 | ||||
-rw-r--r-- | waterfox/debian/bgstack15-waterfox-prefs.js | 57 | ||||
-rw-r--r-- | waterfox/debian/mozconfig | 18 | ||||
-rw-r--r-- | waterfox/debian/patches/bgstack15.patch | 19 | ||||
-rw-r--r-- | waterfox/debian/patches/series | 1 | ||||
-rw-r--r-- | waterfox/debian/templates | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | waterfox/debian/waterfox-bin.sh | 0 | ||||
-rw-r--r-- | waterfox/debian/waterfox.postinst | 5 |
8 files changed, 85 insertions, 22 deletions
diff --git a/waterfox/debian/.gitignore b/waterfox/debian/.gitignore new file mode 100644 index 0000000..c533e44 --- /dev/null +++ b/waterfox/debian/.gitignore @@ -0,0 +1,3 @@ +.debhelper* +*debhelper.log +debian/waterfox/ diff --git a/waterfox/debian/bgstack15-waterfox-prefs.js b/waterfox/debian/bgstack15-waterfox-prefs.js new file mode 100644 index 0000000..f103dfb --- /dev/null +++ b/waterfox/debian/bgstack15-waterfox-prefs.js @@ -0,0 +1,57 @@ +// File: /usr/lib/waterfox/browser/defaults/preferences/bgstack15-prefs.js +// deployed with waterfox package (rpm or dpkg) built by bgstack15 +// last modified 2019-03-07 +// Reference: +// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig +// bgstack15-palemoon-prefs.js +pref("browser.allTabs.previews", false); +pref("browser.backspace_action", 0); +pref("browser.ctrlTab.previews", false); +pref("browser.download.useDownloadDir", true); +pref("browser.newtab.choice", 1); +pref("browser.newtabpage.enabled", false); +pref("browser.newtabpage.storageVersion", 1); +pref("browser.safebrowsing.malware.enabled", false); +pref("browser.safebrowsing.phishing.enabled", false); +pref("browser.search.hiddenOneOffs", "DuckDuckGo"); +pref("browser.search.suggest.enabled", false); +pref("browser.search.update", false); +pref("browser.search.widget.inNavBar", false); +pref("browser.sessionstore.restore_on_demand", "false"); +pref("browser.startup.homepage", "https://start.duckduckgo.com"); +pref("browser.startup.page", 3); +pref("browser.tabs.closeWindowWithLastTab", false); +pref("browser.uiCustomization.state", "{\"placements\":{\"PanelUI-contents\":[\"edit-controls\",\"zoom-controls\",\"new-window-button\",\"e10s-button\",\"privatebrowsing-button\",\"save-page-button\",\"print-button\",\"history-panelmenu\",\"fullscreen-button\",\"find-button\",\"preferences-button\",\"add-ons-button\",\"developer-button\",\"sync-button\"],\"addon-bar\":[\"addonbar-closebutton\",\"status-bar\"],\"PersonalToolbar\":[\"personal-bookmarks\"],\"nav-bar\":[\"urlbar-container\",\"bookmarks-menu-button\",\"downloads-button\",\"home-button\",\"jid1-n8wh2cbfc2qauj_jetpack-browser-action\",\"ublock0_raymondhill_net-browser-action\",\"_f73df109-8fb4-453e-8373-f59e61ca4da3_-browser-action\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"toolbar-menubar\":[\"menubar-items\"]},\"seen\":[\"jid1-n8wh2cbfc2qauj_jetpack-browser-action\",\"ublock0_raymondhill_net-browser-action\",\"_f73df109-8fb4-453e-8373-f59e61ca4da3_-browser-action\",\"developer-button\"],\"dirtyAreaCache\":[\"PersonalToolbar\",\"nav-bar\",\"TabsToolbar\",\"toolbar-menubar\",\"PanelUI-contents\",\"addon-bar\"],\"currentVersion\":6,\"newElementCount\":0}"); +pref("browser.uidensity", 1); +pref("camera.control.face_detection.enabled", false); +pref("captivedetect.canonicalURL", "http://127.0.0.1:9999/"); +pref("devtools.devedition.promo.url", "https://127.0.0.1:9999/"); +pref("distribution.stackrpms.bookmarksProcessed", true); +pref("dom.push.serverURL", "wss://127.0.0.1:9999/"); +pref("experiments.activeExperiment", false); +pref("extensions.enabledAddons", "%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:28.3.0"); +pref("extensions.shownSelectionUI", true); +pref("extensions.update.autoUpdateDefault", false); +pref("extensions.webextensions.uuids", "{\"uBlock0@raymondhill.net\":\"7f64930e-0e43-4813-97c3-6fcb8a82e63b\",\"jid1-n8wH2cBfc2QaUj@jetpack\":\"5b1c5018-34cd-4778-902b-08741e3d0002\",\"{f73df109-8fb4-453e-8373-f59e61ca4da3}\":\"b7ece467-f6eb-4254-a815-1029330a9793\"}"); +pref("findbar.highlightAll", true); +pref("gecko.handlerService.migrated", true); +pref("general.warnOnAboutConfig", false); +pref("geo.enabled", false); +pref("marionette.prefs.recommended", false); +pref("network.automatic-ntlm-auth.trusted-uris", ".ipa.smith122.com"); +pref("network.captive-portal-service.enabled", false); +pref("network.cookie.prefsMigrated", true); +pref("network.dns.disablePrefetch", true); +pref("network.negotiate-auth.trusted-uris", ".ipa.smith122.com"); +pref("network.predictor.enabled", false); +pref("network.prefetch-next", false); +pref("network.stricttransportsecurity.preloadlist", false); +pref("privacy.sanitize.migrateFx3Prefs", true); +pref("reader.parse-on-load.enabled", false); +pref("security.cert_pinning.enforcement_level", 0); +pref("security.ssl.errorReporting.url", "http://127.0.0.1:9999/"); +pref("services.settings.server", "http://127.0.0.1:9999/"); +pref("services.sync.declinedEngines", ""); +pref("toolkit.telemetry.reportingpolicy.firstRun", false); +pref("webextensions.storage.sync.serverURL", "http://127.0.0.1:9999/"); +pref("xpinstall.whitelist.add", ""); diff --git a/waterfox/debian/mozconfig b/waterfox/debian/mozconfig index f7e2529..ab7112d 100644 --- a/waterfox/debian/mozconfig +++ b/waterfox/debian/mozconfig @@ -1,24 +1,10 @@ -#if ! test `lsb_release -sc` = "trusty"; then -#export CC=clang-6.0 -#export CXX=clang++-6.0 -#else -#export CC=/usr/lib/gcc-mozilla/bin/gcc -#export CXX=/usr/lib/gcc-mozilla/bin/g++ -#export CPLUS_INCLUDE_PATH=/usr/lib/gcc-mozilla/include/c++/6:/usr/lib/gcc-mozilla/include/c++/6/x86_64-linux-gnu -#fi - -#if test `lsb_release -sc` = "stretch" || test `lsb_release -sc` = "jessie"; then -#export CC=clang-4.0 -#export CXX=clang++-4.0 -#else export CC=clang-6.0 export CXX=clang++-6.0 -#fi ac_add_options --prefix=/usr -ac_add_options --enable-optimize +ac_add_options --enable-optimize="-O2" ac_add_options --enable-eme=widevine -ac_add_options --enable-pulseaudio +ac_add_options --disable-pulseaudio ac_add_options --enable-alsa #X=$(($(getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN)*3/2)) diff --git a/waterfox/debian/patches/bgstack15.patch b/waterfox/debian/patches/bgstack15.patch new file mode 100644 index 0000000..0ce65d2 --- /dev/null +++ b/waterfox/debian/patches/bgstack15.patch @@ -0,0 +1,19 @@ +--- 1/browser/base/content/browser.xul 2019-02-01 17:33:15.000000000 -0500 ++++ 2/browser/base/content/browser.xul 2019-03-07 21:40:45.860499392 -0500 +@@ -570,7 +570,7 @@ + #ifdef MENUBAR_CAN_AUTOHIDE + toolbarname="&menubarCmd.label;" + accesskey="&menubarCmd.accesskey;" +- autohide="true" ++ autohide="false" + #endif + context="toolbar-context-menu"> + <toolbaritem id="menubar-items" align="center"> ++++ 1/browser/branding/unofficial/locales/browserconfig.properties 2019-02-01 17:33:15.000000000 -0500 +--- 2/browser/branding/unofficial/locales/browserconfig.properties 2019-03-07 22:02:14.383393055 -0500 +@@ -3,4 +3,4 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + + # Do NOT localize or otherwise change these values +-browser.startup.homepage=about:home ++browser.startup.homepage=https://start.duckduckgo.com/ diff --git a/waterfox/debian/patches/series b/waterfox/debian/patches/series index 48406b6..dbbf392 100644 --- a/waterfox/debian/patches/series +++ b/waterfox/debian/patches/series @@ -1,3 +1,4 @@ waterfox-install-dir.patch -p1 dont-statically-link-libstdc++.patch -p1 unity-menubar.patch -p1 +bgstack15.patch -p1 diff --git a/waterfox/debian/templates b/waterfox/debian/templates deleted file mode 100644 index b6a8742..0000000 --- a/waterfox/debian/templates +++ /dev/null @@ -1,4 +0,0 @@ -Template: waterfox/locales -Type: note -Description: Waterfox package contains only English (US) language pack. - If you want to have another locale, just download and install waterfox-locale-{language-code} package (for example: waterfox-locale-pl or waterfox-locale-en) from apt repository. diff --git a/waterfox/debian/waterfox-bin.sh b/waterfox/debian/waterfox-bin.sh index 754ed2a..754ed2a 100644..100755 --- a/waterfox/debian/waterfox-bin.sh +++ b/waterfox/debian/waterfox-bin.sh diff --git a/waterfox/debian/waterfox.postinst b/waterfox/debian/waterfox.postinst index 3418f39..737231f 100644 --- a/waterfox/debian/waterfox.postinst +++ b/waterfox/debian/waterfox.postinst @@ -39,8 +39,9 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov update-alternatives --install /usr/bin/x-www-browser \ x-www-browser /usr/bin/$MOZ_APP_NAME 40 - . /usr/share/debconf/confmodule - db_get waterfox/locales + # turned off for bgstack15 release + #. /usr/share/debconf/confmodule + #db_get waterfox/locales fi if [ "$1" = "configure" ] ; then |