1
0

Compare commits

...

33 Commits

Author SHA256 Message Date
Ana Guerrero
5c43f98c0b Accepting request 1242244 from devel:languages:nodejs
- 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 (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.

OBS-URL: https://build.opensuse.org/request/show/1242244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=75
2025-02-03 20:44:20 +00:00
6608b652db fdsgd
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=98
2025-02-02 17:06:13 +00:00
b961713d6c dsgfdggfdg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=97
2025-02-02 17:02:15 +00:00
7e2817c4aa May the day be cursed on which a developer decided to write esbuild
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=96
2025-02-02 16:55:58 +00:00
135d751f6f - Fix build by breakig the bad esbuild library for good
* Add break-esbuild-for-good.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=95
2025-02-02 16:43:00 +00:00
94c8c93a1c Update vendor
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=94
2025-02-01 11:54:15 +00:00
f5696e2fd3 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=93
2025-02-01 10:52:26 +00:00
9743145e91 Fix build for 15.6
gyp doesn't seem to respect GCC and CXX env vars so we need to overwrite PATH

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=92
2025-01-20 17:05:43 +00:00
Ana Guerrero
e654e0e08c Accepting request 1238072 from devel:languages:nodejs
- 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).

OBS-URL: https://build.opensuse.org/request/show/1238072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=74
2025-01-15 16:45:59 +00:00
faf9082c7c - 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=91
2025-01-15 14:02:01 +00:00
Ana Guerrero
981cbedfe8 Accepting request 1233323 from devel:languages:nodejs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=73
2024-12-26 11:24:25 +00:00
8f6e3e3f7d - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=90
2024-12-18 11:56:34 +00:00
Ana Guerrero
3d48d6e550 Accepting request 1229820 from devel:languages:nodejs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1229820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=72
2024-12-10 22:49:34 +00:00
ec77cae8ee - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=89
2024-12-03 13:51:00 +00:00
Ana Guerrero
5f71cc2b3e Accepting request 1225170 from devel:languages:nodejs
- 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.

OBS-URL: https://build.opensuse.org/request/show/1225170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=71
2024-11-20 16:00:05 +00:00
a745eacd10 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=88
2024-11-19 21:48:48 +00:00
Ana Guerrero
25c8fa29f9 Accepting request 1223677 from devel:languages:nodejs
- 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.

OBS-URL: https://build.opensuse.org/request/show/1223677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=70
2024-11-13 14:29:28 +00:00
d254c4642c Fix 7za patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=87
2024-11-12 13:05:42 +00:00
17bd855ca7 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=86
2024-11-12 12:58:58 +00:00
Dominique Leuenberger
3a73385406 Accepting request 1219530 from devel:languages:nodejs
- 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.

- 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.

