On 02/08/2010 02:16 PM, Samuli Suominen wrote:
On 02/08/2010 02:12 PM, Nikos Chantziaras wrote:
On 02/08/2010 01:36 PM, AllenJB wrote:
On 08/02/10 11:15, Nikos Chantziaras wrote:
Hello. Please don't be too harsh if I got this wrong or if this looks
like whining :P
A lot of ebuilds seem to ignore the "X" USE flag and instead only have
"gtk", "qt" and the like. This should be declared absolutely wrong,
IMHO. When a program provides a command-line tool and a GUI tool, and
the GUI tool uses only one toolkit, then the USE flag should be "X".
[...]
I don't see that either system makes particularly more sense than the
other.
The only situation that comes immediately to mind is: Under the current
system, if packages add or remove support for multiple toolkits, the
changes are trivial, but under your system it would invoke shuffling use
flags around (which could easily affect dependencies in other packages).
It would also not be immediately clear which toolkits support has been
added/removed under the proposed system (since a package would go from,
for example, having use flags "gtk kde" to just "X").
If it would be problematic for a package to switch to "X" then of course
it might be better to leave it as-is. But most of the time, the
programs in question only state "gtk" or "fltk" in them, even though Gtk
is not optional at all. A perfect example here is media-video/xvattr.
If you don't set the "gtk" USE flag, then you don't get the graphical
tool at all, only the command line tool.
Very bad example.
That's what people want: xvattr is used on headless VDR multimedia
HTPC's, and VDR doesn't need toolkits like GTK+ installed.
So which should be preffered? VDR people putting "media-video/xvattr
-X" or desktop people putting "media-video/xvattr +gtk"?
Btw, I use xvattr and I don't have a VDR HTPC or anything like that.