* [PR PATCH] New package: xephem-3.7.7
@ 2020-04-18 19:09 JohnKallimanis
2021-02-16 5:56 ` ericonr
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: JohnKallimanis @ 2020-04-18 19:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
There is a new pull request by JohnKallimanis against master on the void-packages repository
https://github.com/JohnKallimanis/void-packages xephem
https://github.com/void-linux/void-packages/pull/21129
New package: xephem-3.7.7
A patch file from https://github.com/void-linux/void-packages/pull/21129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xephem-21129.patch --]
[-- Type: text/x-diff, Size: 6638 bytes --]
From c580d1cda71d1e5b24c0a4b4d3063aa099a6a852 Mon Sep 17 00:00:00 2001
From: John Kallimanis <johnkall007@gmail.com>
Date: Sat, 18 Apr 2020 22:02:44 +0300
Subject: [PATCH] New package: xephem-3.7.7
---
srcpkgs/xephem/files/XEphem | 1 +
srcpkgs/xephem/files/xephem.desktop | 8 ++
.../xephem/patches/fix_Makefile_cross.patch | 118 ++++++++++++++++++
srcpkgs/xephem/template | 48 +++++++
4 files changed, 175 insertions(+)
create mode 100644 srcpkgs/xephem/files/XEphem
create mode 100644 srcpkgs/xephem/files/xephem.desktop
create mode 100644 srcpkgs/xephem/patches/fix_Makefile_cross.patch
create mode 100644 srcpkgs/xephem/template
diff --git a/srcpkgs/xephem/files/XEphem b/srcpkgs/xephem/files/XEphem
new file mode 100644
index 00000000000..349b5f2ab74
--- /dev/null
+++ b/srcpkgs/xephem/files/XEphem
@@ -0,0 +1 @@
+XEphem.ShareDir: /usr/share/xephem
diff --git a/srcpkgs/xephem/files/xephem.desktop b/srcpkgs/xephem/files/xephem.desktop
new file mode 100644
index 00000000000..bea8752ef32
--- /dev/null
+++ b/srcpkgs/xephem/files/xephem.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=XEphem
+Type=Application
+Comment=Interactive tool for astronomical ephemeris and sky simulation
+Exec=xephem
+TryExec=xephem
+Icon=/usr/share/pixmaps/XEphem.png
+Categories=Education;Science;Astronomy;
diff --git a/srcpkgs/xephem/patches/fix_Makefile_cross.patch b/srcpkgs/xephem/patches/fix_Makefile_cross.patch
new file mode 100644
index 00000000000..e16326e3978
--- /dev/null
+++ b/srcpkgs/xephem/patches/fix_Makefile_cross.patch
@@ -0,0 +1,118 @@
+Source: John Kallimanis
+Upstream: Not applied. Unlikely to be accepted. No active development.
+Reason: Fix the build system for multiarch, especially for prefixed binutils/tools.
+diff -rupN xephem-3.7.7/GUI/xephem/Makefile xephem-3.7.7_patched/GUI/xephem/Makefile
+--- xephem-3.7.7/GUI/xephem/Makefile 2015-08-10 00:36:50.000000000 +0300
++++ xephem-3.7.7_patched/GUI/xephem/Makefile 2020-04-18 20:38:25.574554914 +0300
+@@ -30,7 +30,7 @@ MOTIFL = /usr/lib
+ endif
+
+ # for linux and Apple OS X
+-CC = gcc
++#CC = gcc
+ CLDFLAGS = -g
+ CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/opt/X11/include
+ LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/opt/X11/lib
+diff -rupN xephem-3.7.7/libastro/Makefile xephem-3.7.7_patched/libastro/Makefile
+--- xephem-3.7.7/libastro/Makefile 2006-02-24 05:37:31.000000000 +0200
++++ xephem-3.7.7_patched/libastro/Makefile 2020-04-18 20:40:19.868560548 +0300
+@@ -4,7 +4,7 @@
+ # compiler and flags
+
+ # gcc
+-CC = gcc
++#CC = gcc
+ CFLAGS= -O2 -Wall
+
+ # macosx universal binary
+@@ -83,8 +83,8 @@ OBJS = \
+ vsop87_data.o
+
+ libastro.a: $(HS) $(OBJS)
+- ar rv $@ $(OBJS)
+- ranlib $@
++ $(AR) rv $@ $(OBJS)
++ $(RANLIB) $@
+
+ libastro.so: $(HS) $(OBJS)
+ $(CC) -shared -o $@ $(OBJS)
+diff -rupN xephem-3.7.7/libip/Makefile xephem-3.7.7_patched/libip/Makefile
+--- xephem-3.7.7/libip/Makefile 2009-01-05 22:53:46.000000000 +0200
++++ xephem-3.7.7_patched/libip/Makefile 2020-04-18 20:41:48.796786939 +0300
+@@ -2,7 +2,7 @@
+ # (C) 2001 Elwood Charles Downey
+
+ # gcc
+-CC = gcc
++#CC = gcc
+ CFLAGS= -I../libastro -O2 -Wall
+
+ # macosx universal binary
+@@ -36,11 +36,11 @@ OBJS = \
+ HS = ip.h fsmatch.h
+
+ libip.a: $(HS) $(OBJS)
+- ar rv $@ $(OBJS)
+- ranlib $@
++ $(AR) rv $@ $(OBJS)
++ $(RANLIB) $@
+
+ libip.so: $(OBJS)
+- gcc -shared -o $@ $(OBJS)
++ $(CC) -shared -o $@ $(OBJS)
+
+ clobber:
+ rm -f *.o libip.a
+diff -rupN xephem-3.7.7/liblilxml/Makefile xephem-3.7.7_patched/liblilxml/Makefile
+--- xephem-3.7.7/liblilxml/Makefile 2006-02-24 05:37:32.000000000 +0200
++++ xephem-3.7.7_patched/liblilxml/Makefile 2020-04-18 20:42:55.388207672 +0300
+@@ -4,7 +4,7 @@
+ # compiler and flags
+
+ # gcc
+-CC = gcc
++#CC = gcc
+ CFLAGS= -O2 -Wall
+
+ # macosx universal binary
+@@ -27,8 +27,8 @@ HS = lilxml.h
+ OBJS = lilxml.o base64.o
+
+ liblilxml.a: $(HS) $(OBJS)
+- ar r $@ $(OBJS)
+- ranlib $@
++ $(AR) r $@ $(OBJS)
++ $(RANLIB) $@
+
+ liltest: liltest.o liblilxml.a
+ $(CC) $(LDFLAGS) -o liltest liltest.o liblilxml.a
+diff -rupN xephem-3.7.7/libpng/Makefile xephem-3.7.7_patched/libpng/Makefile
+--- xephem-3.7.7/libpng/Makefile 2006-02-24 05:36:49.000000000 +0200
++++ xephem-3.7.7_patched/libpng/Makefile 2020-04-18 20:44:08.755569502 +0300
+@@ -8,7 +8,7 @@ ZLIBINC = ../libz
+ ZLIBLIB = ../libz
+
+ # Compiler, linker, lib and other tools
+-CC = gcc
++#CC = gcc
+ LD = $(CC)
+ AR = ar rcs
+ RANLIB = ranlib
+diff -rupN xephem-3.7.7/libz/Makefile xephem-3.7.7_patched/libz/Makefile
+--- xephem-3.7.7/libz/Makefile 2006-02-24 05:37:11.000000000 +0200
++++ xephem-3.7.7_patched/libz/Makefile 2020-04-18 20:45:21.611935820 +0300
+@@ -17,11 +17,11 @@ OBJS = adler32.o \
+ inffast.o
+
+ libz.a: $(OBJS)
+- ar rc libz.a $(OBJS)
+- -ranlib libz.a
++ $(AR) rc libz.a $(OBJS)
++ $(RANLIB) libz.a
+
+ testzlib: testzlib.o libz.a
+- cc $(LDFLAGS) -o testzlib testzlib.o libz.a
++ $(CC) $(LDFLAGS) -o testzlib testzlib.o libz.a
+
+ clean:
+ rm -f *.o *.a testzlib
diff --git a/srcpkgs/xephem/template b/srcpkgs/xephem/template
new file mode 100644
index 00000000000..2b675f494a1
--- /dev/null
+++ b/srcpkgs/xephem/template
@@ -0,0 +1,48 @@
+# Template file for 'xephem'
+pkgname=xephem
+version=3.7.7
+revision=1
+build_style=gnu-makefile
+make_build_args="-C GUI/xephem"
+makedepends="libpng-devel lesstif-devel libICE-devel libSM-devel libX11-devel libXau-devel
+ libxcb-devel libXdmcp-devel libXmu-devel libXp-devel libXt-devel libXext-devel groff"
+short_desc="Interactive astronomical ephemeris for the serious amateur astronomer"
+maintainer="John Kallimanis <johnkall007@gmail.com>"
+license="Proprietary"
+homepage="https://www.clearskyinstitute.com/xephem/"
+distfiles="https://www.clearskyinstitute.com/xephem/xephem-${version}.tgz"
+checksum="fb0b889218322c1cc0b994da7125e624e4f0112d9da1c468936600d1179e55de"
+patch_args="-p1"
+
+do_build() {
+ make -C GUI/xephem
+}
+
+do_install() {
+ vlicense Copyright Xephem-License
+
+ cd GUI/xephem
+ vbin xephem
+
+ vmkdir /usr/share/xephem
+ vcopy auxil /usr/share/xephem
+ vcopy catalogs /usr/share/xephem
+ vcopy fifos /usr/share/xephem
+ vcopy fits /usr/share/xephem
+ vcopy gallery /usr/share/xephem
+ vcopy lo /usr/share/xephem
+ vman xephem.1
+
+ vmkdir /usr/share/xephem/help
+ vcopy help/xephem.html /usr/share/xephem/help/
+ vcopy help/png /usr/share/xephem/help/
+
+ vmkdir /etc
+ vcopy "${FILESDIR}"/XEphem /etc
+
+ vmkdir /usr/share/applications
+ vcopy "${FILESDIR}"/xephem.desktop /usr/share/applications/
+
+ vmkdir /usr/share/pixmaps
+ vcopy XEphem.png /usr/share/pixmaps/
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: xephem-3.7.7
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
@ 2021-02-16 5:56 ` ericonr
2021-02-17 15:51 ` JohnKallimanis
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-16 5:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/21129#issuecomment-779601409
Comment:
Does this work with new `mostif` package?
And yes, most `-devel` dependencies go in `makedepends`.
https://www.clearskyinstitute.com/xephem/ seems to indicate MIT licensing...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: xephem-3.7.7
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
2021-02-16 5:56 ` ericonr
@ 2021-02-17 15:51 ` JohnKallimanis
2022-04-16 2:02 ` github-actions
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: JohnKallimanis @ 2021-02-17 15:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
New comment by JohnKallimanis on void-packages repository
https://github.com/void-linux/void-packages/pull/21129#issuecomment-780653273
Comment:
Have not checked compatibility with mostif.
The license seems to have changed to MIT. Previous versions had a more restrictive license that allowed modification only for porting purposes. Indeed, the previous license was:
https://github.com/JohnKallimanis/johnnywho/blob/master/licences/xephem
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: xephem-3.7.7
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
2021-02-16 5:56 ` ericonr
2021-02-17 15:51 ` JohnKallimanis
@ 2022-04-16 2:02 ` github-actions
2022-04-19 17:25 ` [PR REVIEW] " Chocimier
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-04-16 2:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/21129#issuecomment-1100506612
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] New package: xephem-3.7.7
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
` (2 preceding siblings ...)
2022-04-16 2:02 ` github-actions
@ 2022-04-19 17:25 ` Chocimier
2022-05-04 2:15 ` [PR PATCH] [Closed]: " github-actions
2022-10-11 7:59 ` JohnKallimanis
5 siblings, 0 replies; 7+ messages in thread
From: Chocimier @ 2022-04-19 17:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
New review comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/21129#discussion_r853318871
Comment:
Actually regular MIT license.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: New package: xephem-3.7.7
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
` (3 preceding siblings ...)
2022-04-19 17:25 ` [PR REVIEW] " Chocimier
@ 2022-05-04 2:15 ` github-actions
2022-10-11 7:59 ` JohnKallimanis
5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-05-04 2:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
There's a closed pull request on the void-packages repository
New package: xephem-3.7.7
https://github.com/void-linux/void-packages/pull/21129
Description:
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: xephem-3.7.7
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
` (4 preceding siblings ...)
2022-05-04 2:15 ` [PR PATCH] [Closed]: " github-actions
@ 2022-10-11 7:59 ` JohnKallimanis
5 siblings, 0 replies; 7+ messages in thread
From: JohnKallimanis @ 2022-10-11 7:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]
New comment by JohnKallimanis on void-packages repository
https://github.com/void-linux/void-packages/pull/21129#issuecomment-1274256531
Comment:
At some point there was a clause forbidding commercial use. It may have
been lifted from some version onwards.
On Tue, Apr 19, 2022, 20:25 Piotr ***@***.***> wrote:
> ***@***.**** commented on this pull request.
> ------------------------------
>
> In srcpkgs/xephem/template
> <https://github.com/void-linux/void-packages/pull/21129#discussion_r853318871>
> :
>
> > @@ -0,0 +1,48 @@
> +# Template file for 'xephem'
> +pkgname=xephem
> +version=3.7.7
> +revision=1
> +build_style=gnu-makefile
> +make_build_args="-C GUI/xephem"
> +makedepends="libpng-devel lesstif-devel libICE-devel libSM-devel libX11-devel libXau-devel
> + libxcb-devel libXdmcp-devel libXmu-devel libXp-devel libXt-devel libXext-devel groff"
> +short_desc="Interactive astronomical ephemeris for the serious amateur astronomer"
> +maintainer="John Kallimanis ***@***.***>"
> +license="Proprietary"
>
> Actually regular MIT license.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/pull/21129#pullrequestreview-946059594>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAZ3VATTUDGU3PXJCBQ7THDVF3UBLANCNFSM4MLPBPVQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-10-11 7:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 19:09 [PR PATCH] New package: xephem-3.7.7 JohnKallimanis
2021-02-16 5:56 ` ericonr
2021-02-17 15:51 ` JohnKallimanis
2022-04-16 2:02 ` github-actions
2022-04-19 17:25 ` [PR REVIEW] " Chocimier
2022-05-04 2:15 ` [PR PATCH] [Closed]: " github-actions
2022-10-11 7:59 ` JohnKallimanis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).