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

Re: haskell-devscripts

Hi Macro,

thanks for your contributions and work, especially with stuff like

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

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

So it seems for the moment, there will be no consensus about this.

Now the comments about your package:

I like the support for the dh command.

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 @@
-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

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?

And if your package would not use patches, am I right that this would be
a working debian/rules files:

#!/usr/bin/make -f
	dh --with haskell_devscripts $@

Also, is dh_haskell really needed? Why would anyone use that over the
above makefile?


Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply to: