1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 09/12/2015 11:40 AM, Paweł Hajdan, Jr. wrote: |
5 |
> On 9/9/15 9:50 PM, Paweł Hajdan, Jr. wrote: |
6 |
>> tl;dr - I could find similar discussions going back even to 2005; |
7 |
>> this seems like a really complex topic that we didn't tackle |
8 |
>> effectively |
9 |
>> |
10 |
>> It seems it'd be helpful to take past discussions into account, |
11 |
>> maybe even create e.g. a wiki page with a summary of various |
12 |
>> solutions and their pros and cons. |
13 |
> |
14 |
> This is my attempt at summarizing the discussions so far: |
15 |
> <https://wiki.gentoo.org/wiki/Toolkit_USE_Flags> |
16 |
> |
17 |
> It's probably incomplete - feel free to extend/change/reformat it. |
18 |
> |
19 |
> I hope it could become a good starting point for a more structured |
20 |
> discussion. |
21 |
> |
22 |
> Paweł |
23 |
> |
24 |
|
25 |
Awesome write-up! |
26 |
|
27 |
I'll go on record and state I think versioned USE flags are probably |
28 |
best-used on a local level in IUSE, while generic USE flags should be |
29 |
used at the global level. For instance a desktop profile meant for KDE |
30 |
could set USE="qt -gtk" and automatically prefer Qt -- whatever |
31 |
version as necessary -- to build GUI applications. Should a particular |
32 |
package require one Qt version or another, it should locally default |
33 |
to what works best, eg IUSE="qt5 +qt4", in the event that the latest |
34 |
version isn't quite good enough. |
35 |
|
36 |
In cases like x11-misc/spacefm, where upstream actively supports both |
37 |
in mostly equal capacity, the latest version should be default but |
38 |
still support the others until maintaining that requires additional |
39 |
patching or other issues. e.g. IUSE="+gtk3 gtk2". |
40 |
|
41 |
I'm not sure where that places me in the table. Versioned global flags |
42 |
are asking for trouble, but putting them in IUSE shouldn't be a |
43 |
problem imo as long as it's made clear *how* they affect the package. |
44 |
Context matters. |
45 |
|
46 |
- -- |
47 |
Daniel Campbell - Gentoo Developer |
48 |
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net |
49 |
fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 |
50 |
-----BEGIN PGP SIGNATURE----- |
51 |
Version: GnuPG v2 |
52 |
|
53 |
iQIcBAEBCAAGBQJV9LA0AAoJEAEkDpRQOeFwt6gQAI1HphVTlQJAaONixFR4/chP |
54 |
P5Nuk6+gPThrSRvAEbDLNbY+mQMRK/ZZ5ZEwjOBWYR1YW2nvd2XnW6879OTr+QDo |
55 |
lDOyIJdIEGvLoubCHCf1kjmIIChahZ71hneDeffDDB29xYCokg+0TrO7WoppZPLw |
56 |
ZSqd5PqhrqC2hHSi9L4X5ybyECvEtuD4uJ0Yr5BoBjGz9IKdDv09YlZ5gk8krgtx |
57 |
5oLMgmX/ktMOTOsluZRZIyR2BGaHEs59+4+qu624BImk+fKQQmil7SsnXHDDcxxH |
58 |
OeWSmHmiVxlUlNI8uKy/B+NsG991DTr9EdPvY9nejNgssmdDNvdWyl0yzioxAH8m |
59 |
Yo5VrlpbMog1+lfhSQ+ZoWWhP7LrarX1DP/1aKhD7+IG5ycQn6hN+PFRFCC8bxro |
60 |
gr9TkDSBZvbyITbdO0g23W8jP7shRbCZdGOR2lD0IqfbGdyIDsz1oFe2i2dIQXvq |
61 |
HF4TWL+OE4Wtp4zUl9mmc9Pqk33vLfT+mGLCGOegogKMTPEstkuWF/n3s4SxyUPD |
62 |
a3dAKzZoOJfFqBsyUB9sDZCGDCkxhRhlVv01HcQWc/Ggv8KN1c2+gv4LSE3ryPCL |
63 |
IKfo7VaUUO1g5+XNGv0x5JkTE8hKryGgS7b+U3d3A7krS4IGufjEqJiq1f8Imute |
64 |
e1rgTxTn0XVTNDDa4ycj |
65 |
=rCCv |
66 |
-----END PGP SIGNATURE----- |