1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA512 |
3 |
|
4 |
On 29/06/2011 05:27 ??, Donnie Berkholz wrote: |
5 |
> On 14:38 Tue 28 Jun , Peter Volkov wrote: |
6 |
>> 1. add a use flag to control runtime dependency |
7 |
>> 2. add elog message into pkg_postinst to notify users that some |
8 |
>> features depend on installing package A, B, etc. |
9 |
> |
10 |
> I've got a suggestion that builds a little bit on what both you and |
11 |
> Ciaran have said. |
12 |
> |
13 |
> The UI could probably be clearer if we added a new dependency type like |
14 |
> SDEPEND (suggested deps) with USE flags for different features. That |
15 |
> would enable portage to show things in a special way if it knew about |
16 |
> SDEPEND. Yet it wouldn't do anything weird that broke backwards |
17 |
> compatibility or produced strange output from noncompliant PMs (like USE |
18 |
> flag modifications). |
19 |
> |
20 |
> Then PMs would be free to implement their own logic for how to handle |
21 |
> it. For Portage, I'd like to see a few cases: |
22 |
> |
23 |
> 1) If a package is installed, assume it's desired, as Ciaran proposed. |
24 |
> |
25 |
> 2) Add a way to determine whether to install all/none/groups of them, |
26 |
> w/ configuration in /etc/portage/package.suggestions/. Probably CPV |
27 |
> followed by the setting (all, none, specific groups, or specific |
28 |
> CPVs). Add an option similar to --autounmask that would let Portage |
29 |
> write to this file. |
30 |
> |
31 |
> 3) Something like the --take argument and friends that Ciaran mentioned |
32 |
> seems reasonable (perhaps --accept-suggestion, w/ a short option to |
33 |
> save typing). |
34 |
> |
35 |
> Problems? Other thoughts? |
36 |
> |
37 |
Whilst I like the new variable approach, I think this adds too much |
38 |
overhead to the already bloated ebuild writing. |
39 |
pkg_postinst messages include not only the optional dependencies but |
40 |
other useful messages as well. So you may end up using both SDEPEND and |
41 |
pkg_postinst. |
42 |
|
43 |
- -- |
44 |
Regards, |
45 |
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2 |
46 |
-----BEGIN PGP SIGNATURE----- |
47 |
Version: GnuPG v2.0.17 (GNU/Linux) |
48 |
|
49 |
iQIcBAEBCgAGBQJOJA6KAAoJEPqDWhW0r/LCl60QALFbejmtunZYdKhfcVyqLZLH |
50 |
b/0LvYZtowK5/63Mma2T5z+ioJ/mYqSwQty1dHbcCXcLM0hcw4IEIkOKVslXfQZ6 |
51 |
3bCeIOmxOld99wSg4pRG1IDOhQl5rBSQf7TGfGTwIApKsMvl9SvSxKvHtePdM+pT |
52 |
derywLu+OtERTaunrbqNawRG3Xvun3N4bFYcLETCUYFSU8NwKJ6+/C105NV8EvKc |
53 |
9MvxQgt3NrYwwhXepKk2cu3vwWcolfmf7otpFsCp+exrbVTfTQdH2KA4CYKH7ItN |
54 |
Bv33IxxmST32jzJWAi1lzf5kAc1/NmDSPKZCbYhJvGGz7hCpkbtY0efBOm/JoQVZ |
55 |
gHgxghOclA/F0kA5fkJIX+poIKRIHOyuUEbNeLZ+9a/ANz6wwrrBmnhATxPfMtgB |
56 |
yLXuYHtaKPMvHUh8ZHdAkgS7c4obMYgAxjFV8EPfj+bqECIDTvLauOfHhCg8YklG |
57 |
YhCPj691b1rG6I1kz65nhR+xx7bSUM8nEzs3tUPxCF6BJoLGUbIJRqE9h5w4BVte |
58 |
Io58X6d6bY8jfrkxQ0RX4CdEasiAuhr0NlDq7Vj2eHDKeqCwSGK+gb33bo/x0IpT |
59 |
cwrjRL2PBSQMnHiXdJOTOp1PLO6vmE5eVNwE0P89UC4zZpC0cBqpnaZKnoWRh6lO |
60 |
FZemGA6/xtd+XrNx4rrM |
61 |
=x5XU |
62 |
-----END PGP SIGNATURE----- |