Package Details: schildichat-desktop 1.11.36.sc.3-1

Git Clone URL: https://aur.archlinux.org/schildichat-desktop.git (read-only, click to copy)
Package Base: schildichat-desktop
Description: A Matrix client based on Element with a more traditional instant messaging experience
Upstream URL: https://schildi.chat
Licenses: Apache
Submitter: mynacol
Maintainer: mynacol (su-ex)
Last Packager: mynacol
Votes: 7
Popularity: 0.34
First Submitted: 2022-01-11 22:36 (UTC)
Last Updated: 2024-02-28 18:47 (UTC)

Pinned Comments

mynacol commented on 2024-02-28 18:52 (UTC) (edited on 2024-02-28 18:53 (UTC) by mynacol)

I updated to 1.11.36, the full text search seems to be broken.

I've already moved on due to security concerns. The now updated electron 25 is already end of life with potentially multiple known chromium security issues. Therefore, I'd be more than happy to hand this package over to some willing hands.

Latest Comments

dreieck commented on 2024-04-06 07:58 (UTC)

  • I tried to build and use this with up to date electron (changed _electron=electron25 to _electron=electron), which currently is version 29, and schildichat-desktop seems to work with that. So you might get rid of old dependencies. (If you want to be sure you can set it to a specific up to date version.)

diff to the PKGBUILD:

--- PKGBUILD.org    2024-04-06 09:38:25.550009545 +0200
+++ PKGBUILD    2024-04-06 09:53:37.570021969 +0200
@@ -1,2 +1,6 @@
 # Maintainer: mynacol <dc07d (ät) mynacol (dót) xyz>
+#
+# Previous contributors of schildichat-desktop:
+# dreieck (https://aur.archlinux.org/account/dreieck)
+#
 # Previous contributors of schildichat-desktop-git:
@@ -8,10 +12,10 @@

-_electron=electron25
+_electron=electron
 pkgname=schildichat-desktop
 pkgver=1.11.36.sc.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A Matrix client based on Element with a more traditional instant messaging experience"
-arch=(x86_64)
+arch=(x86_64 i686)
 url="https://schildi.chat"
-license=(Apache)
+license=(Apache-2.0)
 makedepends=(npm git yarn python rust tcl nvm make libxcrypt-compat)
  • It seems that libsecret needs to be added to the depends array. From namcap:
schildichat-desktop E: Dependency libsecret detected and not included (libraries ['usr/lib/libsecret-1.so.0'] needed in files ['usr/lib/schildichat-desktop/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node'])

(If possible I do not want to maintain this package, I have enough to maintain.)

mynacol commented on 2024-03-21 14:22 (UTC)

@dreieck I agree with the technical assessment and goal. However, I won't implement such a change. If you want to step up, you can be the new maintainer of this package.

dreieck commented on 2024-03-20 15:04 (UTC) (edited on 2024-03-20 15:06 (UTC) by dreieck)

This PKGBUILD does also download stuff in build().

Can you move all downloads, that are not possible via the source array, into prepare(), so that build can run in an offline environment?

==> Starting build()...
[...]
Packaged dist/schildichat-web-1.11.36-sc.3.tar.gz
Done in 87.74s.
echo "1.11.36-sc.3" > element-web/webapp/version
yarnpkg --cwd element-desktop run fetch --cfgdir ''
yarn run v1.22.21
$ yarn run mkdirs && ts-node scripts/fetch-package.ts --cfgdir ''
$ mkdirp packages deploys
../element-web/webappalready exists
Skipping config file
Pack ../element-web/webapp -> webapp.asar
(node:6504) Warning: Closing directory handle on garbage collection
(Use `node --trace-warnings ...` to show where the warning was created)
Done!
Done in 0.96s.
SQLCIPHER_BUNDLED=1 yarnpkg --cwd element-desktop run build:native
yarn run v1.22.21
$ yarn run hak
$ ts-node scripts/hak/index.ts
  • loaded configuration  file=package.json ("build" field)
  • loaded configuration  file=package.json ("build" field)
