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.
This commit is contained in:
Efraim Flashner 2020-09-08 09:17:51 +03:00
parent d27afcc6ab
commit c9a6c0c672
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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