1 |
Ühel kenal päeval, R, 27.05.2016 kell 13:14, kirjutas Anthony G. |
2 |
Basile: |
3 |
> On 5/27/16 12:59 PM, rindeal wrote: |
4 |
> > On 27 May 2016 at 18:54, landis blackwell <blackwelllandis@×××××.co |
5 |
> > m> wrote: |
6 |
> > > I stopped reading after you reminded me it was 2016 |
7 |
> > |
8 |
> > Good to know, thanks for stopping by. |
9 |
> > |
10 |
> |
11 |
> Yeah the "its <current> year" meme has been making its rounds of the |
12 |
> internet. |
13 |
> |
14 |
> anyhow, my 2017 question is about avahi. right now i have USE=gtk |
15 |
> and |
16 |
> gtk3, where gtk really means gtk2. i'm not going to change that |
17 |
> because |
18 |
> it fits QA's specs. but i could remove it altogether and just drop |
19 |
> gtk2 |
20 |
> support for the next release. good idea? bad idea? i guess i'm |
21 |
> asking |
22 |
> whats the status of gtk2 in gentoo seeing as its dead upstream. |
23 |
|
24 |
I don't see a strong reason to have gtk2 support if there are no gtk2 |
25 |
consumers remaining in the tree. I somehow doubt that's the case for |
26 |
avahi, though? |
27 |
If gtk2 support is removed though, then per gnome policy gtk3 component |
28 |
should come with USE=gtk and per QA policy USE=gtk3. |
29 |
|
30 |
The QA policy is not finalized and completely contradicts our side of |
31 |
things, hence discussions are needed, but did not conclude. |
32 |
This is a thread to continue this discussion, I suppose. |
33 |
|
34 |
I wouldn't change anything till then really, especially for libraries, |
35 |
where it's mostly handled by USE depends anyway. |
36 |
|
37 |
One thing is USE flag naming for gtk2 and gtk3, another thing is if |
38 |
apps should provide support on building against either. |
39 |
I strongly disagree with using the same flag names for "provide gtk2 |
40 |
linking higher level library" and "Build this GUI application against |
41 |
gtk version 2". QA proposed policy has this regression. |
42 |
Also for libraries it is a "either or both" situation, for apps it's a |
43 |
"one or the other" situation. This gets awful very quick if any |
44 |
application maintainer decides to express it with a |
45 |
REQUIRED_USE="^^ ( gtk2 gtk3 )", combined with the libraries in tree |
46 |
that then would have REQUIRED_USE="|| ( gtk2 gtk3 )" + libraries in |
47 |
tree where gtk component is optional, and if available both gtk2 and |
48 |
gtk3 versions are available with |
49 |
REQUIRED_USE="gtk? ( || ( gtk2 gtk3 ))". |
50 |
|
51 |
This would be clean with only libraries using gtk2/gtk3 as is GNOME |
52 |
teams current policy. Then the natural thing would be to have a |
53 |
different USE flag to mean to prefer gtk2 for user facing applications |
54 |
when possible instead of gtk3 (USE="force-gtk2" being suggested here |
55 |
for that) |
56 |
With this approach we can cleanly handle any upcoming gtk4 as well, |
57 |
while naturally moving users who don't care into using the latest |
58 |
version. |
59 |
|
60 |
I also strongly believe that USE flags should be first and foremost |
61 |
about features, not an expression of the name of an external |
62 |
dependency. |
63 |
|
64 |
Gilles did a huge start of work on mapping gtk* use flag usages in a |
65 |
spreadsheet, but given the volume, got distracted before finished. |
66 |
I pointed this out to the QA team to look at, but have not heard |
67 |
anything back. |
68 |
The point of the exercise was, that it turns out half of the tree seem |
69 |
to mis-use USE=gtk in some way, and QA should really concentrate on |
70 |
helping with that first. Then the situation would be much clearer, as |
71 |
there wouldn't be all that many USE=gtk's remaining. |
72 |
Anyhow, this is where the discussions stalled last time around. |
73 |
|
74 |
I think we should first figure out about the USE flag usages (naming + |
75 |
library only or not). |
76 |
We can bikeshed if gtk2 version for applications should be provided |
77 |
more liberally in addition to gtk3 as a one or the other choice later |
78 |
on. I don't feel too strongly about making that hard if it doesn't step |
79 |
on our library USE flag namespace. |
80 |
|
81 |
|
82 |
Mart |