Hi Joachim, On Tue, Mar 04, 2008 at 03:54:59PM +0100, Joachim Breitner wrote: > > Sounds great. I successfully built and run the new X11 package here on > i386. I also modified the xmonad package to use update-haskell-control.
Great, thanks for the feedback! > When trying to do the same with the xmonad-contrib package, I get this > problem: > > update-haskell-control > Couldn't find a package to depend on for libghc6-x11-xft-dev > exit: ExitFailure 1 > make: *** [update-generated-files] Fehler 1 > > As you can see on > http://darcs.nomeata.de/XMonadContrib/xmonad-contrib.cabal > there is a flaggable dependency on X11-xft that haskell-utils seems to > take for real. I see in the haskell-utils code that it just takes all > mentioned dependencies, whether applied or not. Right, this isn't handled properly yet. Did the previous haskell-utils (1.10) work, though? I would expect it to add Depends: libghc6-x11-xft-dev making an uninstallable package? > I also see that there is a special casing for Win32. Would it be > possible to add more stuff there via an update-haskell-control command > line flag? My plan is to have some way for the package to specify Cabal flags, possibly with my_cabal_flags="..." in the varfile, and then to call the appropriate Cabal function to flatten them correctly. These same flags would be passed to Setup configure in debian/rules. > Or should I just patch out the unused flag from the cabal > file before running update-haskell-control? That sounds like the easiest short-term fix, yeah. Thanks Ian _______________________________________________ debian-haskell mailing list [email protected] http://urchin.earth.li/mailman/listinfo/debian-haskell

