diff --git a/disable-spellchecker.patch b/disable-spellchecker.patch new file mode 100644 index 0000000..1db7773 --- /dev/null +++ b/disable-spellchecker.patch @@ -0,0 +1,15 @@ +The spellchecker is not configurable - neither selecting one or more languages +or disabling it by the user. So let's drop it completely. + +diff -ru a/src/electron-main.ts b/src/electron-main.ts +--- element-desktop-1.11.69/src/electron-main.ts 2024-06-18 14:28:10.000000000 +0200 ++++ element-desktop-1.11.69/src/electron-main.ts 2024-06-21 13:06:59.581538335 +0200 +@@ -485,7 +485,7 @@ + + // Handle spellchecker + // For some reason spellCheckerEnabled isn't persisted, so we have to use the store here +- global.mainWindow.webContents.session.setSpellCheckerEnabled(global.store.get("spellCheckerEnabled", true)); ++ global.mainWindow.webContents.session.setSpellCheckerEnabled(false); + + // Create trayIcon icon + if (global.store.get("minimizeToTray", true)) tray.create(global.trayConfig); diff --git a/element-desktop-1.11.68.tar.gz b/element-desktop-1.11.68.tar.gz deleted file mode 100644 index 6823093..0000000 --- a/element-desktop-1.11.68.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9801d7d792e9a388de9f533666c414e63e30aa5f867b9119a6555ec88af8ff61 -size 3200299 diff --git a/element-desktop-1.11.69.tar.gz b/element-desktop-1.11.69.tar.gz new file mode 100644 index 0000000..cc6b84d --- /dev/null +++ b/element-desktop-1.11.69.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3084565d4b7f32b6331f323f2a8efbfc1de561f1d8a1f0eb1165b3f43ebdb4e9 +size 3200670 diff --git a/element-desktop.changes b/element-desktop.changes index f69d4f2..26a2002 100644 --- a/element-desktop.changes +++ b/element-desktop.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler + +- Disable dysfunctional spellchecker + * disable-spellchecker.patch + +------------------------------------------------------------------- +Tue Jun 18 19:09:48 UTC 2024 - Dominik Heidler + +- Version 1.11.69 + ## ✨ Features + + * Change avatar setting component to use a menu (https://github.com/matrix-org/matrix-react-sdk/pull/12585). Contributed by @dbkr. + * New user profile UI in User Settings (https://github.com/matrix-org/matrix-react-sdk/pull/12548). Contributed by @dbkr. + * MSC4108 support OIDC QR code login (https://github.com/matrix-org/matrix-react-sdk/pull/12370). Contributed by @t3chguy. + + ## 🐛 Bug Fixes + + * Fix image upload preview size (https://github.com/matrix-org/matrix-react-sdk/pull/12612). Contributed by @RiotRobot. + * Fix screen sharing in recent Chrome (https://github.com/matrix-org/matrix-js-sdk/pull/4243). + * Fix roving tab index crash `compareDocumentPosition` (https://github.com/matrix-org/matrix-react-sdk/pull/12594). Contributed by @t3chguy. + * Keep dialog glass border on narrow screens (https://github.com/matrix-org/matrix-react-sdk/pull/12591). Contributed by @dbkr. + * Add missing a11y label to dismiss onboarding button in room list (https://github.com/matrix-org/matrix-react-sdk/pull/12587). Contributed by @t3chguy. + * Add hover / active state on avatar setting upload button (https://github.com/matrix-org/matrix-react-sdk/pull/12590). Contributed by @dbkr. + * Fix EditInPlace button styles (https://github.com/matrix-org/matrix-react-sdk/pull/12589). Contributed by @dbkr. + * Fix incorrect assumptions about required fields in /search response (https://github.com/matrix-org/matrix-react-sdk/pull/12575). Contributed by @t3chguy. + * Fix display of no avatar in avatar setting controls (https://github.com/matrix-org/matrix-react-sdk/pull/12558). Contributed by @dbkr. + * Element-R: pass pickleKey in as raw key for indexeddb encryption (https://github.com/matrix-org/matrix-react-sdk/pull/12543). Contributed by @richvdh. + + ------------------------------------------------------------------- Tue Jun 4 19:13:24 UTC 2024 - Dominik Heidler diff --git a/element-desktop.spec b/element-desktop.spec index 868aa64..67f50dd 100644 --- a/element-desktop.spec +++ b/element-desktop.spec @@ -17,7 +17,7 @@ Name: element-desktop -Version: 1.11.68 +Version: 1.11.69 Release: 0 Summary: A glossy Matrix collaboration client - desktop License: Apache-2.0 @@ -31,6 +31,7 @@ Patch0: hak-remove-devdependencies.patch Patch1: 7za-path.patch Patch2: cc-link-lib-no-static.patch Patch3: remove-fuses.patch +Patch4: disable-spellchecker.patch BuildRequires: element-web = %{version} BuildRequires: app-builder BuildRequires: cargo diff --git a/prepare.sh b/prepare.sh index f84c261..b27f430 100644 --- a/prepare.sh +++ b/prepare.sh @@ -6,6 +6,7 @@ set -ex version=$1 +last_packaged_version=$(cat "element-desktop.spec" | grep "^Version:" | awk '{print $NF}') sed -i -e "s/^\(Version: *\)[^ ]*$/\1${version}/" element-desktop.spec oldwd="$(pwd)" @@ -34,7 +35,6 @@ cd element-desktop-${version} #These patches change results of things we want to execute below patch -p1 --verbose < "${oldwd}/hak-remove-devdependencies.patch" -last_packaged_version=$(<"${oldwd}/element-desktop.spec" grep "^Version:" | awk '{print $NF}') changes=$(grep "^Changes in \[$last_packaged_version\]" -B10000 CHANGELOG.md | head -n -2 | sed -e '/^==*$/d' -e 's/Changes in \[\([^\[]*\)\].*/Version \1/' -e 's/^\([^-].*\)$/ \1/' -e 's/\[.*\](\(.*\))/\1/g' -e 's/^ *Version /Version /g') # This will vendor the packages but not execute any build scripts (but see caveat about caching above) diff --git a/vendor.tar.zst b/vendor.tar.zst index cd609b0..9746eea 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f763c7979d3bf7d394e0fbe22efae31f398fc702728ea35bbca76b7210a75d2c -size 63298596 +oid sha256:b9f3133e8a0ffe86f326cf60f5f47209655549953783ecbff80403e756f735e2 +size 63309016