Rich Freeman posted on Thu, 20 Aug 2015 15:56:11 -0400 as excerpted: > On Thu, Aug 20, 2015 at 2:03 PM, hasufell <hasuf...@gentoo.org> wrote: >> On 08/20/2015 07:42 PM, Michał Górny wrote: >>> As an alternative, we would use USE=client and USE=server along with >>> proper IUSE defaults to control client & server builds appropriately. >>> Both flags use positive logic, and REQUIRED_USE='|| ( client server )' >>> is rather clear. >>> >>> Does anyone see any real problems with that? >>> >>> >> That increases the burden of managing configuration and further abuses >> REQUIRED_USE where it wasn't meant to be used in the first place. >> >> > I don't think Michał is encouraging the use of REQUIRED_USE. It would > only be used in cases where you could only install a client or a server, > but not both. I imagine that would happen rarely, if ever. > > I support this approach. Lots of other client/server packages are > moving in this direction, or even splitting the client/server into > separate packages in some cases (I'm not suggesting making the latter > mandatory). > > The typical game would have IUSE="+client +server" and then users could > set -client if they want a dedicated server, or -server if they want a > dedicated client, or whatever. It seems pretty intuitive to me.
Hasufell's arg is (as I read it) the -server -client case. Are you saying USE="-server -client" shouldn't have a REQUIRED_USE either? If not, what are you suggesting for that case? FWIW, with IUSE defaults, the only people who should see that case are those who either specifically set USE="-client -server", or those (like me) using USE=-*. And in both cases, I'd say REQUIRED_USE or not, people are getting /exactly/ what they ask for, and get to keep the pieces, either a REQUIRED_USE message or a non-functional package, as a result. IMO, that's NOTABUG. After all, games don't tend to be somewhere down below the radar in the don't-care stack, like libs and toolkits, and if people end up with a non-functional game package because they specifically disabled both server and client, so be it. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman