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

Re: Bug#532381: -doc dependencies on haddock



Hi,

Am Mittwoch, den 10.06.2009, 15:39 -0700 schrieb David Fox:
> On Wed, Jun 10, 2009 at 2:55 PM, Marco Túlio Gontijo e Silva
> <marcot@holoscopio.com> wrote:
>         what do you think is the appropriate output?  I'd say there's
>         no
>         dependencies for documentation packages.  I usually use:
>         
>         Recommends: ghc6-doc
>         Suggests: libghc6-package-dev (= ${binary:Version})
>         
>         Should we create a haskell:Recommends and a haskell:Suggests?

No Depends in any case for -doc packages.

Recommending ghc-doc is probably ok. Also, recommending the -doc of any
dependency could be useful (for the links). Bonus: Only depend on those
that are actually linked to.

Not sure about the Suggests. A versioning is useless for Suggests, I
think. Also, I don’t think that people will need this Suggests at all.

I wonder why dpkg-gencontrol doesn’t warn or err if there were substvars
defined, but not used in debian/control. 

> The documentation packages use haddock to update the index pages on
> install, though this is done via the script,  gen_contents_index in
> ghc6-doc. In this case shouldn't there be a real dependency on
> ghc6-doc, not just a Recommends? Also, up until recently it was the
> case that haddock packages had to be installed using the same version
> of haddock that they were built with.  This has been fixed, but I'm
> unclear exactly what versions of what packages you need to have this
> fix.

Since a while, gen_contents_index is not called by the package post-inst
any more, but by a ghc6-doc trigger. This means, that the -doc packages
work just fine without ghc6-doc, you just don’t have a index over all
packages. Therefore, a Dependency is not needed any more.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: