Re: [pygtk] How to install pyGTK on Mac?

2012-02-12 Thread Anders F Björklund
7stud wrote: >> I have made some binary packages, for Mac OS X 10.5 up: >> http://macpkg.sourceforge.net/ > >> The PyGTK.pkg contains everything needed to run PyGTK. > > What is the md5 for the package. Or where can I find it. I'm getting: > > MD5 (/Users/me/Downloads/PyGTK.pkg) = 06196e48d02

Re: [pygtk] How to install pyGTK on Mac?

2012-01-03 Thread Anders F Björklund
Arjan Molenaar wrote: >>> Any plans on preparing an installation for GTK+ 3? >>> >>> Is your build/release process documented somewhere? >> Not sure if there'll be any Python 3000 or GTK+ 3.2 packages, >> but probably a 2.24.1 PyGTK.pkg - to match the Win32 offering ? >> >> All the actual devel

Re: [pygtk] How to install pyGTK on Mac?

2012-01-02 Thread Anders F Björklund
Arjan Molenaar: > When playing around I noticed DnD is not fully operational. I'm missing the > context.targets. Since my app is quite dependent on DnD this is a big miss. > > Do you know if a newer release of Gtk+ 2.x fixes this? If so, do you plan on > making a build for that? I don't know,

Re: [pygtk] How to install pyGTK on Mac?

2012-01-01 Thread Anders F Björklund
Stayvoid wrote: >> That is not supported, mixing installations like that... >> If you use MacPorts PyGTK, you need to use /opt/local/bin/python2.6 >> rather than /usr/bin/python. > > Are you sure? I've successfully imported the module: [...] It's not so much about "can't" as it is about "shouldn

Re: [pygtk] How to install pyGTK on Mac?

2012-01-01 Thread Anders F Björklund
Arjan Molenaar wrote: > There are a few things behaving slightly different in the Quartz version, but > I think I can iron those out. > > Personally I have no trouble using X11, but towards users using native Quartz > is somewhat more usable. It's not like there's any major difference in appea

Re: [pygtk] How to install pyGTK on Mac?

2012-01-01 Thread Anders F Björklund
Arjan Molenaar wrote: > I've been using Homebrew (https://github.com/mxcl/homebrew) for a while and > I'm very happy with it. Big advantage is that it's not compiling everything > from source (it's using the system Python installation). > > There are several forks with PyGtk included. I'm curr

Re: [pygtk] How to install pyGTK on Mac?

2012-01-01 Thread Anders F Björklund
Stayvoid wrote: > I've used MacPorts. > > I've installed pyGTK: > sudo port -v install py26-gtk > > I've copied the module to have a chance to run it by typing "python": > cp > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pygtk.py > /System/Library/Fra

Re: [pygtk] How to install pyGTK on Mac?

2011-12-31 Thread Anders F Björklund
Stayvoid wrote: > Hi there! > > How to install it? > > This FAQ looks outdated: > http://faq.pygtk.org/index.py?req=show&file=faq01.019.htp The entry and links are outdated, but the ways are right... If you want to use GTK-OSX and jhbuild, see the new page: http://live.gnome.org/GTK%2B/OSX/Bui

Re: [pygtk] PyGTK with py2app

2011-10-21 Thread Anders F Björklund
Shrihari Sankaran wrote: >> The app bundle itself isn't much, it's just a directory structure: >> >> YourApp.app >> └── Contents >>├── Info.plist >>├── MacOS >>│ └── yourapp >>└── Resources >>└── yourapp.icns >> >> The tricky part is when using an interpreted language l

Re: [pygtk] PyGTK with py2app

2011-10-16 Thread Anders F Björklund
Shrihari Sankaran wrote: >> It's not possible to fit the new "@executable_path/../" style paths to >> where the "/opt/gtk/" used to be, without relinking all the libraries. >> >> i.e. using the ld(1) flag of -headerpad_max_install_names to make sure >> that all paths are padded to MAXPATHLEN for

Re: [pygtk] PyGTK with py2app

2011-10-15 Thread Anders F Björklund
Shrihari Sankaran wrote: > Hello, > > I asked a similar question a few weeks back. Still, my problem is not solved > :( > > So, I have installed PyGTK on my Mac using the all-in-one package: > http://www.daa.com.au/pipermail/pygtk/2011-March/019520.html > It has been installed at /opt/gtk The

Re: [pygtk] PyGTK - py2app - Mac OS X

2011-09-22 Thread Anders F Björklund
Shrihari Sankaran wrote: > Recently I managed to install PyGTK on my Mac and the app runs pretty > decently on it too, but with few glitches. But, when I try to convert it into > an 'app', the build is successful. When I run the app, i get the following > errors: > > 22/09/11 10:10:06.791 PM

Re: [pygtk] PyGTK for Mac OS X - Current Status?

2011-08-14 Thread Anders F Björklund
Shrihari Sankaran wrote: > What is the current status of PyGTK for Mac OSX? I was disappointed to see > the lack of a binary, like the one available for Windows. I have updated my Mac OS X installer package, from 2.22 to 2.24: http://downloads.sourceforge.net/project/zero-install/PyGTK/2.24.0/P

Re: [pygtk] gtk from macport with or without x11 ?

2011-03-31 Thread Anders F Björklund
laguillaumie sylvain wrote: > yes on windows it works fine with "handle" no problems > > ok for pygtk 2.23 so macport is not uptodate 2.23.1 is a development version, 2.22 is the stable series. So it seems up-to-date with 2.22.0 (=latest stable version). If you want access to new features from

Re: [pygtk] blog: Bundling a Python application on Mac OS X with VirtualEnv

2011-03-31 Thread Anders F Björklund
Arjan Molenaar wrote: > Hi all, > > I wrote a blog on how I package my Python+gtk application for OS X. > > http://blog.xebia.com/2011/03/31/bundling-a-python-application-on-mac-os-x-with-virtualenv/ > > Use it to your advantage ;) This is the same approach as used by "ige-mac-bundler": https

Re: [pygtk] gtk from macport with or without x11 ?

2011-03-29 Thread Anders F Björklund
laguillaumie sylvain wrote: > hi > > i reinstalled macport and rebuilded all gtk2, gstreamer... with no_x11 and > +quartz, this time the app start normally You forgot to mention your PyGTK version, there... > but still the problem with the xid > > i spend hours on google without finding help.

Re: [pygtk] Compiling Pango from git needs GTK-Doc which needs docbook DTD

2011-03-24 Thread Anders F Björklund
Greg Ewing wrote: > John Stowers wrote: > >> Is this on Linux? [If so I recommend just using JHbuild (from git, not >> your distro packages) to take care of the dependencies for you...] > > No, it's MacOSX 10.6.4 (Snow Leopard). So I can't rely on > any of the standard Linux packages or dependen

Re: [pygtk] gtk from macport with or without x11 ?

2011-03-22 Thread Anders F Björklund
smo wrote: > i have a Drawingarea in my app and need his xid... no problems on linux > or windows but on osX, if i build gtk/pygtk, cairo... with x11 i can get > it but resizing or fullscreen do not work at all or really bad... and if > i build with no_x11 and + quartz i can t get the xid ? > > h

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-22 Thread Anders F Björklund
>>> So we are testing an all-in-one (= both gtk+ and pygtk) >>> Universal installer for Mac OS X 10.5 Leopard and later: >>> >>> http://afb.users.sourceforge.net/zero-install/PyGTK.pkg >> >>> Feedback appreciated. >> >> Wow! Awsome! >> >> First, thanks for this package. > > Glad you like it. C

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-16 Thread Anders F Björklund
Dieter Verfaillie wrote: >> Added intltool for building. But it seems to me that gtksourceview >> is part of GNOME rather than GTK > > Hence the all in all-in-one ;) Sure, but all-GNOME-in-one or all-GTK-in-one ? I used http://www.gtk.org/download-windows.html >> Seems to be a rather slippery

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-16 Thread Anders F Björklund
>>> Hmm, what else do you have there... PyGtkSourceView2, PyGooCanvas ? >> >> PyCairo, PyGObject, PyGTK, PyGtkSourceView2, PyGooCanvas and PyRsvg >> (the last one comes from gnome-python-desktop), Glade3, "language tools" >> (intltool, gettext, etc) and dependencies. A complete list can be seen he

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-15 Thread Anders F Björklund
Dieter Verfaillie wrote: > Hmm, isn't this package part of freedesktop rather than > gtk+ ? And amazingly, this 1 file and empty dirs is GPL... > So it can't be included in a LGPL (+compatible) package ? >>> >>> When constructing the windows all-in-one installer I've asked myself >>>

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-15 Thread Anders F Björklund
Dieter Verfaillie wrote: >>> Hmm, isn't this package part of freedesktop rather than >>> gtk+ ? And amazingly, this 1 file and empty dirs is GPL... >>> So it can't be included in a LGPL (+compatible) package ? > > When constructing the windows all-in-one installer I've asked myself > the same que

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-15 Thread Anders F Björklund
Yann Leboulanger wrote: >> Hmm, isn't this package part of freedesktop rather than >> gtk+ ? And amazingly, this 1 file and empty dirs is GPL... >> So it can't be included in a LGPL (+compatible) package ? > > Maybe yes. I wonder how many GTK programs depends on it though. At least mine > does,

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-15 Thread Anders F Björklund
Yann Leboulanger: >> So we are testing an all-in-one (= both gtk+ and pygtk) >> Universal installer for Mac OS X 10.5 Leopard and later: >> >> http://afb.users.sourceforge.net/zero-install/PyGTK.pkg >> [...] >> Feedback appreciated. > > Wow! Awsome! > > First, thanks for this package. Glad yo

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-13 Thread Anders F Björklund
> So we are testing an all-in-one (= both gtk+ and pygtk) > Universal installer for Mac OS X 10.5 Leopard and later: > > http://afb.users.sourceforge.net/zero-install/PyGTK.pkg [...] > Feedback appreciated. Thanks to everyone who tested the previous package, apparently there was a bug with Packag

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-11 Thread Anders F Björklund
Chris Van Bael wrote: > Hi, > > I haven't installed it yet, but this looks very promising after all > the troubles I had with jhbuild building for the wrong python and > MacPorts not so great supporting GTK on Quartz. > I still haven't figured it out completely. Both the Darwin/X11 version of GT

[pygtk] Testing PyGTK installer for Mac OS X

2011-03-11 Thread Anders F Björklund
Hi, we needed a simpler way to install PyGTK on Mac OS X, besides using macports/fink or jhbuild to compile it... So we are testing an all-in-one (= both gtk+ and pygtk) Universal installer for Mac OS X 10.5 Leopard and later: http://afb.users.sourceforge.net/zero-install/PyGTK.pkg It's for bot