Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 2010 18:07:23 +0200
From:      Gabor PALI <pgj@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        cvs-ports@freebsd.org, Alexey Dokuchaev <danfe@FreeBSD.org>, 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:  <4C0681BB.5000208@FreeBSD.org>
In-Reply-To: <20100602153106.GC21354@hades.panopticon>
References:  <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> <4C007AE0.3050508@FreeBSD.org> <20100602153106.GC21354@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/02/10 17:31, Dmitry Marakasov wrote:
> Hm, I feel double about this. On the one hand, it's nicely splitting
> library from implementation, on the other hand, it's overcomplicated (as
> most master/slave ports), just look at the plist.

It has a very similar plist to pandoc's...  Not accidentally, because
that gave me the idea.   Why is it complicated?  I will only need to
maintain the master port, the slave is just a front-end.  Where is the
complication here?  (If you want to refer to the Makefile and pkg-plist:
They are just implementation details, are not they? -- Anyway, I think
it is possible that pkg-plist files can be replaced by autoplists [1]
similar to the Ruby guys' solution.)


> Also, will both ports have the same option list? If yes, what happens if you specify
> conflicting options for them?

Yes, they have the same option list but with different stored
configurations (thanks to their different names).  When you specify
conflicting options for them, then they will be built with two different
configurations without any problems.


> Building it twice also doesn't feel good.
>   

Your average non-Haskell-aware user will not build the port twice, you
can take it for sure ;)


> It'd probably be ok if it was two separate ports, building only needed
> stuff and having separate set of options. However, I still think that
> the best would be to just have "darcs" that "installs modules as a
> bonus",

Here hs-darcs installs darcs as bonus.  What is wrong with this?  Again,
your average non-Haskell-aware user does not want to see those modules
(but perhaps some other ports...), and darcs works fine without them.


> like some other end-user applications do (and some even install
> modules for several language at once).

For example?  I need specific examples to slurp solutions from them. 
Sorry, but your previous vague references have not proven to be so valuable.


> The only drawback is not having hs- prefix, which as I told, is not expected by users, and should
> not be expected even by haskell programmers.
>   

Have not you read the mail where I reasoned about the split [2]?


Cheers,
:g


[1]
http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.ruby.mk?rev=1.177;content-type=text%2Fx-cvsweb-markup
[2] http://lists.freebsd.org/pipermail/cvs-ports/2010-May/195725.html




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C0681BB.5000208>