Package Base Details: element-desktop-git

Git Clone URL: https://aur.archlinux.org/element-desktop-git.git (read-only, click to copy)
Submitter: idanoo
Maintainer: Xangelix
Last Packager: Xangelix
Votes: 14
Popularity: 0.000179
First Submitted: 2020-07-18 02:27 (UTC)
Last Updated: 2024-01-15 19:30 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

idanoo commented on 2020-06-29 22:16 (UTC)

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.

mser commented on 2020-06-24 18:35 (UTC)

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

psydev commented on 2020-06-18 09:11 (UTC)

Sorry about that, went a bit fast on this. Thanks!

idanoo commented on 2020-06-17 19:53 (UTC) (edited on 2020-06-17 19:54 (UTC) by idanoo)

@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

psydev commented on 2020-06-16 13:44 (UTC)

Currently this doesn't build:

==> Starting prepare()...
sed: can't read electron_app/riot.im/config.json: No such file or directory

raster commented on 2020-04-25 14:18 (UTC)

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. :)

mtrnord commented on 2020-03-28 22:11 (UTC)

@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?

cryzed commented on 2020-01-20 01:17 (UTC)

This fails with the following error:

$ tsc --emitDeclarationOnly
$ cross-env NODE_ENV=production webpack -p --progress --bail --mode production
27% building 116/158 modules 42 active ...git/node_modules/babel-loader/lib/index.js??ref--4!/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src/stores/RightPanelStorePhases.jsModuleNotFoundError: Module not found: Error: Can't resolve './component-index' in '/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src'
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/lib/Compilation.js:925:10
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/lib/NormalModuleFactory.js:401:22
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/lib/NormalModuleFactory.js:130:21
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/lib/NormalModuleFactory.js:224:22
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/neo-async/async.js:2830:7
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/neo-async/async.js:6877:13
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/lib/NormalModuleFactory.js:214:25
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:213:14
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:13:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:13:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:25:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:14:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:25:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:14:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:13:1)
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:27:15
    at /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:85:15
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
resolve './component-index' in '/home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src'
  using description file: /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/package.json (relative path: ./src)
    Field 'matrix_src_browser' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/package.json (relative path: ./src/component-index)
      no extension
        Field 'matrix_src_browser' doesn't contain a valid alias configuration
        Field 'browser' doesn't contain a valid alias configuration
        /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src/component-index doesn't exist
      .js
        Field 'matrix_src_browser' doesn't contain a valid alias configuration
        Field 'browser' doesn't contain a valid alias configuration
        /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src/component-index.js doesn't exist
      .json
        Field 'matrix_src_browser' doesn't contain a valid alias configuration
        Field 'browser' doesn't contain a valid alias configuration
        /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src/component-index.json doesn't exist
      .ts
        Field 'matrix_src_browser' doesn't contain a valid alias configuration
        Field 'browser' doesn't contain a valid alias configuration
        /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src/component-index.ts doesn't exist
      as directory
        /home/user/Downloads/riot-desktop-git/src/riot-desktop-git/matrix-react-sdk/src/component-index doesn't exist
error Command failed with exit code 1.
info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
error Command failed with exit code 1.
info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...

Can you update the PKGBUILD accordingly?