GNU bug report logs -
#63645
[PATCH] gnu: swaynotificationcenter: Update to 0.8.0
Previous Next
Reported by: Brian Cully <bjc <at> spork.org>
Date: Mon, 22 May 2023 14:22:02 UTC
Severity: normal
Tags: moreinfo, patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63645 in the body.
You can then email your comments to 63645 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#63645
; Package
guix-patches
.
(Mon, 22 May 2023 14:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brian Cully <bjc <at> spork.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 22 May 2023 14:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/wm.scm (swaynotificationcenter): Update to 0.8.0.
---
gnu/packages/wm.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4360f3722b..1bf6d46200 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -147,6 +147,7 @@ (define-module (gnu packages wm)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages serialization)
+ #:use-module (gnu packages shells)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages suckless)
#:use-module (gnu packages texinfo)
@@ -1761,7 +1762,7 @@ (define-public swaybg
(define-public swaynotificationcenter
(package
(name "swaynotificationcenter")
- (version "0.7.3")
+ (version "0.8.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1769,7 +1770,7 @@ (define-public swaynotificationcenter
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1xvr5m5sqznr3dd512i5pk0d56v7n0ywdcy6rnz85vbf2k7b6kj5"))))
+ (base32 "1c3gd6mlr209jzzrh5jmws2lawnn3gr6smvzcw74kkpi3wvs7l0k"))))
(build-system meson-build-system)
(arguments (list #:configure-flags #~(list "-Dsystemd-service=false")))
(native-inputs
@@ -1780,11 +1781,15 @@ (define-public swaynotificationcenter
scdoc
vala))
(inputs
- (list json-glib
+ (list bash-completion
+ fish
+ json-glib
glib
gtk+
gtk-layer-shell
libhandy
+ libgee
+ pulseaudio
wayland-protocols))
(synopsis "Notification daemon with a graphical interface")
(description
base-commit: 849286ba66c96534bddc04df1a47d5692cbc977e
prerequisite-patch-id: 18557da18beab5677060ea1de1897768791ce89e
prerequisite-patch-id: a2d8b917b767b5445112f49ca4d9b060e8baa587
prerequisite-patch-id: eabe444a8c70abebec53c814fbd88236bb86fabf
--
2.40.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63645
; Package
guix-patches
.
(Mon, 12 Jun 2023 18:40:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 63645 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Brian Cully via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/wm.scm (swaynotificationcenter): Update to 0.8.0.
> ---
> gnu/packages/wm.scm | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index 4360f3722b..1bf6d46200 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -147,6 +147,7 @@ (define-module (gnu packages wm)
> #:use-module (gnu packages python-xyz)
> #:use-module (gnu packages readline)
> #:use-module (gnu packages serialization)
> + #:use-module (gnu packages shells)
> #:use-module (gnu packages sphinx)
> #:use-module (gnu packages suckless)
> #:use-module (gnu packages texinfo)
> @@ -1761,7 +1762,7 @@ (define-public swaybg
> (define-public swaynotificationcenter
> (package
> (name "swaynotificationcenter")
> - (version "0.7.3")
> + (version "0.8.0")
> (source (origin
> (method git-fetch)
> (uri (git-reference
> @@ -1769,7 +1770,7 @@ (define-public swaynotificationcenter
> (commit (string-append "v" version))))
> (file-name (git-file-name name version))
> (sha256
> - (base32 "1xvr5m5sqznr3dd512i5pk0d56v7n0ywdcy6rnz85vbf2k7b6kj5"))))
> + (base32 "1c3gd6mlr209jzzrh5jmws2lawnn3gr6smvzcw74kkpi3wvs7l0k"))))
> (build-system meson-build-system)
> (arguments (list #:configure-flags #~(list "-Dsystemd-service=false")))
> (native-inputs
> @@ -1780,11 +1781,15 @@ (define-public swaynotificationcenter
> scdoc
> vala))
> (inputs
> - (list json-glib
> + (list bash-completion
> + fish
> + json-glib
> glib
> gtk+
> gtk-layer-shell
> libhandy
> + libgee
> + pulseaudio
> wayland-protocols))
Hi Brian,
Regarding these new inputs, what's you're reasoning for adding them?
fish stood out to me, it doesn't seem to be referenced by the
swaynotificationcenter output (doesn't show up in guix size), so maybe
it should be a native-input if it's some test dependency?
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
Added tag(s) moreinfo.
Request was from
Christopher Baines <mail <at> cbaines.net>
to
control <at> debbugs.gnu.org
.
(Mon, 12 Jun 2023 18:40:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63645
; Package
guix-patches
.
(Mon, 12 Jun 2023 19:15:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 63645 <at> debbugs.gnu.org (full text, mbox):
Christopher Baines <mail <at> cbaines.net> writes:
>> (inputs
>> - (list json-glib
>> + (list bash-completion
>> + fish
>> + json-glib
>> glib
>> gtk+
>> gtk-layer-shell
>> libhandy
>> + libgee
>> + pulseaudio
>> wayland-protocols))
>
> Regarding these new inputs, what's you're reasoning for adding
> them?
In general: so that configure would find everything it was looking
for. I believe the only new hard requirement is libgee and
json-glib (I can test a build without them and see how far I get,
but it'll have to wait until I have a bit more time).
The others — bash-completion and fish — are for command
completion, I believe. Do those better belong in native-inputs
just so the can be detected during configure-time?
-bjc
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63645
; Package
guix-patches
.
(Fri, 16 Jun 2023 23:50:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 63645 <at> debbugs.gnu.org (full text, mbox):
Brian Cully <bjc <at> spork.org> writes:
> Christopher Baines <mail <at> cbaines.net> writes:
>
>>> (inputs
>>> - (list json-glib
>>> + (list bash-completion
>>> + fish
>>> + json-glib
>>> glib
>>> gtk+
>>> gtk-layer-shell
>>> libhandy
>>> + libgee
>>> + pulseaudio
>>> wayland-protocols))
>>
>> Regarding these new inputs, what's you're reasoning for adding
>> them?
>
> In general: so that configure would find everything it was
> looking
> for. I believe the only new hard requirement is libgee and
> json-glib
> (I can test a build without them and see how far I get, but
> it'll have
> to wait until I have a bit more time).
I re-ran the build today, and the output from the configure phase
does specify that ‘libgee’, ‘json-glib’, and ‘pulseaudio’ are
runtime dependencies:
--8<---------------cut here---------------start------------->8---
Run-time dependency json-glib-1.0 found: YES 1.6.2
[…]
Run-time dependency gee-0.8 found: YES 0.20.5
Run-time dependency libpulse found: YES 16.1
Run-time dependency libpulse-mainloop-glib found: YES 16.1
--8<---------------cut here---------------end--------------->8---
> The others — bash-completion and fish — are for command
> completion, I
> believe. Do those better belong in native-inputs just so the can
> be
> detected during configure-time?
But maybe ‘Run-time dependency’ is a mis-labelling. Compiling
without the ‘bash-completion’ or ‘fish’ inputs generates the
complaints:
--8<---------------cut here---------------start------------->8---
Run-time dependency bash-completion found: NO (tried pkgconfig and
cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
--8<---------------cut here---------------end--------------->8---
But it still installs the completion files:
--8<---------------cut here---------------start------------->8---
Installing
/tmp/guix-build-swaynotificationcenter-0.8.0.drv-0/source/completions/zsh/_swaync
to
/gnu/store/5v2p9n53ivj7cmq7m442gy6yvzqn9vbz-swaynotificationcenter-0.8.0/share/zsh/site-functions
Installing
/tmp/guix-build-swaynotificationcenter-0.8.0.drv-0/source/completions/zsh/_swaync-client
to
/gnu/store/5v2p9n53ivj7cmq7m442gy6yvzqn9vbz-swaynotificationcenter-0.8.0/share/zsh/site-functions
Installing
/tmp/guix-build-swaynotificationcenter-0.8.0.drv-0/source/completions/bash/swaync
to
/gnu/store/5v2p9n53ivj7cmq7m442gy6yvzqn9vbz-swaynotificationcenter-0.8.0/share/bash-completion/completions
Installing
/tmp/guix-build-swaynotificationcenter-0.8.0.drv-0/source/completions/bash/swaync-client
to
/gnu/store/5v2p9n53ivj7cmq7m442gy6yvzqn9vbz-swaynotificationcenter-0.8.0/share/bash-completion/completions
Installing
/tmp/guix-build-swaynotificationcenter-0.8.0.drv-0/source/completions/fish/swaync.fish
to
/gnu/store/5v2p9n53ivj7cmq7m442gy6yvzqn9vbz-swaynotificationcenter-0.8.0/share/fish/vendor_completions.d
Installing
/tmp/guix-build-swaynotificationcenter-0.8.0.drv-0/source/completions/fish/swaync-client.fish
to
/gnu/store/5v2p9n53ivj7cmq7m442gy6yvzqn9vbz-swaynotificationcenter-0.8.0/share/fish/vendor_completions.d
--8<---------------cut here---------------end--------------->8---
Note also that ‘zsh’ gets completions as well, even though it's
not being checked for in the configuration phase.
Starting a shell with fish:
--8<---------------cut here---------------start------------->8---
/pre-inst-env guix shell -CP coreutils fish bash
swaynotificationcenter -- fish
--8<---------------cut here---------------end--------------->8---
Yields completion candidates for ‘swaync’ and ‘swaync-client’,
even though I've removed those inputs, so it seems they're not
necessary.
I'll submit a v2 without the ‘fish’ and ‘bash’ inputs shortly.
--
-bjc
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63645
; Package
guix-patches
.
(Fri, 16 Jun 2023 23:53:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 63645 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/wm.scm (swaynotificationcenter): Update to 0.8.0.
---
gnu/packages/wm.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index e707a15785..55c7e7e63f 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1779,7 +1779,7 @@ (define-public swaybg
(define-public swaynotificationcenter
(package
(name "swaynotificationcenter")
- (version "0.7.3")
+ (version "0.8.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1787,7 +1787,7 @@ (define-public swaynotificationcenter
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1xvr5m5sqznr3dd512i5pk0d56v7n0ywdcy6rnz85vbf2k7b6kj5"))))
+ (base32 "1c3gd6mlr209jzzrh5jmws2lawnn3gr6smvzcw74kkpi3wvs7l0k"))))
(build-system meson-build-system)
(arguments (list #:configure-flags #~(list "-Dsystemd-service=false")))
(native-inputs
@@ -1803,6 +1803,8 @@ (define-public swaynotificationcenter
gtk+
gtk-layer-shell
libhandy
+ libgee
+ pulseaudio
wayland-protocols))
(synopsis "Notification daemon with a graphical interface")
(description
base-commit: 31336e9f5d68512a9c1c6826bce9f17c892a2125
--
2.40.1
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Mon, 19 Jun 2023 10:16:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Brian Cully <bjc <at> spork.org>
:
bug acknowledged by developer.
(Mon, 19 Jun 2023 10:16:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 63645-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Brian Cully via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/wm.scm (swaynotificationcenter): Update to 0.8.0.
> ---
> gnu/packages/wm.scm | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Thanks for investigating further Brian, I've pushed this to master as
c63e6652861d8ed85ffa91d568e69053478a1511.
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Jul 2023 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.