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

2006-05-23 Thread Arjan Molenaar
Bill Janssen [EMAIL PROTECTED] wrote:

 Indeed the folks at http://developer.imendio.com/wiki/Gtk_Mac_OS_X
 have ported GTK+ 2 to the Mac. I have it on my still-give-it-a-try list.

 The sources for this have been folded back into the regular GTK+
 source tree.  But looking at the gtk-dev mailing list, it looks like
 it's not quite a finished product yet.

I managed to build and install the native Mac port of GTK+. They  
already did a great job. I even got pygtk running on top (had to  
comment out some X11-specific fuctions).

.. But it crashed after some interaction...

I think it's a serious option, within half a year or so.

Regards,


Arjan

 Bill



___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


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

2006-05-22 Thread Arjan Molenaar
Hi Ronald,

Ronald Oussoren [EMAIL PROTECTED] wrote:

 There's also gtk-osx (http://gtk-osx.sourceforge.net/), which is a   
 native port of GTK+.

This is a port of GTK+ 1.0, which is not compattible with GTK+ 2.

 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.

Indeed the folks at http://developer.imendio.com/wiki/Gtk_Mac_OS_X  
have ported GTK+ 2 to the Mac. I have it on my still-give-it-a-try list.

Regards,

Arjan

 Ronald

 On Monday, May 22, 2006, at 10:17AM, David Warde-Farley   
 [EMAIL PROTECTED] 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@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig





___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


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

2006-05-22 Thread Bill Janssen
 Indeed the folks at http://developer.imendio.com/wiki/Gtk_Mac_OS_X  
 have ported GTK+ 2 to the Mac. I have it on my still-give-it-a-try list.

The sources for this have been folded back into the regular GTK+
source tree.  But looking at the gtk-dev mailing list, it looks like
it's not quite a finished product yet.

Bill
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig