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

Re: Bug#532381: -doc dependencies on haddock



Hello.

Em Qui, 2009-06-11 às 13:09 +0200, Joachim Breitner escreveu:
(...)
> 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?
(...)
> 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.

The way I thought for doing this is searching with dpkg -S for a package
with the files linked.  This would have to be done in
dh_haskell_depends, since dh_haskell_prep is called before build.  One
problem of this is that dh_haskell_depends is a shell script, and
getting the links of a HTML file would be easier to do in Perl than in
shell.  Do you know about some program that extract the links of a HTML
file, that could be used in dh_haskell_depends?

(...)
> A versioning is useless for Suggests, I
> think. Also, I don’t think that people will need this Suggests at all.

I think it's good to have the -dev package as a Suggests or Recommends
in the -doc package, since the -doc is, at first, not very useful
without the -dev.  What do you think about unversioned Suggests in the
-dev package?

Suggests: libghc6-package-dev

Greetings.

(...)
-- 
marcot
http://marcot.iaaeee.org/


Reply to: