Open 375gnu opened 5 years ago
Looking at this further - the SPICE toolkit as distributed by NAIF only provides static libraries, similarly the version on homebrew also only builds the static library.
In principle we could define a plugin that statically links to the toolkit and code to call it from the Celestia side, but we probably wouldn't be able to distribute the compiled plugin itself.
NASA's spice library has proprietary obscure licence which prevents its inclusion into GNU/Linux distributions and BSD ports. I.e. see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841104.
Excerpt from https://naif.jpl.nasa.gov/naif/rules.html:
So while we can provide spice-enabled packages, users of e.g. Debian will not have spice enabled. So the alternative approach is to make spice-enabled code dynamically loadable.