[pygtk] Testing PyGTK installer for Mac OS X
Anders F Björklund
afb at users.sourceforge.net
Tue Mar 15 18:06:23 WST 2011
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 question and came to the conclusion that:
> - the installer logic is GPL'ed (my choice);
> - the software packages that are installed carry their own license,
> which the user still needs to honor.
I wanted my package to be LGPL, and the packaging scripts are KISS / PD.
(as it's the fourth or fifth time I'm installing PyGTK as a dependency!)
I'm also not doing any Mac OS X adapting, that is the "gtk-osx" project*.
Personally I'm fine with it looking grey and having menus in windows etc.
* http://gtk-osx.sourceforge.net/ (GPL, using jhbuild)
+ http://www.gtk.org/download-macos.html (gtk-osx.org)
If I wanted a native appearance, I wouldn't be using PyGTK - but wxPython.
(so that it would still use GTK on Linux, but not on Windows and Mac OS X)
Using the included X11 would also be a perfectly reasonable option (IMHO).
The only thing the Quartz backend does is "lose the X in the window bar" ?
> That last bit is identical to somebody constructing their own environment
> from scratch from source or the various binary "packages" (zip files).
I'm using tgz files and different scripts, but otherwise it's the same.
The Windows libraries are also relocatable, while I use /opt/gtk rpath.
Other difference was that I didn't include developer files (headers/libs),
but that was more for size reasons since I'm including 3 architectures...
>> Maybe yes. I wonder how many GTK programs depends on it though. At least mine does, and I don't know how to not depend on it. We have to depend on a gtk theme, and I thought there was at least one in gtk, and I thought it was hicolor
>>
>> "hicolor-icon-theme is the default icon theme that all icon themes automatically inherit from."
>
> I encountered Glade installing icons into the "hicolor-icon-theme",
> other software does the same, so I've included "hicolor-icon-theme"
> in the installer. As noted above, hicolor is nothing more than an empty
> directory structure so I've added the Tango icon theme as well (a
> personal preference, but nobody has complained yet).
That would be my preference as well. Including SVG, because I like it.
Hmm, what else do you have there... PyGtkSourceView2, PyGooCanvas ?
Glade is already available from http://glade.gnome.org/ for Mac OS X.
(including another bundle of GTK inside). Only included libglade-2.0.
--anders
More information about the pygtk
mailing list