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 2EZwG3iGfWB+EgAAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 15:32:40 +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 6J0JFniGfWCESgAAbx9fmQ (envelope-from ) for ; Mon, 19 Apr 2021 13:32:40 +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 C9CE533652 for ; Mon, 19 Apr 2021 15:32:39 +0200 (CEST) Received: from localhost ([::1]:43520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYU10-0003r7-D0 for larch@yhetil.org; Mon, 19 Apr 2021 09:32:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYTzT-0002du-Tm for guix-patches@gnu.org; Mon, 19 Apr 2021 09:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYTzT-0005jj-KI for guix-patches@gnu.org; Mon, 19 Apr 2021 09:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYTzT-0000F3-FU for guix-patches@gnu.org; Mon, 19 Apr 2021 09:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47870] [PATCH 1/2] gnu: polkit-gnome: Add autostart .desktop file. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Apr 2021 13:31:03 +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: 47870@debbugs.gnu.org Cc: Leo Prikler Received: via spool by 47870-submit@debbugs.gnu.org id=B47870.1618839061868 (code B ref 47870); Mon, 19 Apr 2021 13:31:03 +0000 Received: (at 47870) by debbugs.gnu.org; 19 Apr 2021 13:31:01 +0000 Received: from localhost ([127.0.0.1]:48835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYTzQ-0000DX-RN for submit@debbugs.gnu.org; Mon, 19 Apr 2021 09:31:01 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:32904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYTzN-00005Y-IF for 47870@debbugs.gnu.org; Mon, 19 Apr 2021 09:30:58 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4FP74C20Y7zQjbY; Mon, 19 Apr 2021 15:30:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1618839049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5zLgQHzf+PLAmwhR+oFL/1302rsAPMPYPnob/T9b/Bw=; b=YhojwoTSTl8y4FMJ0+H1ARZYJZvOUnxAnIWr4mMmJYj+2bQXC2GgqjDfQFqaJmK9WWBLG4 kilez+uaP20uNMXRG8/CyXDmprO8xxfiNFDiDDA2LkY5XDhaxTqbWhaqXi39QxOiUsZEyB a+ZP7aB2gM/tkwcJKpuKrk95Yvl4tCfgLcXgE5m3wciyuFwBXTjBpZf10T7+mx73BkDAqV 2XzVZq5WovN5mBImJK6+f2pBaJx1StlYOutUyaUHgy1IgT6E4WAzzp0E1WUycsBXarV5di ZLOGbmr1vcyU779QLXIQYkPM2OhbEwxojWrBtKD3C+L+XJ2Iy3a0yewdA4lxJw== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id rQK6SBtSBjK8; Mon, 19 Apr 2021 15:30:44 +0200 (CEST) Date: Mon, 19 Apr 2021 15:30:43 +0200 (CEST) From: Brendan Tildesley Message-ID: <1196699337.93185.1618839043709@office.mailbox.org> In-Reply-To: <10ddc05d03469890073e218715a1a6c74151e2a9.camel@student.tugraz.at> 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> <10ddc05d03469890073e218715a1a6c74151e2a9.camel@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: X-Rspamd-Score: -6.81 / 15.00 / 15.00 X-Rspamd-Queue-Id: 00F081887 X-Rspamd-UID: c2539a 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=1618839159; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=5zLgQHzf+PLAmwhR+oFL/1302rsAPMPYPnob/T9b/Bw=; b=EL64OQrRk+uVgXFthCGzCdyRPKBnY8+QVmg6BAwjFRb7ySrwiyxAD5uQtWEfqJcQJMEG2D YQ/7Amq0ZD64c7Bts3xjS20KXWhHVQ0sZleobYOyp/vsQiOZZltb6LSueBEETWL96j/ltm 6c6IRWmCTE1aPL5HboiKEpSjt+kQSdkl9Vsc2/UxDsNDTkMjeeWHSZxXKdDQI/tOjWyQNa LNYDZVegzFgL6po9kIexW2vq8tHqwa7EPRx3V79OWC5RVQe3ImssitJn6CpsCEK2K6PCpY 7IWDb+/EjfunjxbNWpSWQ62ks6E3OL08AMI1H98oH0rC5O10YqQNpEkPukSYSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618839159; a=rsa-sha256; cv=none; b=o8eCwNmdOmw0Aw+6Dk0/4TOuvFc/gu+e0FzssfmaYXxagKrYRz4V34+7nhr2LAdYtSNmwx /o0lXdbCtOaA7nAvAFXhfWfxiEIESFyGyMzJyV1L+JwBmIDe2POnmzYQPgfJ1yZnpToS7t PKifu3nltQIEe7VvnIDC5mOr6t3NPF5s4DnRKQMIYfIpIn34j28HUhhqHx2C3Hjy49F/x/ Dixv3uBXPiYN8nDMcRXqqe7UFJJIgowQLcfS44jKVfX6m6BjLXscfSGwfxag8o1iJJMy0U EdTLUn804QnagfQc+Mz0FWznzoKG5/C455FB6S5yCScgQSW33EcrNV1kPAb42w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=YhojwoTS; dmarc=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.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=YhojwoTS; dmarc=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: C9CE533652 X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: f3sUeG1Ghl/m > On 04/19/2021 2:01 PM Leo Prikler wrote: > > > 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 Yeah I saw these but there is next to zero information on them. I packaged it and it seems worse. It doesn't even have OK/Cancel buttons for mouse operation in the password entry dialogue. It uses libxfce4ui and has "xfce" in the name but otherwise doesn't seem any more or less suitable for xfce than other agents. At this point I just want to pick one and get it done with. If you like I can make mate-polkit like your suggestion but rename the desktop file so it doesn't conflict. Debian's package says this on gnome-polkit: "This implementation was originally designed for GNOME 2, but most GNOME-based desktop environments, including GNOME 3, GNOME Flashback, and MATE, have their own built-in PolicyKit agents and no longer use this one. The remaining users of this implementation are Cinnamon, XFCE and Unity. "