Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] sunwait: update to 0.9.1.
@ 2023-03-28 13:32 abenson
  2023-03-28 13:36 ` [PR PATCH] [Updated] " abenson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: abenson @ 2023-03-28 13:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

There is a new pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages sunwait_0.9.1
https://github.com/void-linux/void-packages/pull/43060

sunwait: update to 0.9.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing

```
pkg      host         target        cross  result
sunwait  x86_64       x86_64        n      OK
sunwait  x86_64-musl  x86_64-musl   n      OK
sunwait  i686         i686          n      OK
sunwait  x86_64       aarch64-musl  y      OK
sunwait  x86_64       aarch64       y      OK
sunwait  x86_64       armv7l-musl   y      OK
sunwait  x86_64       armv7l        y      OK
sunwait  x86_64       armv6l-musl   y      OK
sunwait  x86_64       armv6l        y      OK

```

A patch file from https://github.com/void-linux/void-packages/pull/43060.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sunwait_0.9.1-43060.patch --]
[-- Type: text/x-diff, Size: 2052 bytes --]

From 08bdae73ffa6f06f4e2b87155cdce1e5fa397532 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 28 Mar 2023 08:29:03 -0500
Subject: [PATCH] sunwait: update to 0.9.1.

---
 srcpkgs/sunwait/patches/fix-makefile.patch | 20 ++++++++++++++++++++
 srcpkgs/sunwait/template                   | 14 ++++++--------
 2 files changed, 26 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/sunwait/patches/fix-makefile.patch

diff --git a/srcpkgs/sunwait/patches/fix-makefile.patch b/srcpkgs/sunwait/patches/fix-makefile.patch
new file mode 100644
index 000000000000..7b6e453b14a6
--- /dev/null
+++ b/srcpkgs/sunwait/patches/fix-makefile.patch
@@ -0,0 +1,20 @@
+--- a/makefile
++++ b/makefile
+@@ -8,7 +8,7 @@
+ 
+ CFLAGS?=-c -Wall -std=c99 -O2 -Wextra -pedantic
+ CXXFLAGS=-c -Wall 
+-LDFLAGS= -lm 
++LDFLAGS+=-lm 
+ SOURCES=sunwait.c sunriset.c print.c
+ HEADERS=sunwait.h sunriset.h print.h
+ OBJECTS=$(SOURCES:.c=.o)
+@@ -16,7 +16,7 @@
+ all: $(EXECUTABLE)
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) $< -o $@
++	$(CC) -c $(CFLAGS) $< -o $@
+ 
+ $(EXECUTABLE): $(OBJECTS)
+ 	$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
diff --git a/srcpkgs/sunwait/template b/srcpkgs/sunwait/template
index 2110ecacfc74..05250805c072 100644
--- a/srcpkgs/sunwait/template
+++ b/srcpkgs/sunwait/template
@@ -1,18 +1,16 @@
 # Template file for 'sunwait'
 pkgname=sunwait
-version=0.20041208
-revision=2
+version=0.9.1
+revision=1
 build_style=gnu-makefile
+make_use_env=yes
 short_desc="Small C program calculating sunrise and sunset"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="GPL-2.0-only"
+license="GPL-3.0-only"
 homepage="http://www.risacher.org/sunwait/"
-distfiles="${homepage}${pkgname}-${version##*.}.tar.gz"
-checksum=46ecd64142e0c7c2decac8df241b78ccae0d1b323929fb4d61aa1acc16a9ff96
+distfiles="https://github.com/risacher/sunwait/archive/${version}.tar.gz"
+checksum=02fe8165a60ede67f1d0dc98acf4dfbe40865a215d9bd039f57806f1e100b406
 
-pre_build() {
-	sed -i 's/\(-lm\)/\1 $(LDFLAGS)/' Makefile
-}
 do_install() {
 	vbin sunwait
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] sunwait: update to 0.9.1.
  2023-03-28 13:32 [PR PATCH] sunwait: update to 0.9.1 abenson
@ 2023-03-28 13:36 ` abenson
  2023-03-29 19:18 ` abenson
  2023-03-29 19:38 ` [PR PATCH] [Merged]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2023-03-28 13:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

There is an updated pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages sunwait_0.9.1
https://github.com/void-linux/void-packages/pull/43060

sunwait: update to 0.9.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing

