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 OJHrBGuKfWDmJwAAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 15:49:31 +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 EJcsO2qKfWBrVwAAbx9fmQ (envelope-from ) for ; Mon, 19 Apr 2021 13:49:30 +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 2B22533AC9 for ; Mon, 19 Apr 2021 15:49:30 +0200 (CEST) Received: from localhost ([::1]:36750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYUHJ-0005En-7l for larch@yhetil.org; Mon, 19 Apr 2021 09:49:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYUGs-00058b-CZ for guix-patches@gnu.org; Mon, 19 Apr 2021 09:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYUGs-0008P7-4a for guix-patches@gnu.org; Mon, 19 Apr 2021 09:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYUGs-0004Au-1i for guix-patches@gnu.org; Mon, 19 Apr 2021 09:49:02 -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 13:49: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: Brendan Tildesley , 47870@debbugs.gnu.org Received: via spool by 47870-submit@debbugs.gnu.org id=B47870.161884008415534 (code B ref 47870); Mon, 19 Apr 2021 13:49:02 +0000 Received: (at 47870) by debbugs.gnu.org; 19 Apr 2021 13:48:04 +0000 Received: from localhost ([127.0.0.1]:48876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYUFv-000424-RT for submit@debbugs.gnu.org; Mon, 19 Apr 2021 09:48:04 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:16162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYUFt-0003yq-3g for 47870@debbugs.gnu.org; Mon, 19 Apr 2021 09:48:02 -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 4FP7Rw6kSQz3x6W; Mon, 19 Apr 2021 15:47:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618840077; bh=xua/DkKf18XKmTHWYtyd58sf9LZxmF+l6r0bowpDxqs=; h=Subject:From:To:Date:In-Reply-To:References; b=LD2l/Qy5srRbp6yVgj1BB+VR8dTi4hFiQDFhADiCCyXBP8AC+f4yf79ifzlD/XYu8 eXoN+Thee/DWBFz4o3pUAYx6kMLfVyJPLkqXDEhF8s27EKEaT4FbAC62tzq/hFvPBg H99WVoHn2GJPsm2lJT3lB8NYuBhM/v/bFW3mJANA= Message-ID: From: Leo Prikler Date: Mon, 19 Apr 2021 15:47:55 +0200 In-Reply-To: <1196699337.93185.1618839043709@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> <10ddc05d03469890073e218715a1a6c74151e2a9.camel@student.tugraz.at> <1196699337.93185.1618839043709@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=1618840170; 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=xua/DkKf18XKmTHWYtyd58sf9LZxmF+l6r0bowpDxqs=; b=dc6UANC/21ga5WHeqpNChX+FBnjv7qdCojGvOjpKaDg2jhAsUMzX7GJdcs2vUT7HId8dqI VX8AZpwSRz9O4NpICafMNgnmR1PCm94UgOvsQ8IstLzUP6RcNLlUiBvugcYt930FkeM0P7 g1c00WiQ/POCEuqJTw+MBlSjd2hu7gh4BXQzqoJ6SDQAzw9jWtLYDt69yXdZmMnDT2Ab0b wQKOqjLtzONGm9T7kaI2ptYWBqWGnE9GTDsFRu7Dv3nQurgul/vZAt53qcI/uLAGzkj2mT MHA3MIjlrMy+1OMKvTYr0Z4NZ8bgrH1dnMH86g4YrnXgANJFSyp0RD9/Qg6X6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618840170; a=rsa-sha256; cv=none; b=aK7uwARpJusQMNzrY4J74/RJrEg07vYN9sMFhXvHROsb0s6ZMTPLNfcBKzgIVSkCj6V//u C/EqWDzs0Mh+MjkYRDLaUYqKASofeK/VMzs7lZC1AmKlAiitLfxeeMjyPp8ArGq8ZoCtE/ pfUDYIGSEYnAD6jP+ztg9UARPbVCXdBs+l9MLEv/pUo6a01ritUT8V0lBlCO4j7OfUe36d M2cVhc+eN6N4QVq6K68iIXqMEQCImqSUhISA7ePdwySsWCfSwKHZ5bZUaYeI+4eUcSMlZ7 qQTt8M2cNiFC4/6+RV1CAJIjcZkwGWwHAL0upxc4kp2oryvKgrptvOcYrb9E1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="LD2l/Qy5"; 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="LD2l/Qy5"; 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: 2B22533AC9 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: LisYHzb2FbwC Hi, Am Montag, den 19.04.2021, 15:30 +0200 schrieb Brendan Tildesley: > > 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 < > > > > leo.prikler@student.tugraz.at> > > > > 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. 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 know that waiting long for your patch to be upstreamed can be frustrating, but I'm not here to tease you; rather I want to ensure, that whatever you do ends up not as a quick and dirty fix, but a proper package. > 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? Regards, Leo