GNU logs - #76572, boring messages


Message sent to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76572] [PATCH 0/4] Fixes for gnome-shell-extension-gsconnect
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Tue, 25 Feb 2025 23:27:01 +0000
Resent-Message-ID: <handler.76572.B.17405260043826 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76572
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76572 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.17405260043826
          (code B ref -1); Tue, 25 Feb 2025 23:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 23:26:44 +0000
Received: from localhost ([127.0.0.1]:49034 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn4K4-0000ze-4o
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:26:44 -0500
Received: from lists.gnu.org ([2001:470:142::17]:54570)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1tn4K1-0000zM-By
 for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:26:41 -0500
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 <aurtzy@HIDDEN>) id 1tn4Ju-0003Xq-VD
 for guix-patches@HIDDEN; Tue, 25 Feb 2025 18:26:35 -0500
Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1tn4Js-0007hG-Qh
 for guix-patches@HIDDEN; Tue, 25 Feb 2025 18:26:34 -0500
Received: by mail-qv1-xf33.google.com with SMTP id
 6a1803df08f44-6e65be7d86fso3164806d6.1
 for <guix-patches@HIDDEN>; Tue, 25 Feb 2025 15:26:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740525991; x=1741130791; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=RGb0cwcPLlP+t0X6gC0KXurKKp9Gmngit/zS/qteN5c=;
 b=JmgMNNQCUfbjV+0cOK2YcSwaTFD6AUwIL7MMokRRckd+zsJYYJFU+lIrUB/2NXSOs1
 YiLjlg+q6bOBpHvoR/w493v/5HUjgfW6E8Z3nNplhpFGZakejaiETTbCAXN+cFORyxMt
 8PZbnRERJOokTzGuJG5PC7CugKxs2COlCDJoMyXfjRq8F2HXMIlQ0wWOUdg4N9ye0ikb
 ysY7hZmpba9lHCxD/DhaNROu+lYHZm44WAI0N54nU285fuYUpwvTxT8I3f6I++7jVyxb
 4TZ82aI07Fkx6Tba/GB9EsMNaHTXF6fk2sITyH63g3V4SSrsRYbF7gPkvFSSLHlfm5AU
 i1QQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740525991; x=1741130791;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=RGb0cwcPLlP+t0X6gC0KXurKKp9Gmngit/zS/qteN5c=;
 b=eVKQQuDfCii/nxghzCL+jsrAq1hhTCGQKtH1Q1dSHTm+DzldPiERrfjV3iUHqdxT9J
 9bUl9+GmhKMsWKo/8YgOlGOqH3DzJKksmDdja2OmVHJQD64eL2vCVQrIGxuu3k1y6IS3
 2sI28M37MOdyaWQucE+qu0YdmSlLuPvlMs5OXLn1qZlxOEZAfEBiDxtp4YBX+LhDxi0C
 FvnhFsq2osNEUItlJpvjNoCR2pZgfbtTD+euDa9oP14pGMzIl66ECUc3yRx0KedSDHX9
 lJM9AWzI3m/92AJG44PCjh8Q4Gzo8sSAC3mbl+IxtaTxFGSHBp/E9RkNx+mHRnnS6yzk
 RJWg==
X-Gm-Message-State: AOJu0YwY6HJkisYzJ29dbcM3/88iREdbM8yqY8eSULukAdZAZe5kLyL7
 6DngZg8X0ME4ae04yui2BzOj0T7P1lkmoSODCx4aVrSjYR4Fx+5at4dFvw==
X-Gm-Gg: ASbGncsUBs0nBhHdXFJfdQ03qESjRvRS1NvM/NdQgqRVlRGvu+SL6hJ6/ICabXvo22l
 Sv0oxgCQejhS8cczhChbKD+JQ75449yCq1jf9838W9BXaA90pqHFKfnW38fvLJHJBnFsOIuYDzz
 UsSGc7eR/QhIDjEJpuzIZrKOV/cUIKuap/WuzpxQRAqpWd2VfYJik+PgPXIUqn9LIFiYGk0PJCH
 ckt03kcpEW+5qp5PfXF5GR7fT5FjS18NF0UGtlLQwmlb3poa+lQTu4Q75wZ681+Zd715NJ4rU4A
 EYyK7KEPVuySpn3p3Q8x
X-Google-Smtp-Source: AGHT+IFI8fivZTVVN6NP0SE0vfCYSSMMFcJMLfqrcM3SQBGCR5todRpWl7Y9CwizJYRa00k800pYKw==
X-Received: by 2002:a05:6214:e6a:b0:6e4:3455:eba3 with SMTP id
 6a1803df08f44-6e6ae778adbmr223275466d6.6.1740525990893; 
 Tue, 25 Feb 2025 15:26:30 -0800 (PST)
Received: from localhost.localdomain ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6e87b06e256sm15132406d6.13.2025.02.25.15.26.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 25 Feb 2025 15:26:30 -0800 (PST)
From: aurtzy <aurtzy@HIDDEN>
Date: Tue, 25 Feb 2025 18:21:48 -0500
Message-ID: <cover.1740522373.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.48.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::f33;
 envelope-from=aurtzy@HIDDEN; helo=mail-qv1-xf33.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
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.0 (/)

Hello!

This patch series addresses issues with GSConnect generally not working.

I've been mainly testing this on the gnome-team branch (no relation to
the issues, which have been present in master), but I can confirm that
these patches don't break the main branch (guix pull still works), and
gnome-shell-extension-gsconnect still builds there.

Cheers,

aurtzy

aurtzy (4):
  gnu: gnome-shell-extension-gsconnect: Fix search path patching.
  gnu: gnome-shell-extension-gsconnect: Wrap gsconnect-preferences.
  gnu: gnome-shell-extension-gsconnect: Patch shebangs with gjs.
  gnu: gnome-shell-extension-gsconnect: Fix paths in additional desktop
    file.

 gnu/packages/gnome-xyz.scm | 45 ++++++++++++++++++++++++++++----------
 1 file changed, 34 insertions(+), 11 deletions(-)


base-commit: 8bc831325a905dbd9015739b58e3a5138d2217da
-- 
2.48.1





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: aurtzy <aurtzy@HIDDEN>
Subject: bug#76572: Acknowledgement ([PATCH 0/4] Fixes for gnome-shell-extension-gsconnect)
Message-ID: <handler.76572.B.17405260043826.ack <at> debbugs.gnu.org>
References: <cover.1740522373.git.aurtzy@HIDDEN>
X-Gnu-PR-Message: ack 76572
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 76572 <at> debbugs.gnu.org
Date: Tue, 25 Feb 2025 23: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.

As you requested using X-Debbugs-CC, your message was also forwarded to
  Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim=
.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
(after having been given a bug report number, if it did not have one).

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 76572 <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
76572: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76572
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76572] [PATCH 1/4] gnu: gnome-shell-extension-gsconnect: Fix search path patching.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Tue, 25 Feb 2025 23:36:01 +0000
Resent-Message-ID: <handler.76572.B76572.174052651717341 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76572
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76572 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 76572-submit <at> debbugs.gnu.org id=B76572.174052651717341
          (code B ref 76572); Tue, 25 Feb 2025 23:36:01 +0000
Received: (at 76572) by debbugs.gnu.org; 25 Feb 2025 23:35:17 +0000
Received: from localhost ([127.0.0.1]:49068 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn4SK-0004Vc-HM
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:16 -0500
Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:53614)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1tn4SH-0004Tj-AV
 for 76572 <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:14 -0500
