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
  http://koweycode.blogspot.com/2009/09/cabal-installing-graphical-apps-on.html
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
nicely:
  
http://www.mail-archive.com/wxhaskell-us...@lists.sourceforge.net/msg00725.html

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

Cheers,

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: pgpWaQ0iNxkwM.pgp
Description: PGP signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to