celestia/README.md

111 lines
2.8 KiB
Markdown
Raw Permalink Normal View History

2018-11-11 10:13:04 -07:00
# Celestia
2022-05-20 19:50:14 -06:00
Celestia is a "real-time space simulation that lets you experience
our universe in three dimensions".
2018-11-11 10:13:04 -07:00
2022-05-20 22:32:56 -06:00
![celestia-screenshot](pics/celestia-screenshot.png)
2022-05-20 19:43:17 -06:00
# Upstream
2022-05-20 19:50:14 -06:00
This repo is a lesser fork of the upstream project,
which has been revived.
2022-05-20 19:43:17 -06:00
* https://celestia.space/
2018-11-11 10:13:04 -07:00
2022-05-20 19:43:17 -06:00
* https://github.com/CelestiaProject/Celestia
2019-12-17 12:54:51 -07:00
2022-05-20 19:50:14 -06:00
See also: `README-upstream`, `README-upstream.md`.
2018-11-11 10:13:04 -07:00
2022-05-20 19:43:17 -06:00
## License/Copyright
GPLv2+
2018-11-11 10:13:04 -07:00
2022-05-20 19:43:17 -06:00
Copyright © 2001-2021, Celestia Development Team
2018-11-11 10:13:04 -07:00
2022-05-20 19:50:14 -06:00
# Debian
Package was removed from Debian in the ancient days due to bitrot.
The upstream code has a new team and active development, using
recent libraries. The package can be built under Debian Ok, except
for the `data/` files.
Debian upstream bug:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809916
```
Upstream has not produced any new releases in the last 4 years. In the
mean time, the package is accumulating bugs due to bitrot. It already
wasn't a trouble-free package, due to some quite important resources not
being DFSG compliant.
```
I do see some of the resources now are CC-by-SA 4.0, a license which
didn't exist when the Debian bug was created. So it may be that it
can be built happily without DFSG issues using new data files.
2022-05-20 20:24:19 -06:00
Celestia depending on NASA's Spice/NAIF may be afoul of Debian's
DFSG because the terms are unique. It isn't really a standard license.
2022-05-20 19:50:14 -06:00
Debian tracker link:
* https://tracker.debian.org/pkg/celestia
2022-05-20 20:24:19 -06:00
# Build
Mini Debian package build howto.
```
# Install deps
sudo apt update
2022-05-20 21:57:31 -06:00
sudo apt install build-essential ccache devscripts \
2022-05-20 20:24:19 -06:00
debhelper chrpath cmake freeglut3-dev libeigen3-dev libfmt-dev \
libfreetype6-dev libepoxy-dev libglu1-mesa-dev libgtk2.0-dev \
libgtkglext1-dev libjpeg62-turbo-dev libluajit-5.1-dev libpng-dev \
libqt5opengl5-dev libtheora-dev qtbase5-dev qtbase5-dev-tools
# Add ccache to PATH in ~/.bashrc, and log back in
PATH=/usr/lib/ccache:$PATH
# Make dirs to put it all, as it writes packages to the *parent* dir.
mkdir celestia-deb
cd celestia-deb
2022-05-20 21:57:31 -06:00
git clone https://spacecruft.org/spacecruft/CelestiaContent
cd CelestiaContent
# Build the source package, writes to parent dir
dpkg-buildpackage -rfakeroot -S -uc -us -sa
# Build Debian Packages
dpkg-buildpackage -rfakeroot -b -uc
cd ..
# Install the data package
sudo dpkg -i celestia-data_1.7.0~git20211202+668347e9+0_all.deb
# Make sure apt is happy
sudo apt -f install
2022-05-20 20:24:19 -06:00
git clone --recursive https://spacecruft.org/spacecruft/celestia
cd celestia
2022-05-20 21:57:31 -06:00
# Build the source package, writes to parent dir
2022-05-20 20:24:19 -06:00
dpkg-buildpackage -rfakeroot -S -uc -us -sa
# Build Debian Packages
dpkg-buildpackage -rfakeroot -b -uc
2022-05-20 21:57:31 -06:00
cd ..
# Install
2022-05-20 22:06:09 -06:00
sudo dpkg -i celestia_1.7.0~git20220520+1_all.deb \
celestia-common_1.7.0~git20220520+1_all.deb \
celestia-qt_1.7.0~git20220520+1_amd64.deb \
celestia-tools_1.7.0~git20220520+1_amd64.deb \
libcelestia1.7_1.7.0~git20220520+1_amd64.deb
2022-05-20 21:57:31 -06:00
# Make sure apt is happy
sudo apt -f install
2022-05-20 20:24:19 -06:00
```
2022-05-20 21:57:31 -06:00