From: Alan W. I. <ir...@be...> - 2008-12-10 23:31:11
|
On 2008-12-10 11:24-0500 Alexy Khrabrov wrote: > Greetings -- I've built the whole gnome thing in macports with > +no_x11, using gtk-osx. Which configuration options should be given > to plplot so that it doesn't use X11 at all, but only the quartz? > Apparently the portfile for plplot in the current macports doesn't > include the variant +no_x11, and I'd like to concoct one myself after > I thoroughly understand what it needs to hear. Our CMake-based build system looks for X, but if it is not present the build system sets certain CMake variables which are then used to automatically exclude the X-dependent components such as Tk language support and the xwin and tk device drivers. So I suspect you don't have to do anything at all. If you do try a PLplot build in an environment without X, and our build system logic tries to build an X-dependent component of PLplot in error, please let us know so we can fix that build-system bug. Note you also have complete hands-on control of what components of PLplot are built, if you don't like these build decisions to be made automatically. For example, if you want to specifically disable the tk language then specify -DENABLE_tk=OFF as a cmake option. (That should automatically disable the tk device as well.) If you want to specifically disable the xwin device, then specify -DPLD_xwin=OFF as a cmake option. Hope this response to your question helps, and good luck with your use of PLplot! Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |