Package Details: yubico-authenticator 7.2.0-2

Git Clone URL: https://aur.archlinux.org/yubico-authenticator.git (read-only, click to copy)
Package Base: yubico-authenticator
Description: Yubico Authenticator for Desktop
Upstream URL: https://github.com/Yubico/yubioath-flutter
Licenses: Apache-2.0
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 8
Popularity: 1.72
First Submitted: 2024-02-20 16:39 (UTC)
Last Updated: 2025-05-20 01:01 (UTC)

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2025-05-20 01:03 (UTC)

@WithTheBraid: Thanks for the heads up. Why a Flutter application that already uses Gtk is using Zenity is beyond me...

WithTheBraid commented on 2025-05-19 08:31 (UTC)

The package is missing zenity as runtime dependency:

[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Exception: Couldn't find the executable zenity in the path.
#0      isExecutableOnPath (package:file_picker/src/utils.dart:60)
<asynchronous suspension>
#1      FilePickerLinux._getPathToExecutable (package:file_picker/src/linux/file_picker_linux.dart:131)
<asynchronous suspension>
#2      FilePickerLinux.pickFiles (package:file_picker/src/linux/file_picker_linux.dart:30)
<asynchronous suspension>
#3      _ImportActionChip._importAction (package:yubico_authenticator/app/icon_provider/icon_pack_dialog.dart:228)
<asynchronous suspension>

yochananmarqos commented on 2024-10-16 19:59 (UTC)

@ptr1337: This requires fvm to build which already depends on unzip. ;)

ptr1337 commented on 2024-10-16 16:56 (UTC)

unzip is missing as dependecy. Does not build in a chroot.

yochananmarqos commented on 2024-05-10 19:59 (UTC)

@WithTheBraid: Proposal: Read the flutter AUR package comments. ;)

WithTheBraid commented on 2024-05-10 19:59 (UTC)

Proposal : Use the system Flutter installation ?

yochananmarqos commented on 2024-02-22 23:43 (UTC)

@NickGeek: I did a little research and found others that have fixed their PATH by doing the same thing you proposed. I've added it.

NickGeek commented on 2024-02-22 23:31 (UTC)

@yochananmarqos: It worked on my machine with the patch I wrote. The colon is needed to distinguish each dir in the PATH.

PATH is first-in-first-served. So if you want the package's flutter install to be selected over any system installs, it needs to be first.

yochananmarqos commented on 2024-02-22 23:17 (UTC) (edited on 2024-02-22 23:22 (UTC) by yochananmarqos)

@NickGeek: Are you sure about that variable? The official docs state:

export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"

EDIT: Maybe it was the colon? I've removed it.

NickGeek commented on 2024-02-22 23:07 (UTC)

@yochananmarqos:

The signature checking implemented in makepkg does not use pacman's keyring, instead relying on the user's keyring.

Yeah, that makes sense.

Can't reproduce, it disables analytics for me.

Ah, it looks like I had a different version of flutter in my path that the buildscript was invoking instead. The PATH override wasn't working.

Here is a patch:

From a117bafd1824250771b96c9cec2ed345afc9c256 Mon Sep 17 00:00:00 2001
From: Nick Webster <nick@nick.geek.nz>
Date: Fri, 23 Feb 2024 12:05:03 +1300
Subject: [PATCH] Use the vendored flutter version instead of a system install

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9154bd0..08d38f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,7 +55,7 @@ build() {
   popd

   export FLUTTER_HOME="$srcdir/flutter"
-  export PATH="${PATH}:${FLUTTER_HOME}/bin:"
+  export PATH="${FLUTTER_HOME}/bin:${PATH}"
   flutter --disable-analytics
   flutter pub get
   flutter build linux
-- 
2.43.2