[Pythonmac-SIG] Use py2app: GTK+-based application/addinggenerated files/X11

Ronald Oussoren ronaldoussoren at mac.com
Mon May 22 11:05:16 CEST 2006


There's also gtk-osx (http://gtk-osx.sourceforge.net/), which is a native port of GTK+. IIRC there's also another port, but the name and homepage escape me at the moment. If have no idea how well these work, but if they do work you'd get something that looks a lot more like a "real" osx application.

Ronald
 
On Monday, May 22, 2006, at 10:17AM, David Warde-Farley <david.warde.farley at utoronto.ca> wrote:

>Hiya,
>
>Running the shell command
>	
>	open -a X11 || open -a XDarwin
>
>Will get X11 started for the majority of users (who have it  
>installed, of course).
>
>Documentation of the open command: http://www.hmug.org/man/1/open.php
>
>There's also an open-x11 shell command that will start Apple's X11,  
>but not people using XDarwin (which is generally users of < 10.2, if  
>I remember correctly). I'm not sure how exactly it behaves if Apple  
>X11 isn't installed.
>
>Of course, you want to have some fallback mechanism if this fails (to  
>tell your users something went wrong). Gimp.app installs some custom  
>Carbon event handlers to accomplish this, somehow (see http://gimp- 
>app.sf.net/ ).
>
>Dave
>
>On 22-May-06, at 2:43 AM, Arjan Molenaar wrote:
>
>> Hi,
>>
>> I'm maintainer of Gaphor <http://gaphor.sourceforge.net>, a UML
>> modeling tool written in Python.
>>
>> Recently I'm trying to build a Mac App for this application. This
>> seems to work for a great deal using py2app (thanks Bob).
>>
>> However, I have a few questions:
>>
>>   * Does anyone have experience with packaging GTK+ applications  
>> this way?
>>
>>   * GTK+ requires X11. How can I start X11? What's the best way to  
>> launch
>>     Gaphor inside X11?
>>
>>   * Gaphor generates some files from its setup.py. What's the best  
>> way to add
>>     those to the application package?
>>
>>
>> Thanks in advance,
>>
>> Arjan Molenaar
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>_______________________________________________
>Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>


More information about the Pythonmac-SIG mailing list