Ticket #86 (new defect)

Opened 3 months ago

Last modified 2 months ago

Remove the X dependency on the Mac

Reported by: sontag Assigned to: somebody
Priority: normal Milestone:
Component: none Version:
Severity: normal Keywords:
Cc:

Description

There is work underway to determine whether PyRAF can be run fully natively (Aqua-Tk) on OSX.

Change History

06/24/08 14:18:44 changed by sontag

A basic working version of PyRAF is now available (in the HEAD) which runs natively on MacOS (via Aqua), i.e. not calling or linking with or requiring X11. As of June 2008, only a few minor issues are left being ironed out.

This can be run with non-X11 linked versions of Python (e.g. MacPorts?) and numpy. That's right - no more need to build special X-linked versions of python/matplotlib/tcl/tk/libpng/etc.

To run this version of PyRAF on MacOS:

1) setenv PYRAF_WUTIL_USING_AQUA 1

2) If you don't want to reinstall PyRAF, simply change your "pyraf" start up script to use a non-X linked version of Python (e.g. /usr/bin/python, etc).

That should do it. If you want the automatic focus changing and mouse moving (like PyRAF does on Linux):

3) install "PyObjC" (pyobjc.sourceforge.net) under the non-X Python you are using (note: skip this on 10.5 since that comes with PyObjC pre-loaded I hear)

And, of course, if you want to see smooth AGG graphics and scalable fonts, set:

4) setenv PYRAFGRAPHICS matplotlib

Let us know how it goes.