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

Re: [Pkg-haskell-commits] darcs: ghc: ghc-doc package includes /usr/lib/ghc-doc/hoogle/*.txt files.


Am Dienstag, den 09.10.2012, 09:55 +0900 schrieb Kiwamu Okabe:
> On Mon, Oct 8, 2012 at 8:03 PM, Joachim Breitner <nomeata@debian.org> wrote:
> >  * haddock remains unmodified.
> >  * The package scripts in haskell-devscripts and ghc6 do not _copy_
> > the .txt file to /usr/lib/ghc-doc/hoogle/, but create a symlink.
> >  * the hoogle trigger acts on /usr/lib/ghc-doc/hoogle and calls hoogle
> > convert on these files. But, as they are symlinks, the trigger knows
> > their original location in /usr/share/doc/*/html, so it knows the
> > correct path. This is passed to hoogle convert (which we need to patch),
> > yielding the same effect as a @url line, without modifying any files.
> >
> > We need to ensure that the .txt files are not compressed, but we can
> > easily do that by passing -Xtxt to dh_compress.
> It's more simple and following haddock's convention.
> I think that haskell-devscripts package is ready for this policy.
> I will revert ghc package, and try to create patch for hoogle.

I’ve already done the former in the experimental branch
(/darcs/pkg-haskell/experimental/ghc) and uploaded in 7.6.1, and also in
haskell-devscripts, so you only need to modify the hoogle package.


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: This is a digitally signed message part

Reply to: