On Wed, 2015-08-12 at 00:02 +1000, Michael Palimaka wrote:
> 3. Create a whole new solution like USE="gui" (what happens if I have
> multiple gui implementation USE flags set?)

This is what I would suggest. It would remove 90% of the problem since
most applications use only one gui toolkit.

If no toolkit USE flags are set, go with the "best" (most stable, best
supported) toolkit.

If multiple flags are set - here you have a choice. The user-friendly
approach is to add some logic to find the "best" toolkit out of the
ones for which a flag is set (this gets complicated in the theoretical
case of three toolkits).

However, the user-friendly approach is completely unworkable when there
are reverse dependencies on your package (plugins for example) that
require a specific toolkit.

So a better choice might be REQUIRED_USE, *but* then you must adjust
package.use in all profiles to allow your package to be emerged without
forcing a user to manually set/unset flags.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to