On Wed, 12 Feb 2014 09:05:59 +0100 Michał Górny <mgo...@gentoo.org> wrote:
> Dnia 2014-02-12, o godz. 00:39:14 > Alex Alexander <wi...@gentoo.org> napisał(a): > > > Some developers choose to follow the Gnome team's highlights, while > > others choose to go their own way. The QA team would like to > > establish a guideline that solves this problem in the best way > > possible. > > First of all, I think that the policy on a flag related to GTK+ should > be set by the GTK+ maintainer, that is the GNOME team, and not > directly by QA. The GNOME team has already made a recommendation on this; and feel free to correct me, but I think they internally regard it as a policy the GNOME team itself has to apply. > If people dislike the policy set by GNOME, they can appeal to QA, > sure. This is what indirectly happens here; hasufell brought this up to us, as people are closing bugs blocking below tracker as RESOLVED WONTFIX: https://bugs.gentoo.org/show_bug.cgi?id=420493 An overview of the bugs blocking this tracker: https://bugs.gentoo.org/buglist.cgi?quicksearch=ALL%20blocked%3A420493 > But IMO afterwards QA should either give their blessing to the > current GNOME policy or tell GNOME to change the policy, not step in > front of them with a 'higher instance override'. We've brought leio early into the discussion during the QA team meeting; as it currently stands, I think this is still a recommendation which makes it easier for people to object it. We've planned to bring this out to the mailing list (as wired did), as well as clarify the objections to it; in an attempt to listen and then discuss and work with the GNOME team on making this work for everyone. > > During our discussion, it was pointed out that keeping a generic > > USE="gtk" is sub-optimal. The non-straightforward nature of new > > toolkit versions makes transitioning from one to the other a slow, > > tedius process and we think that a non-versioned USE flag makes > > things even worse. > > How does the flag exactly do that? I don't seem to get the point > in that paragraph. What do we think the flag does? There are multiple ways to interpret "gtk - Add support for x11-libs/gtk+ (The GIMP Toolkit)" if you want to; and depending on that, there are underlying difficulties that pop up. Does it cover one slot or all slots? If it covers one slot, should it be named after that slot instead? If it covers multiple slots, quoting leio: Why don't we just rename it to USE="gui"? Other people more acknowledged with that can probably explain it more well, but realistically the USE flag description should explain this more clear such that we don't need to explain it; now, consider this: Why is there no USE="qt" for Qt? Why do we not need it there? > > To achieve this, version 3 of gtk should always be enabled by > > USE="gtk3". At some point in the future, when gtk2 consumers reach > > zero, we will retire "gtk" for good. Then, if some day gtk4 comes > > around, we will be able to introduce support for it in the tree by > > simply adding USE="gtk4", without having to re-structure half the > > tree. > > This goes exactly against the policy that is being established e.g. > for USE=ssl. If QA is really supposed to set a policy here, it should > set a generic policy for all those cases. > > USE flags should represent *features*, not tools used to implement > them. If users want SSL support in an application, they want to set > USE=ssl and stop caring. Not look through all the USE flags in case > application used USE=openssl, USE=gnutls, USE=polarssl etc. for it. Exactly, I think this backs up the USE="gui" idea above. [TL;DR: Skip the next two paragraphs, we're agreeing on that; I just left it in for if anyone wants to read it for furtherer understanding.] As for the versioned USE="gtk3", ...; I'm wondering how the user would then specify what to build for, or even worse: If a package depends on gtk+ without a SLOT and was build against gtk3, then the user wants to support gtk4 as well but hold on to gtk3 until all his packages work with gtk4, how would you reflect that in the ebuild? I see USE="gtk" --> USE="gui" as a good idea; however, for a reason like the above where control as to which GTK version is supported (benefits changed USE flag rebuilds) is needed by the user are affected if we decide to do something about the versioned USE="gtk3", ... > Multiple USE flags make sense when there's support for multiple > toolkits that works and is maintained, and the user may reasonably > want to switch between them. But then, the extra USE flags for toolkit > switching should be introduced with keeping USE=ssl as the generic > on/off switch and the specific flags an optional implementation switch > for power users. > > In the end, GTK+ is much the same. You want GTK+ GUI, you enable > USE=gtk. You need specific switching between 2 and 3, assuming it is > *reasonable and well supported*, you can use extra USE=gtk2 or > USE=gtk3. Sorry; should have read further before writing my previous quote response, there's agreement here to a large extent as you can see by the previous two paragraphs. > This generally works, and causes issues mostly to complainers alike > 'I dislike this, I want to be able to easily mask it all'. I don't > think there's a point messing up the general case for the sake of > complainers that will either end up enabling USE=gtk3 anyway at some > point or end up without a GUI. > > That said, I'm all for killing most of USE=gtk, USE=wxwidgets, USE=qt* > occurrences with a generic USE=gui following the earlier principle. This last sentence (especially the * on qt) makes me wonder if we fully agree though; as put out in the two paragraphs I told you to skip, this takes a bit of control away from the user which some users might want. Also seems you are already aware of USE="gui" (or came up with it too). > If user installs an application and wants a GUI for it, shklee > shouldn't have to care whether it's GTK+, wxWidgets or Qt. Gentoo > should be a distribution friendly to all toolkits, people who collect > applications specific to a single toolkit belong in {,k,x}ubuntu. > Then, the special USE flags make sense for fine-picking one > of the toolkits when multiple are supported. Yes; in this context, users can mask what they want to avoid. -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
signature.asc
Description: PGP signature