Today (revision 8195) I finished the infrastructure for supporting the installed Ada bindings and examples, and as a result the installed tree test of the Ada examples work for the first time on my (Debian testing) platform. Note I have followed the recommendations of http://www.ada-france.org/debian/debian-ada-policy.html for the install locations of the Ada bindings source files and the Ada library information files which are generated during the plplotadad library build.
I encourage everybody (especially Jerry) to try install tree tests of the Ada examples following http://www.miscdebris.net/plplot_wiki/index.php?title=The_PLplot_install-tree_test to make sure there are no non-Linux platform issues. In the installed Ada examples Makefile I have separated the -aI (the install directory location of the Ada source for the libplplotadad build) and -aL (the install directory location of the Ada library information files generated by the libplplotadad build) options from the normal compiling and linking information delivered by pkg-config. The reason is gnatmake wants the -aI and -aL flags in an extremely special order, and I am not sure how to get pkg-config to deliver this order. Advice is welcome on this issue since ideally these details would be wrapped in pkg-config results which normally are hidden from the user. Despite the somewhat cumbersome nature of the current Makefile build directions, the result on my platform is good. The "make" command in examples/ada builds all the Ada examples rapidly with no repeat compilations (a good sign that gnatmake is finding all the required files it needs). And running plplot-test.sh from the parent directory gives good-looking results for all the Ada examples (except for some colour issues, see below). This new build-system infrastructure for the install tree is a big step forward for our Ada bindings and examples. All that is required to change those bindings and examples from experimental (with ENABLE_ada OFF by default) to mature (with ENABLE_ada ON by default) is to fix the current colour issues (which show up for the second page of example 2 and for example 5) and implement the remaining standard examples to test substantial additional parts of the Ada interface API. Currently there are 9 standard Ada examples implemented. Only 21 to go! 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 __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel