From c9a6c0c6724ef5188bb31b7ff3496798bd955707 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 8 Sep 2020 09:17:51 +0300 Subject: gnu: pinentry: Enable curses fallback. * gnu/packages/gnupg.scm (pinentry-gtk2, pinentry-gnome3, pinentry-qt, pinentry-efl)[arguments]: Add configure-flag for fallback curses mode. --- gnu/packages/gnupg.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 2f663b3362..c0f827b7e3 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -868,6 +868,8 @@ (define-public pinentry-gtk2 (package (inherit pinentry-tty) (name "pinentry-gtk2") + (arguments + `(#:configure-flags '("--enable-fallback-curses"))) (inputs `(("gtk+" ,gtk+-2) ("glib" ,glib) @@ -886,7 +888,8 @@ (define-public pinentry-gnome3 ("glib" ,glib) ,@(package-inputs pinentry-tty))) (arguments - `(#:configure-flags '("--enable-pinentry-gnome3"))) + `(#:configure-flags '("--enable-pinentry-gnome3" + "--enable-fallback-curses"))) (description "Pinentry provides a console and a GUI designed for use with GNOME@tie{}3 that allows users to enter a passphrase when required by @code{gpg} or other @@ -896,6 +899,8 @@ (define-public pinentry-qt (package (inherit pinentry-tty) (name "pinentry-qt") + (arguments + `(#:configure-flags '("--enable-fallback-curses"))) (inputs `(("qtbase" ,qtbase) ,@(package-inputs pinentry-tty))) @@ -912,7 +917,8 @@ (define-public pinentry-efl (inherit (package-source pinentry-tty)) (patches (search-patches "pinentry-efl.patch")))) (arguments - '(#:configure-flags '("--enable-pinentry-efl") + '(#:configure-flags '("--enable-pinentry-efl" + "--enable-fallback-curses") #:phases (modify-phases %standard-phases (replace 'bootstrap -- cgit v1.2.3