GNU bug report logs - #77997
[PATCH] gnu: swaynotificationcenter: Fix hardcoded filename.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 22 Apr 2025 21:34:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

To reply to this bug, email your comments to 77997 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77997; Package guix-patches. (Tue, 22 Apr 2025 21:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 22 Apr 2025 21:34:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: swaynotificationcenter: Fix hardcoded filename.
Date: Tue, 22 Apr 2025 19:44:07 +0200
This is a follow-up to ed12cba2216599a35560ad4c43f2894872910f33.

It fixes configModel.vala:310: [...]/profile/etc/xdg/swaync/config.json:2:23:
Parse error: unexpected identifier `store', expected value

* gnu/packages/wm.scm (swaynotificationcenter)[arguments]: Refresh
'fix-swaync-path phase.
---
 gnu/packages/wm.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2a5d21c0db0..18469408844 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2461,7 +2461,8 @@ (define-public swaynotificationcenter
             (lambda _
               (substitute* "src/config.json.in"
                 (("@JSONPATH@")
-                 (string-append #$output "/etc/xdg/swaync/configSchema.json")))
+                 (format #f "\"~a/etc/xdg/swaync/configSchema.json\""
+                         #$output)))
               (substitute* "src/functions.vala"
                 (("/usr/local/etc/xdg/swaync")
                  (string-append #$output "/etc/xdg/swaync"))))))))
-- 
2.49.0



-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#77997; Package guix-patches. (Sun, 27 Apr 2025 12:09:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: 77997-close <at> debbugs.gnu.org, Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [bug#77997] [PATCH] gnu: swaynotificationcenter: Fix hardcoded
 filename.
Date: Sun, 27 Apr 2025 13:08:37 +0100
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:

> This is a follow-up to ed12cba2216599a35560ad4c43f2894872910f33.
>
> It fixes configModel.vala:310: [...]/profile/etc/xdg/swaync/config.json:2:23:
> Parse error: unexpected identifier `store', expected value
>
> * gnu/packages/wm.scm (swaynotificationcenter)[arguments]: Refresh
> 'fix-swaync-path phase.
> ---
>  gnu/packages/wm.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index 2a5d21c0db0..18469408844 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -2461,7 +2461,8 @@ (define-public swaynotificationcenter
>              (lambda _
>                (substitute* "src/config.json.in"
>                  (("@JSONPATH@")
> -                 (string-append #$output "/etc/xdg/swaync/configSchema.json")))
> +                 (format #f "\"~a/etc/xdg/swaync/configSchema.json\""
> +                         #$output)))
>                (substitute* "src/functions.vala"
>                  (("/usr/local/etc/xdg/swaync")
>                   (string-append #$output "/etc/xdg/swaync"))))))))
> -- 
> 2.49.0

Something similar to this was pushed as
ab39ed52a047c1cc1bf3ddb857cfd2bed3b42a05.

Closing.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 27 Apr 2025 12:09:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Sun, 27 Apr 2025 12:09:03 GMT) Full text and rfc822 format available.

This bug report was last modified 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.