Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual
Date: Sat, 16 Jun 2012 16:31:52
Message-Id: 1339864255.7815.51.camel@belkin4
In Reply to: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual by hasufell
1 El sáb, 16-06-2012 a las 18:09 +0200, hasufell escribió:
2 > It breaks the useflag philosophy, IMO.
3 >
4 > Useflags were meant as switches. You can turn things on and off. Pulling
5 > in optional dependencies via useflags does not allow the user to turn
6 > something off when he sets USE="-foo" emerge fuqbar.
7 > That should only be valid for virtuals or meta-packages. And that's what
8 > those are for.
9 >
10
11 Maybe we could split them from RDEPEND to some kind of EXTRA_DEPEND (or
12 something else) to fit this purpose.
13
14 > It's not that important if there is a linkage IMO (like the devmanual
15 > says), cause that may not apply to all languages/usecases, but it MUST
16 > change what gets installed.
17 >
18 > > 1. We rely in people reading the message to get package working ok.
19 >
20 > Yes, we should rely on that.
21
22 The problem of relying on that is, for example, following situation:
23 1. I install all my system without thinking on USB modems as I don't
24 have one.
25 2. Months after that, I need its support, but I need to figure out I
26 need to manually emerge sys-apps/usb_modeswitch to get it used by
27 modemmanager, as I don't rebuild net-misc/modemmanager every day, I get
28 no notification at all to know I need to emerge that package.
29
30 >
31 > > 2. If user emerges ppp, it will be recorded in world file and, then, if
32 > > in the future he removes bluez, emerge --depclean want clean no longer
33 > > needed ppp and then, people end up with a lot of packages they needed
34 > > to manually emerge some year but that they problem no longer need at all.
35 >
36 > It's not our job to maintain users world files.
37 >
38 >
39
40 Even for me I tend to periodically check world files of machines I
41 maintain, and it's tedious, we shouldn't promote people to easily
42 contaminate their world files. Currently, most people will end up having
43 a lot of unneeded packages installed in their systems after years of
44 usage due this way of happily telling people to install some random
45 packages to get extra support.

Attachments

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

Replies