Ah; a subtle, but important, difference in phrasing between that needs
to be pointed out for those who might be thinking of doing GTK2+Quartz
on OSX:
(1) On Jul 19, 2010, at 12:57 PM, Elvis D. wrote:
One of the things that the guys working on GTK+ mentioned was that
you should completely uninstall MacPorts …
versus (2) < GTK+ Mac OS X download | SourceForge.net >
If you have MacPorts or Fink installed, you must remove all traces
of them from your environment
-
“Removing all traces from your environment” means configuring your
terminal shell so that it does not use MacPorts or Fink in any
capacity. In general, that means removing /opt/local or /sw from all
environment variables – or, as they recommend, just started from a
fresh user setup since it won’t reference /opt or /sw . -
“Completely uninstall MacPorts” mean (effectively) “sudo rm -rf /opt/
local”, which is a draconian solution just to get gtk2 running under
quartz. I think most of us OSX developers rely to some degree on
MacPorts or Fink, so this isn’t a practical solution.
also of note, if you do use MacPorts, you can do “port info gtk2
+quartz +no_x11”:
{{{
gtk2 @2.20.1
Variants: +no_x11, +quartz, universal, x11
Description: This is GTK+ version 2.x. GTK+, which stands for
Gimp
ToolKit, is a library for creating GUIs for the
X Windows
System.
Homepage: http://www.gtk.org/
Build Dependencies: pkgconfig
Library Dependencies: tiff, jasper, atk, pango, gettext
Runtime Dependencies: shared-mime-info
}}}
which certainly implies to me that the MacPorts folks have figured out
a way to get the quartz version working without either of the options
mentioned above. I haven’t tried this variant of GTK2, but it’s good
to know that it’s there & maybe I will try it in the future sometime.
- MLD