Gentoo Archives: gentoo-user

From: Ramon Fischer <Ramon_Fischer@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing [RESOLVED]
Date: Sun, 31 Jan 2021 16:39:28
Message-Id: AM6PR10MB244046B003742FFD6B8BB7F0EFB79@AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM
In Reply to: Re: [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing by Wynn Wolf Arbor
1 Thanks!
2
3 The USE flag "gtk" for the package "app-crypt/gcr" was missing.
4
5 After following your instructions, it is working again using
6 "/usr/bin/pinentry-gnome3":
7
8 $ < /etc/portage/package.use/pinentry
9 app-crypt/pinentry gtk
10 app-crypt/gcr gtk
11 $ emerge --ask --changed-use gcr
12 $ emerge --ask pinentry
13 $ ls -l /usr/bin/pinentry-gnome3
14 -rwxr-xr-x 1 root root 81520 Jan 31 17:21 /usr/bin/pinentry-gnome3
15 $ eselect pinentry list
16 Available pinentry binary implementations:
17   [1] pinentry-gnome3
18   [2] pinentry-curses *
19   [3] pinentry-tty
20 $ eselect pinentry set 1
21 $ eselect pinentry list
22 Available pinentry binary implementations:
23   [1]   pinentry-gnome3 *
24   [2]   pinentry-curses
25   [3]   pinentry-tty
26
27 From the issue ticket:
28 > Therefore I propose that if app-crypt/pinentry uses +gtk, there should be a dependency for app-crypt/gcr +gtk
29 I totally agree with this.
30
31 > See <https://developer.gnome.org/gtk2/>
32 >     This module is heading towards planned deprecation.
33 >     It will continue to be supported and API/ABI stable throughout the
34 > GNOME 2.x series,
35 >     but we do not recommend using it in new applications unless you
36 > require
37 >     functionality that has not already been moved elsewhere.
38 >
39 > It have been un-recommended for a long time.
40 Thanks for the clarification!
41
42 -Ramon
43
44 On 31/01/2021 13:43, Wynn Wolf Arbor wrote:
45 > On 2021-01-31 13:03, Ramon Fischer wrote:
46 >> The USE flag "gtk" was not removed:
47 >>
48 >> -IUSE="caps emacs gnome-keyring fltk gtk ncurses qt5"
49 >> +IUSE="caps emacs gnome-keyring gtk ncurses qt5"
50 >>
51 >> Since when is this obsolete and is there any alternative?
52 > I cannot comment directly on the obsolescence of pinentry-gtk2 (most
53 > certainly a decision upstream), but the alternative is pinentry-gnome3.
54 >
55 > The gtk flag was not removed because it now configures pinentry-gnome3
56 > instead of -gtk2. You should be able to select that using 'eselect
57 > pinentry', but because of [1] you'll have to enable the gtk flag for
58 > app-crypt/gcr first and then rebuild app-crypt/pinentry.
59 >
60 > [1] https://bugs.gentoo.org/show_bug.cgi?id=767424
61 >
62
63 --
64 GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature