[pacman-dev] What about managing optional dependencies?

Roman Kyrylych roman.kyrylych at gmail.com
Thu Oct 12 11:03:10 EDT 2006


Hi!

2006/10/12, VMiklos <vmiklos at frugalware.org>:
> On Thu, Oct 12, 2006 at 04:45:39PM +0200, Alessio 'mOLOk' Bolognino <themolok.ml at gmail.com> wrote:
> > type of deps. Am I just a fool?
>
> there was an idea about this and the decision was "won't implement". but
> maybe time changes.. :)

Instead ot post_install() stuff like this:
    echo ">> To use feature X install package Y"

it may look like this in PKGBUILD:
    optdepends=(pkgY "allows to use X")
    optdepends=(pkgZ "adds ABCD feature")

and this in pacman output:
    Optional dependencies:
      pkgY - allows to use X
      pkgZ - adds ABCD feature

This is just a way to handle optional dependencies in a better way,
IMHO. This is not something hard like USE flags.

What do you think about this?

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list