Package Details: schildichat-desktop-git 1.11.90.sc.0.test.0.r530.20250116.a9f81d8-1

Git Clone URL: https://aur.archlinux.org/schildichat-desktop-git.git (read-only, click to copy)
Package Base: schildichat-desktop-git
Description: A Matrix client based on Element with a more traditional instant messaging experience. Build of the latest git checkout.
Upstream URL: https://schildi.chat
Licenses: Apache-2.0
Conflicts: schildichat-desktop, schildichat-desktop-bin
Provides: schildichat-desktop, schildichat-desktop-custom, schildichat-desktop-git
Submitter: lsf
Maintainer: dreieck
Last Packager: dreieck
Votes: 5
Popularity: 0.128706
First Submitted: 2021-09-30 20:53 (UTC)
Last Updated: 2025-01-19 13:02 (UTC)

Pinned Comments

dreieck commented on 2024-10-21 23:22 (UTC) (edited on 2024-10-21 23:22 (UTC) by dreieck)

Please report issues related to the build process or dependencies here in the comments.

  • Do not flag out of date for build or packaging issues.
  • Please do flag out of date if e.g. the current upstream branch which is kept up to date is switched (back) from lite to master or sc.

Regards!

Latest Comments

« First ‹ Previous 1 2 3

lsf commented on 2022-01-20 19:01 (UTC)

Thanks for the hints with regards to the .desktop file – I've changed it like you have proposed :)

I haven't added the change to the .sh yet, though, as I cannot reproduce searching in encrypted rooms not working with the package the way it is right now (as in: with a build from a few days ago, searching encrypted rooms works as it should for me – in larger, explicitly-encryption-only-enabled-rooms, as well as in smaller, direct-message-style chats). Can you confirm that it does not work for you with a reasonably freshly build schildichat without it added?

(I don't see no harm in adding the change, as it's just a relatively specific preload – but I'd like to avoid adding things that might just "be there because!!11" in cargo-culty-ways, even if their usefulness might be long gone ;)

su-ex commented on 2022-01-20 17:17 (UTC) (edited on 2022-01-20 17:17 (UTC) by su-ex)

And please edit the .desktop file like following:

  • StartupWMClass was not matching and thus the icon could show up twice, while opening it via one did make another appear

  • Our usual string as the comment would be preferable

  • Our name is "SchildiChat" (upper case "C")

[Desktop Entry]
Name=SchildiChat
Comment=A Matrix Client based on Element with a more traditional instant messaging experience
Exec=/usr/bin/schildichat-desktop %U
Terminal=false
Type=Application
Icon=schildichat-desktop
StartupWMClass=schildichat
Categories=Network;InstantMessaging;Chat;VideoConference;IRCClient
MimeType=x-scheme-handler/element;

And thanks for creating the git package btw!

su-ex commented on 2022-01-20 16:11 (UTC)

Adding this will make search in encrypted rooms work (just noticed this is missing for the git package): https://github.com/archlinux/svntogit-community/commit/03e9706f20625c667b4b5fd1ca0c63241b39f0b7

lsf commented on 2021-12-29 10:11 (UTC) (edited on 2021-12-29 10:11 (UTC) by lsf)

Hm, I can't really reproduce that on my end; looks like a transient network issue thingy? It's especially odd, though, as it should try getting a different electron version anyway with the most recent PKGBUILD, so maybe there's some additional caching issue somewhere?

yarn run v1.22.17
$ yarn run build:ts && yarn run build:res && electron-builder --x64 --linux pacman
$ tsc
$ node scripts/copy-res.js
  • electron-builder  version=22.11.4 os=5.15.7-hardened1-1-hardened
  • loaded configuration  file=package.json ("build" field)
  • packaging       platform=linux arch=x64 electron=13.6.3 appOutDir=dist/linux-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v13.6.3/electron-v13.6.3-linux-x64.zip size=78 MB parts=8
  • downloaded      url=https://github.com/electron/electron/releases/download/v13.6.3/electron-v13.6.3-linux-x64.zip duration=17.644s
  • building        target=pacman arch=x64 file=dist/schildichat-desktop-1.9.7-sc.1.pacman
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z size=5.0 MB parts=1
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z duration=1.885s
Done in 163.44s.

Re the previous question: that's a tough one, as the electron-builder is a finicky beast – I'm not even sure if it would be possible to get it to use dependencies that are downloaded earlier / if there's a good way to fetch them earlier, as it seems it does some last-minute-version-calculating-stuff sometimes. Might have to look into it a bit deeper, can't promise anything ;)

dreieck commented on 2021-12-27 17:06 (UTC)

Download fails for me in build() with HTTP error 401 "unauthorized":

[...]
yarn run v1.22.17
$ yarn run build:ts && yarn run build:res && electron-builder --x64 --linux pacman
$ tsc
$ node scripts/copy-res.js
  • electron-builder  version=22.11.4 os=5.15.0-pf2-longcmdline-custom
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=13.5.2 appOutDir=dist/linux-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v13.5.2/electron-v13.5.2-linux-x64.zip size=77 MB parts=8
  • retrying        attempt=1
  • retrying        attempt=1
  • retrying        attempt=1
  • retrying        attempt=2
  • retrying        attempt=3
  ⨯ part download request failed with status code 401
[...]

dreieck commented on 2021-12-27 15:39 (UTC) (edited on 2021-12-27 15:56 (UTC) by dreieck)

Ahoj,

I noticed another thing: While it already downloads much of the node/npm/... dependencies in prepare(), it also downloads stuff in build().

Can you modify the PKGBUILD souch that all downloading is finished before build() begins? That would be nice (makepkg -e can then be run offline after having done a makepkg -so before), and would make things more clean (all downloading in two instead of three spaces).

The yarn run runs do download stuff, as I also see with my network usage, and then, later:

==> Starting build()...
[...]
yarnpkg --cwd element-desktop run build:native
yarn run v1.22.17
$ yarn run hak
$ node scripts/hak/index.js
hak check: matrix-seshat
hak check: keytar
hak fetch: matrix-seshat
hak fetch: keytar
hak fetchDeps: matrix-seshat
hak fetchDeps: keytar
hak build: matrix-seshat
Running neon with env {
  [...]
}
neon info forcing rebuild for new build settings
neon info running cargo
[...]
[...]
[...]
    Updating crates.io index
       Fetch [=====>                   ]  25.65%, 100.98KiB/s                                                                        
[...]
  Downloaded digest v0.9.0
  Downloaded failure_derive v0.1.8
[...]
 Downloading 48 crates, remaining bytes: 10.2 MB                                                                                                                                  
[...]
yarn run v1.22.17
$ yarn run build:ts && yarn run build:res && electron-builder --x64 --linux pacman
$ tsc
$ node scripts/copy-res.js
  • electron-builder  version=22.11.4 os=5.15.0-pf2-longcmdline-custom
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=13.5.2 appOutDir=dist/linux-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v13.5.2/electron-v13.5.2-linux-x64.zip size=77 MB parts=8
[...]

dreieck commented on 2021-12-27 12:53 (UTC)

Can you add =${pkgver} to the schildichat-desktop entry in the provides array?

Thanks for maintaining!