On 14:38 Tue 28 Jun , Peter Volkov wrote: > 1. add a use flag to control runtime dependency > 2. add elog message into pkg_postinst to notify users that some > features depend on installing package A, B, etc.
I've got a suggestion that builds a little bit on what both you and Ciaran have said. The UI could probably be clearer if we added a new dependency type like SDEPEND (suggested deps) with USE flags for different features. That would enable portage to show things in a special way if it knew about SDEPEND. Yet it wouldn't do anything weird that broke backwards compatibility or produced strange output from noncompliant PMs (like USE flag modifications). Then PMs would be free to implement their own logic for how to handle it. For Portage, I'd like to see a few cases: 1) If a package is installed, assume it's desired, as Ciaran proposed. 2) Add a way to determine whether to install all/none/groups of them, w/ configuration in /etc/portage/package.suggestions/. Probably CPV followed by the setting (all, none, specific groups, or specific CPVs). Add an option similar to --autounmask that would let Portage write to this file. 3) Something like the --take argument and friends that Ciaran mentioned seems reasonable (perhaps --accept-suggestion, w/ a short option to save typing). Problems? Other thoughts? -- Thanks, Donnie Donnie Berkholz Sr. Developer, Gentoo Linux Blog: http://dberkholz.com
pgpEUroOHMuW9.pgp
Description: PGP signature
