Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] I3blocks: update to 1.5
@ 2019-10-05 12:42 voidlinux-github
  2019-10-05 13:04 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 12:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages i3blocks
https://github.com/void-linux/void-packages/pull/15116

I3blocks: update to 1.5


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

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

From b908dd0113e6abce0c225fc17d6252937ffe4e2c Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 17:54:16 +0530
Subject: [PATCH 1/2] sudo: update to 1.8.28rc

---
 srcpkgs/sudo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 9047ac6167a..dc08482c6f1 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
 # Template file for 'sudo'
 pkgname=sudo
-version=1.8.27
+version=1.8.28rc2
 revision=1
 build_style=gnu-configure
 configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -14,8 +14,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="ISC"
 homepage="https://www.sudo.ws/"
 changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
-distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd33e2ec0
+distfiles="https://www.sudo.ws/dist/beta/sudo-${version}.tar.gz"
+checksum=7f7943562235a6377fff419b39ea8553a579964327a33060978ac244c5f68db9
 conf_files="/etc/pam.d/sudo /etc/sudoers"
 lib32disabled=yes
 

From a6ac115dc771ac521f861699a9cfc25244814cc6 Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 2/2] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 12 +++---
 2 files changed, 5 insertions(+), 61 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..f315cbd9d5e 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
+makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 make_build_args="SYSCONFDIR=/etc"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+   bash $wrksrc/autogen.sh
+   bash $wrksrc/configure --prefix=/usr/
 }

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

* Re: [PR PATCH] [Updated] I3blocks: update to 1.5
  2019-10-05 12:42 [PR PATCH] I3blocks: update to 1.5 voidlinux-github
  2019-10-05 13:04 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-05 13:04 ` voidlinux-github
  2019-10-05 13:09 ` voidlinux-github
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 13:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages i3blocks
https://github.com/void-linux/void-packages/pull/15116

I3blocks: update to 1.5


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

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

From b908dd0113e6abce0c225fc17d6252937ffe4e2c Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 17:54:16 +0530
Subject: [PATCH 1/3] sudo: update to 1.8.28rc

---
 srcpkgs/sudo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 9047ac6167a..dc08482c6f1 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
 # Template file for 'sudo'
 pkgname=sudo
-version=1.8.27
+version=1.8.28rc2
 revision=1
 build_style=gnu-configure
 configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -14,8 +14,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="ISC"
 homepage="https://www.sudo.ws/"
 changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
-distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd33e2ec0
+distfiles="https://www.sudo.ws/dist/beta/sudo-${version}.tar.gz"
+checksum=7f7943562235a6377fff419b39ea8553a579964327a33060978ac244c5f68db9
 conf_files="/etc/pam.d/sudo /etc/sudoers"
 lib32disabled=yes
 

From a6ac115dc771ac521f861699a9cfc25244814cc6 Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 2/3] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 12 +++---
 2 files changed, 5 insertions(+), 61 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..f315cbd9d5e 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
+makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 make_build_args="SYSCONFDIR=/etc"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+   bash $wrksrc/autogen.sh
+   bash $wrksrc/configure --prefix=/usr/
 }

From 55900a08cf42857ea89827e26348a3d66029474d Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 3/3] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 14 +++----
 2 files changed, 6 insertions(+), 62 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
+make_build_args="SYSCONFDIR=/etc"
+makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
-make_build_args="SYSCONFDIR=/etc"
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+	bash $wrksrc/autogen.sh
+	bash $wrksrc/configure --prefix=/usr/
 }

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

* Re: [PR PATCH] [Updated] I3blocks: update to 1.5
  2019-10-05 12:42 [PR PATCH] I3blocks: update to 1.5 voidlinux-github
@ 2019-10-05 13:04 ` voidlinux-github
  2019-10-05 13:04 ` voidlinux-github
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 13:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages i3blocks
https://github.com/void-linux/void-packages/pull/15116

I3blocks: update to 1.5


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

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

From b908dd0113e6abce0c225fc17d6252937ffe4e2c Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 17:54:16 +0530
Subject: [PATCH 1/3] sudo: update to 1.8.28rc

---
 srcpkgs/sudo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 9047ac6167a..dc08482c6f1 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
 # Template file for 'sudo'
 pkgname=sudo
-version=1.8.27
+version=1.8.28rc2
 revision=1
 build_style=gnu-configure
 configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -14,8 +14,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="ISC"
 homepage="https://www.sudo.ws/"
 changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
-distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd33e2ec0
+distfiles="https://www.sudo.ws/dist/beta/sudo-${version}.tar.gz"
+checksum=7f7943562235a6377fff419b39ea8553a579964327a33060978ac244c5f68db9
 conf_files="/etc/pam.d/sudo /etc/sudoers"
 lib32disabled=yes
 

From a6ac115dc771ac521f861699a9cfc25244814cc6 Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 2/3] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 12 +++---
 2 files changed, 5 insertions(+), 61 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..f315cbd9d5e 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
+makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 make_build_args="SYSCONFDIR=/etc"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+   bash $wrksrc/autogen.sh
+   bash $wrksrc/configure --prefix=/usr/
 }

From 55900a08cf42857ea89827e26348a3d66029474d Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 3/3] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 14 +++----
 2 files changed, 6 insertions(+), 62 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
+make_build_args="SYSCONFDIR=/etc"
+makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
-make_build_args="SYSCONFDIR=/etc"
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+	bash $wrksrc/autogen.sh
+	bash $wrksrc/configure --prefix=/usr/
 }

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

* Re: [PR PATCH] [Updated] I3blocks: update to 1.5
  2019-10-05 12:42 [PR PATCH] I3blocks: update to 1.5 voidlinux-github
  2019-10-05 13:04 ` [PR PATCH] [Updated] " voidlinux-github
  2019-10-05 13:04 ` voidlinux-github
@ 2019-10-05 13:09 ` voidlinux-github
  2019-10-05 13:09 ` voidlinux-github
  2019-10-05 13:10 ` [PR PATCH] [Closed]: " voidlinux-github
  4 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 13:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages i3blocks
https://github.com/void-linux/void-packages/pull/15116

I3blocks: update to 1.5


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

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

From b908dd0113e6abce0c225fc17d6252937ffe4e2c Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 17:54:16 +0530
Subject: [PATCH 1/4] sudo: update to 1.8.28rc

---
 srcpkgs/sudo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 9047ac6167a..dc08482c6f1 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
 # Template file for 'sudo'
 pkgname=sudo
-version=1.8.27
+version=1.8.28rc2
 revision=1
 build_style=gnu-configure
 configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -14,8 +14,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="ISC"
 homepage="https://www.sudo.ws/"
 changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
-distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd33e2ec0
+distfiles="https://www.sudo.ws/dist/beta/sudo-${version}.tar.gz"
+checksum=7f7943562235a6377fff419b39ea8553a579964327a33060978ac244c5f68db9
 conf_files="/etc/pam.d/sudo /etc/sudoers"
 lib32disabled=yes
 

From a6ac115dc771ac521f861699a9cfc25244814cc6 Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 2/4] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 12 +++---
 2 files changed, 5 insertions(+), 61 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..f315cbd9d5e 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
+makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 make_build_args="SYSCONFDIR=/etc"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+   bash $wrksrc/autogen.sh
+   bash $wrksrc/configure --prefix=/usr/
 }

From 55900a08cf42857ea89827e26348a3d66029474d Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 3/4] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 14 +++----
 2 files changed, 6 insertions(+), 62 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
+make_build_args="SYSCONFDIR=/etc"
+makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
-make_build_args="SYSCONFDIR=/etc"
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+	bash $wrksrc/autogen.sh
+	bash $wrksrc/configure --prefix=/usr/
 }

From f014a26638bbd6a6aa04795e3ca956ca601ccd5e Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:38:47 +0530
Subject: [PATCH 4/4] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/template | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index d77f5ef261b..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -7,21 +7,12 @@ make_build_args="SYSCONFDIR=/etc"
 makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
-makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
-<<<<<<< HEAD
 
 pre_build() {
 	bash $wrksrc/autogen.sh
 	bash $wrksrc/configure --prefix=/usr/
-=======
-make_build_args="SYSCONFDIR=/etc"
-
-pre_build() {
-   bash $wrksrc/autogen.sh
-   bash $wrksrc/configure --prefix=/usr/
->>>>>>> a6ac115dc771ac521f861699a9cfc25244814cc6
 }

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

* Re: [PR PATCH] [Updated] I3blocks: update to 1.5
  2019-10-05 12:42 [PR PATCH] I3blocks: update to 1.5 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-05 13:09 ` voidlinux-github
@ 2019-10-05 13:09 ` voidlinux-github
  2019-10-05 13:10 ` [PR PATCH] [Closed]: " voidlinux-github
  4 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 13:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages i3blocks
https://github.com/void-linux/void-packages/pull/15116

I3blocks: update to 1.5


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

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

From b908dd0113e6abce0c225fc17d6252937ffe4e2c Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 17:54:16 +0530
Subject: [PATCH 1/4] sudo: update to 1.8.28rc

---
 srcpkgs/sudo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 9047ac6167a..dc08482c6f1 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
 # Template file for 'sudo'
 pkgname=sudo
-version=1.8.27
+version=1.8.28rc2
 revision=1
 build_style=gnu-configure
 configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -14,8 +14,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="ISC"
 homepage="https://www.sudo.ws/"
 changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
-distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd33e2ec0
+distfiles="https://www.sudo.ws/dist/beta/sudo-${version}.tar.gz"
+checksum=7f7943562235a6377fff419b39ea8553a579964327a33060978ac244c5f68db9
 conf_files="/etc/pam.d/sudo /etc/sudoers"
 lib32disabled=yes
 

From a6ac115dc771ac521f861699a9cfc25244814cc6 Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 2/4] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 12 +++---
 2 files changed, 5 insertions(+), 61 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..f315cbd9d5e 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
+makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 make_build_args="SYSCONFDIR=/etc"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+   bash $wrksrc/autogen.sh
+   bash $wrksrc/configure --prefix=/usr/
 }

From 55900a08cf42857ea89827e26348a3d66029474d Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:10:17 +0530
Subject: [PATCH 3/4] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 14 +++----
 2 files changed, 6 insertions(+), 62 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
+make_build_args="SYSCONFDIR=/etc"
+makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
-make_build_args="SYSCONFDIR=/etc"
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+	bash $wrksrc/autogen.sh
+	bash $wrksrc/configure --prefix=/usr/
 }

From f014a26638bbd6a6aa04795e3ca956ca601ccd5e Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:38:47 +0530
Subject: [PATCH 4/4] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/template | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index d77f5ef261b..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -7,21 +7,12 @@ make_build_args="SYSCONFDIR=/etc"
 makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
-makedepends="automake pkg-config"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
-<<<<<<< HEAD
 
 pre_build() {
 	bash $wrksrc/autogen.sh
 	bash $wrksrc/configure --prefix=/usr/
-=======
-make_build_args="SYSCONFDIR=/etc"
-
-pre_build() {
-   bash $wrksrc/autogen.sh
-   bash $wrksrc/configure --prefix=/usr/
->>>>>>> a6ac115dc771ac521f861699a9cfc25244814cc6
 }

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

* Re: [PR PATCH] [Closed]: I3blocks: update to 1.5
  2019-10-05 12:42 [PR PATCH] I3blocks: update to 1.5 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-05 13:09 ` voidlinux-github
@ 2019-10-05 13:10 ` voidlinux-github
  4 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 13:10 UTC (permalink / raw)
  To: ml

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

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

I3blocks: update to 1.5
https://github.com/void-linux/void-packages/pull/15116

Description:


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

* [PR PATCH] I3blocks: update to 1.5
@ 2019-10-05 13:17 voidlinux-github
  0 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05 13:17 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages i3blocks
https://github.com/void-linux/void-packages/pull/15117

I3blocks: update to 1.5


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

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

From b908dd0113e6abce0c225fc17d6252937ffe4e2c Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 17:54:16 +0530
Subject: [PATCH 1/2] sudo: update to 1.8.28rc

---
 srcpkgs/sudo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 9047ac6167a..dc08482c6f1 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
 # Template file for 'sudo'
 pkgname=sudo
-version=1.8.27
+version=1.8.28rc2
 revision=1
 build_style=gnu-configure
 configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -14,8 +14,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="ISC"
 homepage="https://www.sudo.ws/"
 changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
-distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd33e2ec0
+distfiles="https://www.sudo.ws/dist/beta/sudo-${version}.tar.gz"
+checksum=7f7943562235a6377fff419b39ea8553a579964327a33060978ac244c5f68db9
 conf_files="/etc/pam.d/sudo /etc/sudoers"
 lib32disabled=yes
 

From a0d2283d183f6a179be241da68f6d5e76b6f4df8 Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 18:46:01 +0530
Subject: [PATCH 2/2] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 14 +++----
 2 files changed, 6 insertions(+), 62 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..806b51699a1 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,18 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
+make_build_args="SYSCONFDIR=/etc"
+makedepends="automake pkg-config autoconf"
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
 license="GPL-3"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
-make_build_args="SYSCONFDIR=/etc"
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+	bash $wrksrc/autogen.sh
+	bash $wrksrc/configure --prefix=/usr/
 }

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

* [PR PATCH] i3blocks: update to 1.5
@ 2019-10-05  6:16 voidlinux-github
  0 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-05  6:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pratSureka/void-packages master
https://github.com/void-linux/void-packages/pull/15107

