Package Details: threema-desktop 1.2.41-2

Git Clone URL: https://aur.archlinux.org/threema-desktop.git (read-only, click to copy)
Package Base: threema-desktop
Description: Threema Desktop (Threema Web in Electron).
Upstream URL: https://github.com/threema-ch/threema-web-electron
Licenses: AGPL
Submitter: dbrgn
Maintainer: dbrgn
Last Packager: dbrgn
Votes: 16
Popularity: 0.94
First Submitted: 2021-10-27 10:38 (UTC)
Last Updated: 2024-05-23 07:01 (UTC)

Latest Comments

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

dbrgn commented on 2023-11-29 21:15 (UTC)

@buzo: Hmm, usually projects can be upgraded to new NodeJS versions pretty easily, but it seems that libsass is quite deep into the NodeJS internals, so it breaks regularly 😕 I switched to nodejs-lts-iron as suggested. It now builds again in a clean chroot.

buzo commented on 2023-11-29 17:44 (UTC)

1.2.39 fails to build again. Again, I don't think it is a good idea to just have nodejs as dependency, since that is a moving target. I just tried to build it with nodejs-lts-iron, and that works.

So I think it would be better to always keep the nodejs dependency at an LTS version which is known to work.

dbrgn commented on 2023-10-28 21:35 (UTC)

nodejs-lts-gallium dependency replaced with plain nodejs. I tested the build in a clean docker.io/archlinux container, and the incompatibility with newer nodejs versions seems fixed.

windy commented on 2023-10-13 21:59 (UTC)

nodejs-lts-gallium is no longer available.

dbrgn commented on 2022-12-13 16:31 (UTC)

I'm still a bit wary of adding nodejs-lts-gallium as an explicit dependency, since it's not the only way to get a working build. For example, when using nvm (which can also provide nodejs 16) it can work as well. On the other hand, with the explicit dependency, there can be dependency conflicts with other tools that require a different NodeJS version.

However, for now, I can add the dependency. Maybe there's a better way to indicate this dependency (any NodeJS-version <19 should work I think)?

buzo commented on 2022-12-12 18:15 (UTC)

1.2.25-3 still fails to build in a clean chroot. Please add nodejs-lts-gallium to makedepends as suggested before. Then it works – I've just tried it.

buzo commented on 2022-12-08 18:08 (UTC) (edited on 2022-12-08 18:13 (UTC) by buzo)

I'm always building in a clean chroot, so I tried to add nodejs-lts-gallium manually to makedepends. But now I'm getting this error:

error: patch failed: src/partials/welcome.ts:174
error: src/partials/welcome.ts: patch does not apply
==> ERROR: A failure occurred in build().

It looks like this patch has already been applied upstream. So then I've removed the whole prepare() function, and finally it works.

solnce commented on 2022-12-08 15:57 (UTC)

Yes, that fixed it! You are my hero today! :D

BTW: The previous issue I had with regards to patching still persists. My workaround for the time being is that I have disabled the BUILDDIR setting in makepkg.conf. So no building in ramdisk. But right now I'm happy that I can update threema! :)

dbrgn commented on 2022-12-08 15:35 (UTC)

@solnce: I think I know what the reason is... I suspect an incompatibility with the latest NodeJS. Can you try installing nodejs-lts-gallium (which will replace nodejs) and test if the build succeeds?

solnce commented on 2022-12-08 13:45 (UTC)

@dbrgn: I noticed that, too.

Yes, plain Arch Linux, installed by myself, no derivative anywhere.

Yes, everything is up to date.

Yes, I am also on electron-20.3.8-1, from the community repo.

I am absolutely at a loss here, too.