Compare commits

...

6 Commits

6 changed files with 237 additions and 99 deletions

View File

@ -1,4 +1,4 @@
# Sample Makefile for xephem v3.7 # Sample Makefile for xephem v4.1.0
# Sample compile and link flags for a few systems. Find your system or similar # Sample compile and link flags for a few systems. Find your system or similar
# and uncomment as required. The default is for linux or Mac OS X systems. # and uncomment as required. The default is for linux or Mac OS X systems.
@ -48,6 +48,13 @@ LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) $(PLATL)
XLIBS = -lXm -lXt -lXext -lXmu -lX11 XLIBS = -lXm -lXt -lXext -lXmu -lX11
LIBS = $(XLIBS) $(LIBLIB) -lm -lssl LIBS = $(XLIBS) $(LIBLIB) -lm -lssl
# Variables installation for Linux
prefix := /usr/local
bindir = $(prefix)/bin
datadir = $(prefix)/share
mandir = $(datadir)/man
export datadir
# static linking on Apple using X11 libs from ports # static linking on Apple using X11 libs from ports
# CC = gcc # CC = gcc
# OLI = /opt/local/include # OLI = /opt/local/include
@ -197,24 +204,43 @@ OBJS = \
xephem.o \ xephem.o \
xmisc.o xmisc.o
all: libs xephem xephem.1 all: xephem xephem.1
xephem: $(INCS) $(OBJS) xephem: libs $(INCS) $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
xephem.1: xephem.man xephem.1: xephem.man
nroff -man $? > $@ cp $? $@
libs: libs:
cd ../../libastro; make $(MAKE) -C ../../libastro
cd ../../libip; make $(MAKE) -C ../../libip
cd ../../libjpegd; make $(MAKE) -C ../../libjpegd
cd ../../liblilxml; make $(MAKE) -C ../../liblilxml
cd ../../libpng; make $(MAKE) -C ../../libpng
cd ../../libz; make $(MAKE) -C ../../libz
clean: clean:
rm -fr *.o ../../lib*/*.[ao] rm -fr *.o ../../lib*/*.[ao]
clobber: clean clobber: clean
rm -fr xephem xephem.1 rm -fr xephem xephem.1
# Installation
install: install-binary install-man install-data install-desktopfiles
install-binary:
install -Dm 755 xephem -t $(DESTDIR)$(bindir)
install-man:
install -Dm 644 xephem.1 -t $(DESTDIR)$(mandir)/man1
install-data:
install -dm 755 $(DESTDIR)$(datadir)/xephem
@for d in auxil catalogs fifos fits gallery help lo; do \
echo "cp -R $$d $(DESTDIR)$(datadir)/xephem"; \
cp -R $$d $(DESTDIR)$(datadir)/xephem; \
done
install-desktopfiles:
$(MAKE) -C ../../desktopfiles DESTDIR=$(DESTDIR) install

View File

@ -1,93 +1,93 @@
2020.0 WMM-2020 12/10/2019 2025.0 WMM-2025 11/13/2024
1 0 -29404.5 0.0 6.7 0.0 1 0 -29351.8 0.0 12.0 0.0
1 1 -1450.7 4652.9 7.7 -25.1 1 1 -1410.8 4545.4 9.7 -21.5
2 0 -2500.0 0.0 -11.5 0.0 2 0 -2556.6 0.0 -11.6 0.0
2 1 2982.0 -2991.6 -7.1 -30.2 2 1 2951.1 -3133.6 -5.2 -27.7
2 2 1676.8 -734.8 -2.2 -23.9 2 2 1649.3 -815.1 -8.0 -12.1
3 0 1363.9 0.0 2.8 0.0 3 0 1361.0 0.0 -1.3 0.0
3 1 -2381.0 -82.2 -6.2 5.7 3 1 -2404.1 -56.6 -4.2 4.0
3 2 1236.2 241.8 3.4 -1.0 3 2 1243.8 237.5 0.4 -0.3
3 3 525.7 -542.9 -12.2 1.1 3 3 453.6 -549.5 -15.6 -4.1
4 0 903.1 0.0 -1.1 0.0 4 0 895.0 0.0 -1.6 0.0
4 1 809.4 282.0 -1.6 0.2 4 1 799.5 278.6 -2.4 -1.1
4 2 86.2 -158.4 -6.0 6.9 4 2 55.7 -133.9 -6.0 4.1
4 3 -309.4 199.8 5.4 3.7 4 3 -281.1 212.0 5.6 1.6
4 4 47.9 -350.1 -5.5 -5.6 4 4 12.1 -375.6 -7.0 -4.4
5 0 -234.4 0.0 -0.3 0.0 5 0 -233.2 0.0 0.6 0.0
5 1 363.1 47.7 0.6 0.1 5 1 368.9 45.4 1.4 -0.5
5 2 187.8 208.4 -0.7 2.5 5 2 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9 -0.4 0.1 0.0 -0.0
12 10 0.1 -0.9 -0.0 -0.0 12 10 -0.2 -1.0 -0.1 -0.0
12 11 -1.1 -0.0 -0.0 0.0 12 11 -1.3 0.1 -0.0 0.0
12 12 -0.3 0.5 -0.1 -0.1 12 12 -0.7 0.2 -0.1 -0.1
999999999999999999999999999999999999999999999999 999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999 999999999999999999999999999999999999999999999999

