* [PR PATCH] New package: wired-notify-0.10.2
@ 2022-10-05 12:29 fccapria
2022-10-05 12:33 ` abenson
` (53 more replies)
0 siblings, 54 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 12:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
There is a new 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: 1231 bytes --]
From 5442d9bc4672399a39884bd214c70429fec5369a 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/wired-notify/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..e37a91fad81a
--- /dev/null
+++ b/srcpkgs/wired-notify/template
@@ -0,0 +1,20 @@
+# Template file for 'wired-notify'
+pkgname=wired-notify
+version=0.10.2
+revision=1
+archs="i686 x86_64"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="rust cargo pango-devel libXScrnSaver-devel libglib-devel"
+depends="dbus xorg cairo pango"
+short_desc="Lightweight notification daemon written in Rust"
+maintainer="Francesco Carmelo Capria <francesco@capria.eu>"
+license="MIT"
+homepage="https://github.com/Toqozz/wired-notify"
+#changelog=""
+distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
+checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
@ 2022-10-05 12:33 ` abenson
2022-10-05 12:34 ` [PR REVIEW] " abenson
` (52 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2022-10-05 12:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268375996
Comment:
Please don't open/close PRs, it makes it harder for us to track them.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
2022-10-05 12:33 ` abenson
@ 2022-10-05 12:34 ` abenson
2022-10-05 12:35 ` abenson
` (51 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2022-10-05 12:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r987869264
Comment:
Why is this restricted?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 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
` (50 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2022-10-05 12:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 240 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r987870173
Comment:
`rust` and `cargo` would go in `hostmakedepends`, but they are implied by `build_style=cargo`
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (2 preceding siblings ...)
2022-10-05 12:35 ` abenson
@ 2022-10-05 12:35 ` abenson
2022-10-05 12:36 ` abenson
` (49 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2022-10-05 12:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r987870478
Comment:
These `depends` will be automatically detected, if needed.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (3 preceding siblings ...)
2022-10-05 12:35 ` abenson
@ 2022-10-05 12:36 ` abenson
2022-10-05 12:37 ` abenson
` (48 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2022-10-05 12:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r987871241
Comment:
If there's no changelog, just remove the whole line.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (4 preceding siblings ...)
2022-10-05 12:36 ` abenson
@ 2022-10-05 12:37 ` abenson
2022-10-05 12:40 ` fccapria
` (47 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2022-10-05 12:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268379728
Comment:
When you make the requested changes, you can use `git commit --amend` to apply to the existing commit, and then `git push -f` to update the PR.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (5 preceding siblings ...)
2022-10-05 12:37 ` abenson
@ 2022-10-05 12:40 ` fccapria
2022-10-05 12:42 ` fccapria
` (46 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 12:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268382740
Comment:
> Please don't open/close PRs, it makes it harder for us to track them.
Sorry, I created the first branch with an incorrect name.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (6 preceding siblings ...)
2022-10-05 12:40 ` fccapria
@ 2022-10-05 12:42 ` fccapria
2022-10-05 14:04 ` [PR PATCH] [Updated] " fccapria
` (45 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 12:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268384684
Comment:
Anyway thanks for all these reviews.
I will correct all these points, do another build and if successful I will update the PR.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (7 preceding siblings ...)
2022-10-05 12:42 ` fccapria
@ 2022-10-05 14:04 ` fccapria
2022-10-05 14:34 ` fccapria
` (44 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 14:04 UTC (permalink / raw)
To: ml
[-- 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: 2412 bytes --]
From 5442d9bc4672399a39884bd214c70429fec5369a 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 1/2] New package: wired-notify-0.10.2
---
srcpkgs/wired-notify/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..e37a91fad81a
--- /dev/null
+++ b/srcpkgs/wired-notify/template
@@ -0,0 +1,20 @@
+# Template file for 'wired-notify'
+pkgname=wired-notify
+version=0.10.2
+revision=1
+archs="i686 x86_64"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="rust cargo pango-devel libXScrnSaver-devel libglib-devel"
+depends="dbus xorg cairo pango"
+short_desc="Lightweight notification daemon written in Rust"
+maintainer="Francesco Carmelo Capria <francesco@capria.eu>"
+license="MIT"
+homepage="https://github.com/Toqozz/wired-notify"
+#changelog=""
+distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
+checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
+
+post_install() {
+ vlicense LICENSE
+}
From 71c54324222787d5a380850eac36c7054ee5ff9f Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 15:58:46 +0200
Subject: [PATCH 2/2] Update template
---
srcpkgs/wired-notify/template | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
index e37a91fad81a..184459312d6a 100644
--- a/srcpkgs/wired-notify/template
+++ b/srcpkgs/wired-notify/template
@@ -2,16 +2,13 @@
pkgname=wired-notify
version=0.10.2
revision=1
-archs="i686 x86_64"
build_style=cargo
hostmakedepends="pkg-config"
-makedepends="rust cargo pango-devel libXScrnSaver-devel libglib-devel"
-depends="dbus xorg cairo pango"
+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"
-#changelog=""
distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (8 preceding siblings ...)
2022-10-05 14:04 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-05 14:34 ` fccapria
2022-10-05 14:43 ` fccapria
` (43 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 14:34 UTC (permalink / raw)
To: ml
[-- 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: 2412 bytes --]
From 5442d9bc4672399a39884bd214c70429fec5369a 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 1/2] New package: wired-notify-0.10.2
---
srcpkgs/wired-notify/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..e37a91fad81a
--- /dev/null
+++ b/srcpkgs/wired-notify/template
@@ -0,0 +1,20 @@
+# Template file for 'wired-notify'
+pkgname=wired-notify
+version=0.10.2
+revision=1
+archs="i686 x86_64"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="rust cargo pango-devel libXScrnSaver-devel libglib-devel"
+depends="dbus xorg cairo pango"
+short_desc="Lightweight notification daemon written in Rust"
+maintainer="Francesco Carmelo Capria <francesco@capria.eu>"
+license="MIT"
+homepage="https://github.com/Toqozz/wired-notify"
+#changelog=""
+distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
+checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
+
+post_install() {
+ vlicense LICENSE
+}
From 71c54324222787d5a380850eac36c7054ee5ff9f Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 15:58:46 +0200
Subject: [PATCH 2/2] Update template
---
srcpkgs/wired-notify/template | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
index e37a91fad81a..184459312d6a 100644
--- a/srcpkgs/wired-notify/template
+++ b/srcpkgs/wired-notify/template
@@ -2,16 +2,13 @@
pkgname=wired-notify
version=0.10.2
revision=1
-archs="i686 x86_64"
build_style=cargo
hostmakedepends="pkg-config"
-makedepends="rust cargo pango-devel libXScrnSaver-devel libglib-devel"
-depends="dbus xorg cairo pango"
+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"
-#changelog=""
distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (9 preceding siblings ...)
2022-10-05 14:34 ` fccapria
@ 2022-10-05 14:43 ` fccapria
2022-10-05 14:56 ` CameronNemo
` (42 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268384684
Comment:
Anyway thanks for all these reviews.
I will correct all these points, do another build and if successful I will update the PR.
----------------- update
I committed the new templete, unfortunately without putting the amend flag as I had a small problem in changing the branch used previously with the current one.
Hope this isn't a problem.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (10 preceding siblings ...)
2022-10-05 14:43 ` fccapria
@ 2022-10-05 14:56 ` CameronNemo
2022-10-05 15:31 ` [PR PATCH] [Updated] " fccapria
` (41 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: CameronNemo @ 2022-10-05 14:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 458 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268544887
Comment:
> Hope this isn't a problem.
It should not be an issue because you can do an interactive rebase and squash all of the commits into the first one, then force push. You should end up with a single commit with the message "New package: wired-notify-0.10.2". Commands are `git rebase -i master` and `git push -f`.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (11 preceding siblings ...)
2022-10-05 14:56 ` CameronNemo
@ 2022-10-05 15:31 ` fccapria
2022-10-05 15:52 ` fccapria
` (40 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 15:31 UTC (permalink / raw)
To: ml
[-- 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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (12 preceding siblings ...)
2022-10-05 15:31 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-05 15:52 ` fccapria
2022-10-05 16:51 ` CameronNemo
` (39 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 15:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268580955
Comment:
> > Hope this isn't a problem.
>
> It should not be an issue because you can do an interactive rebase and squash all of the commits into the first one, then force push. You should end up with a single commit with the message "New package: wired-notify-0.10.2". Commands are `git rebase -i master` and `git push -f`.
Thank you very much, you have been very helpful!
I just rebased and reduced everything to a commit.
The only small thing is that I made a merge before by mistake and then all the commits in that merge were inserted in the first one.
I hope it's all fine now.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (13 preceding siblings ...)
2022-10-05 15:52 ` fccapria
@ 2022-10-05 16:51 ` CameronNemo
2022-10-05 17:16 ` [PR PATCH] [Updated] " fccapria
` (38 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: CameronNemo @ 2022-10-05 16:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268685451
Comment:
Uh... no. You should get rid of those changes and only keep your changes.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (14 preceding siblings ...)
2022-10-05 16:51 ` CameronNemo
@ 2022-10-05 17:16 ` fccapria
2022-10-05 17:20 ` fccapria
` (37 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 17:16 UTC (permalink / raw)
To: ml
[-- 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: 1119 bytes --]
From 4426b52d005c15e88fb22d0693648f79224386c7 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] fix
---
srcpkgs/wired-notify/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (15 preceding siblings ...)
2022-10-05 17:16 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-05 17:20 ` fccapria
2022-10-05 17:24 ` fccapria
` (36 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 17:20 UTC (permalink / raw)
To: ml
[-- 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: 1148 bytes --]
From 506aa4e9c8d71a5c9fac8e6e9179716f98a8fe33 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] New package: wired-notify-0.10.2
---
srcpkgs/wired-notify/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (16 preceding siblings ...)
2022-10-05 17:20 ` fccapria
@ 2022-10-05 17:24 ` fccapria
2022-10-05 21:27 ` [PR REVIEW] " classabbyamp
` (35 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 17:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1268719619
Comment:
> Uh... no. You should get rid of those changes and only keep your changes.
Yes, unfortunately I realized this after I actually did a very stupid thing..
Having said that, I think I have solved!
I'm sorry that I created an absurd fuss for such a simple thing, but first I panicked and did a merge that ruined everything.
Fortunately, after several rebases I have fixed it, I think.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (17 preceding siblings ...)
2022-10-05 17:24 ` fccapria
@ 2022-10-05 21:27 ` classabbyamp
2022-10-05 21:47 ` [PR PATCH] [Updated] " fccapria
` (34 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-05 21:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r988369155
Comment:
```suggestion
vlicense LICENSE
```
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (18 preceding siblings ...)
2022-10-05 21:27 ` [PR REVIEW] " classabbyamp
@ 2022-10-05 21:47 ` fccapria
2022-10-05 21:59 ` fccapria
` (33 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 21:47 UTC (permalink / raw)
To: ml
[-- 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: 1992 bytes --]
From 506aa4e9c8d71a5c9fac8e6e9179716f98a8fe33 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/2] New package: wired-notify-0.10.2
---
srcpkgs/wired-notify/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
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
+}
From f9a002f5614b02cf5daa537c9bbdb8d21d9d9988 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 23:47:56 +0200
Subject: [PATCH 2/2] Update srcpkgs/wired-notify/template
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
index 184459312d6a..1eede5da9e8c 100644
--- a/srcpkgs/wired-notify/template
+++ b/srcpkgs/wired-notify/template
@@ -13,5 +13,5 @@ distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.t
checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
post_install() {
- vlicense LICENSE
+ vlicense LICENSE
}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (19 preceding siblings ...)
2022-10-05 21:47 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-05 21:59 ` fccapria
2022-10-05 22:00 ` fccapria
` (32 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 21:59 UTC (permalink / raw)
To: ml
[-- 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: 2673 bytes --]
From 506aa4e9c8d71a5c9fac8e6e9179716f98a8fe33 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/3] New package: wired-notify-0.10.2
---
srcpkgs/wired-notify/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
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
+}
From f9a002f5614b02cf5daa537c9bbdb8d21d9d9988 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 23:47:56 +0200
Subject: [PATCH 2/3] Update srcpkgs/wired-notify/template
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
index 184459312d6a..1eede5da9e8c 100644
--- a/srcpkgs/wired-notify/template
+++ b/srcpkgs/wired-notify/template
@@ -13,5 +13,5 @@ distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.t
checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
post_install() {
- vlicense LICENSE
+ vlicense LICENSE
}
From 5a5a8ab9457056867c3446f524722e2ce0e27f15 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 23:59:16 +0200
Subject: [PATCH 3/3] Update template
---
srcpkgs/wired-notify/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
index 1eede5da9e8c..ef0c1e2485b9 100644
--- a/srcpkgs/wired-notify/template
+++ b/srcpkgs/wired-notify/template
@@ -2,6 +2,7 @@
pkgname=wired-notify
version=0.10.2
revision=1
+archs="x86_64 i686"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="pango-devel libXScrnSaver-devel libglib-devel"
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (20 preceding siblings ...)
2022-10-05 21:59 ` fccapria
@ 2022-10-05 22:00 ` fccapria
2022-10-05 22:02 ` classabbyamp
` (31 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 22:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269026099
Comment:
I added the specific architectures as at the moment the software should only be available for these two.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (21 preceding siblings ...)
2022-10-05 22:00 ` fccapria
@ 2022-10-05 22:02 ` classabbyamp
2022-10-05 22:02 ` classabbyamp
` (30 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-05 22:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 151 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269027397
Comment:
why?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (22 preceding siblings ...)
2022-10-05 22:02 ` classabbyamp
@ 2022-10-05 22:02 ` classabbyamp
2022-10-05 22:10 ` fccapria
` (29 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-05 22:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269027397
Comment:
why? what prevents it from running on arm/ppc/etc?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (23 preceding siblings ...)
2022-10-05 22:02 ` classabbyamp
@ 2022-10-05 22:10 ` fccapria
2022-10-05 22:47 ` classabbyamp
` (28 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 22:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269033320
Comment:
> why? what prevents it from running on arm/ppc/etc?
Checking the various build templates for other distros of the same package only the x86_64 and i686 architectures are specified.
I haven't tried to build for the other architectures myself but the build checks that GitHub did have failed so I thought I'd specify these two architectures.
Can I remove the specified architectures even if the build fails?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (24 preceding siblings ...)
2022-10-05 22:10 ` fccapria
@ 2022-10-05 22:47 ` classabbyamp
2022-10-05 23:07 ` fccapria
` (27 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-05 22:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269070921
Comment:
many other distros don't support the architectures void supports.
the build only failed on 32-bit architectures (i686, armv6l, and armv7l).
[the error](https://github.com/void-linux/void-packages/actions/runs/3191379385/jobs/5210738618#step:7:406) was caused by the upstream not ensuring their types matched, i.e. they were not checking if [this `u64`](https://github.com/Toqozz/wired-notify/blob/4bb3dfff38934c47be818f497af65d1e3a01311c/src/config.rs#L120) and [this `c_ulong`](https://docs.rs/x11/2.20.0/x11/xss/struct.XScreenSaverInfo.html#structfield.idle) could actually be compared ([`c_ulong`](https://doc.rust-lang.org/nightly/std/os/raw/type.c_ulong.html) can be `u32` or `u64`). there may be other errors (because the devs obviously aren't testing anything on 32-bit systems), but this one can be fixed by (or something similar):
```diff
- if info.idle / 1000 >= threshold {
+ if (info.idle as u64) / 1000 >= threshold {
```
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (25 preceding siblings ...)
2022-10-05 22:47 ` classabbyamp
@ 2022-10-05 23:07 ` fccapria
2022-10-05 23:10 ` classabbyamp
` (26 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 23:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269087155
Comment:
> many other distros don't support the architectures void supports.
Wow, i get it.
> the build only failed on 32-bit architectures (i686, armv6l, and armv7l).
>
> [the error](https://github.com/void-linux/void-packages/actions/runs/3191379385/jobs/5210738618#step:7:406) was caused by the upstream not ensuring their types matched, i.e. they were not checking if [this `u64`](https://github.com/Toqozz/wired-notify/blob/4bb3dfff38934c47be818f497af65d1e3a01311c/src/config.rs#L120) and [this `c_ulong`](https://docs.rs/x11/2.20.0/x11/xss/struct.XScreenSaverInfo.html#structfield.idle) could actually be compared ([`c_ulong`](https://doc.rust-lang.org/nightly/std/os/raw/type.c_ulong.html) can be `u32` or `u64`). there may be other errors (because the devs obviously aren't testing anything on 32-bit systems), but this one can be fixed by (or something similar):
>
> ```diff
> - if info.idle / 1000 >= threshold {
> + if (info.idle as u64) / 1000 >= threshold {
> ```
Yes, I noticed that unfortunately only the 32-bit build was not successful .. in this case what should I do? Create a patch to apply to the source to fix the problem?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (26 preceding siblings ...)
2022-10-05 23:07 ` fccapria
@ 2022-10-05 23:10 ` classabbyamp
2022-10-05 23:14 ` fccapria
` (25 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-05 23:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269088786
Comment:
yes, i would suggest patching this and making a pull request upstream as well with the fixes
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (27 preceding siblings ...)
2022-10-05 23:10 ` classabbyamp
@ 2022-10-05 23:14 ` fccapria
2022-10-05 23:22 ` classabbyamp
` (24 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-05 23:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269092473
Comment:
Okay perfect, thanks a lot! I'll try to solve and then create another pull request. In the meantime, do I leave this pull request active or do I close it?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (28 preceding siblings ...)
2022-10-05 23:14 ` fccapria
@ 2022-10-05 23:22 ` classabbyamp
2022-10-06 1:52 ` CameronNemo
` (23 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-05 23:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269097994
Comment:
leave it open
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (29 preceding siblings ...)
2022-10-05 23:22 ` classabbyamp
@ 2022-10-06 1:52 ` CameronNemo
2022-10-06 10:35 ` [PR PATCH] [Updated] " fccapria
` (22 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: CameronNemo @ 2022-10-06 1:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269203655
Comment:
Yeah the general approach is to keep the same branch and PR, and rebase, amend commits, and force push when you make changes.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (30 preceding siblings ...)
2022-10-06 1:52 ` CameronNemo
@ 2022-10-06 10:35 ` fccapria
2022-10-06 10:39 ` fccapria
` (21 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-06 10:35 UTC (permalink / raw)
To: ml
[-- 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: 3129 bytes --]
From 506aa4e9c8d71a5c9fac8e6e9179716f98a8fe33 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/3] New package: wired-notify-0.10.2
---
srcpkgs/wired-notify/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/wired-notify/template
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
+}
From f9a002f5614b02cf5daa537c9bbdb8d21d9d9988 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 23:47:56 +0200
Subject: [PATCH 2/3] Update srcpkgs/wired-notify/template
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
index 184459312d6a..1eede5da9e8c 100644
--- a/srcpkgs/wired-notify/template
+++ b/srcpkgs/wired-notify/template
@@ -13,5 +13,5 @@ distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.t
checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
post_install() {
- vlicense LICENSE
+ vlicense LICENSE
}
From a5e776d3995ae8835b828b5d6d0546255fdac84a Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Wed, 5 Oct 2022 23:59:16 +0200
Subject: [PATCH 3/3] Update template
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..22075f963681
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,7 +143,7 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (31 preceding siblings ...)
2022-10-06 10:35 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-06 10:39 ` fccapria
2022-10-06 10:41 ` fccapria
` (20 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-06 10:39 UTC (permalink / raw)
To: ml
[-- 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: 2105 bytes --]
From fe96348dcfc6947da9432a1a066ca4fc9c598bd8 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..22075f963681
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,7 +143,7 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (32 preceding siblings ...)
2022-10-06 10:39 ` fccapria
@ 2022-10-06 10:41 ` fccapria
2022-10-06 10:45 ` fccapria
` (19 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-06 10:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269785803
Comment:
Hi, I just updated the commit with the patch for 32-bit architectures.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (33 preceding siblings ...)
2022-10-06 10:41 ` fccapria
@ 2022-10-06 10:45 ` fccapria
2022-10-08 1:50 ` classabbyamp
` (18 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-06 10:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1269785803
Comment:
Hi, I just updated the commit with the patch for 32-bit architectures.
I have tried the build in both x64 and x86 and it finishes successfully.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (34 preceding siblings ...)
2022-10-06 10:45 ` fccapria
@ 2022-10-08 1:50 ` classabbyamp
2022-10-08 10:20 ` [PR PATCH] [Updated] " fccapria
` (17 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-08 1:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1272193960
Comment:
I see this message in do_install:
```
warning: package `crossbeam-utils v0.8.5` in Cargo.lock is yanked in registry `crates-io`
```
let's import [this patch](https://github.com/Toqozz/wired-notify/commit/a3211fea137754fcde216fc035ab8321f9a484b9.patch)
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (35 preceding siblings ...)
2022-10-08 1:50 ` classabbyamp
@ 2022-10-08 10:20 ` fccapria
2022-10-08 10:21 ` fccapria
` (16 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 10:20 UTC (permalink / raw)
To: ml
[-- 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: 4269 bytes --]
From fe96348dcfc6947da9432a1a066ca4fc9c598bd8 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/2] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..22075f963681
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,7 +143,7 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
From 38d1652ad4e5b408fb84ca7dec82a57b214984e9 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Sat, 8 Oct 2022 12:19:46 +0200
Subject: [PATCH 2/2] fix
---
srcpkgs/wired-notify/patches/32bit.patch | 9 ++++++++-
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
index 22075f963681..47b16505cc83 100644
--- a/srcpkgs/wired-notify/patches/32bit.patch
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -1,6 +1,6 @@
--- a/src/manager.rs
+++ b/src/manager.rs
-@@ -143,7 +143,7 @@
+@@ -143,13 +143,13 @@
if let Some(threshold) = Config::get().idle_threshold {
match maths_utility::query_screensaver_info(&self.base_window) {
Ok(info) => {
@@ -9,3 +9,10 @@
self.layout_windows
.values_mut()
.flatten()
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ }
+ },
+ Err(e) => eprintln!("{}", e),
+ }
+ }
+ }
\ No newline at end of file
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (36 preceding siblings ...)
2022-10-08 10:20 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-08 10:21 ` fccapria
2022-10-08 10:24 ` fccapria
` (15 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 10:21 UTC (permalink / raw)
To: ml
[-- 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: 5243 bytes --]
From fe96348dcfc6947da9432a1a066ca4fc9c598bd8 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/3] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..22075f963681
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,7 +143,7 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
From 38d1652ad4e5b408fb84ca7dec82a57b214984e9 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Sat, 8 Oct 2022 12:19:46 +0200
Subject: [PATCH 2/3] fix
---
srcpkgs/wired-notify/patches/32bit.patch | 9 ++++++++-
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
index 22075f963681..47b16505cc83 100644
--- a/srcpkgs/wired-notify/patches/32bit.patch
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -1,6 +1,6 @@
--- a/src/manager.rs
+++ b/src/manager.rs
-@@ -143,7 +143,7 @@
+@@ -143,13 +143,13 @@
if let Some(threshold) = Config::get().idle_threshold {
match maths_utility::query_screensaver_info(&self.base_window) {
Ok(info) => {
@@ -9,3 +9,10 @@
self.layout_windows
.values_mut()
.flatten()
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ }
+ },
+ Err(e) => eprintln!("{}", e),
+ }
+ }
+ }
\ No newline at end of file
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
From fc77bfa8eb439545343bc6d400dc72527a45a1a9 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Sat, 8 Oct 2022 12:21:25 +0200
Subject: [PATCH 3/3] fix 2
---
srcpkgs/wired-notify/patches/32bit.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
index 47b16505cc83..3a74ec0ede54 100644
--- a/srcpkgs/wired-notify/patches/32bit.patch
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -1,6 +1,6 @@
--- a/src/manager.rs
+++ b/src/manager.rs
-@@ -143,13 +143,13 @@
+@@ -143,14 +143,14 @@
if let Some(threshold) = Config::get().idle_threshold {
match maths_utility::query_screensaver_info(&self.base_window) {
Ok(info) => {
@@ -15,4 +15,4 @@
Err(e) => eprintln!("{}", e),
}
}
- }
\ No newline at end of file
+ }
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (37 preceding siblings ...)
2022-10-08 10:21 ` fccapria
@ 2022-10-08 10:24 ` fccapria
2022-10-08 10:29 ` fccapria
` (14 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 10:24 UTC (permalink / raw)
To: ml
[-- 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: 3268 bytes --]
From 86674aa745b96a7b674fd61c9d0e790568a1af59 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 18 ++++++++++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..3a74ec0ede54
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,18 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,14 +143,14 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ }
+ },
+ Err(e) => eprintln!("{}", e),
+ }
+ }
+ }
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (38 preceding siblings ...)
2022-10-08 10:24 ` fccapria
@ 2022-10-08 10:29 ` fccapria
2022-10-08 14:05 ` [PR PATCH] [Updated] " fccapria
` (13 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 10:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
New comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#issuecomment-1272288081
Comment:
Hi, I didn't really see that warning, thanks!
Anyway, I just added the new patch and modified the one for 32 bit architectures because it brought a warning during the patching phase.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (39 preceding siblings ...)
2022-10-08 10:29 ` fccapria
@ 2022-10-08 14:05 ` fccapria
2022-10-08 14:09 ` fccapria
` (12 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 14:05 UTC (permalink / raw)
To: ml
[-- 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: 4579 bytes --]
From 86674aa745b96a7b674fd61c9d0e790568a1af59 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/2] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 18 ++++++++++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..3a74ec0ede54
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,18 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,14 +143,14 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ }
+ },
+ Err(e) => eprintln!("{}", e),
+ }
+ }
+ }
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
From dd0b925e2b01a7e4f48356e078c890b7df4b38da Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Sat, 8 Oct 2022 16:04:13 +0200
Subject: [PATCH 2/2] fix
---
srcpkgs/wired-notify/patches/32bit.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
index 3a74ec0ede54..29d32ae10c21 100644
--- a/srcpkgs/wired-notify/patches/32bit.patch
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -1,6 +1,6 @@
--- a/src/manager.rs
+++ b/src/manager.rs
-@@ -143,14 +143,14 @@
+@@ -143,6 +143,6 @@
if let Some(threshold) = Config::get().idle_threshold {
match maths_utility::query_screensaver_info(&self.base_window) {
Ok(info) => {
@@ -9,10 +9,10 @@
self.layout_windows
.values_mut()
.flatten()
- .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
}
},
Err(e) => eprintln!("{}", e),
}
}
- }
+ }
\ No newline at end of file
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (40 preceding siblings ...)
2022-10-08 14:05 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-08 14:09 ` fccapria
2022-10-08 19:11 ` [PR REVIEW] " classabbyamp
` (11 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 14:09 UTC (permalink / raw)
To: ml
[-- 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: 3267 bytes --]
From 656a9e6a756534fbe53b0699a3833b116a8afc97 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 18 ++++++++++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..29d32ae10c21
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,18 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,6 +143,6 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ }
+ },
+ Err(e) => eprintln!("{}", e),
+ }
+ }
+ }
\ No newline at end of file
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (41 preceding siblings ...)
2022-10-08 14:09 ` fccapria
@ 2022-10-08 19:11 ` classabbyamp
2022-10-08 19:29 ` fccapria
` (10 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-08 19:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990677900
Comment:
```suggestion
```
I don't think this section is necessary for patching properly
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (42 preceding siblings ...)
2022-10-08 19:11 ` [PR REVIEW] " classabbyamp
@ 2022-10-08 19:29 ` fccapria
2022-10-08 19:37 ` fccapria
` (9 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 19:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
New review comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990679522
Comment:
In truth, even in my opinion it is not necessary ..
The only reason I inserted those extra lines is because during the patch phase I was getting two errors (both `patch unexpectedly ends in middle of line`).
By inserting those lines I should have deleted one, although the other still remains.
If you think I can delete them, I change them immediately, also because without all those superfluous lines the patch is much cleaner.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (43 preceding siblings ...)
2022-10-08 19:29 ` fccapria
@ 2022-10-08 19:37 ` fccapria
2022-10-08 19:46 ` classabbyamp
` (8 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 19:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
New review comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990679522
Comment:
In truth, even in my opinion it is not necessary ..
The only reason I inserted those extra lines is because during the patch phase I was getting two warnings (both `patch unexpectedly ends in middle of line`).
By inserting those lines I should have deleted one, although the other still remains.
If you think I can delete them, I change them immediately, also because without all those superfluous lines the patch is much cleaner.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (44 preceding siblings ...)
2022-10-08 19:37 ` fccapria
@ 2022-10-08 19:46 ` classabbyamp
2022-10-08 19:53 ` fccapria
` (7 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-08 19:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990680940
Comment:
hmm *removing* these lines removed that warning for me
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (45 preceding siblings ...)
2022-10-08 19:46 ` classabbyamp
@ 2022-10-08 19:53 ` fccapria
2022-10-08 19:53 ` [PR PATCH] [Updated] " fccapria
` (6 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 19:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New review comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990688922
Comment:
Ah, wow, I remove them instantly!
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (46 preceding siblings ...)
2022-10-08 19:53 ` fccapria
@ 2022-10-08 19:53 ` fccapria
2022-10-08 19:54 ` fccapria
` (5 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 19:53 UTC (permalink / raw)
To: ml
[-- 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: 4476 bytes --]
From 656a9e6a756534fbe53b0699a3833b116a8afc97 Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/2] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 18 ++++++++++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..29d32ae10c21
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,18 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,6 +143,6 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
+ .for_each(|w| w.update_mode = UpdateModes::DRAW);
+ }
+ },
+ Err(e) => eprintln!("{}", e),
+ }
+ }
+ }
\ No newline at end of file
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
From ad332a9b3d7ac77e8c663217276169e06a913e8b Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <62179193+fccapria@users.noreply.github.com>
Date: Sat, 8 Oct 2022 21:53:19 +0200
Subject: [PATCH 2/2] Update srcpkgs/wired-notify/patches/32bit.patch
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
index 29d32ae10c21..7a23cf56f68d 100644
--- a/srcpkgs/wired-notify/patches/32bit.patch
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -8,11 +8,4 @@
+ if info.idle as u64 / 1000 >= threshold {
self.layout_windows
.values_mut()
- .flatten()
- .for_each(|w| w.update_mode = UpdateModes::DRAW);
- }
- },
- Err(e) => eprintln!("{}", e),
- }
- }
- }
\ No newline at end of file
+ .flatten()
\ No newline at end of file
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (47 preceding siblings ...)
2022-10-08 19:53 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-08 19:54 ` fccapria
2022-10-08 20:00 ` [PR REVIEW] " classabbyamp
` (4 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 19:54 UTC (permalink / raw)
To: ml
[-- 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: 3134 bytes --]
From 78bc302c4456b8b2d7ab22a151e7fdd7c0e6cfbc Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 46 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..7a23cf56f68d
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,6 +143,6 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
\ No newline at end of file
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (48 preceding siblings ...)
2022-10-08 19:54 ` fccapria
@ 2022-10-08 20:00 ` classabbyamp
2022-10-08 20:09 ` fccapria
` (3 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-08 20:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990689513
Comment:
ok, I think I know what's going on. your editor isn't adding a newline at the end of the file, so it's not the exact same as what's in the file its patching. `echo "" >> srcpkgs/wired-notify/patches/32bit.patch` should fix it now I think
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR REVIEW] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (49 preceding siblings ...)
2022-10-08 20:00 ` [PR REVIEW] " classabbyamp
@ 2022-10-08 20:09 ` fccapria
2022-10-08 20:14 ` [PR PATCH] [Updated] " fccapria
` (2 subsequent siblings)
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 20:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
New review comment by fccapria on void-packages repository
https://github.com/void-linux/void-packages/pull/39738#discussion_r990690296
Comment:
Oh, I get it.
So as soon as the check builds finish I add the newline.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (50 preceding siblings ...)
2022-10-08 20:09 ` fccapria
@ 2022-10-08 20:14 ` fccapria
2022-10-08 20:14 ` fccapria
2022-10-08 20:31 ` [PR PATCH] [Merged]: " classabbyamp
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 20:14 UTC (permalink / raw)
To: ml
[-- 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: 3966 bytes --]
From 78bc302c4456b8b2d7ab22a151e7fdd7c0e6cfbc Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH 1/2] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 46 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..7a23cf56f68d
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,6 +143,6 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
\ No newline at end of file
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
From 2bcb17c8a13412db4faf44f76383205aadd35dbb Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Sat, 8 Oct 2022 22:13:37 +0200
Subject: [PATCH 2/2] Newline fix
---
srcpkgs/wired-notify/patches/32bit.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
index 7a23cf56f68d..d03cd2254589 100644
--- a/srcpkgs/wired-notify/patches/32bit.patch
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -8,4 +8,4 @@
+ if info.idle as u64 / 1000 >= threshold {
self.layout_windows
.values_mut()
- .flatten()
\ No newline at end of file
+ .flatten()
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Updated] New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (51 preceding siblings ...)
2022-10-08 20:14 ` [PR PATCH] [Updated] " fccapria
@ 2022-10-08 20:14 ` fccapria
2022-10-08 20:31 ` [PR PATCH] [Merged]: " classabbyamp
53 siblings, 0 replies; 55+ messages in thread
From: fccapria @ 2022-10-08 20:14 UTC (permalink / raw)
To: ml
[-- 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: 3028 bytes --]
From 9423d057423a7822dd1cbdc56cc9d9e6dfa7bb3f Mon Sep 17 00:00:00 2001
From: Francesco Carmelo Capria <francesco@capria.eu>
Date: Wed, 5 Oct 2022 19:15:16 +0200
Subject: [PATCH] New package: wired-notify-0.10.2
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/wired-notify/patches/32bit.patch | 11 +++++++++++
.../patches/crossbeam-utils_update.patch | 18 ++++++++++++++++++
srcpkgs/wired-notify/template | 17 +++++++++++++++++
3 files changed, 46 insertions(+)
create mode 100644 srcpkgs/wired-notify/patches/32bit.patch
create mode 100644 srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
create mode 100644 srcpkgs/wired-notify/template
diff --git a/srcpkgs/wired-notify/patches/32bit.patch b/srcpkgs/wired-notify/patches/32bit.patch
new file mode 100644
index 000000000000..d03cd2254589
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/32bit.patch
@@ -0,0 +1,11 @@
+--- a/src/manager.rs
++++ b/src/manager.rs
+@@ -143,6 +143,6 @@
+ if let Some(threshold) = Config::get().idle_threshold {
+ match maths_utility::query_screensaver_info(&self.base_window) {
+ Ok(info) => {
+- if info.idle / 1000 >= threshold {
++ if info.idle as u64 / 1000 >= threshold {
+ self.layout_windows
+ .values_mut()
+ .flatten()
diff --git a/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
new file mode 100644
index 000000000000..6b1bb4403a30
--- /dev/null
+++ b/srcpkgs/wired-notify/patches/crossbeam-utils_update.patch
@@ -0,0 +1,18 @@
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -319,12 +319,12 @@ dependencies = [
+
+ [[package]]
+ name = "crossbeam-utils"
+-version = "0.8.5"
++version = "0.8.11"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
++checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
+ dependencies = [
+ "cfg-if 1.0.0",
+- "lazy_static",
++ "once_cell",
+ ]
+
+ [[package]]
diff --git a/srcpkgs/wired-notify/template b/srcpkgs/wired-notify/template
new file mode 100644
index 000000000000..1eede5da9e8c
--- /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
+}
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: [PR PATCH] [Merged]: New package: wired-notify-0.10.2
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 fccapria
` (52 preceding siblings ...)
2022-10-08 20:14 ` fccapria
@ 2022-10-08 20:31 ` classabbyamp
53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-10-08 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 937 bytes --]
There's a merged pull request on the void-packages repository
New package: wired-notify-0.10.2
https://github.com/void-linux/void-packages/pull/39738
Description:
<!-- 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)
^ permalink raw reply [flat|nested] 55+ messages in thread
end of thread, other threads:[~2022-10-08 20:31 UTC | newest]
Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 12:29 [PR PATCH] New package: wired-notify-0.10.2 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 ` [PR PATCH] [Updated] " fccapria
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
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).