Thanks!

The USE flag "gtk" for the package "app-crypt/gcr" was missing.

After following your instructions, it is working again using "/usr/bin/pinentry-gnome3":

   $ < /etc/portage/package.use/pinentry
   app-crypt/pinentry gtk
   app-crypt/gcr gtk
   $ emerge --ask --changed-use gcr
   $ emerge --ask pinentry
   $ ls -l /usr/bin/pinentry-gnome3
   -rwxr-xr-x 1 root root 81520 Jan 31 17:21 /usr/bin/pinentry-gnome3
   $ eselect pinentry list
   Available pinentry binary implementations:
      [1] pinentry-gnome3
      [2] pinentry-curses *
      [3] pinentry-tty
   $ eselect pinentry set 1
   $ eselect pinentry list
   Available pinentry binary implementations:
      [1]   pinentry-gnome3 *
      [2]   pinentry-curses
      [3]   pinentry-tty

From the issue ticket:
Therefore I propose that if app-crypt/pinentry uses +gtk, there should be a 
dependency for app-crypt/gcr +gtk
I totally agree with this.

See <https://developer.gnome.org/gtk2/>
    This module is heading towards planned deprecation.
    It will continue to be supported and API/ABI stable throughout the GNOME 2.x series,     but we do not recommend using it in new applications unless you require
    functionality that has not already been moved elsewhere.

It have been un-recommended for a long time.
Thanks for the clarification!

-Ramon

On 31/01/2021 13:43, Wynn Wolf Arbor wrote:
On 2021-01-31 13:03, Ramon Fischer wrote:
The USE flag "gtk" was not removed:

    -IUSE="caps emacs gnome-keyring fltk gtk ncurses qt5"
    +IUSE="caps emacs gnome-keyring gtk ncurses qt5"

Since when is this obsolete and is there any alternative?
I cannot comment directly on the obsolescence of pinentry-gtk2 (most
certainly a decision upstream), but the alternative is pinentry-gnome3.

The gtk flag was not removed because it now configures pinentry-gnome3
instead of -gtk2. You should be able to select that using 'eselect
pinentry', but because of [1] you'll have to enable the gtk flag for
app-crypt/gcr first and then rebuild app-crypt/pinentry.

[1] https://bugs.gentoo.org/show_bug.cgi?id=767424


--
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to