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

Re: lintian and e2fsprogs: doc-directory policy



On 30 Jan 1998, James Troup wrote:

> Christian Schwarz <schwarz@monet.m.isar.de> writes:
> 
> > As long as the binary packages `Depend:' (or `Recommend:') the
> > package containing /usr/doc/source-package and they install a
> > symlink /usr/doc/binary-package this solution is fine with me.
> 
> IMHO this will lead to spurious Depends: being added to packages
> simply to satisfy 5.6.

You are absolutely right. 

> > (All this is necessery to make sure /usr/doc/<bin-pkg>/copyright
> > always exists.)
> 
> IMHO, if we are going to try and enforce this policy, we should
> enforce it so /usr/doc/<bin-pkg>/copyright exists _in the deb_.  This
> not only avoids spurious Depends: but also makes mechanical copyright
> checking much easier (saying mechanical checking has to deal with
> dpkg's dependency handling is somewhat harsh).

The initial idea (I think it came from Guy) was to either extract
/usr/doc/foo/copyright (if it exists) and save it in a file "foo", or if
/usr/doc/foo -> bar extract a symlink "foo -> bar". So this would be easy
to implement, I guess. 

However, as it turns out most multi-binary packages don't depend on each
other since they are independent. For example, we have several packages
which have binary pkgs foo and foo-doc. In most case, foo-doc does not
have to depend on foo. So foo-doc has to provide its own copyright file. 

After the discussion of the previous days, I'm pretty sure that the
current policy WRT copyright files is well thought and the only good way
to handle it. So it's just a matter of getting some packages fixed--that
shouldn't be a big problem. 

When I file the lintian bug reports, I'll add an explicit note, that
introducing a dependency instead of including the copyright file twice is
not allowed. 


Thanks,

Chris

--          _,,     Christian Schwarz
           / o \__   schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
           !   ___;   schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
           \  /        
  \\\______/  !        PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
   \          /         http://fatman.mathematik.tu-muenchen.de/~schwarz/
-.-.,---,-,-..---,-,-.,----.-.-
  "DIE ENTE BLEIBT DRAUSSEN!"


Reply to: