Monday, November 06, 2023

Re: prevent from using libudev if present

Le Mon, Nov 06, 2023 at 09:08:20AM +0100, Matthieu Herrb a écrit :
> On Sun, Nov 05, 2023 at 11:29:13AM +0100, Rafael Sadowski wrote:
> > Here is a diff that deactivate libudev detection in dvdstyler and add a
> > comment in libudev-openbsd.
> >
> > The list should then be complete, just like the list for libinput in
> > wayland/libinput-openbsd. All consumers should now be patched.
> >
> > Comments, OK?
>
> I'm ok with this for now.

i'm just not fully sure _all_ ports that might detect libudev/libinput
have been patched. rafael, where does the list come from ? if that's
from a grep tb@ did, iirc that just matched autoconf ports, ie not
cmake/meson/other build systems..

as advised in another related thread, i'm not sure putting
libudev/libinput under a different path as like is done with inotify is
a good idea, it's sometimes a pain to deal with, triggers
port-lib-depends-check warnings that confuse ports newcomers, and feels
like gratuitous self-inflicted pain.

> Under X on OpenBSD nothing should to use libinput or libudev for input
> handling. It's not going to work since X is reading directly from
> wscons devices and not though libinput, and I've no plans to change
> that.

agreed, maybe that should go in a comment in the libinput/libudev ports
so that ppl stumbling on it understand they shouldnt add a dependency
without a good reason ?

No comments:

Post a Comment