Package: haskell-devscripts
Version: 0.6.9
Severity: normal
Tags: patch

dh_haskell currently puts C header files into both the -dev and -prof
packages, with the same path.  Since the -prof packages generally depend
on the -dev packages, this makes the profiling package uninstallable.
An example may be found in the haskell-vty source package, which
generates an uninstallable libghc6-haskell-proc binary package.

The included patch removes the include/ directory from the -prof
package.  I am not convinced this is the correct solution, but it
does seem to fix the immediate problem.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages haskell-devscripts depends on:
ii  dctrl-tools                   2.12       Command-line tools to process Debi
ii  debhelper                     6.0.9      helper programs for debian/rules
ii  ghc6                          6.8.2-2    GHC - the Glasgow Haskell Compilat
ii  xutils-dev                    1:7.4+1    X Window System utility programs f

haskell-devscripts recommends no packages.

-- no debconf information

*** haskell-devscripts-prof-remove-includes.diff
--- haskell-devscripts-0.6.9/dh_haskell_install 2008-03-22 15:24:55.000000000 
-0400
+++ haskell-devscripts-0.6.9-new/dh_haskell_install     2008-03-25 
11:16:40.147320630 -0400
@@ -166,6 +166,8 @@
            doit("./setup", "copy", "--destdir=$tmp");
            # Remove LICENSE file and empty directories from package
            doit("rm", "-f", 
"$tmp/usr/lib/haskell-packages/ghc6/share/doc/$cabalnameversion/LICENSE");
+           # Remove C include files---they are already in the -dev package
+           doit("rm", "-rf", 
"$tmp/usr/lib/haskell-packages/ghc6/lib/$cabalnameversion/include");
            finddepth({wanted => \&remove_emptydir}, "$tmp/usr/lib");
        } elsif ($pkgtype eq "haddock" ) {
            mkpath("$tmp" . "/usr/share/doc/$package");



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to