GNU logs - #77485, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77485] [PATCH] gnu: swaynotificationcenter: Fix package
Resent-From: Daniel Ziltener <dziltener@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 03 Apr 2025 11:27:01 +0000
Resent-Message-ID: <handler.77485.B.174367958026716 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77485
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 77485 <at> debbugs.gnu.org
Cc: Daniel Ziltener <dziltener@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174367958026716
          (code B ref -1); Thu, 03 Apr 2025 11:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 11:26:20 +0000
Received: from localhost ([127.0.0.1]:33039 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0IiB-0006wp-QH
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 07:26:20 -0400
Received: from lists.gnu.org ([2001:470:142::17]:43424)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dziltener@HIDDEN>)
 id 1u0Ii8-0006wY-Kz
 for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 07:26:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dziltener@HIDDEN>)
 id 1u0Ihy-0007yj-U5
 for guix-patches@HIDDEN; Thu, 03 Apr 2025 07:26:07 -0400
Received: from 195-15-241-199.dc3-a.pub1.etik-cloud.com ([195.15.241.199]
 helo=lyrion.ch)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dziltener@HIDDEN>)
 id 1u0Ihv-0007nS-IT
 for guix-patches@HIDDEN; Thu, 03 Apr 2025 07:26:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyrion.ch; s=20230702; 
 t=1743679161;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=w3DwrfwU5yE/4OIpAmDbnvRo8uUpYZ2JKVm6Nn+3Wv0=;
 b=DtG/QmxLLRspVRRNWsclEJFb5fMMNIRB+STSIU5foUUBA85bslAcfICeiBpoZFFzhMUsCI
 mItR4I4NlBaxHoAN7FmimL/MytUyt7PmjHaN3K1wbRPuc5g+BmqoQfgrt5tILEI2AGIqNP
 OTGpb+hGfGPgne5CBfbo/luZjlVQes6JRYYZ4g2hGsa59LyUwSo/CKAZPAkECW+lemN8OO
 LOplGndqbwMyfnAxobcJDzWUXy4biG0ZDA0CBTe8K6HC9uft8MaNNjTijcuKA+DSJ/aAvV
 RZb0sKXRChOU+mQ8gLGGd8VltE50dPC8J7IjzFXYpj5Aj3Lg5IeGL8rwluFsAQ==
Received: from lyrion.ch (cf59784b.dynamic.tele-ag.de [207.89.120.75])
 by lyrion.ch (OpenSMTPD) with ESMTPSA id 40fe5eee
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Thu, 3 Apr 2025 11:19:21 +0000 (UTC)
From: Daniel Ziltener <dziltener@HIDDEN>
Date: Thu,  3 Apr 2025 13:18:31 +0200
Message-ID: <20250403111903.27395-1-dziltener@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=195.15.241.199; envelope-from=dziltener@HIDDEN;
 helo=lyrion.ch
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

This fixes two hardcoded paths in swaynotificationcenter that prevented it from even starting on Guix.

---
 gnu/packages/wm.scm | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 5e0dabe0b4..4adc3281b3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2444,7 +2444,20 @@ (define-public swaynotificationcenter
               (sha256
                (base32 "0cx3ql7qb2wajck1vip9sm2a122jv9x8g2r0bnw4rrxd91yca7a9"))))
     (build-system meson-build-system)
-    (arguments (list #:configure-flags #~(list "-Dsystemd-service=false")))
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "-Dsystemd-service=false")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-swaync-path
+            (lambda _
+              (substitute* "src/config.json.in"
+                (("@JSONPATH@")
+                 (string-append #$output "/etc/xdg/swaync/configSchema.json")))
+              (substitute* "src/functions.vala"
+                (("/usr/local/etc/xdg/swaync")
+                 (string-append #$output "/etc/xdg/swaync"))))))))
     (native-inputs
      (list `(,glib "bin")
            gobject-introspection
-- 
2.49.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Daniel Ziltener <dziltener@HIDDEN>
Subject: bug#77485: Acknowledgement ([PATCH] gnu: swaynotificationcenter:
 Fix package)
Message-ID: <handler.77485.B.174367958026716.ack <at> debbugs.gnu.org>
References: <20250403111903.27395-1-dziltener@HIDDEN>
X-Gnu-PR-Message: ack 77485
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 77485 <at> debbugs.gnu.org
Date: Thu, 03 Apr 2025 11:27:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 77485 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
77485: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77485
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Thu, 3 Apr 2025 11:30:02 UTC

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