```
pkg      host         target        cross  result
sunwait  x86_64       x86_64        n      OK
sunwait  x86_64-musl  x86_64-musl   n      OK
sunwait  i686         i686          n      OK
sunwait  x86_64       aarch64-musl  y      OK
sunwait  x86_64       aarch64       y      OK
sunwait  x86_64       armv7l-musl   y      OK
sunwait  x86_64       armv7l        y      OK
sunwait  x86_64       armv6l-musl   y      OK
sunwait  x86_64       armv6l        y      OK

```

> As of 2019-03-22, the version at GitHub (https://github.com/risacher/sunwait should be considered "current". 


A patch file from https://github.com/void-linux/void-packages/pull/43060.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sunwait_0.9.1-43060.patch --]
[-- Type: text/x-diff, Size: 2077 bytes --]

From bbc163d35010fb456273d2b3170bffdd10242449 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 28 Mar 2023 08:29:03 -0500
Subject: [PATCH] sunwait: update to 0.9.1.

---
 srcpkgs/sunwait/patches/fix-makefile.patch | 20 ++++++++++++++++++++
 srcpkgs/sunwait/template                   | 15 +++++++--------
 2 files changed, 27 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/sunwait/patches/fix-makefile.patch

diff --git a/srcpkgs/sunwait/patches/fix-makefile.patch b/srcpkgs/sunwait/patches/fix-makefile.patch
new file mode 100644
index 000000000000..7b6e453b14a6
--- /dev/null
+++ b/srcpkgs/sunwait/patches/fix-makefile.patch
@@ -0,0 +1,20 @@
+--- a/makefile
++++ b/makefile
+@@ -8,7 +8,7 @@
+ 
+ CFLAGS?=-c -Wall -std=c99 -O2 -Wextra -pedantic
+ CXXFLAGS=-c -Wall 
+-LDFLAGS= -lm 
++LDFLAGS+=-lm 
+ SOURCES=sunwait.c sunriset.c print.c
+ HEADERS=sunwait.h sunriset.h print.h
+ OBJECTS=$(SOURCES:.c=.o)
+@@ -16,7 +16,7 @@
+ all: $(EXECUTABLE)
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) $< -o $@
++	$(CC) -c $(CFLAGS) $< -o $@
+ 
+ $(EXECUTABLE): $(OBJECTS)
+ 	$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
diff --git a/srcpkgs/sunwait/template b/srcpkgs/sunwait/template
index 2110ecacfc74..162a3da535fc 100644
--- a/srcpkgs/sunwait/template
+++ b/srcpkgs/sunwait/template
@@ -1,18 +1,17 @@
 # Template file for 'sunwait'
 pkgname=sunwait
-version=0.20041208
-revision=2
+reverts="0.20041208_1"
+version=0.9.1
+revision=1
 build_style=gnu-makefile
+make_use_env=yes
 short_desc="Small C program calculating sunrise and sunset"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="GPL-2.0-only"
+license="GPL-3.0-only"
 homepage="http://www.risacher.org/sunwait/"
-distfiles="${homepage}${pkgname}-${version##*.}.tar.gz"
-checksum=46ecd64142e0c7c2decac8df241b78ccae0d1b323929fb4d61aa1acc16a9ff96
+distfiles="https://github.com/risacher/sunwait/archive/${version}.tar.gz"
+checksum=02fe8165a60ede67f1d0dc98acf4dfbe40865a215d9bd039f57806f1e100b406
 
-pre_build() {
-	sed -i 's/\(-lm\)/\1 $(LDFLAGS)/' Makefile
-}
 do_install() {
 	vbin sunwait
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] sunwait: update to 0.9.1.
  2023-03-28 13:32 [PR PATCH] sunwait: update to 0.9.1 abenson
  2023-03-28 13:36 ` [PR PATCH] [Updated] " abenson
@ 2023-03-29 19:18 ` abenson
  2023-03-29 19:38 ` [PR PATCH] [Merged]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2023-03-29 19:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

There is an updated pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages sunwait_0.9.1
https://github.com/void-linux/void-packages/pull/43060

sunwait: update to 0.9.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing

```
pkg      host         target        cross  result
sunwait  x86_64       x86_64        n      OK
sunwait  x86_64-musl  x86_64-musl   n      OK
sunwait  i686         i686          n      OK
sunwait  x86_64       aarch64-musl  y      OK
sunwait  x86_64       aarch64       y      OK
sunwait  x86_64       armv7l-musl   y      OK
sunwait  x86_64       armv7l        y      OK
sunwait  x86_64       armv6l-musl   y      OK
sunwait  x86_64       armv6l        y      OK

```

> As of 2019-03-22, the version at GitHub (https://github.com/risacher/sunwait should be considered "current". 


A patch file from https://github.com/void-linux/void-packages/pull/43060.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sunwait_0.9.1-43060.patch --]
[-- Type: text/x-diff, Size: 1840 bytes --]

From 055ace77e7d341276b59553c7abd6eb4dc04fa5a Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 28 Mar 2023 08:29:03 -0500
Subject: [PATCH] sunwait: update to 0.9.1.

---
 srcpkgs/sunwait/patches/fix-makefile.patch | 11 +++++++++++
 srcpkgs/sunwait/template                   | 15 +++++++--------
 2 files changed, 18 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/sunwait/patches/fix-makefile.patch

diff --git a/srcpkgs/sunwait/patches/fix-makefile.patch b/srcpkgs/sunwait/patches/fix-makefile.patch
new file mode 100644
index 000000000000..c34de649e7f2
--- /dev/null
+++ b/srcpkgs/sunwait/patches/fix-makefile.patch
@@ -0,0 +1,11 @@
+--- a/makefile
++++ b/makefile
+@@ -16,7 +16,7 @@
+ all: $(EXECUTABLE)
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) $< -o $@
++	$(CC) -c $(CFLAGS) $< -o $@
+ 
+ $(EXECUTABLE): $(OBJECTS)
+ 	$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
diff --git a/srcpkgs/sunwait/template b/srcpkgs/sunwait/template
index 2110ecacfc74..162a3da535fc 100644
--- a/srcpkgs/sunwait/template
+++ b/srcpkgs/sunwait/template
@@ -1,18 +1,17 @@
 # Template file for 'sunwait'
 pkgname=sunwait
-version=0.20041208
-revision=2
+reverts="0.20041208_1"
+version=0.9.1
+revision=1
 build_style=gnu-makefile
+make_use_env=yes
 short_desc="Small C program calculating sunrise and sunset"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="GPL-2.0-only"
+license="GPL-3.0-only"
 homepage="http://www.risacher.org/sunwait/"
-distfiles="${homepage}${pkgname}-${version##*.}.tar.gz"
-checksum=46ecd64142e0c7c2decac8df241b78ccae0d1b323929fb4d61aa1acc16a9ff96
+distfiles="https://github.com/risacher/sunwait/archive/${version}.tar.gz"
+checksum=02fe8165a60ede67f1d0dc98acf4dfbe40865a215d9bd039f57806f1e100b406
 
-pre_build() {
-	sed -i 's/\(-lm\)/\1 $(LDFLAGS)/' Makefile
-}
 do_install() {
 	vbin sunwait
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: sunwait: update to 0.9.1.
  2023-03-28 13:32 [PR PATCH] sunwait: update to 0.9.1 abenson
  2023-03-28 13:36 ` [PR PATCH] [Updated] " abenson
  2023-03-29 19:18 ` abenson
@ 2023-03-29 19:38 ` abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2023-03-29 19:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

There's a merged pull request on the void-packages repository

sunwait: update to 0.9.1.
https://github.com/void-linux/void-packages/pull/43060

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing

```
pkg      host         target        cross  result
sunwait  x86_64       x86_64        n      OK
sunwait  x86_64-musl  x86_64-musl   n      OK
sunwait  i686         i686          n      OK
sunwait  x86_64       aarch64-musl  y      OK
sunwait  x86_64       aarch64       y      OK
sunwait  x86_64       armv7l-musl   y      OK
sunwait  x86_64       armv7l        y      OK
sunwait  x86_64       armv6l-musl   y      OK
sunwait  x86_64       armv6l        y      OK

```

> As of 2019-03-22, the version at GitHub (https://github.com/risacher/sunwait should be considered "current". 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-29 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 13:32 [PR PATCH] sunwait: update to 0.9.1 abenson
2023-03-28 13:36 ` [PR PATCH] [Updated] " abenson
2023-03-29 19:18 ` abenson
2023-03-29 19:38 ` [PR PATCH] [Merged]: " abenson

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).