public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing
@ 2021-01-31 12:03 Ramon Fischer
  2021-01-31 12:43 ` Wynn Wolf Arbor
  0 siblings, 1 reply; 4+ messages in thread
From: Ramon Fischer @ 2021-01-31 12:03 UTC (permalink / raw
  To: Gentoo User


[-- Attachment #1.1: Type: text/plain, Size: 940 bytes --]

Hello list,

I recently updated "app-crypt/pinentry" and suddenly 
"/usr/bin/pinentry-gtk-2" was missing.

I am using "pinentry-gtk-2", so I can enter the passphrase for my GPG 
private key, when using the browser extension "Gopass Bridge".

Taking a look at the commit of the package[1], it states:

    [...]
    -disable gtk2 (obsolete)
    [...]

    @@ -58,16 +57,15 @@ src_configure() {
             econf \
             [...]
             --disable-pinentry-gtk2 \
             [...]

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?

-Ramon

[1] 
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acad5327d6e44f7f4b2dd8a5eb6a563a1297aac3

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing
  2021-01-31 12:03 [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing Ramon Fischer
@ 2021-01-31 12:43 ` Wynn Wolf Arbor
  2021-01-31 12:47   ` bobwxc
  2021-01-31 16:39   ` [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing [RESOLVED] Ramon Fischer
  0 siblings, 2 replies; 4+ messages in thread
From: Wynn Wolf Arbor @ 2021-01-31 12:43 UTC (permalink / raw
  To: gentoo-user

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

-- 
Wolf


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing
  2021-01-31 12:43 ` Wynn Wolf Arbor
@ 2021-01-31 12:47   ` bobwxc
  2021-01-31 16:39   ` [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing [RESOLVED] Ramon Fischer
  1 sibling, 0 replies; 4+ messages in thread
From: bobwxc @ 2021-01-31 12:47 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 1277 bytes --]

在 2021/1/31 下午8:43, Wynn Wolf Arbor 写道:
> 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
>
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.

-- 
bobwxc
F645 5C7A 08E8 A637 24C6  D59E 36E9 4EAB B53E 516B



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing [RESOLVED]
  2021-01-31 12:43 ` Wynn Wolf Arbor
  2021-01-31 12:47   ` bobwxc
@ 2021-01-31 16:39   ` Ramon Fischer
  1 sibling, 0 replies; 4+ messages in thread
From: Ramon Fischer @ 2021-01-31 16:39 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 2315 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-31 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-31 12:03 [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing Ramon Fischer
2021-01-31 12:43 ` Wynn Wolf Arbor
2021-01-31 12:47   ` bobwxc
2021-01-31 16:39   ` [gentoo-user] app-crypt/pinentry - major rework: "/usr/bin/pinentry-gtk-2" missing [RESOLVED] Ramon Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox