From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kFC/AERxfWDhNQEAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 14:02:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4GopNkNxfWCuDQAAbx9fmQ (envelope-from ) for ; Mon, 19 Apr 2021 12:02:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 61A3131CBE for ; Mon, 19 Apr 2021 14:02:11 +0200 (CEST) Received: from localhost ([::1]:49042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYSbS-0008KR-2M for larch@yhetil.org; Mon, 19 Apr 2021 08:02:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYSbK-0008KK-7s for guix-patches@gnu.org; Mon, 19 Apr 2021 08:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYSbJ-0001vc-Uy for guix-patches@gnu.org; Mon, 19 Apr 2021 08:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYSbJ-0002wk-RS for guix-patches@gnu.org; Mon, 19 Apr 2021 08:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47870] [PATCH 1/2] gnu: polkit-gnome: Add autostart .desktop file. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Apr 2021 12:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brendan Tildesley , 47870@debbugs.gnu.org Received: via spool by 47870-submit@debbugs.gnu.org id=B47870.161883367711267 (code B ref 47870); Mon, 19 Apr 2021 12:02:01 +0000 Received: (at 47870) by debbugs.gnu.org; 19 Apr 2021 12:01:17 +0000 Received: from localhost ([127.0.0.1]:48574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYSaX-0002vc-FE for submit@debbugs.gnu.org; Mon, 19 Apr 2021 08:01:17 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYSaR-0002vM-IK for 47870@debbugs.gnu.org; Mon, 19 Apr 2021 08:01:11 -0400 Received: from nijino.local (194-96-9-9.adsl.highway.telekom.at [194.96.9.9]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FP54b2KBmz3wPx; Mon, 19 Apr 2021 14:01:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618833663; bh=HFJNycY1/As2BDN07spcI/4swFe2scvIFff5D0V1898=; h=Subject:From:To:Date:In-Reply-To:References; b=KXqR3gS2fxmJ5zQ1V+s5ffPDWkQrMrVYi0zUPdD92lDzMHWUmMCwSAT0LfbuH03Oq kx8gyRQsfVvqFcfvTXKzJKwXnH74pntdT8UZIA5c7l+d957SRbd/zQ2cgnwyG1OxwJ RigVCveW2PuWNkDeIkeLWgE4ocgr2sOcYOvYwLBc= Message-ID: <10ddc05d03469890073e218715a1a6c74151e2a9.camel@student.tugraz.at> From: Leo Prikler Date: Mon, 19 Apr 2021 14:01:02 +0200 In-Reply-To: <752594641.90411.1618831613893@office.mailbox.org> References: <20210418131727.6104-1-mail@brendan.scot> <687049384.78340.1618758931217@office.mailbox.org> <1897089617.84042.1618815414259@office.mailbox.org> <758fbca893846a643f5478972867e01d620b89dc.camel@student.tugraz.at> <563816062.89942.1618830123011@office.mailbox.org> <6366c8d3227b63cda7bb9b7895fb4a70889155d0.camel@student.tugraz.at> <752594641.90411.1618831613893@office.mailbox.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618833731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HFJNycY1/As2BDN07spcI/4swFe2scvIFff5D0V1898=; b=XaCX2MzsjwcbPm3IoiAnQ4QOC5VJ+y0DGD6ttXAvfNEsENoIvZK9pkB3091RIM3fqAF6JX 8tM2M01dve00P1GoEX2P1+qcr+x7PEBKtUkVR1hp0e/YYG6ximSVu1Fyd08UY0R80SA5oI am2lFe63E0pUzbJhljSSPFjyODMj1wHmyKUOExWGcWhGYGJBpGf2Ll8b2XP5JKFnD6kUoR Js5FyqgOwEGHWweigH1K2nwFw86J3ErhNn6S/GsD8CwbQUGtznPBOPl9YekVnJTuGbUv6y ntY1rwKbmJgVVKmIUhNzMXEXO95ATFKHNmK+sTDqd5sPWDAhLp00Qgg3gSrvKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618833731; a=rsa-sha256; cv=none; b=oNy+Mn5bIjVJI/h9OY8VCV5I4aIRAdWPgZHnuLV3NinngKjpbtEXnBMv/biW9Wcq0gLkOc nu0ybpHaLU4uHPQqziKyFHvan4GVWXQltPTHUiC3bhBrMdrO5o4oj5stxBVTpE3EtyScAa ChVu4RSPDCbyaBWwVZq/TqcU3ys7rP0PAAso8JCdxzClfKbIu5zJKLYpyz/n7Wj/qnYelJ dlNX0b9DufrmHFzuSQ/vbf6bP2Tg3ZWb+PD2X49hKTYsTcbIlwtubjTI3PougPA38OfpFX 1+hbyjWLpipnlfdFNgQpZLqXKPoCPKTEqeG8RKV9HswzPQ9ORx6PLqSmm0jkjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=KXqR3gS2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=KXqR3gS2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 61A3131CBE X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: sNnAcMf3mfDL Am Montag, den 19.04.2021, 13:26 +0200 schrieb Brendan Tildesley: > > On 04/19/2021 1:12 PM Leo Prikler > > wrote: > > > > > > Hi Brendan, > > > > That's a pretty large package description for something rather > > trivial. > > Would the following work instead? > > > > (package/inherit mate-polkit > > (arguments > > `(#:phases > > (modify-phases %standard-phases > > (add-after 'unpack 'patch-desktop-for-xfce > > (lambda _ > > (substitute* "src/polkit-mate-authentication-agent- > > 1.desktop.in.in" > > (("MATE;") "XFCE;")))))))) > > > > Regards, > > Leo > Uhh ok it's simpler source code but now we're building it twice, > potentially having two copies of it and the .desktop file will have > the same filename and thus conflict if both desktops are installed. Oh, right, I was missing the part, in which we rename it. W.r.t. "building it twice", that's only if you have both mate-polkit and the new one in your profile, in which case I guess it would be tolerable. If you're using just MATE or just XFCE you'll build one or the other. FWIW, there is also xfce-polkit [1], but it was last updated 2020 with the latest release in 2018 (which is still more recent than 2011, though). WDYT? [1] https://github.com/ncopa/xfce-polkit