* [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
@ 2022-07-31 15:50 muradm
2022-07-31 17:38 ` Maxime Devos
0 siblings, 1 reply; 7+ messages in thread
From: muradm @ 2022-07-31 15:50 UTC (permalink / raw)
To: 56859
* 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(-)
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
--
2.37.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
2022-07-31 15:50 [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus muradm
@ 2022-07-31 17:38 ` Maxime Devos
2022-07-31 21:45 ` ( via Guix-patches via
0 siblings, 1 reply; 7+ messages in thread
From: Maxime Devos @ 2022-07-31 17:38 UTC (permalink / raw)
To: muradm, 56859
[-- Attachment #1.1.1: Type: text/plain, Size: 259 bytes --]
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
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
2022-07-31 17:38 ` Maxime Devos
@ 2022-07-31 21:45 ` ( via Guix-patches via
2022-07-31 23:13 ` Maxime Devos
0 siblings, 1 reply; 7+ messages in thread
From: ( via Guix-patches via @ 2022-07-31 21:45 UTC (permalink / raw)
To: Maxime Devos, muradm, 56859
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.)
-- (
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
2022-07-31 21:45 ` ( via Guix-patches via
@ 2022-07-31 23:13 ` Maxime Devos
2022-07-31 23:32 ` Maxime Devos
0 siblings, 1 reply; 7+ messages in thread
From: Maxime Devos @ 2022-07-31 23:13 UTC (permalink / raw)
To: (, muradm, 56859
[-- Attachment #1.1.1: Type: text/plain, Size: 826 bytes --]
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.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
2022-07-31 23:13 ` Maxime Devos
@ 2022-07-31 23:32 ` Maxime Devos
2022-08-01 4:55 ` muradm
0 siblings, 1 reply; 7+ messages in thread
From: Maxime Devos @ 2022-07-31 23:32 UTC (permalink / raw)
To: (, muradm, 56859
[-- Attachment #1.1.1: Type: text/plain, Size: 990 bytes --]
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.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
2022-07-31 23:32 ` Maxime Devos
@ 2022-08-01 4:55 ` muradm
2022-08-01 5:35 ` [bug#56859] [PATCH v2] " muradm
0 siblings, 1 reply; 7+ messages in thread
From: muradm @ 2022-08-01 4:55 UTC (permalink / raw)
To: Maxime Devos; +Cc: (, 56859
[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]
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]]
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#56859] [PATCH v2] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus.
2022-08-01 4:55 ` muradm
@ 2022-08-01 5:35 ` muradm
0 siblings, 0 replies; 7+ messages in thread
From: muradm @ 2022-08-01 5:35 UTC (permalink / raw)
To: 56859
* gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr):
[inputs]: Change elogind to basu.
[arguments]: Specify "-Dsd-bus-provider=basu" explicitly.
xdg-desktop-portal-wlr requires only sd-bus which is now
available via basu as standalone.
---
gnu/packages/freedesktop.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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
--
2.37.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-08-01 5:36 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-31 15:50 [bug#56859] [PATCH] gnu: xdg-desktop-portal-wlr: Change elogind to basu for sd-bus muradm
2022-07-31 17:38 ` Maxime Devos
2022-07-31 21:45 ` ( via Guix-patches via
2022-07-31 23:13 ` Maxime Devos
2022-07-31 23:32 ` Maxime Devos
2022-08-01 4:55 ` muradm
2022-08-01 5:35 ` [bug#56859] [PATCH v2] " muradm
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).