[pygtk] Testing PyGTK installer for Mac OS X

Anders F Björklund afb at users.sourceforge.net
Tue Mar 15 17:38:14 WST 2011


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, 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

Yeah, well. Lots of GTK programs depend on XDG or X11 or any other random dependency, so I'm not sure if that's anything to go by. But there _is_ a gtk theme (or two now, actually: "Raleigh" and "Quartz"), just not a freedesktop.org index.theme...

> "hicolor-icon-theme is the default icon theme that all icon themes automatically inherit from."

In practice, all it does is avoid that warning. Since it doesn't include any icons, it would still show the "missing image" (the doc with red x). So it's kinda useless ? And when looking at tango-icon-theme, it doesn't seem to reference it anyway.

> I have no idea how mac packages work, but is there a dependancy thing? Could your package depend on a hicolor-icon-theme package?

You could say that "they don't" (in practice, anyway), but it's simple enough to make another one (.pkg). I do that already for GnuPG.pkg, for instance (which is the other hard dependency of Zero Install, see http://0install.net/install-source.html)

Anyway, Tango is on the TODO:

? libxml2 (system)
+ libart (LGPL)
+ libcroco (LGPL)
+ librsvg (LGPL)

- shared-mime-info (GPL)
- hicolor-icon-theme (GPL)
- icon-naming-utils (GPL)
- tango-icon-theme (PD)

http://tango.freedesktop.org/Tango_Desktop_Project

But there's a lot of other things "assumed" by FreeDesktop, that doesn't hold on either Windows or Mac OS X ? When using for instance MacPorts, we include a whole Xfce desktop... Complete with applications, and what-not. But this bundle was intended to be only PyGTK.

--anders


PS. Just so that there is no misunderstanding: stock icons are included.
    i.e. http://library.gnome.org/devel/gtk/2.22/gtk-Stock-Items.html



More information about the pygtk mailing list