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

Re: Bug#532381: -doc dependencies on haddock



On Wed, Jun 10, 2009 at 2:55 PM, Marco Túlio Gontijo e Silva <marcot@holoscopio.com> wrote:
Hi.

Em Ter, 2009-06-09 às 00:48 +0200, Joachim Breitner escreveu:
> at the moment, if you put
>  Depends: ${haskell:Depends}
> in debian/control for the -doc package stanza, dh_haskell_prep will add
> this line:
>  Depends: haddock (<< 2.4.2+), haddock (>= 2.4.2)
(...)
> I think it’s not an mistake in these packages, but in haskell-devscripts,
> and from reading the code, it just seems to be an accidental artefact.

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?

Greetings.

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.

-david

Reply to: