Re: [pygtk] PyGTK .app bundle for MacOS X?

2007-01-08 Thread Richard Taylor
Hi Tiziano

I have installed these packages and managed to get gramps 
(www.gramps-project.org) to run. Thanks for making them available.

I have a couple of questions (I don't know if this is a packaging issue or a 
pygtk/gtk issue):

- cairo does not appear to work the import of cairo succeeds but an attempt to 
create a cairo context produces a NULL pointer warning and None return.

- drag  drop does not appear to work. The drag starts and the icon changes 
shape but the target window does not get the drop.

Do you have any plans to update these packages with new versions?

Thanks again for making them available.

Richard

On Thursday 26 October 2006 10:58, _v_tiziano wrote:
 http://sourceforge.net/project/showfiles.php?group_id=175176

 Mac OSX Install package for Mac python2.4 (OSX support for my project in
 pygtk).

 To test, install python2.4 from www.python.org, and then this package.

 Python 2.4.4c1 (#1, Oct 11 2006, 15:11:04)
 [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
 Type help, copyright, credits or license for more information.

  import pygtk
  import gtk

 Hi
 Tiziano
 ___
 pygtk mailing list   pygtk@daa.com.au
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-26 Thread _v_tiziano

http://sourceforge.net/project/showfiles.php?group_id=175176

Mac OSX Install package for Mac python2.4 (OSX support for my project in pygtk).

To test, install python2.4 from www.python.org, and then this package.

Python 2.4.4c1 (#1, Oct 11 2006, 15:11:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type help, copyright, credits or license for more information.

import pygtk
import gtk



Hi
Tiziano
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-21 Thread _v_tiziano

2006/10/20, Tony Nelson [EMAIL PROTECTED]:


I found that a lot of a py2exe installer was language stuff for
translations I did not have.  I wrote a script to purge them.  (It probably
wouldn't work with py2app.)


I think we are talking about two different thing.
py2app (and py2exe) create a python application with encapsulated (in
a zip file) the python libraries needed.
But if you need gtk+ on the system you are installing this
application, you need to install'it (os store it in the application).

I'm talking about a OSX installer application (the .pkg file for the
OSX Aplication/Utility/Installer tool) that install gtk+ (cairo, glib,
pango, etc), and the pygtk library in the Python framework (the OSX
mechanism to manage different version of libraries).

regards
tiziano
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-20 Thread _v_tiziano

Today I have build a installer for OSX that contain GTK 2.10.0 and
pyGTK 2.10.3 for python2.4

Two problems only:

1. all the binaries are installed in /opt, and then linked (symbolic)
to the python osx framework (any ideas?)

2. the package is realy big (52MB)

If I find a clear osx install, I will try to make a better work.

bye
tiziano
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-20 Thread _v_tiziano

update: the very minimal package - 12MB

2006/10/20, _v_tiziano [EMAIL PROTECTED]:

Today I have build a installer for OSX that contain GTK 2.10.0 and
pyGTK 2.10.3 for python2.4

Two problems only:

1. all the binaries are installed in /opt, and then linked (symbolic)
to the python osx framework (any ideas?)

2. the package is realy big (52MB)

If I find a clear osx install, I will try to make a better work.

bye
tiziano


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-20 Thread Tony Nelson
At 6:04 PM +0200 10/20/06, _v_tiziano wrote:

2006/10/20, _v_tiziano [EMAIL PROTECTED]:
 Today I have build a installer for OSX that contain GTK 2.10.0 and
 pyGTK 2.10.3 for python2.4

 Two problems only:

 1. all the binaries are installed in /opt, and then linked (symbolic)
 to the python osx framework (any ideas?)

 2. the package is realy big (52MB)

 If I find a clear osx install, I will try to make a better work.

update: the very minimal package - 12MB

I found that a lot of a py2exe installer was language stuff for
translations I did not have.  I wrote a script to purge them.  (It probably
wouldn't work with py2app.)
-- 

TonyN.:'The Great Writ mailto:[EMAIL PROTECTED]
  '  is no more. http://www.georgeanelson.com/
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-19 Thread Wolfgang Keller
 You could compile all the packages yourself.

I know that and I've done it, thanks.

But the point is to make a double-clickable .app bundle for _distribution_ to 
_others_.

Sincerely,

Wolfgang Keller

-- 
My email-address is correct.
Do NOT remove .nospam to reply.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-19 Thread Tony Nelson
At 11:39 PM +0200 10/18/06, Wolfgang Keller wrote:
Hello,

I'm looking for a way that allows a clueless Python scripting dilettant like
me to build a double-clickable .app bundle of a PyGTK application for MacOS
X.

Any ideas? Such as e.g. a pre-made empty .app bundle that includes already
the Python interpreter and a compiled PyGTK module?

py2app?  It's said to be like py2exe.
-- 

TonyN.:'The Great Writ mailto:[EMAIL PROTECTED]
  '  is no more. http://www.georgeanelson.com/
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] PyGTK .app bundle for MacOS X?

2006-10-18 Thread Wolfgang Keller
Hello,

I'm looking for a way that allows a clueless Python scripting dilettant like 
me to build a double-clickable .app bundle of a PyGTK application for MacOS 
X.

Any ideas? Such as e.g. a pre-made empty .app bundle that includes already 
the Python interpreter and a compiled PyGTK module?

TIA,

Sincerely,

Wolfgang Keller

-- 
My email-address is correct.
Do NOT remove .nospam to reply.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-18 Thread David M. Cook
On Wed, Oct 18, 2006 at 11:39:51PM +0200, Wolfgang Keller wrote:

 I'm looking for a way that allows a clueless Python scripting dilettant like 
 me to build a double-clickable .app bundle of a PyGTK application for MacOS 
 X.
 
 Any ideas? Such as e.g. a pre-made empty .app bundle that includes already 
 the Python interpreter and a compiled PyGTK module?

I don't know of such an app bundle.  You could compile all the packages
yourself.  I've done it before, but it's very tedious as you often have to
backtrack to get dependencies and fuss over the config settings.

Instead, I would suggest darwinports: http://darwinports.opendarwin.org/ 
Or fink: http://fink.sf.net
They've done all this work for you.

I prefer darwinports (though I'd much rather have an RPM based system than
either of those).  You do have to use *their* copy of python (unless
there's a way to get around that.)  Both of them also have a tendency to
overdo dependencies IMO.

Dave Cook
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] PyGTK .app bundle for MacOS X?

2006-10-18 Thread David M. Cook
On Wed, Oct 18, 2006 at 09:29:27PM -0700, David M. Cook wrote:

  Both of them also have a tendency to
 overdo dependencies IMO.

I should take that back about dependencies.  Darwinports does a pretty
straightforward job with this:

david-cooks-computer:~ davidcook$ sudo port install py-gtk2
---  Installing pkgconfig 0.21_0
---  Installing glib2 2.12.4_0
---  Installing atk 1.12.2_0
---  Installing zlib 1.2.3_0
---  Installing libpng 1.2.10_2+darwin_8
---  Installing freetype 2.1.10_1
---  Installing fontconfig 2.3.2_2+macosx
---  Installing render 0.9_0
---  Installing xrender 0.9.0_0+darwin_8
---  Installing Xft2 2.1.7_0
---  Installing cairo 1.2.4_1
---  Installing pango 1.14.3_0
---  Installing jpeg 6b_1
---  Installing tiff 3.8.2_0+darwin_8
---  Installing gtk2 2.10.3_0
---  Installing libxml2 2.6.23_0
---  Installing libglade2 2.6.0_1
---  Installing python24 2.4.3_1+darwin_8
---  Installing py-numeric 24.2_0+darwin_8+macosx
---  Installing py-cairo 1.2.2_0
---  Installing py-gobject 2.12.1_0
---  Installing py-gtk2 2.10.1_0

Apart from the iffy inclusion of numeric, there don't seem to be any
unneeded dependencies (your session might look a little different as I've
already installed stuff like tetex, which brings in a lot of dependencies).
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/