From patchwork Wed Apr 21 05:31:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 28719 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AB9E727BC7A; Wed, 21 Apr 2021 06:33:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 21C1927BC79 for ; Wed, 21 Apr 2021 06:33:14 +0100 (BST) Received: from localhost ([::1]:41334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ5U9-0001It-A7 for patchwork@mira.cbaines.net; Wed, 21 Apr 2021 01:33:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ5Ty-0001HU-Pn for guix-patches@gnu.org; Wed, 21 Apr 2021 01:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZ5Ty-0002OH-IV for guix-patches@gnu.org; Wed, 21 Apr 2021 01:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZ5Ty-0007Me-Fo for guix-patches@gnu.org; Wed, 21 Apr 2021 01:33:02 -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: Wed, 21 Apr 2021 05:33:02 +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: Leo Prikler , 47870@debbugs.gnu.org Received: via spool by 47870-submit@debbugs.gnu.org id=B47870.161898312528226 (code B ref 47870); Wed, 21 Apr 2021 05:33:02 +0000 Received: (at 47870) by debbugs.gnu.org; 21 Apr 2021 05:32:05 +0000 Received: from localhost ([127.0.0.1]:56759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ5T3-0007LB-AJ for submit@debbugs.gnu.org; Wed, 21 Apr 2021 01:32:05 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:16184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ5T1-0007Kh-HV for 47870@debbugs.gnu.org; Wed, 21 Apr 2021 01:32:04 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (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 4FQ8Lj16fMzQk2m; Wed, 21 Apr 2021 07:31:57 +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=1618983115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V1AoX+lzErViKldhRWxtbGOpl8S0d+GLSi1jwXwC+/I=; b=i1wrBq6t0LBsGsnaeFTBD9oO7n5P+DLVpbbiX2HprEjW5JwmNlAEqNIZxMv+/umXuE3jFs vNWYVtFnJbN293ZXTYbh2P+ERL/seq/vcxt7xt7tsEI1j4jxx68dRk5e4ee8ND/7lWt0oy 4sNbzJIfkGvC0O3IOk0vHNEkbW2LfZzKH8EdRuPy4mAZK2Zw6j00uX8d7uVVsn1Yxv7y60 beoG0lAbAEWoFICGnSP8Gk0b0BKafbi/nDOHsqG0evf8VC2JUKuIDCGIWCVhBAygea+PwI 3R31qSTgC4hasUsMrnyoHY8xtkp80nC7NoFEQ4lhsIiQDhHszgkthE79coeFHQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id 8kKA2-CA-6N6; Wed, 21 Apr 2021 07:31:53 +0200 (CEST) Date: Wed, 21 Apr 2021 07:31:52 +0200 (CEST) From: Brendan Tildesley Message-ID: <1945027116.9867.1618983112546@office.mailbox.org> In-Reply-To: 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> <1196699337.93185.1618839043709@office.mailbox.org> MIME-Version: 1.0 X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: X-Rspamd-Score: -6.00 / 15.00 / 15.00 X-Rspamd-Queue-Id: CD3871829 X-Rspamd-UID: f1fcb1 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches > On 04/19/2021 3:47 PM Leo Prikler wrote: [...] > Fair enough, so it's either gnome or mate for XFCE. > > > 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. > It's your choice, what you want to implement: > 1. gnome-polkit with an added desktop file (but please use an aux file > or make-desktop-file-entry instead of an origin pointing into the > aether) > 2. mate-polkit-for-xfce with the renamed desktop file. > 3. something completely else I made a patch for mate-polkit-for-xfce. > > 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. " > Hmm, in that case keeping gnome-polkit around longer might be desirable > if people want to port Cinnamon or Unity. What does Debian's desktop > file look like and could we port it over? It has OnlyShowIn=XFCE;Unity;X-Cinnamon; It also applies four patches of course 0001-Select-the-current-user-to-authenticate-with-by-defa.patch 0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch 0003-Get-user-icon-from-accountsservice-instead-of-lookin.patch 0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch http://deb.debian.org/debian/pool/main/p/policykit-1-gnome/policykit-1-gnome_0.105-7.debian.tar.xz From ccfd8c55472d9af3050d27c9b151d12323d728ce Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Mon, 19 Apr 2021 20:16:05 +1000 Subject: [PATCH 2/2] gnu: xfce: Autostart mate-polkit. * gnu/packages/xfce.scm (xfce):[inputs]: Add mate-polkit-for-xfce. --- gnu/packages/xfce.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 6d272a74ac..0d38649024 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -990,6 +990,7 @@ on your desktop.") ("gnome-icon-theme" ,gnome-icon-theme) ("gtk-xfce-engine" ,gtk-xfce-engine) ("hicolor-icon-theme" ,hicolor-icon-theme) + ("mate-polkit-for-xfce" ,mate-polkit-for-xfce) ("ristretto" ,ristretto) ("shared-mime-info" ,shared-mime-info) ("thunar" ,thunar) -- 2.31.1