Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87132 - pinentry disables gtk1 version if both gtk and gtk2 flags are set
Summary: pinentry disables gtk1 version if both gtk and gtk2 flags are set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 09:18 UTC by Alin Dobre (RETIRED)
Modified: 2005-05-07 05:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Dobre (RETIRED) gentoo-dev 2005-03-29 09:18:42 UTC
As long as the pinentry package has 2 different applications, one that uses gtk1-only and the other one that is using gtk2-only, it makes perfect sense to me that, when having both gtk and gtk2 flags enabled, to build both pintry-gtk and pinetry-gtk-2 binaries, not only the gtk2 one.
Please change the condition in the ebuild to:

        elif use gtk && use gtk2
        then
                myconf="--enable-pinentry-gtk2 --enable-pinentry-gtk"

to be more clear, the following conditions set should be normal:

if use gtk
then
  myconf="--enable-pinentry-gtk"
else
  myconf="--disable-pinentry-gtk"
fi
if use gtk2
then
  myconf="${myconf} --enable-pinentry-gtk2"
else
  myconf="${myconf} --disable-pinentry-gtk2"
fi

I want both gtk and gtk2 flags enabled globally (without an /etc/portage/package.use workaround) and be able to use pinetry-gtk, because pinetry-gtk-2 loads too slow relative to its functionality.

Please tell me if i'm wrong here (yes, i'm following that gtk[2] thread on -dev, too).

Thank you.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Wegener gentoo-dev 2005-03-29 09:26:32 UTC
Yeah, that is the issue that is discussed in the -dev thread. Current USE-flag descriptions say:

gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit)
gtk2 - Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.

Which mean gtk activiates gtk+ support and gtk2 only says we want version 2 of gtk+.
In the past it has been that "gtk -gtk2" means gtk+-1 and "gtk gtk2" means gtk+-2.
Comment 2 Alin Dobre (RETIRED) gentoo-dev 2005-05-07 05:28:41 UTC
ok, I'll close this. I guess there is no point for asking a gtk1 flag :)
I'll stick with the gtk -gtk2 flag in /etc/portage/package.use.
Sven, thank you for your explanation.