Received: by mail-qk1-x72b.google.com with SMTP id
 af79cd13be357-7c08b14baa9so565837485a.3
 for <76572 <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:35:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740526507; x=1741131307; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=ffB2hj2cCA5YbEFMPKNhq52zx3QNStrka1of4jnb8LA=;
 b=PkGkPt+RBw3apWDs9L5wN66QkOENGW5rjz+W7qEYQ384QsLk+nirWHXFZPEXPBTaGt
 RCg3HVrfdWS+MRRMcWo06N083RNVdV5H20qms7Vn9hrBGZtMnlD24WB3CdIFJ/bLGwPG
 MrpXdSOr3TTsKacD6ijMzjwVMmV2baTCPDXrCwh6OB6qjy/ugeqCLYs5wRRhdyUgLlGW
 hYCSI4M6NmFbl2hRIA1uHnfgetRnQ1pJEOwlSVoP4lfneCPkatrNWhjcBKPMzoqLDZlj
 49axrWw7bpkarVNfwbNt6MIDA3bJQmgwD03jW+Gnx9rGdhZK/SiGZyQN4tkhM3ZX0t+t
 ND4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740526507; x=1741131307;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=ffB2hj2cCA5YbEFMPKNhq52zx3QNStrka1of4jnb8LA=;
 b=wQZoz0TK5cndcuUNG0aRN9ZrjQoJ092aeNBBeA2ZCchYz+tFs8wN13YAK2k1Ua3Fkb
 vvBltMAzkrNN3l4tkmLoLO53J4yDlkC6mb/lxrO3syOFsRD6gJxBXV5Mbxltm/+FnTxj
 /bqoEKzCpkxwX3uqUNDVG03WvMoKCVhFhpXMibWCbxUwFF4ZuL0IJS1A7Fert7KHuU0L
 YFwYpdUc71AaUe++q9XTevmXDOvaydgi1sy2ZBZVaszKSAUS3PQHneUvz6cIWljWbAN4
 x2DgbFEXW5wtGHhDPhPsE6VN7deGe63JgHKC0nJP3D4nUU82uHNeFVRyKD2JbXsbJPkM
 8MZA==
X-Gm-Message-State: AOJu0Yz7msEYb5ZJ3SB3IP8P55QMrgoSVXNyk4t0iEXIiED4zjwQZRRT
 PPOIfRqoHIwnjY51fev6EO0Q0/8+1fYIYl5UdJv5tbzaYStH9r/jjpqWNQ==
X-Gm-Gg: ASbGncuCwQsRuRLkSOLP63xeLvOmq5W660jkd6gW3/1W0/JUOK4WaztPyinRASh/Cfw
 rCLUprxZ/QDbRBMt+rFSOUO2bIS96k0DUUq2LCGhm3OFK+mhL0i890KGV2zfRTSde2/rkF/U/b2
 CT12+pJ7bLmG25xc6k67a7LWBg9v4RYtWq7AoXNuFyBKMfFC+rmMjvL6sT81e6Ec3qDlwz6wKz2
 KLVp9tiODFTpUDkY/HUHi/iMSnizXMEN/Mw4dK8+poimxNAzA04X/myWkS6vqAWv/RkEIFwmHpy
 Jx2NrtodMs17G5V4REem
X-Google-Smtp-Source: AGHT+IH4wYbphPjwrEGYVAZuXn/IzULHXaO3JwE73dhqEMrso/GwQWB+ZcyxqMUMLIbtq3Omte6GvQ==
X-Received: by 2002:a05:620a:5ef4:b0:7c2:40ae:cfac with SMTP id
 af79cd13be357-7c240aecfc1mr482050685a.4.1740526506624; 
 Tue, 25 Feb 2025 15:35:06 -0800 (PST)
Received: from localhost.localdomain ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c23c327238sm166538485a.67.2025.02.25.15.35.05
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 25 Feb 2025 15:35:05 -0800 (PST)
From: aurtzy <aurtzy@HIDDEN>
Date: Tue, 25 Feb 2025 18:34:21 -0500
Message-ID: <89f5b7271c9568ffd58a61748a010510b3e9ee58.1740522373.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1740522373.git.aurtzy@HIDDEN>
References: <cover.1740522373.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
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: -1.0 (-)

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect):
[arguments]<#:phases>: Fix 'fix-paths phase substitutions no longer applying.

Change-Id: I99aa0204c1dfad836aed62261d2ffc0c75366510
---
 gnu/packages/gnome-xyz.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index f975926e94..8c1c000feb 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2022 Sughosha <sughosha@HIDDEN>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
 ;;; Copyright © 2023 Eidvilas Markevičius <markeviciuseidvilas@HIDDEN>
