On 4/2/25 8:27 PM, Alexis wrote:
> 
> Pramod V U <pramodvu1...@proton.me> writes:
> 
>> But this SUPPORTS broker without systemd. THE "launcher" USEFLAG...
>> Yes, dbus-daemon is sufficient, but I'd like to give the choice for
>> those who want it.
>> I repat once again, USE=-launcher will kill off systemd on that
>> package. Read the output
>> carefully. "sys-apps/dbus-broker-36::gentoo[launcher]" (Notice
>> "[launcher]"; disable it)
> 
> You are right, i was wrong - sorry. i was confused by what you had
> written previously, as in your previous messages, you didn't simply write:
> 
>  By setting USE=-launcher for dbus-broker, systemd doesn't get  pulled in.
> 
> i'm finding it difficult to understand the points you're making, as this
> and my previous question about your mention of `elog` shows, so i'll bow
> out of this thread. However, regarding:


I am not sure I understand the proposal either, tbh.

Although in general, the job of an ebuild tends to be to ensure that
mandatory requirements are satisfied somehow, so if 66 needs a launcher
and provides its own (?) then adding a dependency on an external one
seems an odd choice.

So too, depending on the absence of a USE flag, e.g.

RDEPEND="
    sys-apps/dbus-broker[-launcher]
"

would unnecessarily constrain people from attempting to build it by
default without flag fiddling, whether they want systemd installed at
the same time or not. But simply having


RDEPEND="
    sys-apps/dbus-broker
"

would leave it to the user to decide whether to add -launcher to
package.use, and admittedly also confuse them terribly and maybe make
them upset to see systemd being pulled in by default.

I don't know that there's a good choice here short of having a s6-66
option in `eselect profile` that adds a profile package.use which
defaults "launcher" to off.

So, avoiding dbus-broker altogether seems like the best option.


Alexis, you said before:

> My advice and suggestions are based on my knowledge and experiences in
> this area, with the intention of helping you create a package that
> people will want to use. But also, i don't want people to get the
> impression that 66 depends on systemd - which it doesn't - simply
> because you insist on using dbus-broker rather than dbus-daemon, even
> though the latter is perfectly adequate for most people's needs
> (including my own).

and I think I very much agree with you here. If people really want to
use dbus-broker, let them, but don't try to make portage install it for
them as it will simply cause no end of trouble.



-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to