From unknown Sun Jun 22 08:08:10 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53036] [PATCH] gnu: syncthing-gtk: Fix autostart. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53036 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53036@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Reply-To: John Kehayias Received: via spool by submit@debbugs.gnu.org id=B.1641410442844 (code B ref -1); Wed, 05 Jan 2022 19:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jan 2022 19:20:42 +0000 Received: from localhost ([127.0.0.1]:38798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Bpr-0000DQ-E9 for submit@debbugs.gnu.org; Wed, 05 Jan 2022 14:20:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:60026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Bpo-0000DI-TA for submit@debbugs.gnu.org; Wed, 05 Jan 2022 14:20:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Bpo-0006pN-JS for guix-patches@gnu.org; Wed, 05 Jan 2022 14:20:32 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:30101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Bpj-0000H6-3B for guix-patches@gnu.org; Wed, 05 Jan 2022 14:20:30 -0500 Date: Wed, 05 Jan 2022 19:20:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1641410418; bh=y31iydwpYWXlAsnEUcGnmvVrZaHv6i2xUF3wuUoIpOY=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=hGjGTTRi+f93hgU6QO4YjIZwDhjWltP+03CDwvQhDk8fao+IGbbel7VND4R04HqNb lTw887udSEORxJU96+IqYLNSrlGWdyR3x9jjMhLVOXodA3wILyy3GlcGR44Q3FcBam HowQc57YvSIHtYLwxdHgGtWUbN6+N02ODMvCtwPVgBNQqbB+SxbsuSuRiNCEJv6GXm d1O8IGEE3NmmODMaJyFrPwn9+126Lq4p1XajxBgYhKSHsXM9nj78GIKYA7WqrcDO/o kXt6TGRsokfY8uYoX6toHeXkrgSME9gitQG4QTupPcLjvBCCiiqKMJH07xPLisVRur Vyp9zxCp581nA== From: John Kehayias Message-ID: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.134; envelope-from=john.kehayias@protonmail.com; helo=mail-40134.protonmail.ch 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, This is a simple fix/workaround for https://issues.guix.gnu.org/50789 As discussed there, there is not a perfect solution for syncthing-gtk writi= ng ~/.config/autostart/Syncthing-GTK.desktop with the Exec line pointing to= the store path of ".syncthing-gtk-real". I've opted for a simple fix that = won't break upon changes to the syncthing-gtk store path that was done simi= larly to e.g. the desktop files Flatpak writes in 9c4244cc73db4d5c3adf6f834= 2f6b08b39dd3628: just use plain "syncthing-gtk". While this means different= syncthing-gtk could conflict (whatever is first in PATH wins), that seems = unlikely given this package is just a frontend to syncthing. Anyway, seems = like the best option right now so that the autostart file is usable and won= 't break. Thanks, John --b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210 Content-Type: text/x-patch; name=0001-gnu-syncthing-gtk-Fix-autostart.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-syncthing-gtk-Fix-autostart.patch RnJvbSAxZDYyNjc2YjJiNTA3ZjY3MTAzMTEwYzNmY2U1ZDhjNmRjNDgzZjhiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIEtlaGF5aWFzIDxqb2huLmtlaGF5aWFzQHByb3Rvbm1h aWwuY29tPgpEYXRlOiBXZWQsIDUgSmFuIDIwMjIgMTQ6MDk6NDIgLTA1MDAKU3ViamVjdDogW1BB VENIXSBnbnU6IHN5bmN0aGluZy1ndGs6IEZpeCBhdXRvc3RhcnQuCgoq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zsKQEAgLTE3 MSw2ICsxNzIsMTMgQEAgKGRlZmluZS1wdWJsaWMgc3luY3RoaW5nLWd0awogICAgICAgICAgICAg ICAgICAoc3Vic3RpdHV0ZSogInN5bmN0aGluZ19ndGsvY29uZmlndXJhdGlvbi5weSIKICAgICAg ICAgICAgICAgICAgICAoKCIvdXNyL2Jpbi9zeW5jdGhpbmciKSAoc3RyaW5nLWFwcGVuZCBzeW5j dGhpbmcKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAiL2Jpbi9zeW5jdGhpbmciKSkpKSkpCisgICAgICAgICAgIChhZGQtYWZ0ZXIgJ3Vu cGFjayAnYXV0b3N0YXJ0LXBhdGgKKyAgICAgICAgICAgICA7OyBDaGFuZ2UgdGhlIGF1dG9zdGFy dCBkZXNrdG9wIGZpbGUgRXhlYyBjb21tYW5kIHRvIGp1c3QgYmUKKyAgICAgICAgICAgICA7OyBz eW5jdGhpbmctZ3RrLCByYXRoZXIgdGhhbiB0aGUgc3RvcmUgcGF0aCB0bworICAgICAgICAgICAg IDs7IC5zeW5jdGhpbmctZ3RrLXJlYWwKKyAgICAgICAgICAgICAobGFtYmRhIF8KKyAgICAgICAg ICAgICAgIChzdWJzdGl0dXRlKiAic3luY3RoaW5nX2d0ay90b29scy5weSIKKyAgICAgICAgICAg ICAgICAgKCgicmV0dXJuIGV4ZWN1dGFibGUiKSAicmV0dXJuIFwic3luY3RoaW5nLWd0a1wiIikp KSkKICAgICAgICAgICAgKGFkZC1hZnRlciAndW5wYWNrICdyZW1vdmUtd2luZG93cy5weQogICAg ICAgICAgICAgIChsYW1iZGEgXwogICAgICAgICAgICAgICAgOzsgQSBXaW5kb3dzLXNwZWNpZmlj IG1vZHVsZSB0aGF0IGZhaWxzIHRvIGxvYWQgd2l0aAotLSAKMi4zNC4xCgo= --b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210-- From unknown Sun Jun 22 08:08:10 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53036] [PATCH] gnu: syncthing-gtk: Fix autostart. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 21:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53036 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53036@debbugs.gnu.org Cc: 53036-done@debbugs.gnu.org X-Debbugs-Original-To: John Kehayias via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.164141719129370 (code B ref -1); Wed, 05 Jan 2022 21:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jan 2022 21:13:11 +0000 Received: from localhost ([127.0.0.1]:39038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Dap-0007de-D8 for submit@debbugs.gnu.org; Wed, 05 Jan 2022 16:13:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:46030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Dan-0007dW-Ph for submit@debbugs.gnu.org; Wed, 05 Jan 2022 16:13:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Dan-0004dP-KE for guix-patches@gnu.org; Wed, 05 Jan 2022 16:13:09 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Dal-0005sR-HS for guix-patches@gnu.org; Wed, 05 Jan 2022 16:13:09 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AEC605C0120; Wed, 5 Jan 2022 16:13:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 05 Jan 2022 16:13:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=51LSDsJdrRDsn8/4SKoncHKn wY9XgSBkhQzAjX+7I1M=; b=ROD1l4Ip0g0tfAhS9maH8dI/mF0eXfnzZz1jfX7X pc04gLOxTCKx7N60YX0V6cKGLVU4I5cFLkCt11hyXFNDapxM0XOxRLdUWc/3o/Lj +FWTGQ90d8omgQlhPwi/LV4s1/973o22rYY9HYfj/RybWTbupajYePXqEY1XA8r7 xm8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=51LSDs JdrRDsn8/4SKoncHKnwY9XgSBkhQzAjX+7I1M=; b=hVNcmIHX0BxjtradlWcmw/ EkL1t0+7o2XsBtFwwbWuukce9aGN0ZmkUM39Mz4CrCuL2jrzbiwcir3A53St/Ypu fhaR1SK6fxdSDEjBWBhdhCtIG6MLdUOAjVWV5g8O8tmQu5Wq9tpzCyrG9Z2jNhtf vm4wuiF7DXD+75lCHcpTadzcFZpiYOE6afQSlepbWys+JJdEfv8tctcJA/97uSgO rbmjVVoOYfSZM7rBNXlz58Ounhf/Wpg8tKsdot/b+qEvURFwrUfcKaZkufK9JxK2 aF/VcJX+tHhEBGTzlaEmhTbpkEKMEVkoDlKUWXv0EJG2PfdIFiNUCvevQSNhhhlg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudefjedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Jan 2022 16:13:02 -0500 (EST) Date: Wed, 5 Jan 2022 16:13:00 -0500 From: Leo Famulari Message-ID: References: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> Received-SPF: pass client-ip=66.111.4.25; envelope-from=leo@famulari.name; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Wed, Jan 05, 2022 at 07:20:14PM +0000, John Kehayias via Guix-patches via wrote: > From 1d62676b2b507f67103110c3fce5d8c6dc483f8b Mon Sep 17 00:00:00 2001 > From: John Kehayias > Date: Wed, 5 Jan 2022 14:09:42 -0500 > Subject: [PATCH] gnu: syncthing-gtk: Fix autostart. > > * gnu/packages/syncthing.scm (syncthing-gtk)[#:phases]: Add autostart-path > phase to use "syncthing-gtk" (rather than a store path to > ".syncthing-gtk-real") as the exec command for the autostart desktop file > written by syncthing-gtk. Thanks! I pushed as c37559e81979232feee07aa1eb39faacb093c5ca with the following changes: 1) I renamed the phase to 'fix-autostart-path'. It's not very important but typically build phases are named imperatively. 2) I rewrote the commit message and code comment to be more clear about what the change does. I found it a bit confusing and had to reread the previous discussion to remind myself. Hopefully this is an improvement. Thanks again for taking care of this package! From unknown Sun Jun 22 08:08:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: John Kehayias Subject: bug#53036: closed (Re: [bug#53036] [PATCH] gnu: syncthing-gtk: Fix autostart.) Message-ID: References: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> X-Gnu-PR-Message: they-closed 53036 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 53036@debbugs.gnu.org Date: Wed, 05 Jan 2022 21:14:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1641417243-29520-1" This is a multi-part message in MIME format... ------------=_1641417243-29520-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53036: [PATCH] gnu: syncthing-gtk: Fix autostart. 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 53036@debbugs.gnu.org. --=20 53036: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53036 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1641417243-29520-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53036-done) by debbugs.gnu.org; 5 Jan 2022 21:13:09 +0000 Received: from localhost ([127.0.0.1]:39034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Dan-0007dP-5H for submit@debbugs.gnu.org; Wed, 05 Jan 2022 16:13:09 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Dal-0007dD-OG for 53036-done@debbugs.gnu.org; Wed, 05 Jan 2022 16:13:08 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AEC605C0120; Wed, 5 Jan 2022 16:13:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 05 Jan 2022 16:13:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=51LSDsJdrRDsn8/4SKoncHKn wY9XgSBkhQzAjX+7I1M=; b=ROD1l4Ip0g0tfAhS9maH8dI/mF0eXfnzZz1jfX7X pc04gLOxTCKx7N60YX0V6cKGLVU4I5cFLkCt11hyXFNDapxM0XOxRLdUWc/3o/Lj +FWTGQ90d8omgQlhPwi/LV4s1/973o22rYY9HYfj/RybWTbupajYePXqEY1XA8r7 xm8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=51LSDs JdrRDsn8/4SKoncHKnwY9XgSBkhQzAjX+7I1M=; b=hVNcmIHX0BxjtradlWcmw/ EkL1t0+7o2XsBtFwwbWuukce9aGN0ZmkUM39Mz4CrCuL2jrzbiwcir3A53St/Ypu fhaR1SK6fxdSDEjBWBhdhCtIG6MLdUOAjVWV5g8O8tmQu5Wq9tpzCyrG9Z2jNhtf vm4wuiF7DXD+75lCHcpTadzcFZpiYOE6afQSlepbWys+JJdEfv8tctcJA/97uSgO rbmjVVoOYfSZM7rBNXlz58Ounhf/Wpg8tKsdot/b+qEvURFwrUfcKaZkufK9JxK2 aF/VcJX+tHhEBGTzlaEmhTbpkEKMEVkoDlKUWXv0EJG2PfdIFiNUCvevQSNhhhlg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudefjedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Jan 2022 16:13:02 -0500 (EST) Date: Wed, 5 Jan 2022 16:13:00 -0500 From: Leo Famulari To: John Kehayias via Guix-patches via Subject: Re: [bug#53036] [PATCH] gnu: syncthing-gtk: Fix autostart. Message-ID: References: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53036-done Cc: 53036-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Jan 05, 2022 at 07:20:14PM +0000, John Kehayias via Guix-patches via wrote: > From 1d62676b2b507f67103110c3fce5d8c6dc483f8b Mon Sep 17 00:00:00 2001 > From: John Kehayias > Date: Wed, 5 Jan 2022 14:09:42 -0500 > Subject: [PATCH] gnu: syncthing-gtk: Fix autostart. > > * gnu/packages/syncthing.scm (syncthing-gtk)[#:phases]: Add autostart-path > phase to use "syncthing-gtk" (rather than a store path to > ".syncthing-gtk-real") as the exec command for the autostart desktop file > written by syncthing-gtk. Thanks! I pushed as c37559e81979232feee07aa1eb39faacb093c5ca with the following changes: 1) I renamed the phase to 'fix-autostart-path'. It's not very important but typically build phases are named imperatively. 2) I rewrote the commit message and code comment to be more clear about what the change does. I found it a bit confusing and had to reread the previous discussion to remind myself. Hopefully this is an improvement. Thanks again for taking care of this package! ------------=_1641417243-29520-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Jan 2022 19:20:42 +0000 Received: from localhost ([127.0.0.1]:38798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Bpr-0000DQ-E9 for submit@debbugs.gnu.org; Wed, 05 Jan 2022 14:20:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:60026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Bpo-0000DI-TA for submit@debbugs.gnu.org; Wed, 05 Jan 2022 14:20:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Bpo-0006pN-JS for guix-patches@gnu.org; Wed, 05 Jan 2022 14:20:32 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:30101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Bpj-0000H6-3B for guix-patches@gnu.org; Wed, 05 Jan 2022 14:20:30 -0500 Date: Wed, 05 Jan 2022 19:20:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1641410418; bh=y31iydwpYWXlAsnEUcGnmvVrZaHv6i2xUF3wuUoIpOY=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=hGjGTTRi+f93hgU6QO4YjIZwDhjWltP+03CDwvQhDk8fao+IGbbel7VND4R04HqNb lTw887udSEORxJU96+IqYLNSrlGWdyR3x9jjMhLVOXodA3wILyy3GlcGR44Q3FcBam HowQc57YvSIHtYLwxdHgGtWUbN6+N02ODMvCtwPVgBNQqbB+SxbsuSuRiNCEJv6GXm d1O8IGEE3NmmODMaJyFrPwn9+126Lq4p1XajxBgYhKSHsXM9nj78GIKYA7WqrcDO/o kXt6TGRsokfY8uYoX6toHeXkrgSME9gitQG4QTupPcLjvBCCiiqKMJH07xPLisVRur Vyp9zxCp581nA== To: Guix-patches From: John Kehayias Subject: [PATCH] gnu: syncthing-gtk: Fix autostart. Message-ID: <10YAD-y_pZJkNBM4uVrklp03YiJtBVRcxPqDLGaJJ8R5PSHg6p21iH8A6NjoKR7uxnPCRUA9ELWS1MPYRoOo3v1nylz0VJfG6J3mF6AwZE8=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.134; envelope-from=john.kehayias@protonmail.com; helo=mail-40134.protonmail.ch 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, This is a simple fix/workaround for https://issues.guix.gnu.org/50789 As discussed there, there is not a perfect solution for syncthing-gtk writi= ng ~/.config/autostart/Syncthing-GTK.desktop with the Exec line pointing to= the store path of ".syncthing-gtk-real". I've opted for a simple fix that = won't break upon changes to the syncthing-gtk store path that was done simi= larly to e.g. the desktop files Flatpak writes in 9c4244cc73db4d5c3adf6f834= 2f6b08b39dd3628: just use plain "syncthing-gtk". While this means different= syncthing-gtk could conflict (whatever is first in PATH wins), that seems = unlikely given this package is just a frontend to syncthing. Anyway, seems = like the best option right now so that the autostart file is usable and won= 't break. Thanks, John --b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210 Content-Type: text/x-patch; name=0001-gnu-syncthing-gtk-Fix-autostart.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-syncthing-gtk-Fix-autostart.patch RnJvbSAxZDYyNjc2YjJiNTA3ZjY3MTAzMTEwYzNmY2U1ZDhjNmRjNDgzZjhiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIEtlaGF5aWFzIDxqb2huLmtlaGF5aWFzQHByb3Rvbm1h aWwuY29tPgpEYXRlOiBXZWQsIDUgSmFuIDIwMjIgMTQ6MDk6NDIgLTA1MDAKU3ViamVjdDogW1BB VENIXSBnbnU6IHN5bmN0aGluZy1ndGs6IEZpeCBhdXRvc3RhcnQuCgoqIGdudS9wYWNrYWdlcy9z eW5jdGhpbmcuc2NtIChzeW5jdGhpbmctZ3RrKVsjOnBoYXNlc106IEFkZCBhdXRvc3RhcnQtcGF0 aApwaGFzZSB0byB1c2UgInN5bmN0aGluZy1ndGsiIChyYXRoZXIgdGhhbiBhIHN0b3JlIHBhdGgg dG8KIi5zeW5jdGhpbmctZ3RrLXJlYWwiKSBhcyB0aGUgZXhlYyBjb21tYW5kIGZvciB0aGUgYXV0 b3N0YXJ0IGRlc2t0b3AgZmlsZQp3cml0dGVuIGJ5IHN5bmN0aGluZy1ndGsuCi0tLQogZ251L3Bh Y2thZ2VzL3N5bmN0aGluZy5zY20gfCA4ICsrKysrKysrCiAxIGZ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0b3N0YXJ0LXBhdGgKKyAgICAgICAgICAgICA7OyBDaGFuZ2UgdGhlIGF1dG9zdGFy dCBkZXNrdG9wIGZpbGUgRXhlYyBjb21tYW5kIHRvIGp1c3QgYmUKKyAgICAgICAgICAgICA7OyBz eW5jdGhpbmctZ3RrLCByYXRoZXIgdGhhbiB0aGUgc3RvcmUgcGF0aCB0bworICAgICAgICAgICAg IDs7IC5zeW5jdGhpbmctZ3RrLXJlYWwKKyAgICAgICAgICAgICAobGFtYmRhIF8KKyAgICAgICAg ICAgICAgIChzdWJzdGl0dXRlKiAic3luY3RoaW5nX2d0ay90b29scy5weSIKKyAgICAgICAgICAg ICAgICAgKCgicmV0dXJuIGV4ZWN1dGFibGUiKSAicmV0dXJuIFwic3luY3RoaW5nLWd0a1wiIikp KSkKICAgICAgICAgICAgKGFkZC1hZnRlciAndW5wYWNrICdyZW1vdmUtd2luZG93cy5weQogICAg ICAgICAgICAgIChsYW1iZGEgXwogICAgICAgICAgICAgICAgOzsgQSBXaW5kb3dzLXNwZWNpZmlj IG1vZHVsZSB0aGF0IGZhaWxzIHRvIGxvYWQgd2l0aAotLSAKMi4zNC4xCgo= --b1_v7mh5l33sT4Ttpj3QzjrTY1roIGiLfbBsgfBRaK210-- ------------=_1641417243-29520-1--