OBS-URL: https://build.opensuse.org/request/show/1219530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=69
2024-10-30 16:34:32 +00:00
8133325174 Package all files in img
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=85
2024-10-30 10:44:35 +00:00
353072be8d - Version 1.11.83
##  Features
  * Enable Element Call by default on release instances (https://github.com/element-hq/element-web/pull/28314). Contributed by @t3chguy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=84
2024-10-29 15:31:29 +00:00
b0a831af09 - Version 1.11.82
##  Features
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=83
2024-10-22 13:58:16 +00:00
Ana Guerrero
73aedc229b Accepting request 1208128 from devel:languages:nodejs
- Version 1.11.81
  This release fixes High severity vulnerability CVE-2024-47771 / GHSA-963w-49j9-gxj6.

OBS-URL: https://build.opensuse.org/request/show/1208128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=68
2024-10-16 21:44:17 +00:00
156d6e7e4a - Version 1.11.81
This release fixes High severity vulnerability CVE-2024-47771 / GHSA-963w-49j9-gxj6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=82
2024-10-15 12:15:13 +00:00
Ana Guerrero
c70727e0d3 Accepting request 1206523 from devel:languages:nodejs
- 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.

OBS-URL: https://build.opensuse.org/request/show/1206523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=67
2024-10-09 20:13:37 +00:00
520024495e Use new license: AGPL-3.0-only or GPL-3.0-only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=81
2024-10-09 12:05:54 +00:00
1ac3d41f1e - Version 1.11.80
##  Features
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=80
2024-10-09 09:29:13 +00:00
Ana Guerrero
b91a66768b Accepting request 1205715 from devel:languages:nodejs
- Version 1.11.79
  * No changes
  ##  Features
  * https://github.com/element-hq/matrix-react-sdk/pull/106). Contributed by @RiotRobot.

- Fix build on 15.6 with old python3.6
  * Patch: no-walrus-operator.patch

- Fix home dir for osc in prepare.sh

- 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.

OBS-URL: https://build.opensuse.org/request/show/1205715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=66
2024-10-06 15:52:00 +00:00
c5185405aa - Version 1.11.79
* No changes
  ##  Features
  * https://github.com/element-hq/matrix-react-sdk/pull/106). Contributed by @RiotRobot.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=79
2024-10-02 12:44:25 +00:00
359ec39b6d - Fix build on 15.6 with old python3.6
* Patch: no-walrus-operator.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=78
2024-09-26 21:01:10 +00:00
e994532924 Fix build on 15.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=77
2024-09-26 21:00:33 +00:00
f98b8cadbd - Fix home dir for osc in prepare.sh
- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=76
2024-09-26 11:48:01 +00:00
10 changed files with 403 additions and 33 deletions

View File

@ -1,14 +1,22 @@
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-05-15 21:11:29.747999000 +0200 --- 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 2024-05-15 23:22:09.712045854 +0200 +++ vendor/node_modules/builder-util/out/7za.js 2024-11-12 14:05:06.720292070 +0100
@@ -4,8 +4,7 @@ exports.getPath7x = exports.getPath7za = @@ -6,13 +6,15 @@
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() {
- await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755); + return '/bin/false';
- return _7zip_bin_1.path7za; if (fs.existsSync(_7zip_bin_1.path7za)) {
+ return '/bin/false' await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755);
}
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,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}`);

View File

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

View File

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

View File

@ -1,3 +1,291 @@
-------------------------------------------------------------------
Sun Feb 2 16:41:33 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- 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 <dheidler@suse.de>
- 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 <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.77 Version: 1.11.91
Release: 0 Release: 0
Summary: A glossy Matrix collaboration client - desktop Summary: A glossy Matrix collaboration client - desktop
License: Apache-2.0 License: AGPL-3.0-only or GPL-3.0-only
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,6 +31,8 @@ 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
Patch5: break-esbuild-for-good.patch
BuildRequires: element-web = %{version} BuildRequires: element-web = %{version}
BuildRequires: app-builder BuildRequires: app-builder
BuildRequires: cargo BuildRequires: cargo
@ -40,6 +42,7 @@ BuildRequires: jq
BuildRequires: nodejs-electron-devel BuildRequires: nodejs-electron-devel
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: zstd BuildRequires: zstd
BuildRequires: esbuild
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: rust-srpm-macros BuildRequires: rust-srpm-macros
%else %else
@ -48,7 +51,11 @@ BuildRequires: cargo-auditable
%endif %endif
BuildRequires: libsecret-devel BuildRequires: libsecret-devel
%if 0%{?sle_version} <= 150600
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif
Requires: element-web = %{version} Requires: element-web = %{version}
Requires: nodejs-electron%{_isa} Requires: nodejs-electron%{_isa}
@ -87,6 +94,12 @@ export ELECTRON_SKIP_BINARY_DOWNLOAD=1
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
export USE_SYSTEM_APP_BUILDER=true export USE_SYSTEM_APP_BUILDER=true
export OPENSSL_NO_VENDOR=1 export OPENSSL_NO_VENDOR=1
%if 0%{?sle_version} <= 150600
mkdir -p /tmp/bin
ln -sf /usr/bin/gcc-13 /tmp/bin/gcc
ln -sf /usr/bin/g++-13 /tmp/bin/g++
export PATH="/tmp/bin:$PATH"
%endif
# The `cc` crate tries to be too clever and passes some default cflags when building sqlcipher. # The `cc` crate tries to be too clever and passes some default cflags when building sqlcipher.
# Disable these and use only the ones from CFLAGS env. variable # Disable these and use only the ones from CFLAGS env. variable
export CRATE_CC_NO_DEFAULTS=1 export CRATE_CC_NO_DEFAULTS=1
@ -99,6 +112,8 @@ export RUSTC_BOOTSTRAP=1
export RUSTC_LOG='rustc_codegen_ssa::back::link=info' export RUSTC_LOG='rustc_codegen_ssa::back::link=info'
export RUSTFLAGS="%{build_rustflags} --verbose -Cstrip=none" export RUSTFLAGS="%{build_rustflags} --verbose -Cstrip=none"
export CARGO_TERM_VERBOSE=true export CARGO_TERM_VERBOSE=true
# break esbuild for good - see https://en.opensuse.org/openSUSE:Packaging_Electron#esbuild and Patch5
export ESBUILD_BINARY_PATH=/usr/bin/esbuild
%electron_rebuild %electron_rebuild
@ -121,6 +136,7 @@ popd
npm run build:ts npm run build:ts
npm run build:res npm run build:res
npx --no-install electron-builder --linux dir --universal -c.electronDist=%{_libdir}/electron -c.asar=false -c.nodeGypRebuild=false -c.npmRebuild=false npx --no-install electron-builder --linux dir --universal -c.electronDist=%{_libdir}/electron -c.asar=false -c.nodeGypRebuild=false -c.npmRebuild=false
rm -rf "/tmp/bin"
@ -213,7 +229,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 %license LICENSE-AGPL-3.0 LICENSE-GPL-3.0
%{_bindir}/%{name} %{_bindir}/%{name}
%dir %{_datadir}/element/ %dir %{_datadir}/element/
@ -224,8 +240,7 @@ 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/element.ico %{_datadir}/element/img/*
%{_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.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:43:48.895355949 +0100
+++ element-desktop-1.11.65/scripts/hak/fetch.ts 2024-05-15 19:40:21.779432272 +0200 +++ element-desktop-1.11.86/scripts/hak/fetch.ts 2024-11-19 22:44:02.245421312 +0100
@@ -35,23 +35,6 @@ export default async function fetch(hakE @@ -26,14 +26,6 @@
console.log("Fetching " + moduleInfo.name + "@" + moduleInfo.version); console.log("Fetching " + moduleInfo.name + "@" + moduleInfo.version);
const packumentCache = new Map(); const packumentCache = new Map();
@ -12,17 +12,8 @@ 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 new Promise<void>((resolve, reject) => { - await hakEnv.spawn("yarn", ["install", "--ignore-scripts"], {
- const proc = childProcess.spawn(hakEnv.isWin() ? "yarn.cmd" : "yarn", ["install", "--ignore-scripts"], {
- stdio: "inherit",
- cwd: moduleInfo.moduleBuildDir, - 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

24
no-walrus-operator.patch Normal file
View File

@ -0,0 +1,24 @@
--- 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,7 +27,9 @@ 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}
@ -88,7 +90,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 -vvScf "${oldwd}/vendor.tar.zst" .hak node_modules ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -Scf "${oldwd}/vendor.tar.zst" .hak node_modules
cd "$oldwd" cd "$oldwd"
@ -97,5 +99,6 @@ 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:8684cd66a6b588ea80d79ca93e436465411ec6d9a3011ba766c27a35f4f87fab oid sha256:72a417d46b289007da405ee5e0a2b4a8f13743f19252e4c8a1d96ecbf139c052
size 60213924 size 39529844