+;;; Copyright © 2025 aurtzy <aurtzy@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -772,12 +773,15 @@ (define-public gnome-shell-extension-gsconnect
                   (("gapplication") gapplication))
                 (for-each
                  (lambda (file)
-                   (substitute* file
-                     (("'use strict';")
-                      (string-append "'use strict';\n\n"
-                                     "'" gi-typelib-path "'.split(':').forEach("
-                                     "path => imports.gi.GIRepository.Repository."
-                                     "prepend_search_path(path));"))))
+                   (with-atomic-file-replacement
+                    file
+                    (lambda (input output)
+                      (format output "~a"
+                              (string-append
+                               "'" gi-typelib-path "'.split(':').forEach("
+                               "path => imports.gi.GIRepository.Repository."
+                               "prepend_search_path(path));\n"))
+                      (dump-port input output))))
                  '("src/extension.js" "src/prefs.js")))))
           (add-after 'install 'wrap-daemons
             (lambda _
-- 
2.48.1





Message sent to aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76572] [PATCH 2/4] gnu: gnome-shell-extension-gsconnect: Wrap gsconnect-preferences.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Tue, 25 Feb 2025 23:36:02 +0000
Resent-Message-ID: <handler.76572.B76572.174052652317364 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76572
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76572 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 76572-submit <at> debbugs.gnu.org id=B76572.174052652317364
          (code B ref 76572); Tue, 25 Feb 2025 23:36:02 +0000
Received: (at 76572) by debbugs.gnu.org; 25 Feb 2025 23:35:23 +0000
Received: from localhost ([127.0.0.1]:49072 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn4SQ-0004Vw-Uw
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:23 -0500
Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:60609)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1tn4SJ-0004Uq-IX
 for 76572 <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:15 -0500
Received: by mail-qk1-x72a.google.com with SMTP id
 af79cd13be357-7c0b0ca6742so661454585a.0
 for <76572 <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:35:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740526509; x=1741131309; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=rLnp+iURlAww7z7BA2rpH4VPJtDH896AEVvqFDabwFQ=;
 b=hWkQhauKduJLgWBw+VkPX8iMhWjpKV66sYAtcUJ1KnuGxhR5jivmSbUypvS5nUo74i
 9yPS3EuVw/YC8Oh4PGnYMnJloVwwCqvaZGeM4xKDzJ7EkS3hVBirDO9v7j1xdFeda0dP
 xG4X5fyGH38GkYG0RS/DP95deAtxKnXuA0cZsBziLXXFsEgblm3oKCBEI2WQCSNlqmFs
 o6TXXhkZ9ITIC8Ofh99RmG6HGhS4w+9YHXWBHkH59O3Yny+8uDQIqLyApFuYJZ4ItLao
 J+F3ZsBwuQ8a6IIOldQUH6oRGn76t3LbqafEuUyjxtYNG12F/Fg2kDGREXch76Ha9kl5
 SsIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740526509; x=1741131309;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=rLnp+iURlAww7z7BA2rpH4VPJtDH896AEVvqFDabwFQ=;
 b=HFr+xj5N41TMYr61WEM/ozuP4opXoPexJAn8V9zY/Qpp3Cmx1+YFYHwBW66rv/09YL
 baGnjfPnpSsKoD4p+J10LaP0AiXfrFtCVqq8uRw+NptOUh1O4f61xDHNp+4h4X3+yQJ/
 gOxZFNyQLO5MiwLdYs7vPngtK12S0zC+bvxnCthLT98STRU3gCLW422ZQfcB0TrjPG05
 I3WwZOokP7Ofv6IqcP7oWsm/+giTroYFPNWn61+6R1E40iMYHMv8EVoYjx+GUo4GkLU0
 JX/Ywp5FjWhjakIu/UAu86sKHXDFYS440vivgdPepHIJP1E9wIoKGbSNRFJ6CGwi5SUi
 CtzA==
X-Gm-Message-State: AOJu0YzVQQ6N1utHHJnTzKMIlsDmdfWEs2xYTiyUUlWsFV27TVfMOUS0
 Qy3hO81ECUBUMtt/97p30FvygBIEQGOej85HSoD0Pt3EjKGuFoo7U3WbAA==
X-Gm-Gg: ASbGnctKC9QuapSClcjbw1s1iHPqwh4BCujvqYBIEfX9+eMoLAnwPuqatOOMkFUC8cZ
 H5ORmWKdBXZ4Db3a/gJ5mMlgb9/7g3Z175HmnGRM5lYtZTH9gFfLyhZun0Tiwxxye0la92SKhsH
 GxIgIwGh5okS9JlhQFdZ4D7g1TXs9UIMXLqwlKQCIEK3MoieUIo33eJcejE5dkkgsGuJTvbCG+a
 MUTKsdKSab7jlYZQRRk37wuY0vAEDpItK7vPFdtbVNbXsRAaRixOuxNdIS76sg5vhlJVnhoONQE
 ZDSVJRIl7TdA6EVc4Z/b
X-Google-Smtp-Source: AGHT+IGeePMsdrUUNOrzmV4CSNaKaHjVPnWL+vNPMtRCXV36hwonKASHpoBreQ0z+abO7GZzvHv7bg==
X-Received: by 2002:a05:620a:f02:b0:7c0:6419:8bd3 with SMTP id
 af79cd13be357-7c247f259e8mr223043085a.22.1740526509594; 
 Tue, 25 Feb 2025 15:35:09 -0800 (PST)
Received: from localhost.localdomain ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c23c327238sm166538485a.67.2025.02.25.15.35.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 25 Feb 2025 15:35:08 -0800 (PST)
From: aurtzy <aurtzy@HIDDEN>
Date: Tue, 25 Feb 2025 18:34:22 -0500
Message-ID: <88100c77035f4d0a2e7749b4a7902525e8f63c77.1740522373.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1740522373.git.aurtzy@HIDDEN>
References: <cover.1740522373.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
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: -1.0 (-)

This fixes an error when attempting to open the gsconnect-preferences
application due to Typelib files not being found.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect):
[arguments]<#:phases>: Wrap gsconnect-preferences with GI_TYPELIB_PATH
environment variable.  Rename 'wrap-daemons phase to 'wrap-programs.

