Github messages for voidlinux
 help / color / mirror / Atom feed
From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] batsignal: update to 1.5.0.
Date: Mon, 25 Jul 2022 14:36:17 +0200	[thread overview]
Message-ID: <20220725123617.RSlP95Mgc8CzUObvT5tsRoFm9BQhSwGZZ3iu2K9pUrI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38252@inbox.vuxu.org>

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

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

https://github.com/motorto/void-packages batsignal-1.5.0
https://github.com/void-linux/void-packages/pull/38252

batsignal: update to 1.5.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### Local build testing
- I built this PR locally for my native architecture, x86_64{glibc,musl}

https://github.com/electrickite/batsignal/issues/21

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-batsignal-1.5.0-38252.patch --]
[-- Type: text/x-diff, Size: 2449 bytes --]

From 038dfd2c39154eb72c93c2f0eb95e03f0a3c7caa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 24 Jul 2022 21:03:08 +0100
Subject: [PATCH] batsignal: update to 1.5.0.

---
 srcpkgs/batsignal/patches/makefile.patch | 36 ++++++++++++++++++++++++
 srcpkgs/batsignal/template               |  5 ++--
 2 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/batsignal/patches/makefile.patch

diff --git a/srcpkgs/batsignal/patches/makefile.patch b/srcpkgs/batsignal/patches/makefile.patch
new file mode 100644
index 000000000000..659298e6d20a
--- /dev/null
+++ b/srcpkgs/batsignal/patches/makefile.patch
@@ -0,0 +1,36 @@
+Patched by sgn
+
+--- a/Makefile
++++ b/Makefile
+@@ -3,7 +3,6 @@
+ NAME = batsignal
+ VERSION != grep VERSION version.h | cut -d \" -f2
+ 
+-CC = cc
+ RM = rm -f
+ INSTALL = install
+ SED = sed
+@@ -17,19 +16,19 @@ MANPREFIX=$(MANPREFIX.$(PREFIX))
+ 
+ INCLUDES != pkg-config --cflags libnotify
+ CFLAGS_EXTRA = -pedantic -Wall -Wextra -Werror -Wno-unused-parameter -Os
+-CFLAGS := $(CFLAGS_EXTRA) -std=c11 $(INCLUDES)
++CFLAGS := $(CFLAGS_EXTRA) -std=c11 $(INCLUDES) $(CFLAGS)
+ 
+ LIBS != pkg-config --libs libnotify
+ LIBS := $(LIBS) -lm
+ LDFLAGS_EXTRA = -s
+-LDFLAGS := $(LIBS) $(LDFLAGS_EXTRA)
++LDFLAGS := $(LDFLAGS_EXTRA) $(CFLAGS) $(LDFLAGS)
+ 
+ all: $(NAME) $(NAME).1
+ 
+ $(NAME).o: version.h
+ 
+ $(NAME): $(NAME).o
+-	$(CC) -o $(NAME) $(NAME).o $(LDFLAGS)
++	$(CC) -o $(NAME) $(LDFLAGS) $(NAME).o $(LIBS)
+ 
+ $(NAME).1: $(NAME).1.in version.h
+ 	$(SED) "s/VERSION/$(VERSION)/g" < $(NAME).1.in > $@
+
diff --git a/srcpkgs/batsignal/template b/srcpkgs/batsignal/template
index a8d55e6ad30f..7550155ce5a0 100644
--- a/srcpkgs/batsignal/template
+++ b/srcpkgs/batsignal/template
@@ -1,9 +1,8 @@
 # Template file for 'batsignal'
 pkgname=batsignal
-version=1.3.2
+version=1.5.0
 revision=1
 build_style=gnu-makefile
-make_use_env=yes
 hostmakedepends="pkg-config"
 makedepends="libnotify-devel"
 short_desc="Simple battery monitor"
@@ -11,7 +10,7 @@ maintainer="André Cerqueira <acerqueira021@gmail.com>"
 license="ISC"
 homepage="https://github.com/electrickite/batsignal"
 distfiles="https://github.com/electrickite/batsignal/archive/${version}.tar.gz"
-checksum=d8ecb26435b4a49f804ebc2bc1f18215a4c7cfd2a5de7e2a1ccef5263e1c04e7
+checksum=be3196bac5f369348123d78cacc3d20d29005a8bc93bcbc4541231843a5a7f5f
 
 post_install() {
 	vlicense LICENSE

  parent reply	other threads:[~2022-07-25 12:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 20:13 [PR PATCH] " motorto
2022-07-24 21:29 ` [PR PATCH] [Updated] " motorto
2022-07-25  8:15 ` motorto
2022-07-25 11:23 ` [PR REVIEW] " sgn
2022-07-25 11:23 ` sgn
2022-07-25 11:24 ` sgn
2022-07-25 11:33 ` [PR PATCH] [Updated] " motorto
2022-07-25 11:35 ` motorto
2022-07-25 12:04 ` [PR PATCH] [Updated] " sgn
2022-07-25 12:05 ` sgn
2022-07-25 12:08 ` sgn
2022-07-25 12:13 ` [PR PATCH] [Updated] " sgn
2022-07-25 12:36 ` motorto [this message]
2022-07-25 12:38 ` motorto
2022-07-25 12:43 ` motorto
2022-07-25 14:26 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220725123617.RSlP95Mgc8CzUObvT5tsRoFm9BQhSwGZZ3iu2K9pUrI@z \
    --to=motorto@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).