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

Re: haskell-devscripts



Hi Joachim,

Em Ter, 2009-02-10 às 19:52 +0000, Joachim Breitner escreveu:
> While writing this mail, I had a discussion with kaol and John Goerzen
> on IRC. We talked about kaol’s hlibrary.mk, which he says provides all
> that the dh_* scripts provide (using dh_haskell_{prep,deps}, but none of
> the rest).
> 
> I’m still of the opinion that we do not need two ways to build cabal
> package, and we should agree on one.
> 
> I give kaol the advantage of being
> the ghc6 maintainer, so his offer to maintain the hlibrary.mk as the
> officially suggested build method sounds good.
> 
> So we could, if there would be general support for this, include
> hlibrary.mk in haskell-devscripts and remove the dh_haskell_* scripts
> (keeping the two mentioned about).
> 
> The issue with that is that a number of people shun cdbs, and seen to
> prefer a debhelper based approach. On the other hand, at least kaol says
> he will not use the current haskell-devscripts, but will continue to use
> hlibrary.mk.

Do you think we should worry about the people that don't like cdbs all
that much?  Isn't it more important to have a standard way to package
haskell libraries?

> As a compromise, hlibrary.mk in it’s current form could be included in
> the haskell-devscripts package, giving each maintainer the choice of
> build system. I think we would lose the advantage of full consistency
> here, so I’m personally not pushing for that (but not opposing it
> either).

Ok, I'll work on a version of haskell-devscripts only including these
two perl scripts and hlibrary.mk.
 
> Your change of the debian/copyright entry (unversioned GPL to GPLv2 or
> later) should be commented by the copyright holders first. John, Arjian,
> is this a change in your mind:
> 
> diff -Nru haskell-devscripts-0.6.15/debian/copyright haskell-devscripts-0.6.15+nmu1/debian/copyright
> --- haskell-devscripts-0.6.15/debian/copyright  2008-03-22 21:28:43.000000000 +0100
> +++ haskell-devscripts-0.6.15+nmu1/debian/copyright     2009-02-10 14:35:18.000000000 +0100
> @@ -7,6 +7,6 @@
>  
>  License:
>  
> -This program is licensed under the GNU GPL.  Debian users may find
> -the GPL at /usr/share/common-licenses/GPL.
> -
> +This program is licensed under the GNU GPL 2 or latter.  Debian users may find
> +the GPL at /usr/share/common-licenses/GPL-2 and
> +/usr/share/common-licenses/GPL-3.

Sorry about that.  kaol mentioned it, but I had forgot about this
change.  I'll forward this question to them.

> About your example package:
> It has a non-default Setup.lhs. I assume that this is unrelated to the
> Debian packaging, and the default Setup.lhs works just as fine?

Yes, I've uploaded haskell-haskell-src, wich uses a default Setup.hs,
and a simple rules, just like you mentioned above.

> #!/usr/bin/make -f
> %:
> 	dh --with haskell_devscripts $@
> 
> Also, is dh_haskell really needed? Why would anyone use that over the
> above makefile?

I don't think there's need for it for people using dh.  I left it there
for people not using it.

Greetings.
-- 
marcot
http://marcot.iaaeee.org/



Reply to: