-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update element-desktop to version 1.11.91 / rev 75 via SR 1242244
https://build.opensuse.org/request/show/1242244 by user dheidler + anag+factory - Fix build by breakig the bad esbuild library for good * Add break-esbuild-for-good.patch - Version 1.11.91 ## ✨ Features * Implement changes to memberlist from feedback (element-hq/element-web#29029). Contributed by @MidhunSureshR. * Add toast for recovery keys being out of sync (element-hq/element-web#28946). Contributed by @dbkr. * Refactor LegacyCallHandler event emitter to use TypedEventEmitter (element-hq/element-web#29008). Contributed by @t3chguy. * Add `Recovery` section in the new user settings `Encryption` tab (element-hq/element-web#28673). Contributed by @florianduros. * Retry loading chunks to make the app more resilient (https://github.com/element-hq/element-web/pul
- Loading branch information
1 parent
84be1d6
commit 2a2b2ad
Showing
8 changed files
with
106 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
diff -ru a/node_modules/esbuild/install.js b/node_modules/esbuild/install.js | ||
--- a/node_modules/esbuild/install.js 2025-02-01 12:49:52.486000000 +0100 | ||
+++ b/node_modules/esbuild/install.js 2025-02-02 17:53:44.578575982 +0100 | ||
@@ -27,7 +27,7 @@ | ||
var os = require("os"); | ||
var path = require("path"); | ||
var ESBUILD_BINARY_PATH = process.env.ESBUILD_BINARY_PATH || ESBUILD_BINARY_PATH; | ||
-var isValidBinaryPath = (x) => !!x && x !== "/usr/bin/esbuild"; | ||
+var isValidBinaryPath = (x) => !!x | ||
var knownWindowsPackages = { | ||
"win32 arm64 LE": "@esbuild/win32-arm64", | ||
"win32 ia32 LE": "@esbuild/win32-ia32", | ||
@@ -94,6 +94,7 @@ | ||
var toPath = path2.join(__dirname, "bin", "esbuild"); | ||
var isToPathJS = true; | ||
function validateBinaryVersion(...command) { | ||
+ return; | ||
command.push("--version"); | ||
let stdout; | ||
try { | ||
diff -ru a/node_modules/esbuild/lib/main.js b/node_modules/esbuild/lib/main.js | ||
--- a/node_modules/esbuild/lib/main.js 2025-02-01 12:49:52.486000000 +0100 | ||
+++ b/node_modules/esbuild/lib/main.js 2025-02-02 18:05:52.027111771 +0100 | ||
@@ -662,9 +662,6 @@ | ||
if (isFirstPacket) { | ||
isFirstPacket = false; | ||
let binaryVersion = String.fromCharCode(...bytes); | ||
- if (binaryVersion !== "0.23.1") { | ||
- throw new Error(`Cannot start service: Host version "${"0.23.1"}" does not match binary version ${quote(binaryVersion)}`); | ||
- } | ||
return; | ||
} | ||
let packet = decodePacket(bytes); | ||
@@ -1680,6 +1677,7 @@ | ||
return path.join(esbuildLibDir, `downloaded-${pkg.replace("/", "-")}-${path.basename(subpath)}`); | ||
} | ||
function generateBinPath() { | ||
+ return { binPath: ESBUILD_BINARY_PATH, isWASM: false }; | ||
if (isValidBinaryPath(ESBUILD_BINARY_PATH)) { | ||
if (!fs.existsSync(ESBUILD_BINARY_PATH)) { | ||
console.warn(`[esbuild] Ignoring bad configuration: ESBUILD_BINARY_PATH=${ESBUILD_BINARY_PATH}`); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/ipfs/bafybeihyyrk5wbb32xl47ne6rlqnlyz5rze42itklfl5zm4mopbuauteai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
------------------------------------------------------------------- | ||
Sun Feb 2 16:41:33 UTC 2025 - Dominik Heidler <[email protected]> | ||
|
||
- Fix build by breakig the bad esbuild library for good | ||
* Add break-esbuild-for-good.patch | ||
|
||
------------------------------------------------------------------- | ||
Sat Feb 1 10:50:43 UTC 2025 - Dominik Heidler <[email protected]> | ||
|
||
- Version 1.11.91 | ||
## ✨ Features | ||
|
||
* Implement changes to memberlist from feedback (https://github.com/element-hq/element-web/pull/29029). Contributed by @MidhunSureshR. | ||
* Add toast for recovery keys being out of sync (https://github.com/element-hq/element-web/pull/28946). Contributed by @dbkr. | ||
* Refactor LegacyCallHandler event emitter to use TypedEventEmitter (https://github.com/element-hq/element-web/pull/29008). Contributed by @t3chguy. | ||
* Add `Recovery` section in the new user settings `Encryption` tab (https://github.com/element-hq/element-web/pull/28673). Contributed by @florianduros. | ||
* Retry loading chunks to make the app more resilient (https://github.com/element-hq/element-web/pull/29001). Contributed by @t3chguy. | ||
* Clear account idb table on logout (https://github.com/element-hq/element-web/pull/28996). Contributed by @t3chguy. | ||
* Implement new memberlist design with MVVM architecture (https://github.com/element-hq/element-web/pull/28874). Contributed by @MidhunSureshR. | ||
|
||
## 🐛 Bug Fixes | ||
|
||
* https://github.com/element-hq/element-web/pull/29035). Contributed by @RiotRobot. | ||
* React to MatrixEvent sender/target being updated for rendering state events (https://github.com/element-hq/element-web/pull/28947). Contributed by @t3chguy. | ||
|
||
------------------------------------------------------------------- | ||
Wed Jan 15 14:01:29 UTC 2025 - Dominik Heidler <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/ipfs/bafybeifr5i6nnejujpodasw7wip6wlq3vyfankkqfwwm73oalwai3pfpkm | ||
/ipfs/bafybeiht3s47ggmfczejgs5qa32v73mtz3hf4nzjxtwy4snkquhujhihta |