diff --git a/element-desktop-1.11.53.tar.gz b/element-desktop-1.11.53.tar.gz deleted file mode 100644 index a967dda..0000000 --- a/element-desktop-1.11.53.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:224ad2e3f520485adc4d2b329d9fdd24802b9b98d1b57c7e6cca81af157516bd -size 1995725 diff --git a/element-desktop-1.11.54.tar.gz b/element-desktop-1.11.54.tar.gz new file mode 100644 index 0000000..974ebf7 --- /dev/null +++ b/element-desktop-1.11.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a58afb9fec85b0cfa63b7f2748154adb32844ddc2f44568c39c98a8fde20aa5f +size 1995661 diff --git a/element-desktop.changes b/element-desktop.changes index 8bfa548..e60e73e 100644 --- a/element-desktop.changes +++ b/element-desktop.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +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. + ------------------------------------------------------------------- Thu Jan 4 15:22:02 UTC 2024 - Dominik Heidler diff --git a/element-desktop.spec b/element-desktop.spec index b57c5ff..01c215e 100644 --- a/element-desktop.spec +++ b/element-desktop.spec @@ -17,7 +17,7 @@ Name: element-desktop -Version: 1.11.53 +Version: 1.11.54 Release: 0 Summary: A glossy Matrix collaboration client - desktop License: Apache-2.0 @@ -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/element-web-1.11.53.tar.gz b/element-web-1.11.53.tar.gz deleted file mode 100644 index bceedd5..0000000 --- a/element-web-1.11.53.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:48a61607146a5b67ac733161590c810f6495d1cb6b39911939c94e3f4b8a8dbb -size 2387732 diff --git a/element-web-1.11.54.tar.gz b/element-web-1.11.54.tar.gz new file mode 100644 index 0000000..584aad2 --- /dev/null +++ b/element-web-1.11.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fa0e2ba0fe93fa25c37c120511be87bb49bda7d7ecafe59beba2a11b6ca43b3 +size 2393173 diff --git a/hak.tar.gz b/hak.tar.gz index c9a02ce..d778a42 100644 --- a/hak.tar.gz +++ b/hak.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d28cc95d83104f8948963598c5c3662056b7c7e8f331bdd869b9b272def1b4a9 -size 130963198 +oid sha256:1a275d3055a4aeabe505740fef334aef9ce0dcaf5607f2dd32d21ebd06aa79af +size 130973429 diff --git a/npm-packages-offline-cache.tar.gz b/npm-packages-offline-cache.tar.gz index 61138e9..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:36e53b96a8c1d9b849f049eaabe6b3ea4cbd85fc99f855622a016aacee99a08d -size 156342778 +oid sha256:b5647ca8d42e1120d9a17f1d8fd17844f518c5d752ce516276698ad71b37504b +size 155549568 diff --git a/prepare.sh b/prepare.sh index d312476..3af3fcb 100644 --- a/prepare.sh +++ b/prepare.sh @@ -11,8 +11,8 @@ tmpdir="$(mktemp -d)" #zypper install yarn cargo gcc-c++ sqlcipher-devel libsecret-devel version=$(grep "Version:" element-desktop.spec | awk '{print $2}') -osc rm -f element-web-*.tar.gz -osc rm -f element-desktop-*.tar.gz +osc rm -f element-web-*.tar.gz ||: +osc rm -f element-desktop-*.tar.gz ||: wget -c https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz -O element-desktop-${version}.tar.gz wget -c https://github.com/vector-im/element-web/archive/v${version}.tar.gz -O element-web-${version}.tar.gz osc add -f element-web-*.tar.gz