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

dbrgn commented on 2022-04-05 20:25 (UTC)

@nursoda: Is this fixed in the updated version (1.2.0)?

nursoda commented on 2022-04-03 15:14 (UTC) (edited on 2022-04-03 15:14 (UTC) by nursoda)

Tried to rebuild the package today, got this – any idea what's astray?

[webpack-cli] Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:135:10)
    at BulkUpdateDecorator.hashFactory (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/lib/util/createHash.js:155:18)
    at BulkUpdateDecorator.digest (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/lib/util/createHash.js:80:21)
    at cache/pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/lib/DefinePlugin.js:595:38
    at _next33 (eval at create (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:42:1)
    at _next11 (eval at create (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:97:1)
    at Hook.eval [as call] (eval at create (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:123:1)
    at Hook.CALL_DELEGATE [as _call] (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/node_modules/tapable/lib/Hook.js:14:14)
    at Compiler.newCompilation (pikaur/build/threema-desktop/src/threema-web-electron-release-1.1.0/app/dependencies/threema-web/node_modules/webpack/lib/Compiler.js:1053:26) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'

dbrgn commented on 2021-11-04 17:00 (UTC)

@nobodyinperson ah, I overlooked that x64 when I changed the architecture to "any". What does the directory name look like on aarch64? Is it "Threema-linux-aarch64"?

nobodyinperson commented on 2021-11-04 14:08 (UTC)

If you don't hard-code the x64 in package() but swap that for an asterisk, this package builds and runs perfectly fine on an aarch64 Manjaro ARM PinePhone:

diff --git a/PKGBUILD b/PKGBUILD
index bc1a014..a9460cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,7 +55,7 @@ package() {

   # Copy application
   mkdir -p "${pkgdir}/usr/lib/${pkgname}/resources/"
-  cp "${_app_root}/app/build/dist-electron/packaged/${_appname}-linux-x64/resources/app.asar" \
+  cp "${_app_root}"/app/build/dist-electron/packaged/"${_appname}"-linux-*/resources/app.asar \
      "${pkgdir}/usr/lib/${pkgname}/resources/"

   # Create launcher

dbrgn commented on 2021-11-03 20:22 (UTC)

@buzo: Should be fixed, I aliased the source filenames and changed the architecture to "any" (something I forgot to change when I based the PKGBUILD on the -bin variant of this package).

buzo commented on 2021-11-02 18:17 (UTC) (edited on 2021-11-02 18:17 (UTC) by buzo)

Thanks for packaging this for Arch!

Please have a look at the Namcap warnings:

Checking PKGBUILD
PKGBUILD (threema-desktop) W: Non-unique source name (v2.3.17.tar.gz). Use a unique filename.
Checking threema-desktop-1.0.3-3-x86_64.pkg.tar.zst
threema-desktop W: No ELF files and not an "any" package