Date: Sat, 29 May 2010 04:24:32 +0200 From: Gabor PALI <pgj@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: cvs-ports@freebsd.org, Dmitry Marakasov <amdmi3@amdmi3.ru>, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/archivers/hs-zip-archive Makefile distinfo pkg-descr pkg-plist ports/devel/hs-binary Makefile distinfo pkg-descr pkg-plist ports/devel/hs-darcs/files patch-Setup.lhs patch-darcs.cabal ports/devel/hs-darcs Makefile distinfo pkg-d Message-ID: <4C007AE0.3050508@FreeBSD.org> In-Reply-To: <20100528034940.GA71857@FreeBSD.org> References: <20100525031628.GB8034@FreeBSD.org> <20100526152458.GB25216@hades.panopticon> <AANLkTikVxxaDLgEhfblYdix5L0wz1NsRdMO8GC6N0HNi@mail.gmail.com> <20100526193943.GE25216@hades.panopticon> <AANLkTikI-vhSbpIAgw2_bMT8oNNngkWk9BjqwZ_PG7G-@mail.gmail.com> <20100526222806.GD43302@hades.panopticon> <20100527024345.GA97920@FreeBSD.org> <AANLkTikJcMMPEvyvCTd6D7MWIPB5Q7DZUCfDvNa3iOyg@mail.gmail.com> <20100527110341.GA90814@FreeBSD.org> <AANLkTiloH2suFgkTRqB5e2hQgPgnV0O_YGucTN0G1TB9@mail.gmail.com> <20100528034940.GA71857@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/28/10 05:49, Alexey Dokuchaev wrote: >> - Create a devel/darcs port which contains everything but Haskell >> libraries and the Haskell API documentation. If somebody wants to use >> darcs as an end-user application and not a module, this must be fine. >> >> - Keep the devel/hs-darcs port as a Haskell binding to devel/darcs >> (itself) with a dependency on devel/darcs. This way the user (or a >> dependent port) has both the application and its modules. > > Sounds interesting, probably this is nice way to go. May I see patches > when you have them? Want to take a look to see the details of > implementation, and possibly comment on them. I created the split ports [1] for darcs. It seems to be nice: devel/darcs is just a slave port of devel/hs-darcs, while hs-darcs depends on darcs. The price is that we need to build darcs twice when installing hs-darcs (which is reasonable since we use the very same sources to build an executable and a library). I also need to face another problem (which is solved but I am not sure about its correctness): We should take care of the possibility of name clashes in ${PREFIX}/share, so I prefixed it with "hs-" for hs-darcs (but not for darcs). I would do the same for all the other Cabal ports. I needed to improve "bsd.cabal.mk" to support all the stuff, but is okay (but not tested exhaustively). I would also like to add the end-user documentation to devel/darcs, since it is missing from the Cabalized version at the moment. > If you mean that it is not immediately obvious how to > separate `x11-wm/xmonad' frontend port from `x11-wm/hs-xmonad' (rather > Haskell than user related), I'm sure there is acceptable solution. The next step is xmonad :) I am quite optimistic. Cheers, :g [1] http://people.freebsd.org/~pgj/haskell/split-darcs/ports/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C007AE0.3050508>