I am getting
==> Starting package_riot-desktop-git()...
cp: cannot stat 'dist/linux-unpacked/resources/*': No such file or directory
==> ERROR: A failure occurred in package_riot-desktop-git().
on aarch64 using yay.
Git Clone URL: | https://aur.archlinux.org/element-desktop-git.git (read-only, click to copy) |
---|---|
Package Base: | element-desktop-git |
Description: | Glossy Matrix collaboration client — desktop version. |
Upstream URL: | https://element.io |
Licenses: | Apache |
Conflicts: | element-desktop |
Provides: | element-desktop |
Submitter: | idanoo |
Maintainer: | Xangelix |
Last Packager: | Xangelix |
Votes: | 14 |
Popularity: | 0.000002 |
First Submitted: | 2020-07-18 02:27 (UTC) |
Last Updated: | 2024-08-14 19:58 (UTC) |
I am getting
==> Starting package_riot-desktop-git()...
cp: cannot stat 'dist/linux-unpacked/resources/*': No such file or directory
==> ERROR: A failure occurred in package_riot-desktop-git().
on aarch64 using yay.
I've been looking at the encrypted searching issue, matrix-seshat seems to be building fine, just not properly linking. Have also tried building explicitly for the installed electron version but still doesn't work.
Encrypted message search seems broken when using Electron 9.x. I just upgraded from 8.x and it stopped working. I am getting the following error in the Security & Privacy settings (where before it would show the indexed messages and searching would work):
Riot is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom Riot Desktop with search components added.
Seems like the native libraries are built against 8.x by default. The message is linking to https://github.com/vector-im/riot-web/blob/develop/docs/native-node-modules.md#adding-seshat-for-search-in-e2e-encrypted-rooms
Sorry about that, went a bit fast on this. Thanks!
@psydev, that looks like an old PKGBUILD, the current one doesn't touch electron_app/riot.im/config.json, it uses riot.im/release/config.json.
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=riot-desktop-git
Currently this doesn't build:
==> Starting prepare()...
sed: can't read electron_app/riot.im/config.json: No such file or directory
can i suggest that riot-desktop.sh do:
exec electron /usr/lib/riot/ $@
instead of:
electron /usr/lib/riot/ $@
this removes the parent shell process that sits around doing nothing all day but waiting for electron to exit. saves 1 process and a bit of ram... :)
also in riot-desktop.desktop you should have
StartupWMClass=Riot
not
StartupWMClass="Riot"
The freedesktop.org standards dont allow quoting of field values. They allow escaping, but not quoting. Exec lines can quote because you CAN execute "ls" in a shell and the shell processes the quote to do the execution. Quotes are literally passed on to run. This is a problem with the StartupWMClass as then things are left looking for strings in the window class that literally contain quotes in the class when the app clearly only sets Riot in WM_CLASS in the class field:
WM_CLASS(STRING) = "riot", "Riot"
(xprop adds quotes when it displays the string - the actual property does not contain quotes).
I've had to do a bug workaround in this in code just to have the matching work. :)
@b1tninja You link error should now be fixed. I reworked it to not use yarn link. @cryzed This might have been an upstream error in the actual source code of riot. Can you try it again now?
Pinned Comments