Dominik Heidler
1f776d88be
## ✨ Features * Correctly fill window.matrixChat even when a Wrapper module is active (https://github.com/vector-im/element-web/pull/26395). Contributed by @dhenneke. * Knock on a ask-to-join room if a module wants to join the room when navigating to a room (https://github.com/matrix-org/matrix-react-sdk/pull/11787). Contributed by @dhenneke. * Element-R: Include crypto info in sentry (https://github.com/matrix-org/matrix-react-sdk/pull/11798). Contributed by @florianduros. * Element-R: Include crypto info in rageshake (https://github.com/matrix-org/matrix-react-sdk/pull/11797). Contributed by @florianduros. * Element-R: Add current version of the rust-sdk and vodozemac (https://github.com/matrix-org/matrix-react-sdk/pull/11785). Contributed by @florianduros. * Fix unfederated invite dialog (https://github.com/matrix-org/matrix-react-sdk/pull/9618). Fixes vector-im/element-meta#1466 and vector-im/element-web#22102. Contributed by @owi92. * New right panel visual language (https://github.com/matrix-org/matrix-react-sdk/pull/11664). * OIDC: add friendly errors (https://github.com/matrix-org/matrix-react-sdk/pull/11184). Fixes vector-im/element-web#25665. Contributed by @kerryarchibald. ## 🐛 Bug Fixes * Fix rightpanel hiding scrollbar (https://github.com/matrix-org/matrix-react-sdk/pull/11831). Contributed by @kerryarchibald. * Fix edge cases around macos draggability (https://github.com/vector-im/element-desktop/pull/1291). Fixes #1290. * Fix multi-tab session lock on Firefox not being cleared (https://github.com/matrix-org/matrix-react-sdk/pull/11800). Fixes vector-im/element-web#26165. Contributed by @ManuelHu. * Deserialise spoilers back into slash command form (https://github.com/matrix-org/matrix-react-sdk/pull/11805). Fixes vector-im/element-web#26344. * Fix Incorrect message scaling for verification request (https://github.com/matrix-org/matrix-react-sdk/pull/11793). Fixes vector-im/element-web#24304. Contributed by @capGoblin. * Fix: Unable to restore a soft-logged-out session established via SSO (https://github.com/matrix-org/matrix-react-sdk/pull/11794). Fixes vector-im/element-web#25957. Contributed by @kerryarchibald. * Use configurable github issue links more consistently (https://github.com/matrix-org/matrix-react-sdk/pull/11796). * Fix io.element.late_event received_ts vs received_at (https://github.com/matrix-org/matrix-react-sdk/pull/11789). * Make invitation dialog scrollable when infos are too long (https://github.com/matrix-org/matrix-react-sdk/pull/11753). Contributed by @nurjinjafar. * Fix spoiler text-align (https://github.com/matrix-org/matrix-react-sdk/pull/11790). Contributed by @ajbura. * Fix: Right panel keeps showing chat when unmaximizing widget. (https://github.com/matrix-org/matrix-react-sdk/pull/11697). Fixes vector-im/element-web#26265. Contributed by @manancodes. * Fix margin of invite to room button (https://github.com/matrix-org/matrix-react-sdk/pull/11780). Fixes vector-im/element-web#26410. * Update base64 import (https://github.com/matrix-org/matrix-react-sdk/pull/11784). * Set max size for Element logo in search warning (https://github.com/matrix-org/matrix-react-sdk/pull/11779). Fixes vector-im/element-web#26408. * Fix: emoji size in room header topic, remove obsolete emoji style (https://github.com/matrix-org/matrix-react-sdk/pull/11757). Fixes vector-im/element-web#26326. Contributed by @kerryarchibald. * Fix: Bubble layout design is broken (https://github.com/matrix-org/matrix-react-sdk/pull/11763). Fixes vector-im/element-web#25818. Contributed by @manancodes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=44
75 lines
2.7 KiB
Bash
75 lines
2.7 KiB
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
oldwd="$(pwd)"
|
|
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
|
|
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
|
|
osc add -f element-desktop-*.tar.gz
|
|
cp element-desktop.spec "$tmpdir/"
|
|
cd "$tmpdir"
|
|
|
|
rm -rf "element-desktop-${version}"
|
|
wget -c https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz -O element-desktop-${version}.tar.gz
|
|
tar xzvf element-desktop-${version}.tar.gz
|
|
cd element-desktop-${version}
|
|
|
|
last_packaged_version=$(osc cat devel:languages:nodejs/element-desktop/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/Changes in \[\([^\[]*\)\].*/- Version \1/' -e 's/^\([^-].*\)$/ \1/' -e 's/\[.*\](\(.*\))/\1/g')
|
|
|
|
echo 'yarn-offline-mirror "./npm-packages-offline-cache"' > .yarnrc
|
|
yarn cache clean
|
|
rm -rf node_modules/
|
|
yarn install --pure-lockfile || : # this will download tha packages into the offline cache
|
|
|
|
export PATH="$PATH:node_modules/.bin"
|
|
yarn run hak check
|
|
yarn run hak fetch
|
|
|
|
# prefetch cargo crates
|
|
pushd .hak/matrix-seshat/x86_64-unknown-linux-gnu/build
|
|
cargo vendor
|
|
mkdir -p .cargo
|
|
cat > .cargo/config.toml <<EOF
|
|
[source.crates-io]
|
|
replace-with = "vendored-sources"
|
|
|
|
[source.vendored-sources]
|
|
directory = "vendor"
|
|
EOF
|
|
popd
|
|
|
|
patch -p0 <<EOF
|
|
--- .hak/keytar/x86_64-unknown-linux-gnu/build/node_modules/node-gyp/gyp/pylib/gyp/input.py 2023-06-15 12:09:05.127000000 +0200
|
|
+++ .hak/keytar/x86_64-unknown-linux-gnu/build/node_modules/node-gyp/gyp/pylib/gyp/input.py 2023-06-15 13:34:18.969088855 +0200
|
|
@@ -1190,7 +1190,7 @@
|
|
else:
|
|
ast_code = compile(cond_expr_expanded, "<string>", "eval")
|
|
cached_conditions_asts[cond_expr_expanded] = ast_code
|
|
- env = {"__builtins__": {}, "v": StrictVersion}
|
|
+ env = {"__builtins__": {"openssl_fips": ""}, "v": StrictVersion}
|
|
if eval(ast_code, env, variables):
|
|
return true_dict
|
|
return false_dict
|
|
EOF
|
|
|
|
tar czf npm-packages-offline-cache.tar.gz ./npm-packages-offline-cache
|
|
tar czf hak.tar.gz ./.hak
|
|
cp -v npm-packages-offline-cache.tar.gz hak.tar.gz "$oldwd/"
|
|
|
|
cd "$oldwd"
|
|
echo rm -rf "$tmpdir"
|
|
echo -e "\n\nDONE creating npm dependency offline cache file 'npm-packages-offline-cache.tar.gz'"
|
|
|
|
|
|
read -p "Write changes?"
|
|
osc vc -m "${changes}" element-desktop.changes
|