On Mon, Nov 09, 2009 at 15:57:02 +0000, Andy Gimblett wrote: > I've just taken this and put it into its own project on github: > > http://github.com/gimbo/osxSetup.hs
Thanks! You can count me in as a tester (after the upcoming Darcs Hacking Sprint, at least). > What I've done so far is turn Setup.hs into Distribution/MacOSX.hs, and > I'm about to start trying to work out how it would be called from a > (simpler) Setup.hs, possibly in a nicely cross-platform manner. That > probably means I need to join the cabal-devel list. I'm no Cabal or MacOS X expert, but it sounds like you could 1. get rid of main (put it in an example Setup.hs) 2. make appBundleHook take mRestrictTo and customiseAppBundle as parameters and remove them from the module. 3. make a more generic version of customiseAppBundle (note that I still don't know if all the steps there are really necessary; see GenI for the plist files, etc) Otherwise, it looks like the Cabal file for, say, GenI could just depend on the cabal-macosx package. Hope this isn't already redundant with what you were planning, Eric -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users