summaryrefslogtreecommitdiff
path: root/libre/iceweasel/9002-FSDG-preference-defaults.patch
diff options
context:
space:
mode:
authorgrizzlyuser <grizzlyuser@protonmail.com>2023-06-07 11:55:57 +0200
committerbill-auger <mr.j.spam.me@gmail.com>2023-06-08 23:03:40 -0400
commit6a9adffc897cfffe7e5c6727b1667e2469535fe2 (patch)
treea180b1a7c16942de75449b3d57e4cf6fd315ea8a /libre/iceweasel/9002-FSDG-preference-defaults.patch
parent39bc37d5eb92d1bb0b6afc1b1c9edd058e8ea7f7 (diff)
[iceweasel]: upgrade to v114.0
1. Update according to the changes from upstreams. 2. To build, needed to copy 'document.ico' from 'unofficial' branding folder. I believe it has no trademarks attached to it and is OK for Parabola as it appears to have no special license notice, meaning it's MPL-2.0 as is most of the Firefox code. Ideally, it'd be better to remove the wireframe sphere logo from the center and replace it with Iceweasel logo, and that's what I did initially. But after some digging into license compatibility of MPL-2.0 and multi-license of Iceweasel logo (MPL 1.1/GPL 2.0/LGPL 2.1), and reading recommendations to consult with a lawyer for this case (combining modified works), I decided that's too much of a hassle. 2. FSDG: Disable and remove URLs of Contile and autoupdate of system addons. 3. Remove dependencies to old versions of python and python-pydantic, since system python-typing-extensions can be used instead of vendored one (after removal of it from the source tree in prepare()). 4. Bring back the patch for version constraint of python-zstandard to depend on current system version.
Diffstat (limited to 'libre/iceweasel/9002-FSDG-preference-defaults.patch')
-rw-r--r--libre/iceweasel/9002-FSDG-preference-defaults.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/libre/iceweasel/9002-FSDG-preference-defaults.patch b/libre/iceweasel/9002-FSDG-preference-defaults.patch
index 1804afa9c..323240ce9 100644
--- a/libre/iceweasel/9002-FSDG-preference-defaults.patch
+++ b/libre/iceweasel/9002-FSDG-preference-defaults.patch
@@ -208,3 +208,52 @@ index 5ec8703f29..48e92b1478 100644
pref("extensions.recommendations.privacyPolicyUrl", "");
--
2.39.0
+
+From bb913b7f286927f544af064e3ba7cc403163b671 Mon Sep 17 00:00:00 2001
+From: grizzlyuser <grizzlyuser@protonmail.com>
+Date: Sun, 4 Jun 2023 13:16:40 +0200
+Subject: [PATCH] FSDG: Disable Contile and autoupdate of system addons
+
+1. Contile (see change context lines) is used to fetch sponsored top
+ sites, which are not controlled by Parabola and are likely to not
+be committed to include only free software.
+2. While system addons shipped in the source code seem to be free
+ software, I'm not sure if the update endpoint also returns only free
+software, given that Mozilla is not committed to include only free
+software in their repositories.
+
+As these URLs can be considered as repositories not committed to include
+only free software, remove them from the source code.
+---
+ browser/app/profile/firefox.js | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
+index 3f133f4ee5..1676441784 100644
+--- a/browser/app/profile/firefox.js
++++ b/browser/app/profile/firefox.js
+@@ -51,8 +51,8 @@ pref("extensions.recommendations.themeRecommendationUrl", "https://color.firefox
+ pref("extensions.update.autoUpdateDefault", true);
+
+ // Check AUS for system add-on updates.
+-pref("extensions.systemAddon.update.url", "https://aus5.mozilla.org/update/3/SystemAddons/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
+-pref("extensions.systemAddon.update.enabled", true);
++pref("extensions.systemAddon.update.url", "");
++pref("extensions.systemAddon.update.enabled", false);
+
+ // Disable add-ons that are not installed by the user in all scopes by default.
+ // See the SCOPE constants in AddonManager.jsm for values to use here.
+@@ -1523,8 +1523,8 @@ pref("prompts.defaultModalType", 3);
+
+ pref("browser.topsites.useRemoteSetting", true);
+ // Fetch sponsored Top Sites from Mozilla Tiles Service (Contile)
+-pref("browser.topsites.contile.enabled", true);
+-pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles");
++pref("browser.topsites.contile.enabled", false);
++pref("browser.topsites.contile.endpoint", "");
+
+ // The base URL for the Quick Suggest anonymizing proxy. To make a request to
+ // the proxy, include a campaign ID in the path.
+--
+2.41.0
+