Package Details: tutanota-desktop 348.260519.0-1

Git Clone URL: https://aur.archlinux.org/tutanota-desktop.git (read-only, click to copy)
Package Base: tutanota-desktop
Description: The desktop client for Tutanota, the secure e-mail service.
Upstream URL: https://tuta.com/secure-email
Licenses: GPL-3.0-or-later
Submitter: yochananmarqos
Maintainer: yochananmarqos (ajgraves)
Last Packager: yochananmarqos
Votes: 32
Popularity: 0.068210
First Submitted: 2020-03-03 17:27 (UTC)
Last Updated: 2026-05-21 15:04 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

yochananmarqos commented on 2026-03-12 16:41 (UTC) (edited on 2026-03-12 16:41 (UTC) by yochananmarqos)

@sipak: It builds and runs just fine. What is UNS?

sipak commented on 2026-03-12 02:24 (UTC)

Starting this release, 335.260310.0-1, this build requires both, UNS and setuid (4755) "$pkgdir/opt/$pkgname/chrome-sandbox" - So it won't build if you mind about security. Let alone run it.

lemon_zest commented on 2026-02-11 12:37 (UTC)

@balwierz If which emcc doesn't find it, then it's likely a shell config issue. emcc is located in /usr/lib/emscripten, and should be added to PATH by /etc/profile.d/emscripten.sh. Adding /usr/lib/emscripten to PATH fixed the issue for me.

yochananmarqos commented on 2025-12-16 23:53 (UTC)

@balwierz: Huh? Yes, it does. I can't reproduce the issue building in a clean chroot.

balwierz commented on 2025-12-16 23:20 (UTC)

emscripten 4.0.21-1 does not contain emcc

Build error: Error: Could not load wasm-loader:liboqs.wasm (imported by src/common/api/worker/facades/KyberFacade.ts): Command failed: make -f Makefile_liboqs build
/bin/sh: line 1: emcc: command not found

yochananmarqos commented on 2025-12-01 16:24 (UTC)

@npreining: Can't reproduce in a clean chroot.

npreining commented on 2025-12-01 11:53 (UTC) (edited on 2025-12-01 11:56 (UTC) by npreining)

It fails to build for me with

Build error: Error: Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository).
    Please see https://electron.build/publish
    at getInfo (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/publish/PublishManager.ts:564:13)
    at getResolvedPublishConfig (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/publish/PublishManager.ts:573:18)
    at resolvePublishConfigurations (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/publish/PublishManager.ts:456:16)
    at getPublishConfigs (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/publish/PublishManager.ts:430:10)
    at getAppUpdatePublishConfiguration (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/publish/PublishManager.ts:255:73)
    at /home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/publish/PublishManager.ts:125:29
    at emitInternal (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/util/asyncEventEmitter.ts:61:9)
    at AsyncEventEmitter.emit (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/util/asyncEventEmitter.ts:66:28)
    at Packager.emitAfterPack (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/packager.ts:334:5)
    at LinuxPackager.doPack (/home/norbert/.cache/yay/tutanota-desktop/src/tutanota/node_modules/app-builder-lib/src/platformPackager.ts:341:5)
==> ERROR: A failure occurred in build().
Aborting...

yochananmarqos commented on 2025-11-30 18:01 (UTC)

@sologhoul: Well, technically the sqlcipher extension is being built twice, but it works.

sologhoul commented on 2025-11-30 05:37 (UTC) (edited on 2025-11-30 05:37 (UTC) by sologhoul)

this builds for me:

diff --git a/PKGBUILD b/PKGBUILD
index bdbed97..d6184f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
 # Co-Maintainer: Aaron J. Graves <linux@ajgraves.com>
 # Contributor: ganthern <https://github.com/ganthern>
 pkgname=tutanota-desktop
-pkgver=287.250602.0
+pkgver=315.251125.0
 pkgrel=1
 _emsdk_ver=3.1.59  ## Check ci/containers/linux-build.dockerfile for version
 pkgdesc="The desktop client for Tutanota, the secure e-mail service."
 arch=('x86_64')
 url="https://tuta.com/secure-email"
 license=('GPL-3.0-or-later')
+options=('!lto')
 depends=(
   'alsa-lib'
   'gtk3'
@@ -17,6 +18,7 @@ depends=(
 )
 makedepends=(
   'cargo'
+  'rust-wasm'
 #  'emscripten'  ## Fails to build with >=4.0.3
   'git'
   'nvm'
@@ -27,7 +29,7 @@ source=("git+https://github.com/tutao/tutanota.git#tag=$pkgname-release-$pkgver"
         'git+https://github.com/open-quantum-safe/liboqs.git'
         'git+https://github.com/emscripten-core/emsdk.git'
         "$pkgname.desktop")
-sha256sums=('77e187e4a382a9215d6fccf36355011a01f9e4a7b4105edccd23e0430bd1aa24'
+sha256sums=('9d7d5c6cdc92fcc1b4e5a51529463b3ab299586355fb9a59a335ef3f53952bd9'
             'SKIP'
             'SKIP'
             'SKIP'
@@ -59,11 +61,13 @@ prepare() {

   export RUSTUP_TOOLCHAIN=stable
   cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
+
+  cd node_modules/@signalapp/sqlcipher/deps/extension
+  cargo build --release --target x86_64-unknown-linux-gnu
 }

 build() {
   cd "${pkgname%-*}"
-  CFLAGS+=" -ffat-lto-objects"
   export npm_config_cache="$srcdir/npm_cache"
   export RUSTUP_TOOLCHAIN=stable
   _ensure_local_nvm

yochananmarqos commented on 2025-09-15 17:16 (UTC)

@archdub: I was just able to successfully build by adding the !makeflags option, however it fails to launch with a JavaScript error. I'm not sure if that's progress or not...