Hello,

I wanted to package bzlib and zlib for use with ghc 6.6:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/bzlib-0.4.0.1
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zlib-0.4.0.1

But they requires Cabal >= 1.2.1. Are there any plans to package cabal
1.2.1 for use with ghc 6.6?

Cabal 1.2.1 is not a drop in placement for 1.1.3. I have found the
following issuse:

1. .installed-pkg-config -> dist/installed-pkg-config

The file .installed-pkg-config was moved to dist/installed-pkg-config,
which breaks anything that expects to find it in the old location. For
example, any package that uses haskell-devscripts.

haskell-devscripts is easily fixed by modifying
/usr/bin/dh_haskell_install and changing the line to:

            safesystem("cp .installed-pkg-config $tmp" . 
getcabalpkglibpath($pkgtype) . "/installed-pkg-config || cp 
dist/installed-pkg-config $tmp" . getcabalpkglibpath($pkgtype) . 
"/installed-pkg-config");

But, I am not sure how many other packages would break as a result of the
filename being changed.

2. License-File: does not support files in sub directories

I typically put:

License-File: debian/copyright

in my .cabal file, since I also provide a debian directory. However,
this no longer works because it tries to copy the file to
$DESTINATION/debian/copyright, but the subdirectory debian does not
exist at the destination.

Any comments? I could just forget about 6.6 and wait till
6.8+extralibs is ready for Debian...

j.



_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to