Message ID | 20220731155038.30945-1-mail@muradm.net |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1FC7727BBEA; Sun, 31 Jul 2022 16:51:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D612C27BBE9 for <patchwork@mira.cbaines.net>; Sun, 31 Jul 2022 16:51:10 +0100 (BST) Received: from localhost ([::1]:50582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1oIBDi-0000S5-0y for patchwork@mira.cbaines.net; Sun, 31 Jul 2022 11:51:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oIBDa-0000R2-5K for guix-patches@gnu.org; Sun, 31 Jul 2022 11:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oIBDZ-0002u4-Rq for guix-patches@gnu.org; Sun, 31 Jul 2022 11:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oIBDZ-0003bs-O7 for guix-patches@gnu.org; Sun, 31 Jul 2022 11:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus. Resent-From: muradm <mail@muradm.net> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Jul 2022 15:51:01 +0000 Resent-Message-ID: <handler.56859.B.165928264613853@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56859 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56859@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165928264613853 (code B ref -1); Sun, 31 Jul 2022 15:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2022 15:50:46 +0000 Received: from localhost ([127.0.0.1]:38505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1oIBDJ-0003bM-Mt for submit@debbugs.gnu.org; Sun, 31 Jul 2022 11:50:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:37880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@muradm.net>) id 1oIBDI-0003bF-0M for submit@debbugs.gnu.org; Sun, 31 Jul 2022 11:50:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@muradm.net>) id 1oIBDG-0000Nx-Jw for guix-patches@gnu.org; Sun, 31 Jul 2022 11:50:43 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:54906 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@muradm.net>) id 1oIBDE-0002rY-SC for guix-patches@gnu.org; Sun, 31 Jul 2022 11:50:42 -0400 Received: from localhost ([127.0.0.1]:32960) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <mail@muradm.net>) id 1oIBCn-0007UW-34 for guix-patches@gnu.org; Sun, 31 Jul 2022 15:50:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To: From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wjf0uoJglMSbyrVseEmqnEWw57GQQ/UDpxqNrNLTSrc=; b=J3oj3kMD/TbsdKKnk1oO70lvIY 0XRnT8E4QoDKM/+VXjid5BooI/t6i5PPCKxpJH32Q2t+viFe7msQ6JEnwGciDyPMeBJzZQ3kX5sOu +PDS3o09OdW0PBbRWggOnZnMuKYeqkXU+nEbZ0aIlfgeCGPKq/cmgyfuGS/jOfZ73h+3Nj8jBCydV 5Qlip96myptvi7W3ku0WWUj96mhwnBakkadxZ8SPn8sVg9bot0VDBRVam5IBR7m7I+3XQAO4Tbx5v jXuI5vQjLni8OjouT4MyS8GmSbeeghywBkPzZom1+2OyMevkUyErtgO0uDUbJJYEWTBesSBu5PsfQ Wi99b8cA23As38lLPHgSKwupD8ao8vX5wPlQJrsm2lLbY0T7j2FwBPU4Dnd59xjrF1tWoHlfQivRO 3u3RjNGiaogrkDnPPK6U5VKVHNQceYCGqnn50w/nWOR7tUzuxdrlna3dDLA6ZQFR859RARZ8Yt8AZ C/Yi+Ckbf+M5oSWxCKJForJf; Received: from muradm by localhost with local (Exim 4.96) (envelope-from <mail@muradm.net>) id 1oIBDC-00083F-1f for guix-patches@gnu.org; Sun, 31 Jul 2022 18:50:38 +0300 From: muradm <mail@muradm.net> Date: Sun, 31 Jul 2022 18:50:38 +0300 Message-Id: <20220731155038.30945-1-mail@muradm.net> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#56859] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
|
|
Commit Message
muradm
July 31, 2022, 3:50 p.m. UTC
* gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr): [inputs]: Change elogind to basu. [arguments]: Specify "-Dsd-bus-provider=basu" explicitly. --- gnu/packages/freedesktop.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 31-07-2022 17:50, muradm wrote: > * gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr): > [inputs]: Change elogind to basu. > [arguments]: Specify "-Dsd-bus-provider=basu" explicitly. What's the reason for the switch? Greetings, Maxime
On Sun Jul 31, 2022 at 6:38 PM BST, Maxime Devos wrote:
> What's the reason for the switch?
Fewer dependencies (we include only the sd-bus library without the whole
of elogind), and it means eventually desktop users won't ever need elogind
to even exist in their store. (I think this is the reason. I'm not certain,
and there may be something more important, like some incompatibility with
seatd.)
-- (
On 31-07-2022 23:45, ( wrote: > On Sun Jul 31, 2022 at 6:38 PM BST, Maxime Devos wrote: >> What's the reason for the switch? > Fewer dependencies (we include only the sd-bus library without the whole > of elogind), and it means eventually desktop users won't ever need elogind > to even exist in their store. (I think this is the reason. I'm not certain, > and there may be something more important, like some incompatibility with > seatd.) > > -- ( That's interesting but sounds very non-specific to xdg-desktop-portal-wlr; I think this would be better to propose on guix-devel@ to switch elogind->basu for _all_ dependents, not only xdg-desktop-portal-wlr -- the latter would increate the closure, not reduce it, because other installed packages would still use elogind. Greetings, Maxime.
On 01-08-2022 01:13, Maxime Devos wrote: > > On 31-07-2022 23:45, ( wrote: >> On Sun Jul 31, 2022 at 6:38 PM BST, Maxime Devos wrote: >>> What's the reason for the switch? >> Fewer dependencies (we include only the sd-bus library without the whole >> of elogind), and it means eventually desktop users won't ever need >> elogind >> to even exist in their store. (I think this is the reason. I'm not >> certain, >> and there may be something more important, like some incompatibility >> with >> seatd.) >> >> -- ( > > That's interesting but sounds very non-specific to > xdg-desktop-portal-wlr; I think this would be better to propose on > guix-devel@ to switch elogind->basu for _all_ dependents, not only > xdg-desktop-portal-wlr -- the latter would increate the closure, not > reduce it, because other installed packages would still use elogind. Additionally, the reason should have been mentioned in the commit message. Greetings, Maxime.
Hi, Regarding switching, I don't think it is very straight forward to switch elogind with basu. Issue is that elogind "also" includes sd-bus. Dependents may require either sd-bus and/or other parts of elogind. Those who require sd-bus only to interface with bus could be switched to basu gradually. Most likely this will be suitable for "minimalist" applications. I.e. basu is a drop-in replacement for those require sd-bus only, but not whole elogind. Thanks in advance, muradm Maxime Devos <maximedevos@telenet.be> writes: > [[PGP Signed Part:Undecided]] > > On 01-08-2022 01:13, Maxime Devos wrote: >> >> On 31-07-2022 23:45, ( wrote: >>> On Sun Jul 31, 2022 at 6:38 PM BST, Maxime Devos wrote: >>>> What's the reason for the switch? >>> Fewer dependencies (we include only the sd-bus library without >>> the whole >>> of elogind), and it means eventually desktop users won't ever >>> need >>> elogind >>> to even exist in their store. (I think this is the reason. I'm >>> not >>> certain, >>> and there may be something more important, like some >>> incompatibility with >>> seatd.) >>> >>> -- ( >> >> That's interesting but sounds very non-specific to >> xdg-desktop-portal-wlr; I think this would be better to propose >> on >> guix-devel@ to switch elogind->basu for _all_ dependents, not >> only >> xdg-desktop-portal-wlr -- the latter would increate the >> closure, not >> reduce it, because other installed packages would still use >> elogind. > > Additionally, the reason should have been mentioned in the > commit message. > > Greetings, > Maxime. > > [2. OpenPGP public key --- application/pgp-keys; > OpenPGP_0x49E3EE22191725EE.asc]... > > [[End of PGP Signed Part]]
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index cde7156383..1a30091da0 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2408,7 +2408,7 @@ (define-public xdg-desktop-portal-wlr (arguments `(#:configure-flags '("-Dsystemd=disabled" - "-Dsd-bus-provider=libelogind") + "-Dsd-bus-provider=basu") #:phases (modify-phases %standard-phases (add-after 'unpack 'hardcode-binaries @@ -2426,8 +2426,8 @@ (define-public xdg-desktop-portal-wlr (string-append "execvp(\"" sh))))))))) (native-inputs (list cmake pkg-config)) - (inputs (list elogind - bash-minimal + (inputs (list bash-minimal + basu grim iniparser libinih