Re: Depends: syntax
On Thu, Jan 09, 2003 at 07:50:19PM +0000, Colin Watson wrote:
> On Thu, Jan 09, 2003 at 08:22:09PM +0100, Frank Gevaerts wrote:
> > The foobillard package I am building will require either ttf-freefonts
> > or (ttf-larabie-straight and ttf-larabie-deco). Is there a way to
> > express this in the Depends: field ?
>
> Apply Boolean algebra to 'ttf-freefonts | (ttf-larabie-straight,
> ttf-larabie-deco)' and you get:
>
> Depends: ttf-freefonts | ttf-larabie-straight, ttf-freefonts | ttf-larabie-deco
That is indeed the same thing. This means my original requirement is not
entirely what I want either. What I mean is "ttf-freefont is sufficient.
If you want the better-looking fonts, you need both
ttf-larabie-straight and ttf-larabie-deco"
By the way, is it even allowed by policy to do this ? section 2.1.2
says: must not require a package outside of main for compilation or execution
(thus, the package must not declare a "Depends", "Recommends", or
"Build-Depends" relationship on a non-main package.
Does this allow a Depends on (free|non-free) ?
I first thought of a Suggests: of the larabie packages, but this might
lead to an unused ttf-freefont installation.
What would you suggest ?
Frank
>
> Cheers,
>
> --
> Colin Watson [cjwatson@flatline.org.uk]
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: