Github messages for voidlinux
 help / color / mirror / Atom feed
From: fccapria <fccapria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
Date: Wed, 05 Oct 2022 17:31:15 +0200	[thread overview]
Message-ID: <20221005153115.1eDg3BngCvlWSGOXhw9t89V2tYp2HtfA4Px0zjPp1jU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39738@inbox.vuxu.org>

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

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

https://github.com/fccapria/void-packages wired-notify
https://github.com/void-linux/void-packages/pull/39738

New package: wired-notify-0.10.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)



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

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

From 41855bad915f54548203bdc4ccc9f476d4fdbcb8 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 14:02:33 +0200
Subject: [PATCH] New package: wired-notify-0.10.2

---
 srcpkgs/drumkv1/template                      |  6 +--
 srcpkgs/keyd/files/keyd/run                   |  9 ++++
 srcpkgs/keyd/template                         |  2 +-
 srcpkgs/padthv1/template                      |  6 +--
 srcpkgs/samplv1/template                      |  6 +--
 srcpkgs/synthv1/template                      |  6 +--
 .../fix-build-with-binutils-2.38.patch        | 42 +++++++++++++++++++
 srcpkgs/u-boot-tools/template                 |  4 +-
 srcpkgs/wired-notify/template                 | 17 ++++++++
 9 files changed, 83 insertions(+), 15 deletions(-)
 create mode 100644 srcpkgs/u-boot-tools/patches/fix-build-with-binutils-2.38.patch
 create mode 100644 srcpkgs/wired-notify/template

diff --git a/srcpkgs/drumkv1/template b/srcpkgs/drumkv1/template
index 866c71aba2ed..02c6ca17a803 100644
--- a/srcpkgs/drumkv1/template
+++ b/srcpkgs/drumkv1/template
@@ -1,6 +1,6 @@
 # Template file for 'drumkv1'
 pkgname=drumkv1
-version=0.9.26
+version=0.9.27
 revision=1
 build_style=cmake
 hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
@@ -11,5 +11,5 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://drumkv1.sourceforge.io/"
 changelog="https://github.com/rncbc/drumkv1/raw/master/ChangeLog"
-distfiles="https://download.sourceforge.net/drumkv1/drumkv1-${version}.tar.gz"
-checksum=1149811ae195dd08e835d87fa23f644660a7dbda271afab4b57c9ec51eee0548
+distfiles="${SOURCEFORGE_SITE}/drumkv1/drumkv1-${version}.tar.gz"
+checksum=433b247794e6fdf9b32929fb52ee7135808b25b8be19d574a3b6068857f92649
diff --git a/srcpkgs/keyd/files/keyd/run b/srcpkgs/keyd/files/keyd/run
index 868cb747ab6c..5e62cef91c72 100644
--- a/srcpkgs/keyd/files/keyd/run
+++ b/srcpkgs/keyd/files/keyd/run
@@ -1,2 +1,11 @@
 #!/bin/sh
+
+# Sometimes when starting the keyd service, the keyboard can become unresponsive.
+# This is the result of keyd starting when the early udevd process is still running but
+# before the udevd runit service has started. The udevd runit service kills the early udevd
+# process causing the keyboard to become unresponsive until the keyd process has been
+# terminated. The below code verifies that the supervised udevd process is the same as
+# the currently running udevd process.
+[ "$(cat /var/service/udevd/supervise/pid)" = "$(pgrep -x udevd)" ] || exit 1
+
 exec keyd
diff --git a/srcpkgs/keyd/template b/srcpkgs/keyd/template
index 39b6aeaff0ae..b9d4b6aefe24 100644
--- a/srcpkgs/keyd/template
+++ b/srcpkgs/keyd/template
@@ -1,7 +1,7 @@
 # Template file for 'keyd'
 pkgname=keyd
 version=2.4.1
-revision=1
+revision=2
 build_style=gnu-makefile
 make_use_env=yes
 short_desc="Key remapping daemon for linux"
diff --git a/srcpkgs/padthv1/template b/srcpkgs/padthv1/template
index 181a84267632..184a5017da3b 100644
--- a/srcpkgs/padthv1/template
+++ b/srcpkgs/padthv1/template
@@ -1,6 +1,6 @@
 # Template file for 'padthv1'
 pkgname=padthv1
-version=0.9.26
+version=0.9.27
 revision=1
 build_style=cmake
 hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
@@ -11,5 +11,5 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://padthv1.sourceforge.io/"
 changelog="https://github.com/rncbc/padthv1/raw/master/ChangeLog"