View File

@ -4,6 +4,14 @@
</head> </head>
<BODY background="/bg.png" TEXT="#000000" LINK="#004400" VLINK="#004400" ALINK="#000000"> <BODY background="/bg.png" TEXT="#000000" LINK="#004400" VLINK="#004400" ALINK="#000000">
<!-- next release
<li>Elwood has updated the <tt>wmm.cof</tt>
World Magnetic Model file
to reflect the new WMM2025 data that was released on December 17, 2024.
-->
<H3>Changes from 4.1.0 to 4.2.0</H3> <H3>Changes from 4.1.0 to 4.2.0</H3>
Released 2024 February 13. Released 2024 February 13.

38
desktopfiles/Makefile Normal file
View File

@ -0,0 +1,38 @@
# Makefile for manage desktop files
# Requires utility 'convert' of the package ImageMagick.
CONVERT = convert
SRCPNGICON = ../GUI/xephem/XEphem.png
PNGICONS = \
32x32/apps/xephem.png \
48x48/apps/xephem.png \
64x64/apps/xephem.png \
128x128/apps/xephem.png
DESKTOPFILE = xephem.desktop
METAINFOFILE = xephem.metainfo.xml
iconsdir = $(DESTDIR)$(datadir)/icons/hicolor
applicationsdir = $(DESTDIR)$(datadir)/applications
metainfodir = $(DESTDIR)$(datadir)/metainfo
all:
install: install-icons install-desktopfile install-metainfo
install-icons: $(PNGICONS)
$(PNGICONS): $(SRCPNGICON)
@d=$(iconsdir)/$(shell dirname $@); \
s=$(shell echo $@ | sed -e 's/[a-z]*\([0-9]*\).*/\1/'); \
echo "install -m 755 -d $$d"; \
install -m 755 -d $$d; \
echo "convert -geometry $${s}x$${s} -depth 8 -background none $< $(iconsdir)/$@"; \
$(CONVERT) -geometry $${s}x$${s} -depth 8 -background none $< $(iconsdir)/$@
install-desktopfile:
install -Dm 644 $(DESKTOPFILE) -t $(applicationsdir)
install-metainfo:
install -Dm 644 $(METAINFOFILE) -t $(metainfodir)

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=XEphem
GenericName=X Window Ephemeris
GenericName[es]=Ventana X de Efemérides
Comment=Interactive astronomical ephemeris software
Comment[es]=Software Interactivo de efemérides astrónomicas
Exec=xephem
Icon=xephem
Terminal=false
Categories=Science;Astronomy;Motif;
Keywords=Astronomy;

View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2023 Miguel Molina <mmolina.unphysics@gmail.com> -->
<component type="desktop-application">
<id>xephem.desktop</id>
<name>XEphem</name>
<name xml:lang="es">XEphem</name>
<summary>Interactive astronomical ephemeris software</summary>
<summary xml:lang="es">Software interactivo de efemérides astronómicas</summary>
<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<description>
<p>
<ul>
<li><em>XEphem</em> is an interactive astronomy program for all UNIX platforms, written and maintained by _Elwood Downey_ over more than thirty years 19902021 and now generously released under the MIT License.</li>
<li><em>XEphem</em> can compute information on demand or time can be set to increment automatically. In this way a series of computations and movies can be generated.</li>
</ul>
</p>
<p xml:lang="es">
<ul>
<li><em>XEphem</em> es un programa de astronomía interactivo para todas las plataformas UNIX, escrito y mantenido por _Elwood Downey_ durante más de treinta años entre 1990 y 2021 y ahora publicado generosamente bajo la licencia MIT.</li>
<li><em>XEphem</em> puede calcular información bajo demanda o se puede configurar automáticamente en el tiempo. De esta forma se pueden generar una serie de cálculos y animaciones.</li>
</ul>
</p>
</description>
<launchable type="desktop-id">xephem.desktop</launchable>
<url type="homepage">https://xephem.github.io/XEphem/Site/xephem.html</url>
<url type="help">https://xephem.github.io/XEphem/Site/help/xephem.html</url>
<update_contact>xephem@ClearSkyInstitute.com</update_contact>
<developer_name>Elwood Charles Downey</developer_name>
<releases>
<release date="2021-09-13" version="4.1.0"/>
</releases>
<provides>
<binary>xephem</binary>
</provides>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/XEphem/XEphem/main/GUI/xephem/help/png/sky-view.png</image>
<caption>Highly configurable interactive Sky View.</caption>
<caption xml:lang="es">Vista del cielo interactivo altamente configurable.</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/XEphem/XEphem/main/GUI/xephem/help/png/solsys.png</image>
<caption>3D projection and true stereo views of the solar system, perfect for visualizing comet paths.</caption>
<caption xml:lang="es">Proyecciones 3D y vistas estereográficas reales del sistema solar, perfectas para visualizar trayectorias de cometas.</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/XEphem/XEphem/main/GUI/xephem/help/png/sun-view.png</image>
<caption>Near real-time Solar images from the SOHO spacecraft.</caption>
<caption xml:lang="es">Imágenes solares en tiempo real desed la nave espacial SOHO.</caption>
</screenshot>
</screenshots>
</component>