Petr Uzel said the following on 03/18/2010 10:48 AM:
On Thu, Mar 18, 2010 at 08:34:39AM -0400, Anton Aylward wrote:
Petr Uzel said the following on 03/18/2010 05:54 AM:
Yes, that's expected. Most likely I wasn't clear before. You are right that in such case it is pinentry-gtk-2, what is 'selected' by /usr/bin/pinentry script. But since it figures out there is no $DISPLAY, it runs pinentry-curses-like interface which is embedded into pinentry-gtk-2 binary (as well as to other graphical pinentry's).
If that's the case then the if/elsif tree is pointless. First, because it will never get to pinentry-curses and secondly if the -curses code is embedded in the GUI versions, why bother having a -cures version anyway.
There's something here that's either pretty dumb or doesn't make sense.
Imagine minimal server installation - only pinentry-curses is installed there and in such case it is selected. gpg2 depends only on pinentry-curses. -qt and -gtk-2 are pulled by KDE4/GNOME patterns.
[...]
The test for KDE only happens if DISPLAY is set.
If DISPLAY is not set, why should we care about KDE/GNOME? It even does not make sense. Or am I missing something?
So what about other window managers? Sorry, I don't get this question.
I phrased that badly.
If DISPLAY is set then there is _some_ windows manager running. How to choose between the one for Gnome and the one for KDE? Or something else.?
Oh, right. Gtk-2 is enough. Which gets back to my original question, why have more than one if Gtk-2 can work for KDE (It does I just tested it) and has the -curses code in it.
Yes, it works, but - to have consistent look and feel, KDE4 users prefer pinentry-qt4 - why should KDE4 installation pull all gtk2 libraries just because of pinentry-gtk-2 ?
So ... * any one of the GUI pinentry packages is sufficient. * if I have KDE I can drop -gtk-2 and install -qt4
Why have the shell script? Why have -qt and -qt4 when just one package will do the job?
You're right that -qt likely could be dropped.
Done. All this makes me think that here should be something like the NSSSwtich but for the GUI. One tool, this and others, that uses a 'standard' API that goes to the right libraries. I'd like that in Firefox and Thunderbird; I hate having to load all the gtk2 libraries for them. I want a PURE KDE system. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org