From 842192692718ac3454eddc36659d5f3f10464451 Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Wed, 1 Jun 2022 20:29:53 +0200 Subject: [PATCH] restore zapped patch files --- patches/remove_addons.patch | 74 +++++++++++++++++++ .../remove-organization-policy-banner.patch | 11 +++ 2 files changed, 85 insertions(+) diff --git a/patches/remove_addons.patch b/patches/remove_addons.patch index e69de29..bff7319 100644 --- a/patches/remove_addons.patch +++ b/patches/remove_addons.patch @@ -0,0 +1,74 @@ +diff --git a/browser/extensions/moz.build b/browser/extensions/moz.build +index 269dcb2..ed7c31d 100644 +--- a/browser/extensions/moz.build ++++ b/browser/extensions/moz.build +@@ -5,11 +5,9 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + + DIRS += [ +- "doh-rollout", + "formautofill", + "screenshots", + "webcompat", +- "report-site-issue", + "pictureinpicture", + "proxy-failover", + "search-detection", +diff --git a/browser/locales/Makefile.in b/browser/locales/Makefile.in +index 496379c..dd6f359 100644 +--- a/browser/locales/Makefile.in ++++ b/browser/locales/Makefile.in +@@ -61,7 +61,6 @@ l10n-%: + ifneq (,$(wildcard ../extensions/formautofill/locales)) + @$(MAKE) -C ../extensions/formautofill/locales AB_CD=$* XPI_NAME=locale-$* + endif +- @$(MAKE) -C ../extensions/report-site-issue/locales AB_CD=$* XPI_NAME=locale-$* + @$(MAKE) -C ../../devtools/client/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)' + @$(MAKE) -C ../../devtools/startup/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)' + @$(MAKE) l10n AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR) +@@ -82,7 +81,6 @@ endif + @$(MAKE) -C ../../devtools/startup/locales chrome AB_CD=$* + @$(MAKE) chrome AB_CD=$* + @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$* +- @$(MAKE) -C ../extensions/report-site-issue/locales chrome AB_CD=$* + + package-win32-installer: $(SUBMAKEFILES) + $(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen ZIP_IN='$(ZIP_OUT)' installer +diff --git a/browser/locales/filter.py b/browser/locales/filter.py +index bb2e992..7d7768e 100644 +--- a/browser/locales/filter.py ++++ b/browser/locales/filter.py +@@ -19,7 +19,6 @@ + "devtools/startup", + "browser", + "browser/extensions/formautofill", +- "browser/extensions/report-site-issue", + "extensions/spellcheck", + "other-licenses/branding/firefox", + "browser/branding/official", +diff --git a/browser/locales/l10n.ini b/browser/locales/l10n.ini +index f4cb7ca..4efac13 100644 +--- a/browser/locales/l10n.ini ++++ b/browser/locales/l10n.ini +@@ -13,7 +13,6 @@ + devtools/client + devtools/startup + browser/extensions/formautofill +- browser/extensions/report-site-issue + + [includes] + # non-central apps might want to use %(topsrcdir)s here, or other vars +diff --git a/browser/locales/l10n.toml b/browser/locales/l10n.toml +index b9b18fe..af7c583 100644 +--- a/browser/locales/l10n.toml ++++ b/browser/locales/l10n.toml +@@ -132,10 +132,6 @@ + l10n = "{l}browser/extensions/formautofill/**" + + [[paths]] +- reference = "browser/extensions/report-site-issue/locales/en-US/**" +- l10n = "{l}browser/extensions/report-site-issue/**" +- +-[[paths]] + reference = "services/sync/locales/en-US/**" + l10n = "{l}services/sync/**" diff --git a/patches/ui-patches/remove-organization-policy-banner.patch b/patches/ui-patches/remove-organization-policy-banner.patch index e69de29..688c17c 100644 --- a/patches/ui-patches/remove-organization-policy-banner.patch +++ b/patches/ui-patches/remove-organization-policy-banner.patch @@ -0,0 +1,11 @@ +--- a/browser/components/preferences/preferences.js ++++ b/browser/components/preferences/preferences.js +@@ -161,8 +161,6 @@ + this.removeAttribute("keyboard-navigation"); + }); + +- maybeDisplayPoliciesNotice(); +- + window.addEventListener("hashchange", onHashChange); + + gotoPref().then(() => {