-distfiles="https://download.sourceforge.net/padthv1/padthv1-${version}.tar.gz"
-checksum=813f818d6c6c66b403937c66a7729ea85226eab17db0992334441613c903ef0a
+distfiles="${SOURCEFORGE_SITE}/padthv1/padthv1-${version}.tar.gz"
+checksum=a4969fc144d4440ecd81e83ddce535a477cae732f27f479c0d77af085e02b579
diff --git a/srcpkgs/samplv1/template b/srcpkgs/samplv1/template
index 62dc3cf39b54..de5f2b556813 100644
--- a/srcpkgs/samplv1/template
+++ b/srcpkgs/samplv1/template
@@ -1,6 +1,6 @@
 # Template file for 'samplv1'
 pkgname=samplv1
-version=0.9.26
+version=0.9.27
 revision=1
 build_style=cmake
 hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
@@ -11,5 +11,5 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://samplv1.sourceforge.io/"
 changelog="https://github.com/rncbc/samplv1/raw/master/ChangeLog"
-distfiles="https://download.sourceforge.net/samplv1/samplv1-${version}.tar.gz"
-checksum=91b680d97efad89dcb98221b9cc7df733dcc8a437666184ba862c2341c1c1fe7
+distfiles="${SOURCEFORGE_SITE}/samplv1/samplv1-${version}.tar.gz"
+checksum=7ef99b6b7912faf7ba7df937d72a463562249daa96126aad9313158d0b67ad73
diff --git a/srcpkgs/synthv1/template b/srcpkgs/synthv1/template
index e4e6913ca355..95507391a281 100644
--- a/srcpkgs/synthv1/template
+++ b/srcpkgs/synthv1/template
@@ -1,6 +1,6 @@
 # Template file for 'synthv1'
 pkgname=synthv1
-version=0.9.26
+version=0.9.27
 revision=1
 build_style=cmake
 hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
@@ -10,5 +10,5 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://synthv1.sourceforge.io/"
 changelog="https://github.com/rncbc/synthv1/raw/master/ChangeLog"
-distfiles="https://download.sourceforge.net/synthv1/synthv1-${version}.tar.gz"
-checksum=8d551fc7572feeac2f1676b4a8915e1e20f5a7f2075044335d7bb840069c51ab
+distfiles="${SOURCEFORGE_SITE}/synthv1/synthv1-${version}.tar.gz"
+checksum=6fb3edefad2af719b80cdf890780f4dbac95a14ebdf0a471671f2723cb8b0c8f
diff --git a/srcpkgs/u-boot-tools/patches/fix-build-with-binutils-2.38.patch b/srcpkgs/u-boot-tools/patches/fix-build-with-binutils-2.38.patch
new file mode 100644
index 000000000000..08e389f54c48
--- /dev/null
+++ b/srcpkgs/u-boot-tools/patches/fix-build-with-binutils-2.38.patch
@@ -0,0 +1,42 @@
+>From version 2.38, binutils default to ISA spec version 20191213. This
+means that the csr read/write (csrr*/csrw*) instructions and fence.i
+instruction has separated from the `I` extension, become two standalone
+extensions: Zicsr and Zifencei. As the kernel uses those instruction,
+this causes the following build failure:
+
+arch/riscv/cpu/mtrap.S: Assembler messages:
+arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
+arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
+arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
+arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
+
+Signed-off-by: Alexandre Ghiti <alexandre.ghiti at canonical.com>
+---
+ arch/riscv/Makefile | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
+index 0b80eb8d86..53d1194ffb 100644
+--- a/arch/riscv/Makefile
++++ b/arch/riscv/Makefile
+@@ -24,7 +24,16 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y)
+ 	CMODEL = medany
+ endif
+ 
+-ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \
++RISCV_MARCH = $(ARCH_BASE)$(ARCH_A)$(ARCH_C)
++
++# Newer binutils versions default to ISA spec version 20191213 which moves some
++# instructions from the I extension to the Zicsr and Zifencei extensions.
++toolchain-need-zicsr-zifencei := $(call cc-option-yn, -mabi=$(ABI) -march=$(RISCV_MARCH)_zicsr_zifencei)
++ifeq ($(toolchain-need-zicsr-zifencei),y)
++	RISCV_MARCH := $(RISCV_MARCH)_zicsr_zifencei
++endif
++
++ARCH_FLAGS = -march=$(RISCV_MARCH) -mabi=$(ABI) \
+ 	     -mcmodel=$(CMODEL)
+ 
+ PLATFORM_CPPFLAGS	+= $(ARCH_FLAGS)
+-- 
+2.32.0
+
diff --git a/srcpkgs/u-boot-tools/template b/srcpkgs/u-boot-tools/template
index 0ca8e34429cb..77c53dc7858e 100644
--- a/srcpkgs/u-boot-tools/template
+++ b/srcpkgs/u-boot-tools/template
@@ -1,6 +1,6 @@
 # Template file for 'u-boot-tools'
 pkgname=u-boot-tools
