Ahoj @emnichtda,
thanks for report. Something has changed upstream.
Fixed (although now less icon files will be installed).
| 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: | 4 |
| Popularity: | 0.000625 |
| First Submitted: | 2021-09-30 20:53 (UTC) |
| Last Updated: | 2025-10-22 09:20 (UTC) |
Ahoj @emnichtda,
thanks for report. Something has changed upstream.
Fixed (although now less icon files will be installed).
Hey, I've been having issues with building the package lately. It fails at package() with
install: cannot stat 'element-desktop/res/img/element.png': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
-> error making: schildichat-desktop-git-exit status 4
any1 else? any fix?
Please report issues related to the build process or dependencies here in the comments.
lite to master or sc.Regards!
I've added you as co-maintainer. I'll disown it as soon as you signal me you're okay with that
I am OK with that.
Regards!
Considering I've been terrible at maintaining it for the past few months (sorry about that!): gladly! Thanks for having taken care of it for a while now!
I've added you as co-maintainer. I'll disown it as soon as you signal me you're okay with that (which could also be right away ^^).
Turned out that
I needed to apply the quick-and-dirty patch
workaround_issue_265.patchto work arround this issue
was due to "too new" electron version.
↗ Latest working version is indeed electron30, my fault, now corrected in ↗ my local variant of the PKGBUILD.
By the way, I am willing to maintain this package, if you want to hand it over.
Regards!
Update to this comment from 2024-10-21:
↗ Use the lite branch for now, not the master branch. So append #branch=lite to the git source.
As of now, this is the same could which currently is rebased to master.
Regards!
Here is a diff of the current PKGBUILD to a PKGBUILD which enables building the latest, freshly updated state of schildichat-desktop-git:
--- PKGBUILD.orig 2024-10-21 15:29:55.392792305 +0200
+++ PKGBUILD 2024-10-21 16:14:53.942697954 +0200
@@ -1,2 +1,3 @@
# Maintainer: lsf
+# Contributor: dreieck (https://aur.archlinux.org/account/dreieck)
# Contributor: Bruno Pagani <archange@archlinux.org>
@@ -6,7 +7,7 @@
-_electron=electron30
-_nodeversion=18
+_electron=electron33
+_nodeversion=20
pkgname=schildichat-desktop-git
_pkgname=schildichat-desktop
-pkgver=1.11.36.sc.3.r0.a1458b1
+pkgver=1.11.81.sc.0.test.0.r1.6b2b1a6
pkgrel=1
@@ -15,8 +16,8 @@
url="https://schildi.chat"
-license=(Apache)
+license=('Apache-2.0')
conflicts=(schildichat-desktop schildichat-desktop-bin)
provides=(schildichat-desktop=${pkgver})
-makedepends=(npm git yarn python python-setuptools rust tcl ${_electron} nvm libxcrypt-compat asar)
+makedepends=(npm git yarn python python-setuptools rust tcl "nodejs>=${_nodeversion}" nvm libxcrypt-compat asar)
depends=(${_electron} libsecret)
-source=(git+https://github.com/SchildiChat/schildichat-desktop.git#branch=sc
+source=(git+https://github.com/SchildiChat/schildichat-desktop.git
git+https://github.com/SchildiChat/matrix-js-sdk.git
@@ -27,3 +28,4 @@
schildichat-desktop.desktop
- schildichat-desktop.sh)
+ schildichat-desktop.sh
+ "workaround_issue_265.patch::https://github.com/user-attachments/files/17462237/workaround_issue_265.patch.txt")
sha256sums=('SKIP'
@@ -35,3 +37,4 @@
'6450af411fea039cb76357ff4ea7f1ef336601315de4d27b848a75d7960cef17'
- '8084211fe11ba23be956ef4b8bb0fffaa6aaa721b79f9753ecc3574666ef95ce')
+ '8084211fe11ba23be956ef4b8bb0fffaa6aaa721b79f9753ecc3574666ef95ce'
+ '74e4efde4a76261203ee7b215309b3be11308151c8e3270b07e7c96099822c16')
@@ -46,3 +49,3 @@
_ensure_local_nvm
- nvm install ${_nodeversion}
+ #nvm install ${_nodeversion} # Not needed; `nodejs>=${_nodeversion}` from the repositories suffices.
@@ -68,2 +71,5 @@
cd ${srcdir}/${_pkgname}
+
+ patch -Np1 --follow-symlinks -i "${srcdir}/workaround_issue_265.patch"
+
make setup
@@ -75,3 +81,3 @@
_ensure_local_nvm
- nvm use ${_nodeversion}
+ #nvm use ${_nodeversion} # Not needed; `nodejs>=${_nodeversion}` from the repositories suffices.
export SQLCIPHER_BUNDLED=1
(↗ and here the complete reworked PKGBUILD.)
Note that
sc should not be used but just the master branch,node needed to be increased to 20 (and that actually it also works with the official nodejs from Arch Linux, version 22),workaround_issue_265.patch to work arround this issue,${_electron} is not needed in the makedepends array since it is already part of the depends array.Regards!,
and thanks for the package.
Apache is not a valid SPDX license identifier in Arch Linux. I think you should use Apache-2.0.
Since upstream now has rebased major rework to the master branch, I suggest updating the $pkgver of this -git package.
Regards!
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.
litetomasterorsc.Regards!