all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob f0130062624bc428eccda37dadc747ea898987d8 1345 bytes (raw)
name: gnu/packages/patches/icecat-compare-canonicalized-paths.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
--- a/toolkit/mozapps/extensions/internal/XPIDatabase.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIDatabase.jsm
@@ -3452,6 +3452,7 @@ const XPIDatabaseReconcile = {
     if (
       newAddon ||
       oldAddon.updateDate != xpiState.mtime ||
+      oldAddon.path != xpiState.path ||
       (aUpdateCompatibility && this.isAppBundledLocation(installLocation))
     ) {
       newAddon = this.updateMetadata(
@@ -3460,8 +3461,6 @@ const XPIDatabaseReconcile = {
         xpiState,
         newAddon
       );
-    } else if (oldAddon.path != xpiState.path) {
-      newAddon = this.updatePath(installLocation, oldAddon, xpiState);
     } else if (aUpdateCompatibility || aSchemaChange) {
       newAddon = this.updateCompatibility(
         installLocation,
--- a/toolkit/mozapps/extensions/internal/XPIProvider.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIProvider.jsm
@@ -1167,8 +1167,9 @@ class SystemAddonDefaults extends DirectoryLocation {
 
       // Only attempt to load unpacked directory if unofficial build.
       if (!AppConstants.MOZILLA_OFFICIAL && !file.exists()) {
-        file = this.dir.clone();
-        file.append(`${id}`);
+        let symlink = this.dir.clone();
+        symlink.append(`${id}`);
+        file = symlink.isSymlink() ? new nsIFile(symlink.target) : symlink;
       }
 
       addons.set(id, file);

debug log:

solving f0130062624b ...
found f0130062624b in https://yhetil.org/guix/f497f0a1831906861201bb4cc799b6b70cd83049.1696782417.git.clement@lassieur.org/

applying [1/1] https://yhetil.org/guix/f497f0a1831906861201bb4cc799b6b70cd83049.1696782417.git.clement@lassieur.org/
diff --git a/gnu/packages/patches/icecat-compare-canonicalized-paths.patch b/gnu/packages/patches/icecat-compare-canonicalized-paths.patch
new file mode 100644
index 000000000000..f0130062624b

1:29: trailing whitespace.
 
1:38: trailing whitespace.
 
Checking patch gnu/packages/patches/icecat-compare-canonicalized-paths.patch...
Applied patch gnu/packages/patches/icecat-compare-canonicalized-paths.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 f0130062624bc428eccda37dadc747ea898987d8	gnu/packages/patches/icecat-compare-canonicalized-paths.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.