[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Depends: syntax



On Fri, Jan 10, 2003 at 11:30:39PM +0100, Frank Gevaerts wrote:
> On Fri, Jan 10, 2003 at 08:25:19PM +0100, Robert Bihlmeyer wrote:
[ how to satisfy the dependencies of the fonts ]
> I didn't try. I decided to go for a Suggests: line of the larabie fonts.
> 
> > > 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) ?
> > 
> > If not a lot of packages are in violation. For example some packages
> > depend on "some-free-java-impementation | java-virtual-machine". j-v-m
> > is also satisfied by non-free packages.

As long as the virtual package is not also a real package, that's fine.
For example, tkpgp Depends: gnupg | pgp. But pgp is a virtual package
provided by the non-free package pgp and the free package pgpgpg.
Therefore, tkpgp (which is excellent, and I highly recommend), is in
contrib. But if j-v-m is an actual package that Depends: kaffe | sablevm |
jre1.4, then that would be forbidden, because j-v-m must go in contrib
and so must the package depending on it.

> It's probably ok then. I guess that as long as the first option is in
> main, there is no problem.

I don't think that's ok. See for example the list of packages in main
depending on non-main packages[0] and specifically digitaldj. digitaldj
Depends: maplay3 | mpg123 | amp; the former is free, and the latter
two are non-free. IMHO, you should Depends: ttf-freefont and Suggests:
ttf-larabie-*. Then, if the Larabie fonts are there, you can use them,
otherwise use ttf-freefont.

[0] <http://qa.debian.org/debcheck.php?dist=sid&list=withinmain&arch=ANY>
[1] <http://qa.debian.org/debcheck.php?dist=sid&package=digitaldj>

-- 
Brian M. Carlson <sandals@crustytoothpaste.ath.cx> 0x560553e7
"Let us think the unthinkable, let us do the undoable. Let us prepare
 to grapple with the ineffable itself, and see if we may not eff it
 after all." --Douglas Adams

Attachment: pgperzpxbS2SG.pgp
Description: PGP signature


Reply to: