[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 74, Issue 53

Eric Y. Kow eric.kow at gmail.com
Thu Oct 29 17:47:29 EDT 2009

Hi Iain,

I'm taking the liberty of cc'ing wxhaskell-users.

Iain said:
> I was trying to go through some of the wxHaskell examples, and they  
> wouldn't work on my (Tiger) mac. Same thing happened with a few other  
> wx apps I downloaded from Hackage. A bit of a rummage on the internet  
> turned up an issue with wxMac[1]. You need to put the haskell  
> executable in an OSX Application Bundle or you can't get focus on the  
> window.
> Since I don't know how to use XCode (and quickly got bored of trying  
> to find what I needed to do with it for my needs) I setup an  
> applescript that builds a bare bones app bundle, with a basic plist  
> file too.

Thanks for your efforts!

> This is probably something others have gone though and, just in case  
> it might be some use to others, I stuck it here (might be a little  
> bit of overkill using Sourceforge, but I wasn't go to pay for the  
> download space on my blog considering I have zero cash right now).
> http://sourceforge.net/projects/makebundle/
> The applescript has a perl script in it too, so you'll need perl on  
> your machine for it to work. Everything you need to know is in the  
> readme.

I've also done something similar
only in Haskell and attempting to integrate into a Cabal Setup script.

You may want to know about work by Andy Gimblett to package this up

I hope his work will one day may the macosx-app shell script


Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20091029/d4c0bc9d/attachment.bin

More information about the Haskell-Cafe mailing list