From 9f7b8dfc1fd0388550d543f0a6d5dd8864b8e504 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Wed, 26 Oct 2022 16:21:08 +0200 Subject: celestia 1.7.0~2022.10.22.git.9da83f2-0pin1 --- debian/celestia-common.dirs | 2 + debian/celestia-common.docs | 3 + debian/celestia-common.install | 13 +++ debian/celestia-common.links | 2 + debian/celestia-common.lintian-overrides | 1 + debian/celestia-glut.1 | 195 +++++++++++++++++++++++++++++++ debian/celestia-glut.desktop | 11 ++ debian/celestia-glut.install | 2 + debian/celestia-glut.lintian-overrides | 2 + debian/celestia-glut.manpages | 1 + debian/celestia-glut.menu | 6 + debian/celestia-glut.postinst | 6 + debian/celestia-glut.prerm | 7 ++ debian/celestia-gtk.1 | 195 +++++++++++++++++++++++++++++++ debian/celestia-gtk.desktop | 11 ++ debian/celestia-gtk.install | 3 + debian/celestia-gtk.lintian-overrides | 2 + debian/celestia-gtk.manpages | 1 + debian/celestia-gtk.menu | 6 + debian/celestia-gtk.postinst | 6 + debian/celestia-gtk.prerm | 7 ++ debian/celestia-qt.1 | 195 +++++++++++++++++++++++++++++++ debian/celestia-qt.desktop | 11 ++ debian/celestia-qt.install | 2 + debian/celestia-qt.lintian-overrides | 2 + debian/celestia-qt.manpages | 1 + debian/celestia-qt.menu | 6 + debian/celestia-qt.postinst | 6 + debian/celestia-qt.prerm | 7 ++ debian/celestia-tools.install | 24 ++++ debian/celestia-tools.lintian-overrides | 33 ++++++ debian/celestia.lintian-overrides | 1 + debian/changelog | 5 + debian/control | 130 +++++++++++++++++++++ debian/copyright | 167 ++++++++++++++++++++++++++ debian/libcelestia1.7.install | 1 + debian/libcelestia1.7.lintian-overrides | 1 + debian/patches/leap-seconds.patch | 10 ++ debian/patches/series | 1 + debian/rules | 43 +++++++ debian/source/format | 1 + debian/watch | 2 + 42 files changed, 1131 insertions(+) create mode 100644 debian/celestia-common.dirs create mode 100644 debian/celestia-common.docs create mode 100644 debian/celestia-common.install create mode 100644 debian/celestia-common.links create mode 100644 debian/celestia-common.lintian-overrides create mode 100644 debian/celestia-glut.1 create mode 100644 debian/celestia-glut.desktop create mode 100644 debian/celestia-glut.install create mode 100644 debian/celestia-glut.lintian-overrides create mode 100644 debian/celestia-glut.manpages create mode 100644 debian/celestia-glut.menu create mode 100644 debian/celestia-glut.postinst create mode 100644 debian/celestia-glut.prerm create mode 100644 debian/celestia-gtk.1 create mode 100644 debian/celestia-gtk.desktop create mode 100644 debian/celestia-gtk.install create mode 100644 debian/celestia-gtk.lintian-overrides create mode 100644 debian/celestia-gtk.manpages create mode 100644 debian/celestia-gtk.menu create mode 100644 debian/celestia-gtk.postinst create mode 100644 debian/celestia-gtk.prerm create mode 100644 debian/celestia-qt.1 create mode 100644 debian/celestia-qt.desktop create mode 100644 debian/celestia-qt.install create mode 100644 debian/celestia-qt.lintian-overrides create mode 100644 debian/celestia-qt.manpages create mode 100644 debian/celestia-qt.menu create mode 100644 debian/celestia-qt.postinst create mode 100644 debian/celestia-qt.prerm create mode 100644 debian/celestia-tools.install create mode 100644 debian/celestia-tools.lintian-overrides create mode 100644 debian/celestia.lintian-overrides create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libcelestia1.7.install create mode 100644 debian/libcelestia1.7.lintian-overrides create mode 100644 debian/patches/leap-seconds.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/celestia-common.dirs b/debian/celestia-common.dirs new file mode 100644 index 0000000..ef1dcd0 --- /dev/null +++ b/debian/celestia-common.dirs @@ -0,0 +1,2 @@ +usr/share/doc/celestia-common +etc diff --git a/debian/celestia-common.docs b/debian/celestia-common.docs new file mode 100644 index 0000000..4fb446d --- /dev/null +++ b/debian/celestia-common.docs @@ -0,0 +1,3 @@ +README +AUTHORS +TRANSLATORS diff --git a/debian/celestia-common.install b/debian/celestia-common.install new file mode 100644 index 0000000..4dbdf4e --- /dev/null +++ b/debian/celestia-common.install @@ -0,0 +1,13 @@ +usr/share/celestia/*.cel +usr/share/celestia/COPYING +usr/share/celestia/celestia-logo.png +usr/share/celestia/celestia.cfg +usr/share/celestia/controls.txt +usr/share/celestia/help +usr/share/celestia/images +usr/share/celestia/locale +usr/share/celestia/scripts +usr/share/celestia/shaders +usr/share/celestia/splash +usr/share/icons +usr/share/locale diff --git a/debian/celestia-common.links b/debian/celestia-common.links new file mode 100644 index 0000000..558ab0f --- /dev/null +++ b/debian/celestia-common.links @@ -0,0 +1,2 @@ +usr/share/fonts/truetype/dejavu/DejaVuSans.ttf usr/share/celestia/fonts/DejaVuSans.ttf +usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf usr/share/celestia/fonts/DejaVuSans-Bold.ttf diff --git a/debian/celestia-common.lintian-overrides b/debian/celestia-common.lintian-overrides new file mode 100644 index 0000000..db621dc --- /dev/null +++ b/debian/celestia-common.lintian-overrides @@ -0,0 +1 @@ +latest-debian-changelog-entry-changed-to-native diff --git a/debian/celestia-glut.1 b/debian/celestia-glut.1 new file mode 100644 index 0000000..d5e08c2 --- /dev/null +++ b/debian/celestia-glut.1 @@ -0,0 +1,195 @@ +.\" Please adjust this date whenever revising the manpage. +.TH CELESTIA 1 "May 23, 2001" +.SH NAME +celestia \- A real-time visual space simulation +.SH SYNOPSIS +.B celestia +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly \fBcelestia\fP, a 3D space simulator. +Celestia is a real-time visual simulation of space in our local region of the +universe. Choose a point within about 1000 light years of Earth, and Celestia +will show you an approximation of how it would appear to your eyes were you +actually there. Some of what Celestia shows is necessarily hypothetical--the +farther away from Earth you get, the less real data there is and the more +guesswork is involved. Thus Celestia supplements observational data with good +guesses based on models of stellar and planetary processes. +.PP +Celestia is unique in its ability to allow you to navigate at an immense range +of scales. Orbit a couple kilometers above the surface of a tiny, irregular +asteroid, then head off toward Jupiter, watching it grow from a bright point of +light into a looming sphere filling your field of vision. Leave our solar +system entirely and observe the sun as it fades from a brilliant disk to a +bright star, disappearing almost entirely as you head off toward the Upsilon +Andromeda system to orbit around its innermost giant planet. +.SH OVERVIEW +Celestia will start up in a window, display a welcome message and some +information about your target (top left corner), your speed, and the +current time (Universal Time, so it'll probably be a few hours off from +your computer's clock.) In Celestia, you'll generally have an object +selected; currently, it's Eros, but it could also be a star, planet, +spacecraft, or galaxy. The simplest way to select an object is to click +on it. Try clicking on a star to select it. Right drag the mouse to +orbit arround the selected target. Left dragging the mouse changes your +orientation too, but the camera rotates about its center instead of +rotating around the target. Rolling the mouse wheel will change your +distance to the space station--you can move light years away, then roll +the wheel in the opposite direction to get back to your starting +location. If your mouse lacks a wheel, you can use the Home and End +keys instead. +.PP +Press G and you'll zoom through space toward the selected star. If you +press G again, you'll approach the star even closer. Press H to select +our Sun, and then G to go back to our solar system. You'll find +yourself half a light year away from the Sun, which looks merely like a +bright star at this range. Press G three more times to get within about +30 AU of the Sun and you will be to see a few planets become visible +near the Sun. +.\" Right click on the sun to bring up a menu of planets and +.\" other objects in the solar system. After selecting a planet from the +.\" menu, hit G again to travel toward it. Once there, hold down the right +.\" mouse button and drag to orbit the planet. +.SH USAGE +Mouse functions: +.PP +.TS +tab (@); +l l. +Left drag@orient camera +Right drag@orbit the selected object +Mouse wheel,@ +Middle drag@adjust distance to selection +left click@select target, double click to center +.TE +.PP +Keyboard commands: +.PP +Navigation +.PP +.TS +tab (@); +l l. +H@Select the sun (Home) +C@Center on selected object +G@Goto selected object +F@Follow selected object +Y@Orbit the selected object at a rate synced to its rotation +ESC@Cancel motion +.TE +.PP +Free movement +.PP +.TS +tab (@); +l l. +HOME@Move closer to object +END@Move farther from object +F1@Stop +F2@Set velocity to 1 km/s +F3@Set velocity to 1,000 km/s +F4@Set velocity to 1,000,000 km/s +F5@Set velocity to 1 AU/s +F6@Set velocity to 1 ly/s +A@Increase velocity by 10x +Z@Decrease velocity by 10x +Q@Reverse direction +X@Set movement direction toward center of screen +.TE +.PP +Time +.PP +.TS +tab (@); +l l. +Space@stop time +L@Time 10x faster +K@Time 10x slower +J@Reverse time +.TE +.PP +Options +.PP +.TS +tab (@); +l l. +U@Toggle galaxy rendering +N@Toggle planet and moon labels +O@Toggle planet orbits +V@Toggle HUD Text +I@Toggle planet atmospheres (cloud textures) +W@Toggle wireframe mode +/@Toggle constellation diagrams += @Toggle constellation labels +;@Toggle earth-based equatorial coordinate sphere +B@Toggle star labels +P@Toggle per-pixel lighting (if supported) +[@Decrease limiting magnitude (fewer stars visible) +]@Increase limiting magnitude (more stars visible) +{@Decrease ambient illumination +}@Increase ambient illumination +,@Narrow field of view +\.@Widen field of view +.TE +.PP +Other +.PP +.TS +tab (@); +l l. +D@Run demo +`@Show frames rendered per second +.TE +.PP +It's possible to choose a star or planet by name: press Enter and type in the +name, and pressing Enter again. You can use common names, or Bayer +designations and HD catalog numbers for stars. Bayer and Flamsteed +designations need to be entered like "Upsilon And" and "51 Peg". The +constellation must be given as a three letter abbreviation and the full Greek +letter name spelled out. HD catalog numbers must be entered with a space +between HD and the number. +.SH OPTIONS +The \fIglut\fP based version accepts the usual X Window System specific +options, namely: +.TP 8 +.B \-display \fIDISPLAY\fP +Specify the X server to connect to. If not specified, the value of the +DISPLAY environment variable is used. +.TP 8 +.B \-geometry \fIWxH+X+Y\fP +Determines where window's should be created on the screen. The +parameter following -geometry should be formatted as a +standard X geometry specification. The effect of using this option +is to change the GLUT initial size and initial position the same as +if glutInitWindowSize or glutInitWindowPosition were +called directly. +.TP 8 +.B \-iconic +Requests all top-level windows be created in an iconic state. +.TP 8 +.B \-indirect +Force the use of indirect OpenGL rendering contexts. +.TP 8 +.B \-direct +Force the use of direct OpenGL rendering contexts (not all GLX +implementations support direct rendering contexts). A fatal error +is generated if direct rendering is not supported by the OpenGL +implementation. + +If neither -indirect or -direct are used to force a particular +behavior, GLUT will attempt to use direct rendering if possible +and otherwise fallback to indirect rendering. +.TP 8 +.B \-gldebug +After processing callbacks and/or events, check if there are any +OpenGL errors by calling glGetError. If an error is reported, +print out a warning by looking up the error code with +gluErrorString. Using this option is helpful in detecting +OpenGL run-time errors. +.TP 8 +.B \-sync +Enable synchronous X protocol transactions. This option makes it +easier to track down potential X protocol errors. +.SH AUTHOR +Celestia has been written by Chris Laurel and +it's available under the terms and conditions of the GNU General Public +License from http://celestia.sf.net/ diff --git a/debian/celestia-glut.desktop b/debian/celestia-glut.desktop new file mode 100644 index 0000000..06c890d --- /dev/null +++ b/debian/celestia-glut.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Celestia (GLUT) +GenericName=Space Simulator +Comment=Explore the Universe in this detailed space simulation +Type=Application +Categories=Astronomy;Education;Science; +Icon=celestia +Exec=celestia-glut %f +Terminal=false +MimeType=application/x-celestia-script; diff --git a/debian/celestia-glut.install b/debian/celestia-glut.install new file mode 100644 index 0000000..8e2c3be --- /dev/null +++ b/debian/celestia-glut.install @@ -0,0 +1,2 @@ +debian/celestia-glut.desktop usr/share/applications/ +usr/bin/celestia-glut diff --git a/debian/celestia-glut.lintian-overrides b/debian/celestia-glut.lintian-overrides new file mode 100644 index 0000000..cabf855 --- /dev/null +++ b/debian/celestia-glut.lintian-overrides @@ -0,0 +1,2 @@ +latest-debian-changelog-entry-changed-to-native +manpage-has-errors-from-man usr/share/man/man1/celestia-glut.1.gz 131: warning: macro `@Widen' not defined diff --git a/debian/celestia-glut.manpages b/debian/celestia-glut.manpages new file mode 100644 index 0000000..43e09f4 --- /dev/null +++ b/debian/celestia-glut.manpages @@ -0,0 +1 @@ +debian/celestia-glut.1 diff --git a/debian/celestia-glut.menu b/debian/celestia-glut.menu new file mode 100644 index 0000000..d49784a --- /dev/null +++ b/debian/celestia-glut.menu @@ -0,0 +1,6 @@ +?package(celestia-glut):\ + needs="X11"\ + section="Applications/Science/Astronomy"\ + hints="OpenGL"\ + title="Celestia (GLUT)"\ + command="/usr/bin/celestia-glut" diff --git a/debian/celestia-glut.postinst b/debian/celestia-glut.postinst new file mode 100644 index 0000000..203ae15 --- /dev/null +++ b/debian/celestia-glut.postinst @@ -0,0 +1,6 @@ +#!/bin/sh -e + +update-alternatives --install /usr/bin/celestia celestia /usr/bin/celestia-glut 100 \ + --slave /usr/share/man/man1/celestia.1.gz celestia.1.gz /usr/share/man/man1/celestia-glut.1.gz + +#DEBHELPER# diff --git a/debian/celestia-glut.prerm b/debian/celestia-glut.prerm new file mode 100644 index 0000000..1211e2a --- /dev/null +++ b/debian/celestia-glut.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ] || [ "$1" = deconfigure ]; then + update-alternatives --remove celestia /usr/bin/celestia-glut +fi + +#DEBHELPER# diff --git a/debian/celestia-gtk.1 b/debian/celestia-gtk.1 new file mode 100644 index 0000000..d5e08c2 --- /dev/null +++ b/debian/celestia-gtk.1 @@ -0,0 +1,195 @@ +.\" Please adjust this date whenever revising the manpage. +.TH CELESTIA 1 "May 23, 2001" +.SH NAME +celestia \- A real-time visual space simulation +.SH SYNOPSIS +.B celestia +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly \fBcelestia\fP, a 3D space simulator. +Celestia is a real-time visual simulation of space in our local region of the +universe. Choose a point within about 1000 light years of Earth, and Celestia +will show you an approximation of how it would appear to your eyes were you +actually there. Some of what Celestia shows is necessarily hypothetical--the +farther away from Earth you get, the less real data there is and the more +guesswork is involved. Thus Celestia supplements observational data with good +guesses based on models of stellar and planetary processes. +.PP +Celestia is unique in its ability to allow you to navigate at an immense range +of scales. Orbit a couple kilometers above the surface of a tiny, irregular +asteroid, then head off toward Jupiter, watching it grow from a bright point of +light into a looming sphere filling your field of vision. Leave our solar +system entirely and observe the sun as it fades from a brilliant disk to a +bright star, disappearing almost entirely as you head off toward the Upsilon +Andromeda system to orbit around its innermost giant planet. +.SH OVERVIEW +Celestia will start up in a window, display a welcome message and some +information about your target (top left corner), your speed, and the +current time (Universal Time, so it'll probably be a few hours off from +your computer's clock.) In Celestia, you'll generally have an object +selected; currently, it's Eros, but it could also be a star, planet, +spacecraft, or galaxy. The simplest way to select an object is to click +on it. Try clicking on a star to select it. Right drag the mouse to +orbit arround the selected target. Left dragging the mouse changes your +orientation too, but the camera rotates about its center instead of +rotating around the target. Rolling the mouse wheel will change your +distance to the space station--you can move light years away, then roll +the wheel in the opposite direction to get back to your starting +location. If your mouse lacks a wheel, you can use the Home and End +keys instead. +.PP +Press G and you'll zoom through space toward the selected star. If you +press G again, you'll approach the star even closer. Press H to select +our Sun, and then G to go back to our solar system. You'll find +yourself half a light year away from the Sun, which looks merely like a +bright star at this range. Press G three more times to get within about +30 AU of the Sun and you will be to see a few planets become visible +near the Sun. +.\" Right click on the sun to bring up a menu of planets and +.\" other objects in the solar system. After selecting a planet from the +.\" menu, hit G again to travel toward it. Once there, hold down the right +.\" mouse button and drag to orbit the planet. +.SH USAGE +Mouse functions: +.PP +.TS +tab (@); +l l. +Left drag@orient camera +Right drag@orbit the selected object +Mouse wheel,@ +Middle drag@adjust distance to selection +left click@select target, double click to center +.TE +.PP +Keyboard commands: +.PP +Navigation +.PP +.TS +tab (@); +l l. +H@Select the sun (Home) +C@Center on selected object +G@Goto selected object +F@Follow selected object +Y@Orbit the selected object at a rate synced to its rotation +ESC@Cancel motion +.TE +.PP +Free movement +.PP +.TS +tab (@); +l l. +HOME@Move closer to object +END@Move farther from object +F1@Stop +F2@Set velocity to 1 km/s +F3@Set velocity to 1,000 km/s +F4@Set velocity to 1,000,000 km/s +F5@Set velocity to 1 AU/s +F6@Set velocity to 1 ly/s +A@Increase velocity by 10x +Z@Decrease velocity by 10x +Q@Reverse direction +X@Set movement direction toward center of screen +.TE +.PP +Time +.PP +.TS +tab (@); +l l. +Space@stop time +L@Time 10x faster +K@Time 10x slower +J@Reverse time +.TE +.PP +Options +.PP +.TS +tab (@); +l l. +U@Toggle galaxy rendering +N@Toggle planet and moon labels +O@Toggle planet orbits +V@Toggle HUD Text +I@Toggle planet atmospheres (cloud textures) +W@Toggle wireframe mode +/@Toggle constellation diagrams += @Toggle constellation labels +;@Toggle earth-based equatorial coordinate sphere +B@Toggle star labels +P@Toggle per-pixel lighting (if supported) +[@Decrease limiting magnitude (fewer stars visible) +]@Increase limiting magnitude (more stars visible) +{@Decrease ambient illumination +}@Increase ambient illumination +,@Narrow field of view +\.@Widen field of view +.TE +.PP +Other +.PP +.TS +tab (@); +l l. +D@Run demo +`@Show frames rendered per second +.TE +.PP +It's possible to choose a star or planet by name: press Enter and type in the +name, and pressing Enter again. You can use common names, or Bayer +designations and HD catalog numbers for stars. Bayer and Flamsteed +designations need to be entered like "Upsilon And" and "51 Peg". The +constellation must be given as a three letter abbreviation and the full Greek +letter name spelled out. HD catalog numbers must be entered with a space +between HD and the number. +.SH OPTIONS +The \fIglut\fP based version accepts the usual X Window System specific +options, namely: +.TP 8 +.B \-display \fIDISPLAY\fP +Specify the X server to connect to. If not specified, the value of the +DISPLAY environment variable is used. +.TP 8 +.B \-geometry \fIWxH+X+Y\fP +Determines where window's should be created on the screen. The +parameter following -geometry should be formatted as a +standard X geometry specification. The effect of using this option +is to change the GLUT initial size and initial position the same as +if glutInitWindowSize or glutInitWindowPosition were +called directly. +.TP 8 +.B \-iconic +Requests all top-level windows be created in an iconic state. +.TP 8 +.B \-indirect +Force the use of indirect OpenGL rendering contexts. +.TP 8 +.B \-direct +Force the use of direct OpenGL rendering contexts (not all GLX +implementations support direct rendering contexts). A fatal error +is generated if direct rendering is not supported by the OpenGL +implementation. + +If neither -indirect or -direct are used to force a particular +behavior, GLUT will attempt to use direct rendering if possible +and otherwise fallback to indirect rendering. +.TP 8 +.B \-gldebug +After processing callbacks and/or events, check if there are any +OpenGL errors by calling glGetError. If an error is reported, +print out a warning by looking up the error code with +gluErrorString. Using this option is helpful in detecting +OpenGL run-time errors. +.TP 8 +.B \-sync +Enable synchronous X protocol transactions. This option makes it +easier to track down potential X protocol errors. +.SH AUTHOR +Celestia has been written by Chris Laurel and +it's available under the terms and conditions of the GNU General Public +License from http://celestia.sf.net/ diff --git a/debian/celestia-gtk.desktop b/debian/celestia-gtk.desktop new file mode 100644 index 0000000..5820a7f --- /dev/null +++ b/debian/celestia-gtk.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Celestia (Gtk) +GenericName=Space Simulator +Comment=Explore the Universe in this detailed space simulation +Type=Application +Categories=Astronomy;Education;Science; +Icon=celestia +Exec=celestia-gtk %f +Terminal=false +MimeType=application/x-celestia-script; diff --git a/debian/celestia-gtk.install b/debian/celestia-gtk.install new file mode 100644 index 0000000..23085e4 --- /dev/null +++ b/debian/celestia-gtk.install @@ -0,0 +1,3 @@ +debian/celestia-gtk.desktop usr/share/applications/ +usr/bin/celestia-gtk +usr/share/celestia/celestiaui.xml diff --git a/debian/celestia-gtk.lintian-overrides b/debian/celestia-gtk.lintian-overrides new file mode 100644 index 0000000..9167a38 --- /dev/null +++ b/debian/celestia-gtk.lintian-overrides @@ -0,0 +1,2 @@ +latest-debian-changelog-entry-changed-to-native +manpage-has-errors-from-man usr/share/man/man1/celestia-gtk.1.gz 131: warning: macro `@Widen' not defined diff --git a/debian/celestia-gtk.manpages b/debian/celestia-gtk.manpages new file mode 100644 index 0000000..e9a862d --- /dev/null +++ b/debian/celestia-gtk.manpages @@ -0,0 +1 @@ +debian/celestia-gtk.1 diff --git a/debian/celestia-gtk.menu b/debian/celestia-gtk.menu new file mode 100644 index 0000000..6ba1433 --- /dev/null +++ b/debian/celestia-gtk.menu @@ -0,0 +1,6 @@ +?package(celestia-gtk):\ + needs="X11"\ + section="Applications/Science/Astronomy"\ + hints="OpenGL,Gnome"\ + title="Celestia (Gtk)"\ + command="/usr/bin/celestia-gtk" diff --git a/debian/celestia-gtk.postinst b/debian/celestia-gtk.postinst new file mode 100644 index 0000000..f74755b --- /dev/null +++ b/debian/celestia-gtk.postinst @@ -0,0 +1,6 @@ +#!/bin/sh -e + +update-alternatives --install /usr/bin/celestia celestia /usr/bin/celestia-gtk 100 \ + --slave /usr/share/man/man1/celestia.1.gz celestia.1.gz /usr/share/man/man1/celestia-gtk.1.gz + +#DEBHELPER# diff --git a/debian/celestia-gtk.prerm b/debian/celestia-gtk.prerm new file mode 100644 index 0000000..1287efd --- /dev/null +++ b/debian/celestia-gtk.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ] || [ "$1" = deconfigure ]; then + update-alternatives --remove celestia /usr/bin/celestia-gtk +fi + +#DEBHELPER# diff --git a/debian/celestia-qt.1 b/debian/celestia-qt.1 new file mode 100644 index 0000000..d5e08c2 --- /dev/null +++ b/debian/celestia-qt.1 @@ -0,0 +1,195 @@ +.\" Please adjust this date whenever revising the manpage. +.TH CELESTIA 1 "May 23, 2001" +.SH NAME +celestia \- A real-time visual space simulation +.SH SYNOPSIS +.B celestia +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly \fBcelestia\fP, a 3D space simulator. +Celestia is a real-time visual simulation of space in our local region of the +universe. Choose a point within about 1000 light years of Earth, and Celestia +will show you an approximation of how it would appear to your eyes were you +actually there. Some of what Celestia shows is necessarily hypothetical--the +farther away from Earth you get, the less real data there is and the more +guesswork is involved. Thus Celestia supplements observational data with good +guesses based on models of stellar and planetary processes. +.PP +Celestia is unique in its ability to allow you to navigate at an immense range +of scales. Orbit a couple kilometers above the surface of a tiny, irregular +asteroid, then head off toward Jupiter, watching it grow from a bright point of +light into a looming sphere filling your field of vision. Leave our solar +system entirely and observe the sun as it fades from a brilliant disk to a +bright star, disappearing almost entirely as you head off toward the Upsilon +Andromeda system to orbit around its innermost giant planet. +.SH OVERVIEW +Celestia will start up in a window, display a welcome message and some +information about your target (top left corner), your speed, and the +current time (Universal Time, so it'll probably be a few hours off from +your computer's clock.) In Celestia, you'll generally have an object +selected; currently, it's Eros, but it could also be a star, planet, +spacecraft, or galaxy. The simplest way to select an object is to click +on it. Try clicking on a star to select it. Right drag the mouse to +orbit arround the selected target. Left dragging the mouse changes your +orientation too, but the camera rotates about its center instead of +rotating around the target. Rolling the mouse wheel will change your +distance to the space station--you can move light years away, then roll +the wheel in the opposite direction to get back to your starting +location. If your mouse lacks a wheel, you can use the Home and End +keys instead. +.PP +Press G and you'll zoom through space toward the selected star. If you +press G again, you'll approach the star even closer. Press H to select +our Sun, and then G to go back to our solar system. You'll find +yourself half a light year away from the Sun, which looks merely like a +bright star at this range. Press G three more times to get within about +30 AU of the Sun and you will be to see a few planets become visible +near the Sun. +.\" Right click on the sun to bring up a menu of planets and +.\" other objects in the solar system. After selecting a planet from the +.\" menu, hit G again to travel toward it. Once there, hold down the right +.\" mouse button and drag to orbit the planet. +.SH USAGE +Mouse functions: +.PP +.TS +tab (@); +l l. +Left drag@orient camera +Right drag@orbit the selected object +Mouse wheel,@ +Middle drag@adjust distance to selection +left click@select target, double click to center +.TE +.PP +Keyboard commands: +.PP +Navigation +.PP +.TS +tab (@); +l l. +H@Select the sun (Home) +C@Center on selected object +G@Goto selected object +F@Follow selected object +Y@Orbit the selected object at a rate synced to its rotation +ESC@Cancel motion +.TE +.PP +Free movement +.PP +.TS +tab (@); +l l. +HOME@Move closer to object +END@Move farther from object +F1@Stop +F2@Set velocity to 1 km/s +F3@Set velocity to 1,000 km/s +F4@Set velocity to 1,000,000 km/s +F5@Set velocity to 1 AU/s +F6@Set velocity to 1 ly/s +A@Increase velocity by 10x +Z@Decrease velocity by 10x +Q@Reverse direction +X@Set movement direction toward center of screen +.TE +.PP +Time +.PP +.TS +tab (@); +l l. +Space@stop time +L@Time 10x faster +K@Time 10x slower +J@Reverse time +.TE +.PP +Options +.PP +.TS +tab (@); +l l. +U@Toggle galaxy rendering +N@Toggle planet and moon labels +O@Toggle planet orbits +V@Toggle HUD Text +I@Toggle planet atmospheres (cloud textures) +W@Toggle wireframe mode +/@Toggle constellation diagrams += @Toggle constellation labels +;@Toggle earth-based equatorial coordinate sphere +B@Toggle star labels +P@Toggle per-pixel lighting (if supported) +[@Decrease limiting magnitude (fewer stars visible) +]@Increase limiting magnitude (more stars visible) +{@Decrease ambient illumination +}@Increase ambient illumination +,@Narrow field of view +\.@Widen field of view +.TE +.PP +Other +.PP +.TS +tab (@); +l l. +D@Run demo +`@Show frames rendered per second +.TE +.PP +It's possible to choose a star or planet by name: press Enter and type in the +name, and pressing Enter again. You can use common names, or Bayer +designations and HD catalog numbers for stars. Bayer and Flamsteed +designations need to be entered like "Upsilon And" and "51 Peg". The +constellation must be given as a three letter abbreviation and the full Greek +letter name spelled out. HD catalog numbers must be entered with a space +between HD and the number. +.SH OPTIONS +The \fIglut\fP based version accepts the usual X Window System specific +options, namely: +.TP 8 +.B \-display \fIDISPLAY\fP +Specify the X server to connect to. If not specified, the value of the +DISPLAY environment variable is used. +.TP 8 +.B \-geometry \fIWxH+X+Y\fP +Determines where window's should be created on the screen. The +parameter following -geometry should be formatted as a +standard X geometry specification. The effect of using this option +is to change the GLUT initial size and initial position the same as +if glutInitWindowSize or glutInitWindowPosition were +called directly. +.TP 8 +.B \-iconic +Requests all top-level windows be created in an iconic state. +.TP 8 +.B \-indirect +Force the use of indirect OpenGL rendering contexts. +.TP 8 +.B \-direct +Force the use of direct OpenGL rendering contexts (not all GLX +implementations support direct rendering contexts). A fatal error +is generated if direct rendering is not supported by the OpenGL +implementation. + +If neither -indirect or -direct are used to force a particular +behavior, GLUT will attempt to use direct rendering if possible +and otherwise fallback to indirect rendering. +.TP 8 +.B \-gldebug +After processing callbacks and/or events, check if there are any +OpenGL errors by calling glGetError. If an error is reported, +print out a warning by looking up the error code with +gluErrorString. Using this option is helpful in detecting +OpenGL run-time errors. +.TP 8 +.B \-sync +Enable synchronous X protocol transactions. This option makes it +easier to track down potential X protocol errors. +.SH AUTHOR +Celestia has been written by Chris Laurel and +it's available under the terms and conditions of the GNU General Public +License from http://celestia.sf.net/ diff --git a/debian/celestia-qt.desktop b/debian/celestia-qt.desktop new file mode 100644 index 0000000..a9f7e2a --- /dev/null +++ b/debian/celestia-qt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Celestia (Qt) +GenericName=Space Simulator +Comment=Explore the Universe in this detailed space simulation +Type=Application +Categories=Astronomy;Education;Science; +Icon=celestia +Exec=celestia-qt %f +Terminal=false +MimeType=application/x-celestia-script; diff --git a/debian/celestia-qt.install b/debian/celestia-qt.install new file mode 100644 index 0000000..de83dd6 --- /dev/null +++ b/debian/celestia-qt.install @@ -0,0 +1,2 @@ +debian/celestia-qt.desktop usr/share/applications/ +usr/bin/celestia-qt diff --git a/debian/celestia-qt.lintian-overrides b/debian/celestia-qt.lintian-overrides new file mode 100644 index 0000000..9491cf6 --- /dev/null +++ b/debian/celestia-qt.lintian-overrides @@ -0,0 +1,2 @@ +manpage-has-errors-from-man usr/share/man/man1/celestia-qt.1.gz 131: warning: macro `@Widen' not defined +latest-debian-changelog-entry-changed-to-native diff --git a/debian/celestia-qt.manpages b/debian/celestia-qt.manpages new file mode 100644 index 0000000..270a9df --- /dev/null +++ b/debian/celestia-qt.manpages @@ -0,0 +1 @@ +debian/celestia-qt.1 diff --git a/debian/celestia-qt.menu b/debian/celestia-qt.menu new file mode 100644 index 0000000..e86066d --- /dev/null +++ b/debian/celestia-qt.menu @@ -0,0 +1,6 @@ +?package(celestia-qt):\ + needs="X11"\ + section="Applications/Science/Astronomy"\ + hints="OpenGL,KDE"\ + title="Celestia (Qt)"\ + command="/usr/bin/celestia-qt" diff --git a/debian/celestia-qt.postinst b/debian/celestia-qt.postinst new file mode 100644 index 0000000..6b05106 --- /dev/null +++ b/debian/celestia-qt.postinst @@ -0,0 +1,6 @@ +#!/bin/sh -e + +update-alternatives --install /usr/bin/celestia celestia /usr/bin/celestia-qt 200 \ + --slave /usr/share/man/man1/celestia.1.gz celestia.1.gz /usr/share/man/man1/celestia-qt.1.gz + +#DEBHELPER# diff --git a/debian/celestia-qt.prerm b/debian/celestia-qt.prerm new file mode 100644 index 0000000..2e25953 --- /dev/null +++ b/debian/celestia-qt.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ] || [ "$1" = deconfigure ]; then + update-alternatives --remove celestia /usr/bin/celestia-qt +fi + +#DEBHELPER# diff --git a/debian/celestia-tools.install b/debian/celestia-tools.install new file mode 100644 index 0000000..418cdd4 --- /dev/null +++ b/debian/celestia-tools.install @@ -0,0 +1,24 @@ +usr/bin/spectbins.pl +usr/bin/visualbins.pl +usr/bin/charm2.pl +usr/bin/charm2simbatch.pl +usr/bin/deepsky.pl +usr/bin/globulars.pl +usr/bin/buildstardb.pl +usr/bin/buildxindices.pl +usr/bin/xyzv2bin.pl +usr/bin/cmodview +usr/bin/3dstocmod +usr/bin/cmodfix +usr/bin/txt2cmod +usr/bin/cmodsphere +#usr/bin/spice2xyzv +usr/bin/vsoptrunc-rect +usr/bin/vsoptrunc-sph +usr/bin/xyzv2bin +usr/bin/bin2xyzv +usr/bin/makestardb +usr/bin/startextdump +usr/bin/makexindex +usr/bin/scattersim +usr/bin/scattertable diff --git a/debian/celestia-tools.lintian-overrides b/debian/celestia-tools.lintian-overrides new file mode 100644 index 0000000..56fa80a --- /dev/null +++ b/debian/celestia-tools.lintian-overrides @@ -0,0 +1,33 @@ +latest-debian-changelog-entry-changed-to-native +script-with-language-extension usr/bin/buildstardb.pl +script-with-language-extension usr/bin/buildxindices.pl +script-with-language-extension usr/bin/charm2.pl +script-with-language-extension usr/bin/charm2simbatch.pl +script-with-language-extension usr/bin/deepsky.pl +script-with-language-extension usr/bin/globulars.pl +script-with-language-extension usr/bin/spectbins.pl +script-with-language-extension usr/bin/visualbins.pl +script-with-language-extension usr/bin/xyzv2bin.pl +binary-without-manpage usr/bin/3dstocmod +binary-without-manpage usr/bin/bin2xyzv +binary-without-manpage usr/bin/buildstardb.pl +binary-without-manpage usr/bin/buildxindices.pl +binary-without-manpage usr/bin/charm2.pl +binary-without-manpage usr/bin/charm2simbatch.pl +binary-without-manpage usr/bin/cmodfix +binary-without-manpage usr/bin/cmodsphere +binary-without-manpage usr/bin/cmodview +binary-without-manpage usr/bin/deepsky.pl +binary-without-manpage usr/bin/globulars.pl +binary-without-manpage usr/bin/makestardb +binary-without-manpage usr/bin/makexindex +binary-without-manpage usr/bin/scattersim +binary-without-manpage usr/bin/scattertable +binary-without-manpage usr/bin/spectbins.pl +binary-without-manpage usr/bin/startextdump +binary-without-manpage usr/bin/txt2cmod +binary-without-manpage usr/bin/visualbins.pl +binary-without-manpage usr/bin/vsoptrunc-rect +binary-without-manpage usr/bin/vsoptrunc-sph +binary-without-manpage usr/bin/xyzv2bin +binary-without-manpage usr/bin/xyzv2bin.pl diff --git a/debian/celestia.lintian-overrides b/debian/celestia.lintian-overrides new file mode 100644 index 0000000..db621dc --- /dev/null +++ b/debian/celestia.lintian-overrides @@ -0,0 +1 @@ +latest-debian-changelog-entry-changed-to-native diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..64861d7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +celestia (1.7.0~2022.10.22.git.9da83f2-0pin1) unstable; urgency=medium + + * Build for me + + -- Igor Pashev Wed, 26 Oct 2022 17:43:35 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b670847 --- /dev/null +++ b/debian/control @@ -0,0 +1,130 @@ +Source: celestia +Section: science +Priority: optional +Maintainer: Igor Pashev +Build-Depends: debhelper-compat (= 13), + cmake (>= 3.1~), + imagemagick, + freeglut3-dev, + libeigen3-dev (>= 3.3~), + libfmt-dev (>= 4), + libfreetype6-dev, + libepoxy-dev, + libglu1-mesa-dev, + libgtk2.0-dev, + libgtkglext1-dev, + libjpeg62-turbo-dev | libjpeg-dev, + libluajit-5.1-dev, + libpng-dev (>= 1.6) | libpng16-dev, + libqt5opengl5-dev, + libtheora-dev, + qtbase5-dev, + qtbase5-dev-tools +Standards-Version: 4.0.0 +Homepage: https://github.com/CelestiaProject/Celestia + +Package: celestia-common +Architecture: all +Conflicts: celestia (<< 1.4.1), celestia-common (<< 1.7.0~) +Replaces: celestia (<< 1.4.1), celestia-common (<< 1.7.0~) +Depends: fonts-dejavu-core, ${misc:Depends} +Description: common files for Celestia, a real-time visual space simulation + Celestia is a free 3D astronomy program. Based on the Hipparcos + Catalogue, it allows users to display objects ranging in scale from + artificial satellites to entire galaxies in three dimensions using + OpenGL. Unlike most planetarium software, the user is free to travel + about the Universe. + . + This package contains the files common for all Celestia frontends. + +Package: celestia +Architecture: all +Depends: celestia-qt | celestia-gtk | celestia-glut, ${misc:Depends} +Description: real-time visual space simulation + Celestia is a free 3D astronomy program. Based on the Hipparcos + Catalogue, it allows users to display objects ranging in scale from + artificial satellites to entire galaxies in three dimensions using + OpenGL. Unlike most planetarium software, the user is free to travel + about the Universe. + . + This is a dummy package that selects at least one frontend for Celestia. + +Package: celestia-qt +Section: science +Architecture: any +Depends: libcelestia1.7 (= ${binary:Version}), + celestia-common (= ${binary:Version}), + celestia-data (>= 1.7.0~), + ${shlibs:Depends}, ${misc:Depends} +Conflicts: celestia (<< 1.4.1) +Replaces: celestia (<< 1.4.1) +Suggests: stellarium +Description: real-time visual space simulation (Qt frontend) + Celestia is a free 3D astronomy program. Based on the Hipparcos + Catalogue, it allows users to display objects ranging in scale from + artificial satellites to entire galaxies in three dimensions using + OpenGL. Unlike most planetarium software, the user is free to travel + about the Universe. + . + This package contains the Qt5 frontend for Celestia. + +Package: celestia-gtk +Section: science +Architecture: any +Depends: libcelestia1.7 (= ${binary:Version}), + celestia-common (= ${binary:Version}), + celestia-data (>= 1.7.0~), + ${shlibs:Depends}, ${misc:Depends} +Conflicts: celestia (<< 1.4.1), celestia-gnome (<< 1.7.0~) +Replaces: celestia (<< 1.4.1), celestia-gnome (<< 1.7.0~) +Suggests: stellarium +Description: real-time visual space simulation (Gtk frontend) + Celestia is a free 3D astronomy program. Based on the Hipparcos + Catalogue, it allows users to display objects ranging in scale from + artificial satellites to entire galaxies in three dimensions using + OpenGL. Unlike most planetarium software, the user is free to travel + about the Universe. + . + This package contains the Gtk2 frontend for Celestia. + +Package: celestia-glut +Architecture: any +Depends: libcelestia1.7 (= ${binary:Version}), + celestia-common (= ${binary:Version}), + celestia-data (>= 1.7.0~), + ${shlibs:Depends}, ${misc:Depends} +Conflicts: celestia (<< 1.4.1) +Replaces: celestia (<< 1.4.1) +Suggests: stellarium +Description: real-time visual space simulation (GLUT frontend) + Celestia is a free 3D astronomy program. Based on the Hipparcos + Catalogue, it allows users to display objects ranging in scale from + artificial satellites to entire galaxies in three dimensions using + OpenGL. Unlike most planetarium software, the user is free to travel + about the Universe. + . + This package contains a minimal frontend for Celestia. + +Package: libcelestia1.7 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: tzdata +Description: Library for the Celestia space simulator + This package includes the libcelestia library, which is + necessary to run Celestia. + +Package: celestia-tools +Architecture: any +Depends: libcelestia1.7 (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Conflicts: celestia (<< 1.4.1) +Replaces: celestia (<< 1.4.1) +Suggests: stellarium +Description: real-time visual space simulation (GLUT frontend) + Celestia is a free 3D astronomy program. Based on the Hipparcos + Catalogue, it allows users to display objects ranging in scale from + artificial satellites to entire galaxies in three dimensions using + OpenGL. Unlike most planetarium software, the user is free to travel + about the Universe. + . + This package contains tools required to create data files for Celestia. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8941a47 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,167 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Celestia +Source: https://github.com/CelestiaProject/Celestia + +Files: * +Copyright: 2001-2020 Celestia Development Team +License: GPL-2+ + +Files: src/celengine/curveplot.* +Copyright: 2009-2010 Chris Laurel +License: LGPL-2+ or GPL-2+ + +Files: test/unit/catch.hpp +Copyright: 2019 Two Blue Cubes Ltd +License: Boost + +Files: src/celutil/strnatcmp.* +Copyright: 2000-2004 Martin Pool + 2020 Celestia Development Team +License: zlib + +Files: src/tools/celestia-gaia-stardb/* +Copyright: 2019–2020 Andrew Tribick +License: GPL-2+ + +Files: src/celengine/dds_decompress.* +Copyright: 2009 Benjamin Dobell, Glass Echidna + 2012, Matthäus G. Chajdas +License: Expat + +Files: src/celutil/tee.h +Copyright: 2009 Thomas Guest + 2021 Celestia Development Team +License: public-domain + +Files: debian/* +Copyright: 2001-2002 Marcelo E. Magallon + 2003 Mika Fischer + 2005 Mathias Weyland + 2007-2013 Guus Sliepen + 2019 Celestia Development Team + 2022 Igor Pashev +License: GPL-2+ + +License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA + . + On Debian systems, the full text of the GNU Lesser General + Public License version 2 can be found in the file + `/usr/share/common-licenses/LGPL-2'. + +License: Boost + Boost Software License - Version 1.0 - August 17th, 2003 + . + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + . + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +License: zlib + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: public-domain + This is free and unencumbered software released into the public domain. + Anyone is free to copy, modify, publish, use, compile, sell, or distribute this + software, either in source code form or as a compiled binary, for any purpose, + commercial or non-commercial, and by any means. + . + In jurisdictions that recognize copyright laws, the author or authors of this + software dedicate any and all copyright interest in the software to the public + domain. We make this dedication for the benefit of the public at large and to + the detriment of our heirs and successors. We intend this dedication to be an + overt act of relinquishment in perpetuity of all present and future rights to + this software under copyright law. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/libcelestia1.7.install b/debian/libcelestia1.7.install new file mode 100644 index 0000000..383183f --- /dev/null +++ b/debian/libcelestia1.7.install @@ -0,0 +1 @@ +usr/lib/*/libcelestia*.so.* diff --git a/debian/libcelestia1.7.lintian-overrides b/debian/libcelestia1.7.lintian-overrides new file mode 100644 index 0000000..db621dc --- /dev/null +++ b/debian/libcelestia1.7.lintian-overrides @@ -0,0 +1 @@ +latest-debian-changelog-entry-changed-to-native diff --git a/debian/patches/leap-seconds.patch b/debian/patches/leap-seconds.patch new file mode 100644 index 0000000..fa7cd6a --- /dev/null +++ b/debian/patches/leap-seconds.patch @@ -0,0 +1,10 @@ +--- a/celestia.cfg 2022-06-18 21:49:37.401596634 +0300 ++++ b/celestia.cfg 2022-06-18 21:49:46.949762042 +0300 +@@ -429,6 +429,6 @@ + # can be dounload from ftp://ftp.nist.gov/pub/time/leap-seconds.list or + # ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list. + #------------------------------------------------------------------------ +-# LeapSecondsFile "/usr/share/zoneinfo/leap-seconds.list" ++LeapSecondsFile "/usr/share/zoneinfo/leap-seconds.list" + + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..fb789af --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +leap-seconds.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9f107bf --- /dev/null +++ b/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure --parallel -- \ + -DENABLE_GLUT=ON \ + -DENABLE_GTK=ON \ + -DENABLE_QT=ON \ + -DENABLE_TOOLS=ON \ + -DENABLE_TTF=ON \ + -DENABLE_DATA=OFF \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + +override_dh_auto_install: + dh_auto_install + set -x; for r in 128 64 48 32 24 16; do \ + mkdir -p debian/tmp/usr/share/icons/hicolor/$${r}x$${r}/apps && \ + convert celestia-logo.png -scale $${r}x$${r} debian/tmp/usr/share/icons/hicolor/$${r}x$${r}/apps/celestia.png ; \ + done + +override_dh_dwz: + : # Unknown DWARF DW_OP_255 referenced from DIE + +PACKAGE := celestia +GIT_REPO := https://github.com/CelestiaProject/Celestia.git +DEBIAN_PATH := $(abspath $(dir $(firstword $(MAKEFILE_LIST)))) +SRC_VERSION := $(shell dpkg-parsechangelog -l$(DEBIAN_PATH)/changelog | awk '/^Version:/ {sub(/-[^-]*/, "", $$2); print $$2}') +GIT_REVISION := $(shell echo $(SRC_VERSION) | sed -r 's,.+git\.(\w+).*,\1,') +TARBALL := $(PACKAGE)_$(SRC_VERSION).orig.tar.xz +.PHONY: get-orig-source +get-orig-source: + rm -rf get-orig-source $(TARBALL) && mkdir get-orig-source + git clone $(GIT_REPO) get-orig-source/$(PACKAGE)-$(SRC_VERSION) + git -C get-orig-source/$(PACKAGE)-$(SRC_VERSION) checkout $(GIT_REVISION) + find get-orig-source/$(PACKAGE)-$(SRC_VERSION) -name '.*' -print0 | xargs -0 --no-run-if-empty rm -rfv + cd get-orig-source/$(PACKAGE)-$(SRC_VERSION) && \ + rm -rf azure-pipelines.yml debian fonts && \ + sed -i '/add_subdirectory(fonts)/d' CMakeLists.txt + tar cJf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION) + rm -rf get-orig-source + @echo " "$(TARBALL)" created; move it to the right destination to build the package" diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..4f32de5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/CelestiaProject/Celestia/tags .*/([\d.]+)\.tar\.gz -- cgit v1.2.3