hak check: matrix-seshat
hak check: keytar
hak fetch: matrix-seshat
Fetching matrix-seshat@^3.0.1
Running yarn install in /tmp/makepkg/build/schildichat-desktop/src/schildichat-desktop/element-desktop/.hak/matrix-seshat/x86_64-unknown-linux-gnu/build
[...]
warning jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
success Saved lockfile.
hak fetch: keytar
Fetching keytar@^7.9.0
Running yarn install in /tmp/makepkg/build/schildichat-desktop/src/schildichat-desktop/element-desktop/.hak/keytar/x86_64-unknown-linux-gnu/build
info No lockfile found.
[1/4] Resolving packages...
[...]
warning prebuild > node-gyp > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
[2/4] Fetching packages...
[##########################################################################################################################################################################################] 409/410
[...]
$ cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics --release --features=bundled-sqlcipher
    Updating crates.io index
       Fetch [=============================>   ] 204 complete; 16 pending                       
[... network usage is high ...]
  Downloaded futures-task v0.3.28
  Downloaded regex-syntax v0.4.2
  Downloaded serde v1.0.118
  Downloaded serde_derive v1.0.118
[...]
gyp http GET https://electronjs.org/headers/v25.2.0/node-v25.2.0-headers.tar.gz
gyp http 200 https://artifacts.electronjs.org/headers/v25.2.0/node-v25.2.0-headers.tar.gz?force_headers_dist=1
gyp http GET https://electronjs.org/headers/v25.2.0/SHASUMS256.txt
gyp http 200 https://artifacts.electronjs.org/headers/v25.2.0/SHASUMS256.txt?force_headers_dist=1
[...]

Regards and thanks a big lot for the package!

mynacol commented on 2024-02-28 18:52 (UTC) (edited on 2024-02-28 18:53 (UTC) by mynacol)

I updated to 1.11.36, the full text search seems to be broken.

I've already moved on due to security concerns. The now updated electron 25 is already end of life with potentially multiple known chromium security issues. Therefore, I'd be more than happy to hand this package over to some willing hands.

mynacol commented on 2023-05-11 12:56 (UTC)

@craeckie This package exclusively requires rust, not rustup. I assume something on your end got messed up. Maybe you already had rustup, which provides rust according to pacman metadata. Anyways, you should be able to call rustc --version in the shell before building this package.

craeckie commented on 2023-05-11 10:27 (UTC)

Requires rust instead of rustup (at least for me). Maybe it was just misconfigured, but switching to rust fixed it for me.

Otherwise I get the following error:

Packaged dist/schildichat-web-1.11.30-sc.1.tar.gz
Done in 187.40s.
echo "1.11.30-sc.1" > element-web/webapp/version
yarnpkg --cwd element-desktop run fetch --cfgdir ''
yarn run v1.22.19
$ yarn run mkdirs && ts-node scripts/fetch-package.ts --cfgdir ''
$ mkdirp packages deploys
../element-web/webappalready exists
Skipping config file
Pack ../element-web/webapp -> webapp.asar
(node:46722) Warning: Closing directory handle on garbage collection
(Use `node --trace-warnings ...` to show where the warning was created)              Asset       Size  Ch
Done!
Done in 2.09s.
SQLCIPHER_STATIC=1 yarnpkg --cwd element-desktop run build:native
yarn run v1.22.19
$ yarn run hak
$ ts-node scripts/hak/index.ts
  • loaded configuration  file=package.json ("build" field)
  • loaded configuration  file=package.json ("build" field)
hak check: matrix-seshat
Can't find rustc,--version
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.warning.30e1625.svg   1.23 KiB    
make: *** [Makefile:79: desktop-common] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: schildichat-desktop-exit status 4
 -> Failed to install the following packages. Manual intervention is required:con-144.86cf68b.png   10.5 KiB    
schildichat-desktop - exit status 4