Hi,

Am Dienstag, den 04.03.2008, 15:24 +0000 schrieb Ian Lynagh:
> > 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 didn’t use haskell-utils before, so I don’t know (at least in xmonad I
need to do some custom stuff in debian/rules and so I just copied some
parts of your skripts without using update-debian-haskell-files)

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

That sounds great.

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

Ok, I’ll do that.

I’ll upload the updated packages once I see your packages hit the archive.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

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

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

Reply via email to