[Bug 1149850] ghc-compiler includes whole documentation

bugzilla at redhat.com bugzilla at redhat.com
Fri May 15 10:09:43 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1149850

Matěj Cepl <mcepl at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(mcepl at redhat.com) |



--- Comment #5 from Matěj Cepl <mcepl at redhat.com> ---
(In reply to Jens Petersen from comment #1)
> (In reply to Matěj Cepl from comment #0)
> > ghc-compiler has 80+MB in /usr/share/doc/ghc-compiler/html
> 
> I assume you mean /usr/share/doc/ghc/html/libraries ?

Yes, sorry.

> While that directory is owned by ghc-compiler most of the content
> in there is from various libraries.

Partially, but still

ghc-compiler    x86_64     7.6.3-18.3.el7       epel     15 M

matej at mitmanek: ~$ du -hs /usr/share/doc/ghc/html/
20M    /usr/share/doc/ghc/html/
matej at mitmanek: ~$ 

(When installing just ghc-compiler on a computer where no ghc-* package
was).

> At a minimum, ghc-compiler pulls in ghc-base-devel which contains:
> 
> 15M	base-4.6.0.1/
> 2.5M	ghc-prim-0.3.0.0/
> 392K	integer-gmp-0.5.0.0/

So probably /usr/share/doc/ghc/html should be owned by ghc-base not
ghc-compiler, shouldn't it?

> I guess you're really suggesting that Haskell libraries
> use subpackages for their docs.  That is quite a big
> packaging structural change but maybe it is worth doing
> for F22.  The downside to that is that docs of deps
> are used when generating lib docs so we need to add
> BRs for all the docs packages too across 280+ packages
> so it is not a completely trivial change but it is possible.

Couldn't this be somehow scripted?

Anyway, being bound to install tens of megabytes of completely useless
documentation just because I want to run rpm --rebuild pandoc*.src.rpm
is really crappy user experience, which really doesn't makes me
interested in further investigation of the Haskell universe.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=YQaa88sNEo&a=cc_unsubscribe


More information about the haskell-devel mailing list