Change-Id: Ib330766d46dba00a7c68fa3956b28223f07000f8
---
 gnu/packages/gnome-xyz.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 8c1c000feb..0a785193c4 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -783,13 +783,16 @@ (define-public gnome-shell-extension-gsconnect
                                "prepend_search_path(path));\n"))
                       (dump-port input output))))
                  '("src/extension.js" "src/prefs.js")))))
-          (add-after 'install 'wrap-daemons
+          (add-after 'install 'wrap-programs
             (lambda _
               (let* ((out #$output)
-                     (service-dir
-                      (string-append out "/share/gnome-shell/extensions"
-                                     "/gsconnect@HIDDEN/service"))
+                     (gsconnect-dir (string-append
+                                     out "/share/gnome-shell/extensions"
+                                     "/gsconnect@HIDDEN"))
+                     (service-dir (string-append gsconnect-dir "/service"))
                      (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+                (wrap-program (string-append gsconnect-dir "/gsconnect-preferences")
+                  `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
                 (wrap-program (string-append service-dir "/daemon.js")
                   `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
     (inputs
-- 
2.48.1





Message sent to aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76572] [PATCH 3/4] gnu: gnome-shell-extension-gsconnect: Patch shebangs with gjs.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Tue, 25 Feb 2025 23:36:02 +0000
Resent-Message-ID: <handler.76572.B76572.174052652317373 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76572
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76572 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 76572-submit <at> debbugs.gnu.org id=B76572.174052652317373
          (code B ref 76572); Tue, 25 Feb 2025 23:36:02 +0000
Received: (at 76572) by debbugs.gnu.org; 25 Feb 2025 23:35:23 +0000
Received: from localhost ([127.0.0.1]:49074 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn4SR-0004W3-Ce
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:23 -0500
Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:60614)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1tn4SL-0004VK-6z
 for 76572 <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:17 -0500
Received: by mail-qk1-x72f.google.com with SMTP id
 af79cd13be357-7c0b0ca6742so661457485a.0
 for <76572 <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:35:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740526511; x=1741131311; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=bugHtWulAYpuG1+h9bWK6hXEwxlgocak3dRwfrUapYc=;
 b=U1IJMIYwh4N1zx0xotIAtbu0m89dzzzgG7PfaRSTdHCeDjmCsO7AZ5KRjkfIm6an5y
 ss+M0KqwB6S3tnE0QGb1V+hpGB3scD+c+/Y9CctaD6T1WeSV8wFRlctJgDHgXxLtqxRT
 buuOP95OedDH8UFuM6UXKKmNiAlW3cphiCbLHQzKNE4LRORHjNaNUFklJBKS5rXx0nM3
 S4sidykpxULljHawy44A8ORGZqX4FIXcjaMoCHgGHuphPvRWtzZB/7Sywz+P4AkAdNNw
 adCEenKhIzGr9HsMeXMFqRvYFtXxLKPUqeLjxjxCHm2vhduP1nFP2qUh2kdJE19Rf01M
 wQzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740526511; x=1741131311;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=bugHtWulAYpuG1+h9bWK6hXEwxlgocak3dRwfrUapYc=;
 b=o0C01r5DQW8fqSdLVZMwBTPVdaQt7jkC0qsGicwkq8kRalM1sQXZqyBj4k4Qo+pr8M
 tY8TNPUtLHz0ZF7qPCCTVYzYDHv9Nh2df/hrFD9mNsRrbee3UzmJLBcQQhJ0FYRA1UjV
 lcZQYc1961HInfnU/HkLGfsVaNQtBp1wcc2FKWX0EHh/ml29icXYlG5ozCs9MvN5d9fs
 bfSPZgoG94T6lwM/u+Gi7D7caGMup5UTU7WX95dv1Od6XuDDAi37I5Bch5a22VHkoPic
 kaIiqKqgR7RQbuz9l8IfWb/SKKJeBQHYmF64+4mxtPiCnRX0amGdxAf7tsxmPtNSGMtl
 a3JQ==
X-Gm-Message-State: AOJu0YwO38S6U/zlfsLE2t/mvh9jlrljutvtXkayz6Kn2Rz/LyNCJ65w
 IPx6i9/qpI7dQTdciHvrNdzHRMBDF8a6G0UZ47wGiLWhkNOODLuAydmFuA==
X-Gm-Gg: ASbGncsOtws83sF45JgF/wCoQQtE+MGj6FlbkENpFKLv03tC17tZZNEscFB8rGEWkkf
 VFlBOzp2e7DoeC5mftQ/w6W/9tzGRfX9Clmk+vps71CSUGo28XjDyEZf0ZwB1zCsVbIRFFV9WEk
 PwM43ywX/mhC4GzM+BoEHFOe8Jo8g+G7DjzQKAn0SuLRskrGoN3n8pcerGuWWwns1rsN4lPXTzQ
 QLy6VZnM0rg8iQ0hGv8bXp/FTR2vx+MU/1ICLW24jfG+rpkIOCXiBevrHN6sGb8kfko95tJxvNB
 OjzM6om/4MGlQYWb6fX4
X-Google-Smtp-Source: AGHT+IExvWxCi+Gqjjt+3G8gDWEMup3/4kcQ7j5vwDRS4gNzivh55l+IUohQH8VsuM96lLvh8MS6ag==
X-Received: by 2002:a05:620a:3190:b0:7c0:a1ca:93b6 with SMTP id
 af79cd13be357-7c247fe196bmr199108185a.50.1740526511244; 
 Tue, 25 Feb 2025 15:35:11 -0800 (PST)
Received: from localhost.localdomain ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c23c327238sm166538485a.67.2025.02.25.15.35.10
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 25 Feb 2025 15:35:10 -0800 (PST)
From: aurtzy <aurtzy@HIDDEN>
Date: Tue, 25 Feb 2025 18:34:23 -0500
Message-ID: <1dfdb01b26950651265cb6281eb5766a0f111091.1740522373.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1740522373.git.aurtzy@HIDDEN>
References: <cover.1740522373.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
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: -1.0 (-)

The 'patch-shebangs phase does not handle shebangs of the form
"/usr/bin/env -S", so we manually patch them to fix a not-found error.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect):
[arguments]<#:phases>: Add 'patch-gjs-shebangs phase to patch shebangs using
"/usr/bin/env -S" to execute gjs.

Change-Id: I6b84474e4976484f1203b7cf78fe5e882694cd22
---
 gnu/packages/gnome-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 0a785193c4..abcbe2c9f9 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -765,6 +765,18 @@ (define-public gnome-shell-extension-gsconnect
                  "gtk_update_icon_cache: false")
                 (("update_desktop_database: true")
                  "update_desktop_database: false"))))
+          (add-after 'unpack 'patch-gjs-shebangs
+            (lambda* (#:key inputs #:allow-other-keys)
+              (for-each
+               (lambda (file)
+                 (substitute* file
+                   (("^#!.*$")
+                    (string-append "#!" (which "gjs") " -m"))))
+               '("installed-tests/minijasmine"
+                 "src/gsconnect-preferences"
+                 "src/service/nativeMessagingHost.js"
+                 "src/service/daemon.js"
+                 "webextension/gettext.js"))))
           (add-before 'configure 'fix-paths
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((gapplication (search-input-file inputs "/bin/gapplication"))
-- 
2.48.1





Message sent to aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76572] [PATCH 4/4] gnu: gnome-shell-extension-gsconnect: Fix paths in additional desktop file.
Resent-From: aurtzy <aurtzy@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: aurtzy@HIDDEN, liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Tue, 25 Feb 2025 23:36:03 +0000
Resent-Message-ID: <handler.76572.B76572.174052653717410 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76572
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76572 <at> debbugs.gnu.org
Cc: aurtzy <aurtzy@HIDDEN>, aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: aurtzy <aurtzy@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 76572-submit <at> debbugs.gnu.org id=B76572.174052653717410
          (code B ref 76572); Tue, 25 Feb 2025 23:36:03 +0000
Received: (at 76572) by debbugs.gnu.org; 25 Feb 2025 23:35:37 +0000
Received: from localhost ([127.0.0.1]:49077 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn4Sf-0004Wj-3Y
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:37 -0500
Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:43505)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1tn4SN-0004VN-M0
 for 76572 <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:35:25 -0500
Received: by mail-qk1-x735.google.com with SMTP id
 af79cd13be357-7c0a974d433so32018085a.1
 for <76572 <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:35:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740526514; x=1741131314; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=Dck3Q0Mwzruj9tOm4OVDml44XINI0Fo+p5Dam9S25UA=;
 b=W5SnHHGDfNVCiXVBn6e6arqTGJlEEiFqKTPS6RM88vCGH8QbDKl+bDCXMCRogyUYEG
 RmpfYtVLBSaqVAudbgXa7ffzOsyg9kmZ1UjhhNKhNExeAQe3ij7u88KJUiqtuQk1XwR8
 xoY7RTRTQmKjWNyZLB1cTLoUzYM3zIizeZyYXWf3c8/Fl5wz4ieDVWI5jml7wcZylVu0
 qDfh3RGxFH0NJniKw4/oD7CM3THXG9rzTM49IslViHo0lDW5dspNWjyV496kR5MLpRlu
 tYxRt7FCpM/qKMmAbLONkFTL/Bk0zpq1EIHbNY/nq6WgNJqZWsqv5qbQg+OSIV4oBtN0
 imlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740526514; x=1741131314;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Dck3Q0Mwzruj9tOm4OVDml44XINI0Fo+p5Dam9S25UA=;
 b=sO0RMZwCucgNtzg94I7UBey3jjxOJR6VjDs6U3g5Y1pxwNtUw3qTmkt1OZ8zXzqn/I
 E1gfjPM6NmTuoA34RCf4m4Kl+ptJTMVS7BFIPd9paPbeHIHEcnqIDQPV+sad+YPESBqh
 p7xFglfFZS60VHGD77c4QkfheEhND397iNM9Fo8LjZCwM1MimBJsJ+dtHPiv+gEMFxjC
 qhRxy5rDlZD/uEWRRyrUtVPZY98hi5qim55kF7SZ02sA5onCvALQDdfFTMwYZE/M+dRZ
 bu0Ca4a3vyZCaKpuHrkgk9k15TPc9m8qemJk7stlA5gBBw6VnjCAAy6SRbjutIyrzTam
 RLfw==
X-Gm-Message-State: AOJu0YxnhykBQO+Rq07P7C68pfY7f5Qp4a86gKtc3qMylgpOOIJHqfmr
 Ii2oRres2TzRoUoLJcttKvv3+7f/hq+KMsr6BaGxuCkxIz4Ze+cdSNpzaQ==
X-Gm-Gg: ASbGncsBFt44Y7sN1CfT9ALYqV/PIRffP2z3iob2jffr+itFuN6bDzTaFDZU34hzIP0
 ysQLitfPCj4PywEy1EltqENqrUAD2aFBVmod4Odm2N2oN+pMOHs4wU5JcenDHealiWqnVBGXaeD
 RNok6PzzUsQATQxYxFz/H/mHgz1OCoOLk4U3E6UwR/WCd420mHM3MvoQGnJm9FzReR38ZAAlIop
 PBVfV71JIQeV6GkCqkAg65OY/Blk6veuXKZDTwYrGlDiUTEnVqzZe7PPSf2bRnRlBD8D8jbXqnq
 IaCsYfxw5DYs8miepgN2
X-Google-Smtp-Source: AGHT+IHl6pGtiAXxhUtZvRre2yDGiQoxFZ1OUunL3mrvRBLiYJbePM9fD828xpNJu18s0tE2N3YAEA==
X-Received: by 2002:a05:620a:1aa5:b0:7c0:b220:3502 with SMTP id
 af79cd13be357-7c0cf0e2e9emr2638060285a.4.1740526513657; 
 Tue, 25 Feb 2025 15:35:13 -0800 (PST)
Received: from localhost.localdomain ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c23c327238sm166538485a.67.2025.02.25.15.35.12
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 25 Feb 2025 15:35:12 -0800 (PST)
From: aurtzy <aurtzy@HIDDEN>
Date: Tue, 25 Feb 2025 18:34:24 -0500
Message-ID: <4656de9a71919aed426cf4658aba6ec699c9b18f.1740522373.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1740522373.git.aurtzy@HIDDEN>
References: <cover.1740522373.git.aurtzy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: This fixes the gsconnect preferences button ("Mobile
 Settings")
 in the top-right quick-access menu not opening the preferences application.
 The window icon also displays properly with this commit. *
 gnu/packages/gnome-xyz.scm
 (gnome-shell-extension-gsconnect): [arguments]<#:phases>: Patch gapplication
 path in an additional desktop file in 'fix-paths phase. 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2607:f8b0:4864:20:0:0:0:735 listed in]
 [list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (aurtzy[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 2.8 MANY_SUBDOM            Lots and lots of subdomain parts in a URI
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: -1.0 (-)

This fixes the gsconnect preferences button ("Mobile Settings") in the
top-right quick-access menu not opening the preferences application.  The
window icon also displays properly with this commit.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect):
[arguments]<#:phases>: Patch gapplication path in an additional desktop file
in 'fix-paths phase.

Change-Id: I6b84474e4976484f1203b7cf78fe5e882694cd22
---
 gnu/packages/gnome-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index abcbe2c9f9..d011ae51d0 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -781,8 +781,12 @@ (define-public gnome-shell-extension-gsconnect
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((gapplication (search-input-file inputs "/bin/gapplication"))
                     (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
-                (substitute* "data/org.gnome.Shell.Extensions.GSConnect.desktop.in"
-                  (("gapplication") gapplication))
+                (for-each
+                 (lambda (file)
+                   (substitute* file
+                     (("gapplication") gapplication)))
+                 '("data/org.gnome.Shell.Extensions.GSConnect.desktop.in"
+                   "data/org.gnome.Shell.Extensions.GSConnect.Preferences.desktop.in"))
                 (for-each
                  (lambda (file)
                    (with-atomic-file-replacement
-- 
2.48.1






Last modified: Tue, 25 Feb 2025 23:45:02 UTC

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