Package Details: threema-desktop 1.2.29-1

Git Clone URL: (read-only, click to copy)
Package Base: threema-desktop
Description: Threema Desktop (Threema Web in Electron).
Upstream URL:
Licenses: AGPL
Submitter: dbrgn
Maintainer: dbrgn
Last Packager: dbrgn
Votes: 15
Popularity: 1.14
First Submitted: 2021-10-27 10:38 (UTC)
Last Updated: 2023-03-16 09:47 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

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.

dbrgn commented on 2022-12-08 12:26 (UTC)

solnce: The two logs you posted are different from the errors you got before. Instead of a patch applying, you get a compilation error:

npm ERR! ../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                       ^~~~~~~~~~~~~~~~~
npm ERR! ../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                                        ^

Sorry, I cannot reproduce your issues. On all my computers, building works just fine. Is your system up to date (including the electron package)? You're using Arch, and not some derivative distro, right? At what version is your electron package? (On my system it's 20.3.8-1)

solnce commented on 2022-12-07 09:39 (UTC)

Same with 1.2.25-2.

solnce commented on 2022-12-07 09:20 (UTC)

The latest version still won't work. Log here.

buzo commented on 2022-11-23 20:17 (UTC) (edited on 2022-11-23 20:17 (UTC) by buzo)

Build fails here, too:

==> Starting build()...
npm WARN deprecated 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 for details.

added 606 packages, and audited 607 packages in 17s

74 packages are looking for funding
  run `npm fund` for details

7 vulnerabilities (3 moderate, 4 high)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice 
npm notice New major version of npm available! 8.19.2 -> 9.1.2
npm notice Changelog: <>
npm notice Run `npm install -g npm@9.1.2` to update!
npm notice 
Patching new user agent detection
../../../tools/patches/patch-user-agent.patch:45: trailing whitespace.
            browser.macosDesktop = /darwinthreemadesktop/.test(uagent) 
../../../tools/patches/patch-user-agent.patch:46: trailing whitespace.
            browser.win32Desktop = /win32threemadesktop/.test(uagent) 
../../../tools/patches/patch-user-agent.patch:47: trailing whitespace.
            browser.linuxDesktop = /linuxthreemadesktop/.test(uagent) 
error: patch failed: src/partials/welcome.ts:174
error: src/partials/welcome.ts: patch does not apply
==> ERROR: A failure occurred in build().