[Chicken-users] ported Ephem egg to Chicken 5

2019-07-15 Thread Rob Altenburg
This egg contains bindings to the  libnova  
library which is "a general purpose, double precision, Celestial Mechanics, 
Astrometry and Astrodynamics library" available under the GNU LPGL.

See: https://github.com/RobAltenburg/ephem 


None of the features have changed, but it no longer requires the SRFI-19 egg.

—
Rob___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] New egg for astronomical calculations

2017-01-21 Thread Rob Altenburg
Thanks Mario,

Yep, there was a typo in my release-info that I fixed locally but hadn’t pushed 
to GitHub.
It should work now.

I had a little trouble getting the test-new-egg working because it wanted the 
openssl egg and 
there is apparently an issue with a deprecated openssl library on macOS.  I 
tried it 
on my debian machine though and it worked fine.

The constellation function is from v0.16 of libnova, so apt-get doesn’t install 
the current
version.  I was aware this was an issue and was debating if I should make ephem 
backward
compatible or just document the issue.
(v0.16 is here:  git://git.code.sf.net/p/libnova/libnova libnova-libnova)

—
Rob

> On Jan 21, 2017, at 3:28 AM, Mario Domenech Goulart <ma...@parenteses.org> 
> wrote:
> 
> Hi Rob,
> 
> On Fri, 20 Jan 2017 22:15:11 -0500 Rob Altenburg <r...@qrpc.com> wrote:
> 
>> This egg contains bindings to the libnova library which is "a general
>> purpose, double precision, Celestial Mechanics, Astrometry and
>> Astrodynamics library" available under the GNU LPGL.
>> 
>> See: https://github.com/RobAltenburg/ephem
>> 
>> There is no documentation in the wiki yet, but I’ll work on that.
>> 
>> Working on this egg has been a learning process. I’m sure there is
>> much room for improvement.
>> I started this with a limited use in mind: I wanted to see a map of
>> how Pluto has traveled since its discovery. 
>> That map is here: https://i.redd.it/bx92vo8mey8y.png (The code to draw
>> the map was done in scheme too).
> 
> Whoa, that's nice.  Thanks for sharing your code.
> 
> I faced two problems:
> 
> * The URI for the egg tarball in ephem.release info points a resource
>  that does not exist.
> 
>  I'd suggest using https://github.com/mario-goulart/test-new-egg
> 
>  Just install it and run:
> 
>  $ test-new-egg 
> https://raw.githubusercontent.com/RobAltenburg/ephem/master/ephem.release-info
> 
> * What's the required libnova version? On my system I have 0.14.0 and
>  the egg compilation fails with:
> 
>  error: libnova/constellation.h: No such file or directory
> 
>  The Debian package for that version doesn't contain that
>  constallation.h.
> 
> All the best.
> Mario
> -- 
> http://parenteses.org/mario
> 
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users