Subject: bug#77997: closed (Re: [bug#77997] [PATCH] gnu: swaynotificationcenter: Fix hardcoded filename.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 27 Apr 2025 12:09:03 +0000

Your bug report

#77997: [PATCH] gnu: swaynotificationcenter: Fix hardcoded filename.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77997: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77997
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#77997] [PATCH] gnu: swaynotificationcenter: Fix hardcoded filename.
From: Christopher Baines <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>
Cc: [email-masked], Nicolas Graves <[email-masked]>
Date: Sun, 27 Apr 2025 13:08:37 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Nicolas Graves via Guix-patches via <[email-masked]> 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.

Subject: [PATCH] gnu: swaynotificationcenter: Fix hardcoded filename.
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Date: Tue, 22 Apr 2025 19:44:07 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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