diff --git a/element-desktop.changes b/element-desktop.changes index 3a075d7..e60e73e 100644 --- a/element-desktop.changes +++ b/element-desktop.changes @@ -1,84 +1,13 @@ +------------------------------------------------------------------- +Thu Jan 18 15:30:06 UTC 2024 - Dominik Heidler + +- Repackage app.asar analog to pre-1.11.54 to get native features working again + ------------------------------------------------------------------- Wed Jan 17 14:28:00 UTC 2024 - Dominik Heidler - Version 1.11.54 - ## 🔧 Security - - * Burn Node-related Electron fuses as a proactive hardening measure (https://github.com/element-hq/element-desktop/pull/1412). Contributed by @t3chguy. - - ## ✨ Features - * Accessibility improvements around aria-labels and tooltips (https://github.com/matrix-org/matrix-react-sdk/pull/12062). Contributed by @t3chguy. - * Add RoomKnocksBar to RoomHeader (https://github.com/matrix-org/matrix-react-sdk/pull/12077). Contributed by @charlynguyen. - * Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (https://github.com/matrix-org/matrix-react-sdk/pull/12079). Contributed by @t3chguy. - * Iterate landmarks around the app in order to improve a11y (https://github.com/matrix-org/matrix-react-sdk/pull/12064). Contributed by @t3chguy. - * Update element call embedding UI (https://github.com/matrix-org/matrix-react-sdk/pull/12056). Contributed by @toger5. - * Use Compound tooltips instead of homegrown in TextWithTooltip \& InfoTooltip (https://github.com/matrix-org/matrix-react-sdk/pull/12052). Contributed by @t3chguy. - ## 🐛 Bug Fixes - * Fix regression around CSS stacking contexts and PIP widgets (https://github.com/matrix-org/matrix-react-sdk/pull/12094). Contributed by @t3chguy. - * Fix Identity Server terms accepting not working as expected (https://github.com/matrix-org/matrix-react-sdk/pull/12109). Contributed by @t3chguy. - * fix: microphone and camera dropdown doesn't work In legacy call (https://github.com/matrix-org/matrix-react-sdk/pull/12105). Contributed by @muratersin. - * Revert "Set up key backup using non-deprecated APIs (#12005)" (https://github.com/matrix-org/matrix-react-sdk/pull/12102). Contributed by @BillCarsonFr. - * Fix regression around read receipt animation from refs changes (https://github.com/matrix-org/matrix-react-sdk/pull/12100). Contributed by @t3chguy. - * Added meaning full error message based on platform (https://github.com/matrix-org/matrix-react-sdk/pull/12074). Contributed by @Pankaj-SinghR. - * Fix editing event from search room view (https://github.com/matrix-org/matrix-react-sdk/pull/11992). Contributed by @t3chguy. - * Fix timeline position when moving to a room and coming back (https://github.com/matrix-org/matrix-react-sdk/pull/12055). Contributed by @florianduros. - * Fix threaded reply playwright tests (https://github.com/matrix-org/matrix-react-sdk/pull/12070). Contributed by @dbkr. - * Element-R: fix repeated requests to enter 4S key during cross-signing reset (https://github.com/matrix-org/matrix-react-sdk/pull/12059). Contributed by @richvdh. - * Fix position of thumbnail in room timeline (https://github.com/matrix-org/matrix-react-sdk/pull/12016). Contributed by @anoopw3bdev. - - -Version 1.11.54 - ## 🔧 Security - - * Burn Node-related Electron fuses as a proactive hardening measure (https://github.com/element-hq/element-desktop/pull/1412). Contributed by @t3chguy. - ## ✨ Features - * Accessibility improvements around aria-labels and tooltips (https://github.com/matrix-org/matrix-react-sdk/pull/12062). Contributed by @t3chguy. - * Add RoomKnocksBar to RoomHeader (https://github.com/matrix-org/matrix-react-sdk/pull/12077). Contributed by @charlynguyen. - * Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (https://github.com/matrix-org/matrix-react-sdk/pull/12079). Contributed by @t3chguy. - * Iterate landmarks around the app in order to improve a11y (https://github.com/matrix-org/matrix-react-sdk/pull/12064). Contributed by @t3chguy. - * Update element call embedding UI (https://github.com/matrix-org/matrix-react-sdk/pull/12056). Contributed by @toger5. - * Use Compound tooltips instead of homegrown in TextWithTooltip \& InfoTooltip (https://github.com/matrix-org/matrix-react-sdk/pull/12052). Contributed by @t3chguy. - ## 🐛 Bug Fixes - * Fix regression around CSS stacking contexts and PIP widgets (https://github.com/matrix-org/matrix-react-sdk/pull/12094). Contributed by @t3chguy. - * Fix Identity Server terms accepting not working as expected (https://github.com/matrix-org/matrix-react-sdk/pull/12109). Contributed by @t3chguy. - * fix: microphone and camera dropdown doesn't work In legacy call (https://github.com/matrix-org/matrix-react-sdk/pull/12105). Contributed by @muratersin. - * Revert "Set up key backup using non-deprecated APIs (#12005)" (https://github.com/matrix-org/matrix-react-sdk/pull/12102). Contributed by @BillCarsonFr. - * Fix regression around read receipt animation from refs changes (https://github.com/matrix-org/matrix-react-sdk/pull/12100). Contributed by @t3chguy. - * Added meaning full error message based on platform (https://github.com/matrix-org/matrix-react-sdk/pull/12074). Contributed by @Pankaj-SinghR. - * Fix editing event from search room view (https://github.com/matrix-org/matrix-react-sdk/pull/11992). Contributed by @t3chguy. - * Fix timeline position when moving to a room and coming back (https://github.com/matrix-org/matrix-react-sdk/pull/12055). Contributed by @florianduros. - * Fix threaded reply playwright tests (https://github.com/matrix-org/matrix-react-sdk/pull/12070). Contributed by @dbkr. - * Element-R: fix repeated requests to enter 4S key during cross-signing reset (https://github.com/matrix-org/matrix-react-sdk/pull/12059). Contributed by @richvdh. - * Fix position of thumbnail in room timeline (https://github.com/matrix-org/matrix-react-sdk/pull/12016). Contributed by @anoopw3bdev. - - -Version 1.11.54 - ## 🔧 Security - * Burn Node-related Electron fuses as a proactive hardening measure (https://github.com/element-hq/element-desktop/pull/1412). Contributed by @t3chguy. - - ## ✨ Features - * Accessibility improvements around aria-labels and tooltips (https://github.com/matrix-org/matrix-react-sdk/pull/12062). Contributed by @t3chguy. - * Add RoomKnocksBar to RoomHeader (https://github.com/matrix-org/matrix-react-sdk/pull/12077). Contributed by @charlynguyen. - * Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (https://github.com/matrix-org/matrix-react-sdk/pull/12079). Contributed by @t3chguy. - * Iterate landmarks around the app in order to improve a11y (https://github.com/matrix-org/matrix-react-sdk/pull/12064). Contributed by @t3chguy. - * Update element call embedding UI (https://github.com/matrix-org/matrix-react-sdk/pull/12056). Contributed by @toger5. - * Use Compound tooltips instead of homegrown in TextWithTooltip \& InfoTooltip (https://github.com/matrix-org/matrix-react-sdk/pull/12052). Contributed by @t3chguy. - ## 🐛 Bug Fixes - * Fix regression around CSS stacking contexts and PIP widgets (https://github.com/matrix-org/matrix-react-sdk/pull/12094). Contributed by @t3chguy. - * Fix Identity Server terms accepting not working as expected (https://github.com/matrix-org/matrix-react-sdk/pull/12109). Contributed by @t3chguy. - * fix: microphone and camera dropdown doesn't work In legacy call (https://github.com/matrix-org/matrix-react-sdk/pull/12105). Contributed by @muratersin. - * Revert "Set up key backup using non-deprecated APIs (#12005)" (https://github.com/matrix-org/matrix-react-sdk/pull/12102). Contributed by @BillCarsonFr. - * Fix regression around read receipt animation from refs changes (https://github.com/matrix-org/matrix-react-sdk/pull/12100). Contributed by @t3chguy. - * Added meaning full error message based on platform (https://github.com/matrix-org/matrix-react-sdk/pull/12074). Contributed by @Pankaj-SinghR. - * Fix editing event from search room view (https://github.com/matrix-org/matrix-react-sdk/pull/11992). Contributed by @t3chguy. - * Fix timeline position when moving to a room and coming back (https://github.com/matrix-org/matrix-react-sdk/pull/12055). Contributed by @florianduros. - * Fix threaded reply playwright tests (https://github.com/matrix-org/matrix-react-sdk/pull/12070). Contributed by @dbkr. - * Element-R: fix repeated requests to enter 4S key during cross-signing reset (https://github.com/matrix-org/matrix-react-sdk/pull/12059). Contributed by @richvdh. - * Fix position of thumbnail in room timeline (https://github.com/matrix-org/matrix-react-sdk/pull/12016). Contributed by @anoopw3bdev. - - -Version 1.11.54 ## 🔧 Security * Burn Node-related Electron fuses as a proactive hardening measure (https://github.com/element-hq/element-desktop/pull/1412). Contributed by @t3chguy. diff --git a/element-desktop.spec b/element-desktop.spec index cc52e9d..01c215e 100644 --- a/element-desktop.spec +++ b/element-desktop.spec @@ -42,6 +42,9 @@ BuildRequires: python3 BuildRequires: sqlcipher-devel BuildRequires: libsecret-devel BuildRequires: gcc-c++ +BuildRequires: ccache +BuildRequires: zlib-devel +BuildRequires: asar Requires: element-web = %{version} Requires: nodejs-electron %if 0%{?suse_version} <= 1540 @@ -90,6 +93,23 @@ yarn run hak copyandlink yarn run build:native yarn run build:universal +pushd dist/linux-universal-unpacked/resources/ +# provide the app.asar.unpacked folder like pre 1.11.54 +mkdir -p app.asar.unpacked/node_modules/keytar/build/Release/ +asar ef app.asar .hak/hakModules/keytar/build/Release/keytar.node +mv keytar.node app.asar.unpacked/node_modules/keytar/build/Release/ + +mkdir -p app.asar.unpacked/node_modules/matrix-seshat/ +asar ef app.asar .hak/hakModules/matrix-seshat/index.node +mv index.node app.asar.unpacked/node_modules/matrix-seshat/ + +# repackage the asar file with the pre 1.11.54 format +asar e app.asar app.asar.repak +cp -av app.asar.repak/.hak/hakModules/* app.asar.repak/node_modules/ +asar p app.asar.repak/ app.asar +rm -r app.asar.repak/ +popd + %install # Install the app content, replace the webapp with a symlink to the system package install -d -m 0755 "%{buildroot}%{_datadir}/element/" diff --git a/hak.tar.gz b/hak.tar.gz index 6dfb103..d778a42 100644 --- a/hak.tar.gz +++ b/hak.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d834967ef3241810b0bdb2dc42c57c0c223d09d11db86d3bae601b5332177932 -size 130969106 +oid sha256:1a275d3055a4aeabe505740fef334aef9ce0dcaf5607f2dd32d21ebd06aa79af +size 130973429 diff --git a/npm-packages-offline-cache.tar.gz b/npm-packages-offline-cache.tar.gz index c20f1fc..8c3ae7c 100644 --- a/npm-packages-offline-cache.tar.gz +++ b/npm-packages-offline-cache.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ae215689b00b4c405752880b229f17526702c19afc90c8c3c127e7eaa94644cd -size 155546868 +oid sha256:b5647ca8d42e1120d9a17f1d8fd17844f518c5d752ce516276698ad71b37504b +size 155549568