Hi Orion:

Thanks for testing the Ada bindings and examples on Fedora.  More below.

On 2008-02-11 11:54-0700 Orion Poplawski wrote:

> I'm starting to update the Fedora plplot package to 5.9.0 and have some
> questions about where the Ada bindings are installed, specifically:
>
> /usr/lib/ada/adalib/plplotadad/
>
> and
>
> /usr/share/ada/adainclude/plplotadad/
>
> Are these in any way "standard" install locations for Ada includes and
> libraries?  I don't see any packages in Fedora that provide the
> /usr/lib/ada or /usr/share/ada directories, but then this may very well be
> the first Ada package in Fedora.

These locations are implemented and documented in cmake/modules/instdirs.cmake

# Ada source files (*.adb, *.ads) (following recommendations in
# http://www.ada-france.org/debian/debian-ada-policy.html
set(ADA_INCLUDE_DIR
${CMAKE_INSTALL_DATADIR}/ada/adainclude/plplotada${LIB_TAG})

# Ada library information files (*.ali) (following recommendations in
# http://www.ada-france.org/debian/debian-ada-policy.html
set(ADA_LIB_DIR ${CMAKE_INSTALL_LIBDIR}/ada/adalib/plplotada${LIB_TAG})

I only skimmed that Debian policy URL, but the impression I got was they
were trying to follow general install location standards for Ada as best as
possible.  I also checked Debian Ada-related packages in general and they do
seem to be following that install-location standard for Ada.  I decided to
adopt the Debian recommended install location for now because I could not
find anything else, but if there is a better standard out there, it should
be easy to switch to it.

> Also, are either of these directories needed for *runtime* operation, or
> just for compiling Ada programs using PLplot?

I think the Ada source files (*.adb and *.ads) for our bindings and the Ada
Library information files (*.ali) for our bindings are only needed to build
the examples or any other Ada application that uses the Ada bindings for
PLplot.  So I think our installed *.adb, *.ads, and *.ali files belong in
the development variation of the plplot binary packages.  However, I am not
completely sure on this issue.  I guess the way to test it is to do a full
install and build the installed Ada examples.  Then remove all the *.adb,
*.ads, and *.ali files (and the .so symlink for libplplotadad which should
also belong in the development package) to see whether the Ada examples
still run.

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

Reply via email to