From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] I3blocks update
Date: Wed, 23 Oct 2019 16:01:44 +0200 [thread overview]
Message-ID: <20191023140144.CW1yKXcpUHZteMo323d_Z4tIMlZE__JCOEKQpNoclqc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13639@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages i3blocks-update
https://github.com/void-linux/void-packages/pull/13639
I3blocks update
A patch file from https://github.com/void-linux/void-packages/pull/13639.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-i3blocks-update-13639.patch --]
[-- Type: text/x-diff, Size: 5048 bytes --]
From 5e30af83ab1f4cf9ea96136fba0f8878cb4d3115 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 23 Oct 2019 16:00:44 +0200
Subject: [PATCH] i3blocks: update to 1.5.0
---
srcpkgs/i3blocks-blocklets/template | 20 +++++++++
srcpkgs/i3blocks/INSTALL.msg | 6 +--
srcpkgs/i3blocks/patches/fix_musl.patch | 54 -------------------------
srcpkgs/i3blocks/template | 24 ++++++-----
4 files changed, 34 insertions(+), 70 deletions(-)
create mode 100644 srcpkgs/i3blocks-blocklets/template
delete mode 100644 srcpkgs/i3blocks/patches/fix_musl.patch
diff --git a/srcpkgs/i3blocks-blocklets/template b/srcpkgs/i3blocks-blocklets/template
new file mode 100644
index 00000000000..76668dc64b5
--- /dev/null
+++ b/srcpkgs/i3blocks-blocklets/template
@@ -0,0 +1,20 @@
+# Template file for 'i3blocks-blocklets'
+pkgname=i3blocks-blocklets
+version=1.4.0
+revision=1
+archs=noarch
+wrksrc="i3blocks-contrib-${version}"
+depends="i3blocks>=1.5"
+short_desc="Flexible scheduler for i3bar"
+maintainer="teldra <teldra@rotce.de>"
+license="GPL-3.0-or-later, GPL-3.0-only, GPL-2.0-only"
+homepage="https://github.com/vivien/i3blocks-contrib"
+distfiles="https://github.com/vivien/i3blocks-contrib/archive/v${version}.tar.gz"
+checksum=84148bf8f514de3b3dcaedeb5621e9640f96423d06759b7072507a15d0b6337f
+
+do_install() {
+ vconf config.example i3blocks-blocklets.conf.example
+ rm -rf .git CONTRIBUTING.md README.md ISSUE_TEMPLATE.md LICENSE.md .gitignore
+ vmkdir usr/share/examples/i3blocks/
+ vcopy * usr/share/examples/i3blocks/
+}
diff --git a/srcpkgs/i3blocks/INSTALL.msg b/srcpkgs/i3blocks/INSTALL.msg
index 4aef33be370..bc9a955de12 100644
--- a/srcpkgs/i3blocks/INSTALL.msg
+++ b/srcpkgs/i3blocks/INSTALL.msg
@@ -1,5 +1 @@
-Some of the included scripts may use external tools which must be installed:
- acpi: used by the battery script
- lm_sensors: used by the temperature script
- playerctl: used by the mediaplayer script
- sysstat: used by the cpu_usage script
+Blocklets are in optional package 'i3blocks-blocklets' now and need to be configured individually.
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..80438ea3627 100644
--- a/srcpkgs/i3blocks/template
+++ b/srcpkgs/i3blocks/template
@@ -1,20 +1,22 @@
# Template file for 'i3blocks'
pkgname=i3blocks
-version=1.4
-revision=4
-build_style=gnu-makefile
+version=1.5
+revision=1
+build_style=gnu-configure
+make_build_args="SYSCONFDIR=/etc"
+hostmakedepends="autoconf automake pkg-config"
+makedepends="bash-completion"
short_desc="Flexible scheduler for i3bar"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
-license="GPL-3"
+license="GPL-3.0-or-later"
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
+pre_configure() {
+ ./autogen.sh
+}
- sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
+post_install() {
+ vconf i3blocks.conf
}
next prev parent reply other threads:[~2019-10-23 14:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13639@inbox.vuxu.org>
2019-10-23 13:54 ` voidlinux-github
2019-10-23 13:54 ` voidlinux-github
2019-10-23 14:01 ` voidlinux-github
2019-10-23 14:01 ` voidlinux-github [this message]
2019-10-23 14:02 ` [PR PATCH] [Closed]: " voidlinux-github
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=20191023140144.CW1yKXcpUHZteMo323d_Z4tIMlZE__JCOEKQpNoclqc@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).