On 6 July 2011, at 17:35, Nikos Chantziaras wrote:

> Is there a secret plan in place to keep users from being able to use Gtk 2 in 
> packages that support both Gtk 2 and 3?  And if yes, why?  Is the user 
> considered too stupid to grasp the awesomeness of Gtk 3 so that the devs have 
> to force the choice upon them?
> 
> I'm talking about this:
> 
>  http://bugs.gentoo.org/show_bug.cgi?id=374057
> 
> So why should users not be able to choose Gtk 2 with a USE flag?  What is the 
> reason people use Gentoo?  Isn't one of them the ability of being able to 
> rebuild packages with different USE flags?

Taking a look at this bug today, is there any reason why the ebuild shouldn't 
simply RDEPEND="x11-libs/gtk+" (i.e. remove the explicit dep on gtk3), detect 
what version you have installed on your system and then either run 
--enable-gtk3 or --enable-gtk2 during src_configure(), depending upon which 
you're using?

Stroller.


Reply via email to