From 36f15dbc57096ff29d24bf76ee503c0292520b7c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 12 Sep 2025 21:22:28 +0900 Subject: Update to 140.2.0-1. The settings patches needed adjusting because of changes introduced in . * makeicecat: Update FFMINOR and SOURCEBALL_CHECKSUM. Update patching for moved files on no longer existing patterns. Do not set MOZ_APP_VENDOR/MOZ_APP_UA_NAME/MOZ_APP_PROFILE, as confvars, which now fails the build. Delete obsolete variables, or those already set to the correct value in browser/moz.configure. Do not patch (and break) translation data. * data/patches/icecat-preferences.patch: Adjust for changes. * data/patches/hide-firefox-view-button.patch: Update patch. * data/patches/hide-submit-feedback-menu-item.patch: Likewise. * data/patches/icecat-about-dialog.patch: Likewise. * data/patches/moz-configure-changes.patch: Likewise. Set MOZILLA_OFFICIAL to False by default, which disables telemetry. * tools/process-json-files.py (SearchConfig) (SearchConfigOverrides): Delete classes. (processors): De-register them. * data/patches/fix-install.patch: New file. --- data/patches/icecat-preferences.patch | 96 ++++++++++++++++++++++++----------- 1 file changed, 65 insertions(+), 31 deletions(-) (limited to 'data/patches/icecat-preferences.patch') diff --git a/data/patches/icecat-preferences.patch b/data/patches/icecat-preferences.patch index f8f00cd..5b3b24f 100644 --- a/data/patches/icecat-preferences.patch +++ b/data/patches/icecat-preferences.patch @@ -1,6 +1,63 @@ +diff --git a/browser/base/content/appmenu-viewcache.inc.xhtml b/browser/base/content/appmenu-viewcache.inc.xhtml +index ec44a3b1a354..e469b754d93d 100644 +--- a/browser/base/content/appmenu-viewcache.inc.xhtml ++++ b/browser/base/content/appmenu-viewcache.inc.xhtml +@@ -139,6 +139,9 @@ + key="key_preferencesCmdMac" + #endif + /> ++ + + #endif + #endif ++ + + + +diff --git a/browser/base/content/browser-menubar.js b/browser/base/content/browser-menubar.js +index 61ae54a0884c..6d4c315427bc 100644 +--- a/browser/base/content/browser-menubar.js ++++ b/browser/base/content/browser-menubar.js +@@ -16,6 +16,9 @@ document.addEventListener( + case "menu_preferences": + openPreferences(undefined); + break; ++ case "menu_icecat_preferences": ++ openPreferences("privacy-icecatPreferences"); ++ break; + + // == view-menu == + case "menu_pageStyleNoStyle": +diff --git a/browser/components/customizableui/content/panelUI.js b/browser/components/customizableui/content/panelUI.js +index 689205034d9d..a80bbcfe2926 100644 +--- a/browser/components/customizableui/content/panelUI.js ++++ b/browser/components/customizableui/content/panelUI.js +@@ -379,6 +379,9 @@ const PanelUI = { + case "appMenu-settings-button": + openPreferences(); + break; ++ case "appMenu-icecatsettings-button": ++ openPreferences("privacy-icecatPreferences"); ++ break; + case "appMenu-more-button2": + this.showMoreToolsPanel(target); + break; +diff --git a/browser/components/preferences/privacy.inc.xhtml b/browser/components/preferences/privacy.inc.xhtml +index 28e325c938de..fb7e669e07f6 100644 --- a/browser/components/preferences/privacy.inc.xhtml +++ b/browser/components/preferences/privacy.inc.xhtml -@@ -705,6 +705,83 @@ +@@ -691,6 +691,83 @@ @@ -84,11 +141,13 @@