Compare commits

..

No commits in common. "factory" and "devel" have entirely different histories.

12 changed files with 42 additions and 322 deletions

View File

@ -1,22 +1,14 @@
7-zip is not actually used during build 7-zip is not actually used during build
--- vendor/node_modules/builder-util/out/7za.js.orig 2024-11-12 14:03:34.173010978 +0100 --- vendor/node_modules/builder-util/out/7za.js.orig 2024-05-15 21:11:29.747999000 +0200
+++ vendor/node_modules/builder-util/out/7za.js 2024-11-12 14:05:06.720292070 +0100 +++ vendor/node_modules/builder-util/out/7za.js 2024-05-15 23:22:09.712045854 +0200
@@ -6,13 +6,15 @@ @@ -4,8 +4,7 @@ exports.getPath7x = exports.getPath7za =
const _7zip_bin_1 = require("7zip-bin");
const fs_extra_1 = require("fs-extra"); const fs_extra_1 = require("fs-extra");
const fs = require("fs");
async function getPath7za() { async function getPath7za() {
+ return '/bin/false'; - await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755);
if (fs.existsSync(_7zip_bin_1.path7za)) { - return _7zip_bin_1.path7za;
await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755); + return '/bin/false'
}
return _7zip_bin_1.path7za;
} }
exports.getPath7za = getPath7za;
async function getPath7x() { async function getPath7x() {
+ return '/bin/false';
await (0, fs_extra_1.chmod)(_7zip_bin_1.path7x, 0o755);
return _7zip_bin_1.path7x;
}
-//# sourceMappingURL=7za.js.map
\ Kein Zeilenumbruch am Dateiende.
+//# sourceMappingURL=7za.js.map

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b196f6f02a122a08046920ec51944c954aaf91f5f931624a99b042558781ac6
size 3213199

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37d5a0b4a5ff87fc06385352348601abdd9d3a0bbf31a91e3a47754bf08778a8
size 3209951

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95877c1907ffc50d41ed4721b4ef27a67a3bde41c0c0def16e85d0a1e2ed525a
size 3210451

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dda715fd1dc5ed289673908109804e8796a9e43131b120d400920f7e12b21a0d
size 3210592

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f8da386c2863556557eb9f286de230b940493eaeb3d3a99b04478efabf6801a
size 3120828

View File

@ -1,266 +1,3 @@
-------------------------------------------------------------------
Wed Jan 15 14:01:29 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.90
## ✨ Features
* Docker: run as non-root (https://github.com/element-hq/element-web/pull/28849). Contributed by @richvdh.
* Docker: allow configuration of HTTP listen port via env var (https://github.com/element-hq/element-web/pull/28840). Contributed by @richvdh.
* Update matrix-wysiwyg to consume WASM asset (https://github.com/element-hq/element-web/pull/28838). Contributed by @t3chguy.
* OIDC settings tweaks (https://github.com/element-hq/element-web/pull/28787). Contributed by @t3chguy.
* Delabs native OIDC support (https://github.com/element-hq/element-web/pull/28615). Contributed by @t3chguy.
* Move room header info button to right-most position (https://github.com/element-hq/element-web/pull/28754). Contributed by @t3chguy.
* Enable key backup by default (https://github.com/element-hq/element-web/pull/28691). Contributed by @dbkr.
## 🐛 Bug Fixes
* Fix building the automations mermaid diagram (https://github.com/element-hq/element-web/pull/28881). Contributed by @dbkr.
* Playwright: wait for the network listener on the postgres db (https://github.com/element-hq/element-web/pull/28808). Contributed by @dbkr.
Version 1.11.89
* No changes
## 🐛 Bug Fixes
* Upgrade matrix-sdk-crypto-wasm to 1.11.0 (https://github.com/matrix-org/matrix-js-sdk/pull/4593)
* Fix url preview display (https://github.com/element-hq/element-web/pull/28766).
-------------------------------------------------------------------
Wed Dec 18 11:56:21 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.88
## ✨ Features
* Allow trusted Element Call widget to send and receive media encryption key to-device messages (https://github.com/element-hq/element-web/pull/28316). Contributed by @hughns.
* increase ringing timeout from 10 seconds to 90 seconds (https://github.com/element-hq/element-web/pull/28630). Contributed by @fkwp.
* Add `Close` tooltip to dialog (https://github.com/element-hq/element-web/pull/28617). Contributed by @florianduros.
* New UX for Share dialog (https://github.com/element-hq/element-web/pull/28598). Contributed by @florianduros.
* Improve performance of RoomContext in RoomHeader (https://github.com/element-hq/element-web/pull/28574). Contributed by @t3chguy.
* Remove `Features.RustCrypto` flag (https://github.com/element-hq/element-web/pull/28582). Contributed by @florianduros.
* Add Modernizr warning when running in non-secure context (https://github.com/element-hq/element-web/pull/28581). Contributed by @t3chguy.
## 🐛 Bug Fixes
* Fix secret storage not being used due to bad import (https://github.com/element-hq/element-desktop/pull/2029). Contributed by @t3chguy.
* Fix inability to click on non-logged-in modals on macOS (https://github.com/element-hq/element-desktop/pull/2025). Contributed by @t3chguy.
* Fix jumpy timeline when the pinned message banner is displayed (https://github.com/element-hq/element-web/pull/28654). Contributed by @florianduros.
* Fix font \& spaces in settings subsection (https://github.com/element-hq/element-web/pull/28631). Contributed by @florianduros.
* Remove manual device verification which is not supported by the new cryptography stack (https://github.com/element-hq/element-web/pull/28588). Contributed by @florianduros.
* Fix code block highlighting not working reliably with many code blocks (https://github.com/element-hq/element-web/pull/28613). Contributed by @t3chguy.
* Remove remaining reply fallbacks code (https://github.com/element-hq/element-web/pull/28610). Contributed by @t3chguy.
* Provide a way to activate GIFs via the keyboard for a11y (https://github.com/element-hq/element-web/pull/28611). Contributed by @t3chguy.
* Fix format bar position (https://github.com/element-hq/element-web/pull/28591). Contributed by @florianduros.
* Fix room taking long time to load (https://github.com/element-hq/element-web/pull/28579). Contributed by @florianduros.
* Show the correct shield status in tooltip for more conditions (https://github.com/element-hq/element-web/pull/28476). Contributed by @uhoreg.
-------------------------------------------------------------------
Tue Dec 3 13:49:58 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.87
## ✨ Features
* Send and respect MSC4230 is\_animated flag (https://github.com/element-hq/element-web/pull/28513). Contributed by @t3chguy.
* Display a warning when an unverified user's identity changes (https://github.com/element-hq/element-web/pull/28211). Contributed by @uhoreg.
* Swap out Twitter link for Mastodon on auth footer (https://github.com/element-hq/element-web/pull/28508). Contributed by @t3chguy.
* Consider `org.matrix.msc3417.call` as video room in create room dialog (https://github.com/element-hq/element-web/pull/28497). Contributed by @t3chguy.
* Standardise icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28217). Contributed by @t3chguy.
* Start sending stable `m.marked_unread` events (https://github.com/element-hq/element-web/pull/28478). Contributed by @tulir.
* Upgrade to compound-design-tokens v2 (https://github.com/element-hq/element-web/pull/28471). Contributed by @t3chguy.
* Standardise icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28286). Contributed by @t3chguy.
* Remove reply fallbacks as per merged MSC2781 (https://github.com/element-hq/element-web/pull/28406). Contributed by @t3chguy.
* Use React Suspense when rendering async modals (https://github.com/element-hq/element-web/pull/28386). Contributed by @t3chguy.
## 🐛 Bug Fixes
* Add spinner when room encryption is loading in room settings (https://github.com/element-hq/element-web/pull/28535). Contributed by @florianduros.
* Fix getOidcCallbackUrl for Element Desktop (https://github.com/element-hq/element-web/pull/28521). Contributed by @t3chguy.
* Filter out redacted poll votes to avoid crashing the Poll widget (https://github.com/element-hq/element-web/pull/28498). Contributed by @t3chguy.
* Fix force tab complete not working since switching to React 18 createRoot API (https://github.com/element-hq/element-web/pull/28505). Contributed by @t3chguy.
* Fix media captions in bubble layout (https://github.com/element-hq/element-web/pull/28480). Contributed by @tulir.
* Reset cross-signing before backup when resetting both (https://github.com/element-hq/element-web/pull/28402). Contributed by @uhoreg.
* Listen to events so that encryption icon updates when status changes (https://github.com/element-hq/element-web/pull/28407). Contributed by @uhoreg.
* Check that the file the user chose has a MIME type of `image/*` (https://github.com/element-hq/element-web/pull/28467). Contributed by @t3chguy.
* Fix download button size in message action bar (https://github.com/element-hq/element-web/pull/28472). Contributed by @t3chguy.
* Allow tab completing users in brackets (https://github.com/element-hq/element-web/pull/28460). Contributed by @t3chguy.
* Fix React 18 strict mode breaking spotlight dialog (https://github.com/element-hq/element-web/pull/28452). Contributed by @MidhunSureshR.
-------------------------------------------------------------------
Tue Nov 19 21:44:49 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.86
## ✨ Features
* Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28419). Contributed by @t3chguy.
* Let widget driver send error details (https://github.com/element-hq/element-web/pull/28357). Contributed by @AndrewFerr.
* Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28381). Contributed by @t3chguy.
* Auto approvoce `io.element.call.reaction` capability for element call widgets (https://github.com/element-hq/element-web/pull/28401). Contributed by @toger5.
* Show message type prefix in thread root \& reply previews (https://github.com/element-hq/element-web/pull/28361). Contributed by @t3chguy.
* Support sending encrypted to device messages from widgets (https://github.com/element-hq/element-web/pull/28315). Contributed by @hughns.
## 🐛 Bug Fixes
* Feed events to widgets as they are decrypted (even if out of order) (https://github.com/element-hq/element-web/pull/28376). Contributed by @robintown.
* Handle authenticated media when downloading from ImageView (https://github.com/element-hq/element-web/pull/28379). Contributed by @t3chguy.
* Ignore `m.3pid_changes` for Identity service 3PID changes (https://github.com/element-hq/element-web/pull/28375). Contributed by @t3chguy.
* Fix markdown escaping wrongly passing html through (https://github.com/element-hq/element-web/pull/28363). Contributed by @t3chguy.
* Remove "Upgrade your encryption" flow in `CreateSecretStorageDialog` (https://github.com/element-hq/element-web/pull/28290). Contributed by @florianduros.
-------------------------------------------------------------------
Tue Nov 12 12:52:57 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.85
# Security
- Fixes for https://github.com/element-hq/element-web/security/advisories/GHSA-w36j-v56h-q9pc
- Fixes for https://github.com/element-hq/element-web/security/advisories/GHSA-5486-384g-mcx2
- Update JS SDK with the fixes for https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr
Version 1.11.84
## ✨ Features
* Remove abandoned MSC3886, MSC3903, MSC3906 implementations (https://github.com/element-hq/element-web/pull/28274). Contributed by @t3chguy.
* Update to React 18 (https://github.com/element-hq/element-web/pull/24763). Contributed by @t3chguy.
* Deduplicate icons using Compound (https://github.com/element-hq/element-web/pull/28239). Contributed by @t3chguy.
* Replace legacy Tooltips with Compound tooltips (https://github.com/element-hq/element-web/pull/28231). Contributed by @t3chguy.
* Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28219). Contributed by @t3chguy.
* Add reactions to html export (https://github.com/element-hq/element-web/pull/28210). Contributed by @langleyd.
* Remove feature\_dehydration (https://github.com/element-hq/element-web/pull/28173). Contributed by @florianduros.
## 🐛 Bug Fixes
* Remove upgrade encryption in `DeviceListener` and `SetupEncryptionToast` (https://github.com/element-hq/element-web/pull/28299). Contributed by @florianduros.
* Fix 'remove alias' button in room settings (https://github.com/element-hq/element-web/pull/28269). Contributed by @Dev-Gurjar.
* Add back unencrypted path in `StopGapWidgetDriver.sendToDevice` (https://github.com/element-hq/element-web/pull/28295). Contributed by @florianduros.
* Fix other devices not being decorated as such (https://github.com/element-hq/element-web/pull/28279). Contributed by @t3chguy.
* Fix pill contrast in invitation dialog (https://github.com/element-hq/element-web/pull/28250). Contributed by @florianduros.
* Close right panel chat when minimising maximised voip widget (https://github.com/element-hq/element-web/pull/28241). Contributed by @t3chguy.
* Fix develop changelog parsing (https://github.com/element-hq/element-web/pull/28232). Contributed by @t3chguy.
* Fix Ctrl+F shortcut not working with minimised room summary card (https://github.com/element-hq/element-web/pull/28223). Contributed by @t3chguy.
* Fix network dropdown missing checkbox \& aria-checked (https://github.com/element-hq/element-web/pull/28220). Contributed by @t3chguy.
-------------------------------------------------------------------
Tue Oct 29 15:30:47 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.83
## ✨ Features
* https://github.com/element-hq/element-desktop/pull/1954). Contributed by @RiotRobot.
* Enable Element Call by default on release instances (https://github.com/element-hq/element-web/pull/28314). Contributed by @t3chguy.
-------------------------------------------------------------------
Tue Oct 22 13:57:50 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.82
## ✨ Features
* Add monochrome tray icon (https://github.com/element-hq/element-desktop/pull/1804). Contributed by @SakiiCode.
* Deduplicate more icons using Compound Design Tokens (https://github.com/element-hq/matrix-react-sdk/pull/132). Contributed by @t3chguy.
* Always show link new device flow even if unsupported (https://github.com/element-hq/matrix-react-sdk/pull/147). Contributed by @t3chguy.
* Update design of files list in right panel (https://github.com/element-hq/matrix-react-sdk/pull/144). Contributed by @t3chguy.
* Remove feature\_dehydration (https://github.com/element-hq/matrix-react-sdk/pull/138). Contributed by @florianduros.
* Upgrade emojibase-bindings and remove local handling of emoticon variations (https://github.com/element-hq/matrix-react-sdk/pull/127). Contributed by @langleyd.
* Add support for rendering media captions (https://github.com/element-hq/matrix-react-sdk/pull/43). Contributed by @tulir.
* Replace composer icons with Compound variants (https://github.com/element-hq/matrix-react-sdk/pull/123). Contributed by @t3chguy.
* Tweak default right panel size to be 320px except for maximised widgets at 420px (https://github.com/element-hq/matrix-react-sdk/pull/110). Contributed by @t3chguy.
* Add a pinned message badge under a pinned message (https://github.com/element-hq/matrix-react-sdk/pull/118). Contributed by @florianduros.
* Ditch right panel tabs and re-add close button (https://github.com/element-hq/matrix-react-sdk/pull/99). Contributed by @t3chguy.
* Force verification even for refreshed clients (https://github.com/element-hq/matrix-react-sdk/pull/44). Contributed by @dbkr.
* Update emoji text, border and background colour in timeline (https://github.com/element-hq/matrix-react-sdk/pull/119). Contributed by @florianduros.
* Disable ICE fallback based on well-known configuration (https://github.com/element-hq/matrix-react-sdk/pull/111). Contributed by @t3chguy.
* Remove legacy room header and promote beta room header (https://github.com/element-hq/matrix-react-sdk/pull/105). Contributed by @t3chguy.
* Respect `io.element.jitsi` `useFor1To1Calls` in well-known (https://github.com/element-hq/matrix-react-sdk/pull/112). Contributed by @t3chguy.
* Use Compound close icon in favour of mishmash of x/close icons (https://github.com/element-hq/matrix-react-sdk/pull/108). Contributed by @t3chguy.
## 🐛 Bug Fixes
* Correct typo in option documentation (https://github.com/element-hq/element-web/pull/28148). Contributed by @AndrewKvalheim.
* Revert #124 and #135 (https://github.com/element-hq/matrix-react-sdk/pull/139). Contributed by @dbkr.
* Add aria-label to e2e icon (https://github.com/element-hq/matrix-react-sdk/pull/136). Contributed by @florianduros.
* Fix bell icons on room list hover being black squares (https://github.com/element-hq/matrix-react-sdk/pull/135). Contributed by @dbkr.
* Fix vertical overflow on the mobile register screen (https://github.com/element-hq/matrix-react-sdk/pull/137). Contributed by @langleyd.
* Allow to unpin redacted event (https://github.com/element-hq/matrix-react-sdk/pull/98). Contributed by @florianduros.
-------------------------------------------------------------------
Tue Oct 15 12:14:49 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.81
This release fixes High severity vulnerability CVE-2024-47771 / GHSA-963w-49j9-gxj6.
-------------------------------------------------------------------
Wed Oct 9 09:28:41 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.80
## ✨ Features
* enable Element Call on desktop nightly (https://github.com/element-hq/element-desktop/pull/1873). Contributed by @fkwp.
* Add doc for 'force\_verification config option (https://github.com/element-hq/element-web/pull/28035). Contributed by @dbkr.
* Roll back change to device isolation mode (https://github.com/element-hq/matrix-react-sdk/pull/104). Contributed by @richvdh.
* Remove right panel toggling behaviour on room header buttons (https://github.com/element-hq/matrix-react-sdk/pull/100). Contributed by @t3chguy.
* Improve error display for messages sent from insecure devices (https://github.com/element-hq/matrix-react-sdk/pull/93). Contributed by @richvdh.
* Add labs option to exclude unverified devices (https://github.com/element-hq/matrix-react-sdk/pull/92). Contributed by @richvdh.
* Improve contrast for timestamps, date separators \& spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/91). Contributed by @t3chguy.
* Open room settings on room header avatar click (https://github.com/element-hq/matrix-react-sdk/pull/88). Contributed by @t3chguy.
* Use `strong` over `b` for improved a11y semantics (https://github.com/element-hq/matrix-react-sdk/pull/41). Contributed by @t3chguy.
* Grant Element Call widget capabilities for "raise hand" feature (https://github.com/element-hq/matrix-react-sdk/pull/82). Contributed by @AndrewFerr.
* Mobile registration optimizations and tests (https://github.com/element-hq/matrix-react-sdk/pull/62). Contributed by @langleyd.
* Ignore chat effect when older than 48h (https://github.com/element-hq/matrix-react-sdk/pull/48). Contributed by @florianduros.
## 🐛 Bug Fixes
* Update native OIDC callback url to be RFC8252 compliant (https://github.com/element-hq/element-web/pull/28096). Contributed by @t3chguy.
* Update icons to include transparency (https://github.com/element-hq/element-web/pull/28040). Contributed by @t3chguy.
* Fix default\_widget\_container\_height in sample config (https://github.com/element-hq/element-web/pull/28034). Contributed by @dbkr.
* Fix untranslated keys being rendered in `/help` dialog (https://github.com/element-hq/matrix-react-sdk/pull/90). Contributed by @t3chguy.
* Ensure timeline search results are visible even in video rooms (https://github.com/element-hq/matrix-react-sdk/pull/96). Contributed by @t3chguy.
* Pop right panel timeline when unmaximising widget to avoid double timeline (https://github.com/element-hq/matrix-react-sdk/pull/94). Contributed by @t3chguy.
* Fix accessible label on left panel spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/87). Contributed by @t3chguy.
* Crypto: fix display of device key (https://github.com/element-hq/matrix-react-sdk/pull/86). Contributed by @richvdh.
-------------------------------------------------------------------
Wed Oct 2 12:43:45 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Version 1.11.79
* No changes
## ✨ Features
* https://github.com/element-hq/matrix-react-sdk/pull/106). Contributed by @RiotRobot.
-------------------------------------------------------------------
Thu Sep 26 21:00:37 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Fix build on 15.6 with old python3.6
* Patch: no-walrus-operator.patch
-------------------------------------------------------------------
Thu Sep 26 11:47:13 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Fix home dir for osc in prepare.sh
-------------------------------------------------------------------
Thu Sep 26 11:02:53 UTC 2024 - Dominik Heidler <dheidler@suse.com>
- Version 1.11.78
## ✨ Features
* Add Release announcement for the pinning message list (https://github.com/element-hq/matrix-react-sdk/pull/46). Contributed by @florianduros.
* Unlabs feature pinning (https://github.com/element-hq/matrix-react-sdk/pull/22). Contributed by @florianduros.
* Add mobile registration (https://github.com/element-hq/matrix-react-sdk/pull/42). Contributed by @langleyd.
* Add support for `org.matrix.cross_signing_reset` UIA stage flow (https://github.com/element-hq/matrix-react-sdk/pull/34). Contributed by @t3chguy.
* Add timezone to user profile (https://github.com/element-hq/matrix-react-sdk/pull/20). Contributed by @Half-Shot.
* Add config option to force verification (https://github.com/element-hq/matrix-react-sdk/pull/29). Contributed by @dbkr.
* Reduce pinned message banner size (https://github.com/element-hq/matrix-react-sdk/pull/28). Contributed by @florianduros.
* Enable message pinning labs by default (https://github.com/element-hq/matrix-react-sdk/pull/25). Contributed by @florianduros.
* Remove release announcement of the new header (https://github.com/element-hq/matrix-react-sdk/pull/23). Contributed by @florianduros.
## 🐛 Bug Fixes
* Fix timeout type (https://github.com/element-hq/matrix-react-sdk/pull/40). Contributed by @dbkr.
* Fix huge usage bandwidth and performance issue of pinned message banner. (https://github.com/element-hq/matrix-react-sdk/pull/37). Contributed by @florianduros.
* Reverse order of pinned message list (https://github.com/element-hq/matrix-react-sdk/pull/19). Contributed by @florianduros.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 11 10:58:18 UTC 2024 - Dominik Heidler <dheidler@suse.com> Wed Sep 11 10:58:18 UTC 2024 - Dominik Heidler <dheidler@suse.com>

View File

@ -17,10 +17,10 @@
Name: element-desktop Name: element-desktop
Version: 1.11.90 Version: 1.11.77
Release: 0 Release: 0
Summary: A glossy Matrix collaboration client - desktop Summary: A glossy Matrix collaboration client - desktop
License: AGPL-3.0-only or GPL-3.0-only License: Apache-2.0
URL: https://github.com/vector-im/element-desktop URL: https://github.com/vector-im/element-desktop
Source0: https://github.com/vector-im/element-desktop/archive/v%{version}.tar.gz#/element-desktop-%{version}.tar.gz Source0: https://github.com/vector-im/element-desktop/archive/v%{version}.tar.gz#/element-desktop-%{version}.tar.gz
Source2: vendor.tar.zst Source2: vendor.tar.zst
@ -31,7 +31,6 @@ Patch0: hak-remove-devdependencies.patch
Patch1: 7za-path.patch Patch1: 7za-path.patch
Patch2: cc-link-lib-no-static.patch Patch2: cc-link-lib-no-static.patch
Patch3: remove-fuses.patch Patch3: remove-fuses.patch
Patch4: no-walrus-operator.patch
BuildRequires: element-web = %{version} BuildRequires: element-web = %{version}
BuildRequires: app-builder BuildRequires: app-builder
BuildRequires: cargo BuildRequires: cargo
@ -214,7 +213,7 @@ ln -vs de_DE.json "%{buildroot}%{_datadir}/element/app/lib/i18n/strings/de.json"
%electron_check_native %electron_check_native
%files %files
%license LICENSE-AGPL-3.0 LICENSE-GPL-3.0 %license LICENSE
%{_bindir}/%{name} %{_bindir}/%{name}
%dir %{_datadir}/element/ %dir %{_datadir}/element/
@ -225,7 +224,8 @@ ln -vs de_DE.json "%{buildroot}%{_datadir}/element/app/lib/i18n/strings/de.json"
%{_datadir}/element/app/node_modules %{_datadir}/element/app/node_modules
%{_datadir}/element/app/package.json %{_datadir}/element/app/package.json
%dir %{_datadir}/element/img %dir %{_datadir}/element/img
%{_datadir}/element/img/* %{_datadir}/element/img/element.ico
%{_datadir}/element/img/element.png
%{_prefix}/lib/element/ %{_prefix}/lib/element/
%config(noreplace) %{_sysconfdir}/element/config.json %config(noreplace) %{_sysconfdir}/element/config.json

View File

@ -1,9 +1,9 @@
hak fetch tries to download devDependencies for two modules. Unfortunately it does so in a very non-deterministic manner (no shrinkwrap file) hak fetch tries to download devDependencies for two modules. Unfortunately it does so in a very non-deterministic manner (no shrinkwrap file)
Remove that step since the devDependencies are not actually needed for any of these two modules. Remove that step since the devDependencies are not actually needed for any of these two modules.
--- element-desktop-1.11.86/scripts/hak/fetch.ts 2024-11-19 22:43:48.895355949 +0100 --- element-desktop-1.11.65/scripts/hak/fetch.ts.orig 2024-04-23 15:14:00.000000000 +0200
+++ element-desktop-1.11.86/scripts/hak/fetch.ts 2024-11-19 22:44:02.245421312 +0100 +++ element-desktop-1.11.65/scripts/hak/fetch.ts 2024-05-15 19:40:21.779432272 +0200
@@ -26,14 +26,6 @@ @@ -35,23 +35,6 @@ export default async function fetch(hakE
console.log("Fetching " + moduleInfo.name + "@" + moduleInfo.version); console.log("Fetching " + moduleInfo.name + "@" + moduleInfo.version);
const packumentCache = new Map(); const packumentCache = new Map();
@ -12,8 +12,17 @@ Remove that step since the devDependencies are not actually needed for any of th
- }); - });
- -
- console.log("Running yarn install in " + moduleInfo.moduleBuildDir); - console.log("Running yarn install in " + moduleInfo.moduleBuildDir);
- await hakEnv.spawn("yarn", ["install", "--ignore-scripts"], { - await new Promise<void>((resolve, reject) => {
- cwd: moduleInfo.moduleBuildDir, - const proc = childProcess.spawn(hakEnv.isWin() ? "yarn.cmd" : "yarn", ["install", "--ignore-scripts"], {
- stdio: "inherit",
- cwd: moduleInfo.moduleBuildDir,
- // We need shell mode on Windows to be able to launch `.cmd` executables
- // See https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
- shell: hakEnv.isWin(),
- });
- proc.on("exit", (code) => {
- code ? reject(code) : resolve();
- });
- }); - });
// also extract another copy to the output directory at this point // also extract another copy to the output directory at this point

View File

@ -1,24 +0,0 @@
--- foo/node_modules/node-gyp/gyp/pylib/gyp/common.py 2024-09-26 12:47:30.529999000 +0200
+++ ./common.py 2024-09-26 22:52:44.247875969 +0200
@@ -432,13 +432,17 @@
def replace_sep(s):
return s.replace(os.sep, "/") if os.sep != "/" else s
- if CC := os.environ.get("CC_target") or os.environ.get("CC"):
+ CC = os.environ.get("CC_target") or os.environ.get("CC")
+ CXX = os.environ.get("CXX_target") or os.environ.get("CXX")
+ CFLAGS = os.environ.get("CFLAGS")
+ CXXFLAGS = os.environ.get("CXXFLAGS")
+ if CC:
cmd += shlex.split(replace_sep(CC))
- if CFLAGS := os.environ.get("CFLAGS"):
+ if CFLAGS:
cmd += shlex.split(replace_sep(CFLAGS))
- elif CXX := os.environ.get("CXX_target") or os.environ.get("CXX"):
+ elif CXX:
cmd += shlex.split(replace_sep(CXX))
- if CXXFLAGS := os.environ.get("CXXFLAGS"):
+ if CXXFLAGS:
cmd += shlex.split(replace_sep(CXXFLAGS))
else:
return {}

View File

@ -27,9 +27,7 @@ cd "$tmpdir"
#additionally, --ignore-scripts seems to be evaluated during caching, and not during install to node_modules. #additionally, --ignore-scripts seems to be evaluated during caching, and not during install to node_modules.
#Mitigate this by resetting ~ to an empty directory #Mitigate this by resetting ~ to an empty directory
mkdir -pv "$tmpdir/home" mkdir -pv "$tmpdir/home"
oldhome="$HOME"
export HOME="$tmpdir/home" export HOME="$tmpdir/home"
ln -s "$oldhome/.rustup" "$HOME"
tar -xzvvf "${oldwd}/element-desktop-${version}.tar.gz" tar -xzvvf "${oldwd}/element-desktop-${version}.tar.gz"
cd element-desktop-${version} cd element-desktop-${version}
@ -90,7 +88,7 @@ find . -type f| sponge |\
rm -f "${oldwd}/vendor.tar.zst" rm -f "${oldwd}/vendor.tar.zst"
ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -Scf "${oldwd}/vendor.tar.zst" .hak node_modules ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -vvScf "${oldwd}/vendor.tar.zst" .hak node_modules
cd "$oldwd" cd "$oldwd"
@ -99,6 +97,5 @@ echo -e "\n\nDONE creating npm offline dependencies archive 'vendor.tar.zst'"
read -p "Write changes?" read -p "Write changes?"
export HOME="$oldhome"
osc vc -m "${changes}" element-desktop.changes osc vc -m "${changes}" element-desktop.changes
dos2unix element-desktop.changes dos2unix element-desktop.changes

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f4194d7a376ce9070c2ab55b1bdb6e677f998c68f567918425df064c733dceba oid sha256:8684cd66a6b588ea80d79ca93e436465411ec6d9a3011ba766c27a35f4f87fab
size 138340525 size 60213924