summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/torbrowser-compare-paths.patch
diff options
context:
space:
mode:
authorAndré Batista <nandre@riseup.net>2025-11-02 10:22:40 -0300
committerAndreas Enge <andreas@enge.fr>2025-12-03 20:08:58 +0100
commit972a8412d5de9f5ef9581a6f1aceaf6cf2016b3d (patch)
tree570af9bdf6198961166257e9983392621ac9ec9e /gnu/packages/patches/torbrowser-compare-paths.patch
parentfc5e1063d0c4c49e849b1d11ba9b5d6002ea3151 (diff)
gnu: torbrowser: Update to 15.0.
User profile directory has changed to "~/.tor project" in this version as MOZ_APP_PROFILE flag cannot be set anymore. * gnu/packages/tor-browsers.scm (firefox-locales): Update to 64046fdc97. (%torbrowser-build-date): Update to 20251028094500. (%torbrowser-version): Update to 15.0. (%torbrowser-firefox-version): Update to 140.4.0esr-15.0-1-build4. (torbrowser-translation-base): Update to cdd3da6308. (torbrowser-translation-specific): Update to 3395fe5bdb. (lld-as-ld-wrapper-18): Replace with lld-as-ld-wrapper-19. (make-torbrowser) [inputs]: Use libpng-apng-next, icu4c-76 and nss-rapid, in place of the defaults for those libraries. [native-inputs]: Use rust-cbindgen-0.28, lld-as-ld-wrapper-19, llvm-19 and clang-19. [arguments] <#:configure-flags>: Remove '--enable-official-branding' which breaks browser branding as of this version. <#:phases> 'setenv: Do not set MOZ_APP_PROFILE, which is now implied and breaks configuration phase when set. * gnu/packages/patches/torbrowser-compare-paths.patch: ... * gnu/packages/patches/torbrowser-use-system-wide-dir.patch: ... * gnu/packages/patches/torbrowsers-add-store-to-rdd-allowlist.patch: Refresh patches. Change Id: Id4134edd63328f479589e6ed61f46a869dbbda5d Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/patches/torbrowser-compare-paths.patch')
-rw-r--r--gnu/packages/patches/torbrowser-compare-paths.patch17
1 files changed, 4 insertions, 13 deletions
diff --git a/gnu/packages/patches/torbrowser-compare-paths.patch b/gnu/packages/patches/torbrowser-compare-paths.patch
index 7d4d5fdb788..8e880bf3908 100644
--- a/gnu/packages/patches/torbrowser-compare-paths.patch
+++ b/gnu/packages/patches/torbrowser-compare-paths.patch
@@ -5,20 +5,11 @@ name.
--- a/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
+++ b/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
-@@ -3606,6 +3606,7 @@
+@@ -3753,6 +3753,7 @@
if (
newAddon ||
oldAddon.updateDate != xpiState.mtime ||
+ oldAddon.path != xpiState.path ||
- (aUpdateCompatibility && this.isAppBundledLocation(installLocation))
- ) {
- newAddon = this.updateMetadata(
-@@ -3614,8 +3615,6 @@
- xpiState,
- newAddon
- );
-- } else if (oldAddon.path != xpiState.path) {
-- newAddon = this.updatePath(installLocation, oldAddon, xpiState);
- } else if (aUpdateCompatibility || aSchemaChange) {
- newAddon = this.updateCompatibility(
- installLocation,
+ (aUpdateCompatibility && this.isAppBundledLocation(installLocation)) ||
+ // update addon metadata if the addon in bundled into
+ // the omni jar and version or the resource URI pointing