On Tue, 11 Feb 2014 19:33:06 -0500
Chris Reffett <creff...@gentoo.org> wrote:

> This doesn't make sense to me at all. I can't see why slotted
> libraries can't just use USE flags to specify what toolkit they're
> built against, just like any other package in the tree (so, for
> example, a package that needs webkit-gtk built against gtk3 would
> depend on webkit-gtk[gtk3] instead of webkit-gtk:3). I'm well aware
> that there could be limitations I'm unaware of (maybe the package only
> can build one at a time?), but this is how it looks to me. By
> switching to versioned gtk flags, this kills two birds with one stone:
> it makes it obvious to the end user which version they're trying to
> build their package against, and it gets rid of the need for (ab)using
> revision numbers to implement slots like that.

Exactly.  For wxGTK my options are using a gtk3 USE flag, adding a whole new
wxGTK-gtk3 ebuild, or using a 3.0-gtk3 SLOT and some clumsy -r300 thing.
The second option brings along a nightmare of file collisions (we have enough
trouble supporting multiple installed versions, never mind multiple toolkits
within those versions), and the last option isn't actually feasible because
everything in the eclass/eselect is tied directly into the SLOT.


-- 
Ryan Hill                        psn: dirtyepic_sk
   gcc-porting/toolchain/wxwidgets @ gentoo.org

47C3 6D62 4864 0E49 8E9E  7F92 ED38 BD49 957A 8463

Attachment: signature.asc
Description: PGP signature

Reply via email to