FS#6626 - weak deps (package suggests or recommends)
Attached to Project:
Pacman
Opened by Piotr Beling (qwak) - Sunday, 18 March 2007, 18:28 GMT
Last edited by Dan McGee (toofishes) - Friday, 08 February 2008, 19:42 GMT
Opened by Piotr Beling (qwak) - Sunday, 18 March 2007, 18:28 GMT
Last edited by Dan McGee (toofishes) - Friday, 08 February 2008, 19:42 GMT
|
Details
Some software (packages) works better if some other packages
are installed.
For example if user install gstreamer, he probably need some plugins. I know that is possible to show Him information about it but special mechanism in pacman will be much better. PKGBUILD file for package should includes information which packages are suggests to install with this packed, for example: weekdeps=('gstreamer0.10-alsa' 'gstreamer0.10-ogg' ...) And pacman should provide mechanism to install (and removes) package with their week deps. It will be great if weekdeps could be also graduate (how important it is), for example: weakdeps1=('gstreamer0.10-ogg' ...) weakdeps2=('gstreamer0.10-alsa' ...) and user could easy install package with all its weakdeps with rank greater or equal than given x. |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 08 February 2008, 19:42 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented as optdepends already, and anyone is welcome to step forward and improve that framework.
Friday, 08 February 2008, 19:42 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented as optdepends already, and anyone is welcome to step forward and improve that framework.
PS. Could I change future request text now (to fix this mistake)?
Secondly, I thing that name is implementation detail, and all are good:
optdepends, suggests, weakdeps, weakdepends, and (weak)depts1, (weak)depts2, optdepends1, optdepends2...
Now, My favorite is "optdepends".
http://www.archlinux.org/pipermail/pacman-dev/2006-October/000577.html
See also FRs #2126, #3840 (closed) and this comment: http://bugs.archlinux.org/task/4845#comment10357 (not the whole FR)
documentation could be an enhancement. extra libs, could be a suggestion/recommendation.