Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4025 - Haddock 0.3 - Documentation Tool for Haskell
Summary: Haddock 0.3 - Documentation Tool for Haskell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andres Loeh (RETIRED)
URL:
Whiteboard:
Keywords:
: 12835 (view as bug list)
Depends on: 10155
Blocks:
  Show dependency tree
 
Reported: 2002-06-22 09:29 UTC by Thomas L. Bevan
Modified: 2003-10-12 09:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild script (haddock-0.3.ebuild,657 bytes, text/plain)
2002-06-22 09:37 UTC, Thomas L. Bevan
Details
updated haddock ebuild (haddock-0.4.ebuild,1.26 KB, text/plain)
2002-12-17 12:34 UTC, Andres Loeh (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas L. Bevan 2002-06-22 09:29:19 UTC
This should be placed alongside the other Haskell related ebuilds in dev-lang.
Comment 1 Thomas L. Bevan 2002-06-22 09:33:10 UTC
 # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandyma c Exp  DESCRIPTION="A documentation tool for Haskell"  HOMEPAGE="http://www.haskell.org/haddock/"  LICENSE="AS IS"  DEPEND="dev-lang/ghc"  SRC_URI="http://www.haskell.org/haddock/${P}-src.tar.gz"  S=${WORKDIR}/${P}  src_compile() {         ./configure \                 --prefix=/usr \                 --mandir=/usr/share/man || die "./configure failed"         emake || die }  
Comment 2 Thomas L. Bevan 2002-06-22 09:37:50 UTC
Created attachment 1689 [details]
ebuild script
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2002-07-19 23:03:24 UTC
Hi Thomas.

Thanks for submission!

1. I don't think either of these tools (including in #3970) should go in
dev-lang. New category should perheaps be created (dev-haskel). I'll go about it
but it'll take some time to get it approved (adding a new category is considered
a "major" change and thus requires approval of other developers).

1.5 At this moment I can see only 3 ebuilds that could go into it (2 from #3970
and this one). It is desirable to have somewhat larger list to warrant the
category. Do you know of any other ebuilds that could go in? 
Are there related non-major languages, apps for which could be combined with
haskell apps (to share the same category)?

2. Could you please repost the ebuild as an attachment. This plain-text posting
lost all the \n's and tabs..

3. Re #3970:
I suspect there might be a name clash with one of the three haskell compilers we
have in the tree. I seem to remember one of them installing hmake (all
lowercase). Do you know anything about this?

George
Comment 4 Andres Loeh (RETIRED) gentoo-dev 2002-12-04 13:15:37 UTC
I can provide a different opinion: 
 
Ad 1. A dev-haskell category would be cool, and there certainly are more 
Haskell-related tools that could go into this category. Apart from the 
three major compilers/interpreters (ghc, nhc98, hugs), one could add tools 
such as Haddock (documentation), happy (parser generator), hmake (intelligent 
make-replacement for Haskell programs), DrIFT (tool to automatically derive 
class instances), lhs2tex (typesetting Haskell code with (La)TeX), Generic 
Haskell (language extension), Strafunski (a bundle for strategic programming), 
and certainly many more ... It is mainly a question of writing the ebuilds and 
sorting out the dependencies. I would be willing to help, as far as my time 
permits. 
 
Another possible category for Haddock might be dev-util, though. I think 
dev-util contains other language-dependent tools. 
 
Ad 3. hmake is needed and therefore installed by nhc98. I don't know right now 
whether it is possible to pass an option to the configure script that disables 
the installation of hmake. hmake could be made a separate package then. 
 
Andres 
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2002-12-04 23:23:59 UTC
Hi Andres.

Thanks for an update!
Nice to see this bug alive again ;).
Yes I will go about proposing the new category as soon as I collect a "crytical
mass", which is normally 3 packages. Right now I have hmake and haddoc here in
bugzilla, which makes for two. So as soon as I get one more from that listI'll
start processing them (unless of course this happens in a pre-1.4 release week
and folls on a feature freeze. I will not disclose the date, I can only say tat
this looks real close now ;)).

Re hmake: yes, the correct way to go would be to make hmake a separate package
and modify nhc98 to build only itself and depend on hmake. I'll take a look at
this as soon as I get to this topic (which will likely happen at the same point
as the new category creation). Thanks for confirming that this is the same hmake
(which I kind of suspected).

George
Comment 6 Andres Loeh (RETIRED) gentoo-dev 2002-12-05 01:37:08 UTC
Hi George. 
 
Thank you very much for the prompt answer. 
 
Sorry, I did not see #3970 (hmake/HDoc) yesterday. Could you please clarify 
the "critical mass" of three packages: aren't ghc, nhc98, hugs, hmake, HDoc, 
Haddock already more than three? 
 
Apart from that, I will provide an ebuild for Generic Haskell soon (which is 
developed by myself, among others). 
 
Then, I have seen you have been assigned to #11045 as well (new version of 
Hugs). Could that ebuild be updated independent of the category question? 
 
I know there is a new version of GHC as well, but the GHC ebuild is horribly 
involved and I do not know whether I can upate it -- I might try, though ... 
 
Best, 
  Andres 
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2002-12-05 19:26:30 UTC
Hi Andres.

>the "critical mass" of three packages: aren't ghc, nhc98, hugs, hmake, HDoc, 
>Haddock already more than three? 
Well, the way it stands now, we have a dev-lang category for different languages
(i.e. compilers, interpreters, etc). Then we have dev-langname categories for
various tools or associated packages. Following this structure, ghc, nhc and
hugs should reside in dev-lang. Though looking at how many different
compilers/interpreters does haskel have it may be worth putting some of them
into dev-haskel. However tree is not that many, so for now I think they should
stay in dev-lang.

Back to the tools: Ok, there are 3 of them already, so I have sent a proposal to
create a new category. Now I will need to wait for 1 or 2 days to check if there
will be any arguments against (I don't think this should happen, but that's a
policy) and then I'll start processing those packages.

>Then, I have seen you have been assigned to #11045 as well (new version of 
>Hugs). Could that ebuild be updated independent of the category question?
Yes, I will, just did not get to it yet burried within some "real" bugs and
older submissions..

>I know there is a new version of GHC as well, but the GHC ebuild is horribly 
>involved and I do not know whether I can upate it -- I might try, though ... 
Well, ghc is quite problematic. Versions we have in portage would not compile
with gcc-3.2. Even worse, while they would compile with 2.95.3, that required *a
ton* of patching to be done on them.
Fortunately, I just got a report that the newvest version (5.04.2) seems to
build fine. I'll check the situation and if it indeed does will create new
ebuild. If you would like to help with ghc, please take a look at #6352. I'll
probably update it soon.

George
Comment 8 Andres Loeh (RETIRED) gentoo-dev 2002-12-17 12:34:57 UTC
Created attachment 6567 [details]
updated haddock ebuild

This is an updated ebuild for version 0.4 of Haddock. It is very
straightforward.

I added support for building the Haddock documentation, similar to the way it
is done in ghc-5.02.3.ebuild ... If that causes problems that I am not aware
of, the doc-dependency and the two if-statements for the doc-flag can safely be
removed from the ebuild.

Placement in dev-lang or dev-haskell, as before.
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2003-01-07 18:50:45 UTC
*** Bug 12835 has been marked as a duplicate of this bug. ***
Comment 10 Andres Loeh (RETIRED) gentoo-dev 2003-05-22 08:52:45 UTC
I have finally added Haddock to portage, as ~x86. 
 
Closing the bug -- please test. 
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-12 09:28:22 UTC
should be closed.