i3blocks: update to 1.5


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

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

From fc34012ef28232321bebe553a082b0fcc9c6ed0b Mon Sep 17 00:00:00 2001
From: Pratyush Sureka <pratsure@gmail.com>
Date: Sat, 5 Oct 2019 11:41:14 +0530
Subject: [PATCH] i3blocks: update to 1.5

---
 srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
 srcpkgs/i3blocks/template               | 13 +++---
 2 files changed, 6 insertions(+), 61 deletions(-)
 delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch

diff --git a/srcpkgs/i3blocks/patches/fix_musl.patch b/srcpkgs/i3blocks/patches/fix_musl.patch
deleted file mode 100644
index 04c09f8368a..00000000000
--- a/srcpkgs/i3blocks/patches/fix_musl.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- src/sched.c.orig	2017-05-20 13:31:34.109614479 +0300
-+++ src/sched.c	2017-05-20 13:34:25.934611402 +0300
-@@ -31,7 +31,7 @@
- #include "json.h"
- #include "log.h"
- 
--static sigset_t sigset;
-+static sigset_t sigset_ng;
- 
- static int
- gcd(int a, int b)
-@@ -88,13 +88,13 @@
- static int
- setup_signals(void)
- {
--	if (sigemptyset(&sigset) == -1) {
-+	if (sigemptyset(&sigset_ng) == -1) {
- 		errorx("sigemptyset");
- 		return 1;
- 	}
- 
- #define ADD_SIG(_sig) \
--	if (sigaddset(&sigset, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
-+	if (sigaddset(&sigset_ng, _sig) == -1) { errorx("sigaddset(%d)", _sig); return 1; }
- 
- 	/* Control signals */
- 	ADD_SIG(SIGTERM);
-@@ -125,7 +125,7 @@
- #undef ADD_SIG
- 
- 	/* Block signals for which we are interested in waiting */
--	if (sigprocmask(SIG_SETMASK, &sigset, NULL) == -1) {
-+	if (sigprocmask(SIG_SETMASK, &sigset_ng, NULL) == -1) {
- 		errorx("sigprocmask");
- 		return 1;
- 	}
-@@ -164,7 +164,7 @@
- 	bar_poll_timed(bar);
- 
- 	while (1) {
--		sig = sigwaitinfo(&sigset, &siginfo);
-+		sig = sigwaitinfo(&sigset_ng, &siginfo);
- 		if (sig == -1) {
- 			/* Hiding the bar may interrupt this system call */
- 			if (errno == EINTR)
-@@ -212,7 +212,7 @@
- 	 * Unblock signals (so subsequent syscall can be interrupted)
- 	 * and wait for child processes termination.
- 	 */
--	if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1)
-+	if (sigprocmask(SIG_UNBLOCK, &sigset_ng, NULL) == -1)
- 		errorx("sigprocmask");
- 	while (waitpid(-1, NULL, 0) > 0)
- 		continue;
diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template
index 97393c50c78..14040000500 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,19 @@
 # Template file for 'i3blocks'
 pkgname=i3blocks
-version=1.4
+version=1.5
 revision=4
 build_style=gnu-makefile
 short_desc="Flexible scheduler for i3bar"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
+makedepends="automake pkg-config"
 license="GPL-3"
+targetdir="/usr/bin"
 homepage="https://github.com/vivien/$pkgname"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=c9bd2854b7902aa6821fdf8c83b5123c10b90a52f9bcc67225ff57f25d28b4b0
+checksum="41764d771043d0c06c23d75b1e3ca6b2b94279191483d03f10c5e034d6722ebf"
 make_build_args="SYSCONFDIR=/etc"
 
 pre_build() {
-	# Do not build man pages since we don't have ronn:
-	sed -i '/install.*share\/man\/man1/d' Makefile
-	sed -i 's/install: all man/install: all/' Makefile
-
-	sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+   bash $wrksrc/autogen.sh
+   bash $wrksrc/configure --prefix=/usr/bin
 }

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

end of thread, other threads:[~2019-10-05 13:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05 12:42 [PR PATCH] I3blocks: update to 1.5 voidlinux-github
2019-10-05 13:04 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-05 13:04 ` voidlinux-github
2019-10-05 13:09 ` voidlinux-github
2019-10-05 13:09 ` voidlinux-github
2019-10-05 13:10 ` [PR PATCH] [Closed]: " voidlinux-github
  -- strict thread matches above, loose matches on Subject: below --
2019-10-05 13:17 [PR PATCH] " voidlinux-github
2019-10-05  6:16 [PR PATCH] i3blocks: " voidlinux-github

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