tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: at-spi2-core now needs libsystemd on Linux



On Sun, May 24, 2026 at 02:58:30PM +0000, Benny Siegert wrote:
> On Sun, 24 May 2026, Thomas Klausner wrote:
> 
> > Looking at the options, this seems to have a systemd option - just
> > turn it off.
> > 
> > meson_options.txt:option('use_systemd'
> > 
> > so something like
> > 
> > MESON_ARGS+=   -Duse_systemd=disabled
> 
> Unfortunately, -Duse_systemd=false results in this error:
> 
> bus/meson.build:85:4: ERROR: Problem encountered: Systemd is required for
> dbus-broker, but use_systemd is set to false.
> 
> AIUI, there are two dbus implementations: dbus-daemon (which we have in
> pkgsrc) and dbus-broker (which Fedora uses natively). dbus-broker relies
> entirely on systemd for process activation, unlike dbus-daemon.
> 
> I think one could patch out support for dbus-broker and thus not have the
> systemd dependency, but I am concerned about incompatibilities with the
> built-in desktop stuff -- you can only run one dbus implementation at a
> time.

Maybe try

MESON_ARGS+=   -Ddefault_bus=dbus-daemon

to use the dbus daemon that is in pkgsrc?


The commit was

Date:   Mon Nov 17 11:57:54 2025 -0600

    meson: Use dbus-broker by default
    
    We have a default_bus option in meson that controls whether dbus-daemon
    or dbus-broker will be used in cases where both are available. Trying to
    use dbus-daemon no longer works on one of my systems, and dbus-broker is a
    more sensible default nowadays (the original code making dbus-daemon the
    default dated back to 2018). Hopefully, this change will have no effect on
    non-Linux systems that do not use dbus-broker, and dbus-daemon will continue
    to be used in such cases.

so presumably you are on a Linux system, but then it isn't obvious which
dbus implementation to expect from the above.


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index