-version=2022.07
+version=2022.10
 revision=1
 wrksrc="u-boot-${version}"
 build_style=gnu-makefile
@@ -13,7 +13,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://www.denx.de/wiki/U-Boot/"
 distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
-checksum=92b08eb49c24da14c1adbf70a71ae8f37cc53eeb4230e859ad8b6733d13dcf5e
+checksum=50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8
 
 if [ "$CROSS_BUILD" ]; then
 	make_build_args+=" CROSS_BUILD_TOOLS=y CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..184459312d6a
--- /dev/null
+++ b/srcpkgs/wired-notify/template
@@ -0,0 +1,17 @@
+# Template file for 'wired-notify'
+pkgname=wired-notify
+version=0.10.2
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="pango-devel libXScrnSaver-devel libglib-devel"
+short_desc="Lightweight notification daemon written in Rust"
+maintainer="Francesco Carmelo Capria <francesco@capria.eu>"
+license="MIT"
+homepage="https://github.com/Toqozz/wired-notify"
+distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
+checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
+
+post_install() {
+	       vlicense LICENSE
+}

  parent reply	other threads:[~2022-10-05 15:31 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05 12:29 [PR PATCH] " fccapria
2022-10-05 12:33 ` abenson
2022-10-05 12:34 ` [PR REVIEW] " abenson
2022-10-05 12:35 ` abenson
2022-10-05 12:35 ` abenson
2022-10-05 12:36 ` abenson
2022-10-05 12:37 ` abenson
2022-10-05 12:40 ` fccapria
2022-10-05 12:42 ` fccapria
2022-10-05 14:04 ` [PR PATCH] [Updated] " fccapria
2022-10-05 14:34 ` fccapria
2022-10-05 14:43 ` fccapria
2022-10-05 14:56 ` CameronNemo
2022-10-05 15:31 ` fccapria [this message]
2022-10-05 15:52 ` fccapria
2022-10-05 16:51 ` CameronNemo
2022-10-05 17:16 ` [PR PATCH] [Updated] " fccapria
2022-10-05 17:20 ` fccapria
2022-10-05 17:24 ` fccapria
2022-10-05 21:27 ` [PR REVIEW] " classabbyamp
2022-10-05 21:47 ` [PR PATCH] [Updated] " fccapria
2022-10-05 21:59 ` fccapria
2022-10-05 22:00 ` fccapria
2022-10-05 22:02 ` classabbyamp
2022-10-05 22:02 ` classabbyamp
2022-10-05 22:10 ` fccapria
2022-10-05 22:47 ` classabbyamp
2022-10-05 23:07 ` fccapria
2022-10-05 23:10 ` classabbyamp
2022-10-05 23:14 ` fccapria
2022-10-05 23:22 ` classabbyamp
2022-10-06  1:52 ` CameronNemo
2022-10-06 10:35 ` [PR PATCH] [Updated] " fccapria
2022-10-06 10:39 ` fccapria
2022-10-06 10:41 ` fccapria
2022-10-06 10:45 ` fccapria
2022-10-08  1:50 ` classabbyamp
2022-10-08 10:20 ` [PR PATCH] [Updated] " fccapria
2022-10-08 10:21 ` fccapria
2022-10-08 10:24 ` fccapria
2022-10-08 10:29 ` fccapria
2022-10-08 14:05 ` [PR PATCH] [Updated] " fccapria
2022-10-08 14:09 ` fccapria
2022-10-08 19:11 ` [PR REVIEW] " classabbyamp
2022-10-08 19:29 ` fccapria
2022-10-08 19:37 ` fccapria
2022-10-08 19:46 ` classabbyamp
2022-10-08 19:53 ` fccapria
2022-10-08 19:53 ` [PR PATCH] [Updated] " fccapria
2022-10-08 19:54 ` fccapria
2022-10-08 20:00 ` [PR REVIEW] " classabbyamp
2022-10-08 20:09 ` fccapria
2022-10-08 20:14 ` [PR PATCH] [Updated] " fccapria
2022-10-08 20:14 ` fccapria
2022-10-08 20:31 ` [PR PATCH] [Merged]: " classabbyamp

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=20221005153115.1eDg3BngCvlWSGOXhw9t89V2tYp2HtfA4Px0zjPp1jU@z \
    --to=fccapria@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).