Hi,
I am uploading a NMU which fixes the FTFBS. The NMU patch is attached.
Note that the patch is a little bit different from my previous patch
which had a little error in the debian/rules file.
Greetings Arjan
diff -u hs-plugins-0.9.10/debian/changelog hs-plugins-0.9.10/debian/changelog
--- hs-plugins-0.9.10/debian/changelog
+++ hs-plugins-0.9.10/debian/changelog
@@ -1,3 +1,15 @@
+hs-plugins (0.9.10-3.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/control: also use ${haskell:Depends} for the dependency on
+ghc6.
+ * debian/patches/30fix-for-ghc-6.6.dpatch: add -$(VERSION) to
+-package-name $(PKG) to fix FTBFS. (Closes: 394305)
+ * debian/mk-haskell-depends: added to generate the dependencies on the
+other libghc6-*-dev packages and the dependency on ghc6.
+
+ -- Arjan Oosting [EMAIL PROTECTED] Sat, 28 Oct 2006 01:58:40 +0200
+
hs-plugins (0.9.10-3.2) unstable; urgency=medium
* Non-maintainer upload.
diff -u hs-plugins-0.9.10/debian/rules hs-plugins-0.9.10/debian/rules
--- hs-plugins-0.9.10/debian/rules
+++ hs-plugins-0.9.10/debian/rules
@@ -13,14 +13,6 @@
CFLAGS += -O2
endif
-CABAL_VERSION:= $(strip $(shell dpkg-query --showformat='$${Version}' -W libghc6-cabal-dev))
-SRC_EXTS_VERSION := $(strip $(shell dpkg-query --showformat='$${Version}' -W libghc6-src-exts-dev))
-
-HASKELL_DEPENDS := libghc6-src-exts-dev (= $(SRC_EXTS_VERSION)), libghc6-src-exts-dev ( $(shell echo '$(SRC_EXTS_VERSION)' | sed -e 's/-[^-]*$$/+/'))
-ifneq (,$(CABAL_VERSION))
-HASKELL_DEPENDS += , libghc6-cabal-dev (= $(CABAL_VERSION)), libghc6-cabal-dev ( $(shell echo '$(CABAL_VERSION)' | sed -e 's/-[^-]*$$/+/'))
-endif
-
VERSION = 0.9.10
config.status: configure.ac patch-stamp
@@ -79,7 +71,8 @@
dh_fixperms
dh_installdeb
dh_shlibdeps
- dh_gencontrol -- -Vhaskell:Depends=$(HASKELL_DEPENDS)
+ sh -e debian/mk-haskell-depends
+ dh_gencontrol
dh_md5sums
dh_builddeb
diff -u hs-plugins-0.9.10/debian/control hs-plugins-0.9.10/debian/control
--- hs-plugins-0.9.10/debian/control
+++ hs-plugins-0.9.10/debian/control
@@ -8,7 +8,7 @@
Package: libghc6-plugins-dev
Section: libdevel
Architecture: i386 amd64
-Depends: ghc6 (= 6.4.2), ghc6 ( 6.4.2-999), ${haskell:Depends}
+Depends: ${haskell:Depends}
Description: Dynamically Loaded Haskell Modules
hs-plugins is a library for loading plugins written in Haskell into an
application at runtime. It also provides a mechanism for (re)compiling
diff -u hs-plugins-0.9.10/debian/patches/00list hs-plugins-0.9.10/debian/patches/00list
--- hs-plugins-0.9.10/debian/patches/00list
+++ hs-plugins-0.9.10/debian/patches/00list
@@ -1,0 +2 @@
+30fix-for-ghc-6.6
reverted:
--- hs-plugins-0.9.10/hs-plugins-0.9.10/debian/README.Debian
+++ hs-plugins-0.9.10.orig/hs-plugins-0.9.10/debian/README.Debian
@@ -1,11 +0,0 @@
-hs-plugins for Debian
-=
-
-hs-plugins documentation in HTML form can be found at:
- http://www.cse.unsw.edu.au/~dons/hs-plugins/
-
-The HTML documentation is not included in the Debian package as building it
-requires tex2page which is not available on all architectures supported by
-Debian.
-
- -- Jérémy Bobbio [EMAIL PROTECTED] Sat, 30 Sep 2006 13:27:10 +0200
reverted:
--- hs-plugins-0.9.10/=
+++ hs-plugins-0.9.10.orig/=
@@ -1 +0,0 @@
-HASKELL_DEPENDS=libghc6-src-exts-dev ( ), libghc6-src-exts-dev (
reverted:
--- hs-plugins-0.9.10/README.Debian
+++ hs-plugins-0.9.10.orig/README.Debian
@@ -1,11 +0,0 @@
-hs-plugins for Debian
-=
-
-hs-plugins documentation in HTML form can be found at:
- http://www.cse.unsw.edu.au/~dons/hs-plugins/
-
-The HTML documentation is not included in the Debian package as building it
-requires tex2page which is not available on all architectures supported by
-Debian.
-
- -- Jérémy Bobbio [EMAIL PROTECTED] Sat, 30 Sep 2006 13:27:10 +0200
only in patch2:
unchanged:
--- hs-plugins-0.9.10.orig/debian/mk-haskell-depends
+++ hs-plugins-0.9.10/debian/mk-haskell-depends
@@ -0,0 +1,183 @@
+#! /bin/sh
+#
+# Determine package dependencies from installed-pkg-config file
+#
+# Copyright (C) 2006 Arjan Oosting [EMAIL PROTECTED]
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of either:
+#
+# 1) The terms of the GNU General Public License as published by
+#the Free Software Foundation; either version 2 of the License, or
+#(at your option) any later version.
+#
+#This program is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+#GNU General Public License for more details.
+#
+#You should have received a copy of the GNU General Public License along
+#with this program; if not, write to the Free Software Foundation, Inc.,
+#51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# 2) BSD 3-clause license.
+#
+#All rights reserved.
+#
+#Redistribution and use