This is a Linux port of AstroZaur application based on the state-of-the-art astronomical Swiss Ephemeris library. For more information, including usage instructions, see: http://strijar.ru/astrozaur/. The ported software has been succesfully built and run on RedHat RHEL 6 (32-bit), Ubuntu 12.10 (32-bit) and Ubuntu 14.04 (64-bit) Linux distributions.
NOTE: The original software was written for the 32-bit Zaurus distribution. This port has been made to work also on 64-bit systems and the funcionality appears fine but no guarantees can be made with respect to completeness of the 64-bit port due to extensive use of pointers in the application.
To build, simply run:
./build.sh
The resulting application binary can be found at ./build/AstroZaur/astrozaur . If you are building on a system that requires sudo access for installation, build with:
USE_SUDO_INSTALL=sudo ./build.sh
Note: other libraries (such as libxml2-dev, ncurses, libreadline-dev, libx11-dev, libxi-dev, libsqlite3-dev, libpng12-dev etc) may be needed to compile this software. This repository only includes those packages that needed explicit patching or specific versions for a functional port for Linux.
-
The original [AstroZaur] 1 application deployed for Sharp Zaurus PDA:
./download/AstroZaur.tar.gz
-
Fast Light Toolkit 2.0 [revision 5272] 2.
./download/fltk-2.0.x-r5272.tar.gz
-
The [Lua] 3 programming language runtime version 5.1.5.
./download/lua-5.1.5.tar.gz
-
The [Lua File System] 4 library.
./download/luafilesystem-master.zip
-
The state-of-the-art [SWISS EPHEMERIS] 5 library by AstroDienst.
./download/swe_unix_src_1.79.00.tar.gz
Copyright (c) Pawel Defée 2013
-
The AstroZaur patch at:
./patches/AstroZaur.patch
that corrects the following defects:
- Compilation errors due to missing standard include files
- Compilation errors due to invalid Make definitions
- Crash due to memory corruption in Ubuntu Linux due to undeterministic usage of globally initialized objects.
- Forced English language due to incorrect display of UTF-8 (Cyrillic) characters
- 64-bit Linux support
-
The FLTK patch at:
./patches/fltk-2.0.x-r5272.patch
that corrects the following defects:
- Linux system functions used improperly (scandir)
- Out-of-bounds access for memory buffers in pixel blitting functions
- Invalid pointer access in font handling functions
-
The LFS patch at:
./patches/luafilesystem-master.patch
that corrects the following defects:
- Compilation errors when client Lua runtime is statically linked with the executable
-
The Lua patch at:
./patches/lua-5.1.5.patch
that corrects the following defects:
- Modified compilation to generate position independent code.