Gentoo Archives: gentoo-dev

From: Sergey Popov <pinkbyte@g.o>
To: Davide Pesavento <pesa@g.o>, gentoo-dev@l.g.o
Cc: qa@g.o
Subject: Re: [gentoo-dev] Re: useflag policies
Date: Tue, 11 Aug 2015 10:11:13
Message-Id: 55C9CA32.3060300@gentoo.org
In Reply to: Re: [gentoo-dev] Re: useflag policies by Davide Pesavento
1 Err, i have read the whole thread and still does not get a point, why i
2 am wrong.
3
4 It's old battle like we have beforce with "gtk" meaning "any versions of
5 GTK flag". This behaviour should be killed with fire.
6
7 Let's me reiterate some of the cases:
8
9 1. Package can be build without Qt GUI at all, but either Qt4 or Qt5 can
10 be chosen, but not both.
11
12 Fix this with REQUIRED_USE, do not enable any of Qt flags by default
13
14 2. Package can not be build without Qt GUI - either Qt4 or Qt5 is
15 required, but not both
16
17 Same thing here, different REQUIRED_USE operator. But - enable one of
18 the flags by default to ease life of users.
19
20 3. Package can be build with Qt4 or Qt5 or both AT THE SAME TIME(if such
21 package even exists?)
22
23 Do not use REQUIRED_USE here, not needed.
24
25 Now, please tell me, where am i wrong?
26
27 09.08.2015 23:08, Davide Pesavento пишет:
28 > On Sun, Aug 9, 2015 at 12:38 PM, Sergey Popov <pinkbyte@g.o> wrote:
29 >> <qa team lead hat>
30 >>
31 >> In short - apropriate REQUIRED_USE with setting recommended
32 >> USE-flag(e.g. USE="+qt4 qt5" or USE="qt4 +qt5")
33 >>
34 >> </qa team lead hat>
35 >>
36 >> That's most painless decision for both developers and users. Developers
37 >> do not need to maintain ugly dependencies like
38 >>
39 >> DEPEND="qt4 ? (
40 >> qt5 ( dev-qt/qtcore:5 )
41 >> !qt5 ( dev-qt/qtcore:4 )
42 >> )
43 >> ...
44 >> "
45 >> and other mess.
46 >>
47 >> </qa team lead hat>
48 >>
49 >> Users will have default behaviour for empty make.conf. If they adjust
50 >> they make.conf to globally include/exclude some Qt-related USEs - they
51 >> are already moving from default and that's why - they can add apropriate
52 >> options to package.use
53 >>
54 >
55 > Sergey,
56 >
57 > It seems you completely ignored the discussion that took place in this
58 > thread (and I also think you misunderstood the scenario judging from
59 > the example you gave). Therefore I'm sorry but I will ignore your
60 > opinion as QA team lead.
61 >
62 > Thanks,
63 > Davide
64 >
65
66 --
67 Best regards, Sergey Popov
68 Gentoo developer
69 Gentoo Desktop Effects project lead
70 Gentoo Quality Assurance project lead
71 Gentoo Proxy maintainers project lead

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: useflag policies Georg Rudoy <0xd34df00d@×××××.com>
[gentoo-dev] Re: useflag policies Michael Palimaka <kensington@g.o>
Re: [gentoo-dev] Re: useflag policies Ian Stakenvicius <axs@g.o>