Package Details: threema-desktop 1.2.46-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: 17
Popularity: 0.022599
First Submitted: 2021-10-27 10:38 (UTC)
Last Updated: 2024-11-22 00:17 (UTC)

Latest Comments

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

dbrgn commented on 2022-08-04 20:16 (UTC)

@solnce: I also built it on two computers, on one with makepkg and on the other one with yay, both worked fine. I'd recommend to clear all caches / checkouts of the repos and to build from clean state.

jongeduard commented on 2022-08-04 10:22 (UTC)

No build errors here - I updated right now.

@dbrgn Thanks. I was indeed not yet aware of it. I consider it good news, because there's a lot that could be improved in my opinion. :)

solnce commented on 2022-08-04 10:03 (UTC)

The package does not build for me, on two different machines.

==> Making package: threema-desktop 1.2.18-2 (Thu 04 Aug 2022 12:03:17 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading threema-web-electron-v1.2.18.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2692k    0 2692k    0     0  6093k      0 --:--:-- --:--:-- --:--:-- 6093k
  -> Downloading threema-web-v2.4.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 21.5M    0 21.5M    0     0  16.1M      0 --:--:--  0:00:01 --:--:-- 19.8M
  -> Found threema.desktop
  -> Found 0001-When-browser-detection-fails-don-t-return-undefined.patch
  -> Found 0002-Remove-browser-warning.patch
==> Validating source files with sha256sums...
    threema-web-electron-v1.2.18.tar.gz ... Passed
    threema-web-v2.4.2.tar.gz ... Passed
    threema.desktop ... Passed
    0001-When-browser-detection-fails-don-t-return-undefined.patch ... Passed
    0002-Remove-browser-warning.patch ... Passed
==> Extracting sources...
  -> Extracting threema-web-electron-v1.2.18.tar.gz with bsdtar
  -> Extracting threema-web-v2.4.2.tar.gz with bsdtar
==> Starting prepare()...
patching file src/services/browser.ts
patching file src/partials/welcome.ts
==> Removing existing $pkgdir/ directory...
==> Starting build()...

up to date, audited 581 packages in 1s

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

4 moderate severity vulnerabilities

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

Run `npm audit` for details.
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:170
error: src/partials/welcome.ts: patch does not apply
error: patch failed: src/services/browser.ts:124
error: src/services/browser.ts: patch does not apply
==> ERROR: A failure occurred in build().
    Aborting...

dbrgn commented on 2022-07-08 11:34 (UTC)

@jongeduard: Don't consider this application to be new. It's a repackaging of Threema Web for the desktop, which is in maintenance mode. The main development efforts at Threema are going into Threema Desktop 2.0, which is a completely new codebase which won't have these deprecation warnings.

jongeduard commented on 2022-07-08 10:02 (UTC)

Thank you for fixing! It works indeed.

Note: I am not really an Electron and Node.js expert (I am a developer in other technologies), but it it always strikes me that there are so many warnings during the compile of this application, mostly deprecation warnings (so not immediately an issue, but I would not expect so many on such a new application like this).

dbrgn commented on 2022-07-08 08:38 (UTC)

Package fixed.

dbrgn commented on 2022-07-08 08:21 (UTC)

I assume the reason is an electron update that changed the way CSP rules are applied/enforced. I'll try to find a fix.

sun.shine commented on 2022-07-06 13:24 (UTC)

@jongeduard: I face the exact same situation as @tifrueh.

tifrueh commented on 2022-07-03 12:13 (UTC) (edited on 2022-07-03 12:14 (UTC) by tifrueh)

@jongeduard I've got the exact same problem. The 'threema-desktop-bin' package still works flawlessly, though ...