Which should be used, devel/evdev-proto or /usr/include/dev/evdev?

藍挺瑋 <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
I found evdev-proto, which includes linux/input.h, was added a few
months ago. It seems that many ports has been gradually switched to use
it after it was added. However, I also remember there was a patch in
ports to modify GTK3 to use dev/evdev/input.h from base instead of
linux/input.h from ports. I wonder which one should be preferred now.

The GTK3 patch mentioned above was added about a year ago:
https://svnweb.freebsd.org/changeset/ports/465644

After seeing the patch in ports, I submitted it to GTK upstream:
https://gitlab.gnome.org/GNOME/gtk/merge_requests/132
https://gitlab.gnome.org/GNOME/gtk/merge_requests/133

Since software supporting Wayland are likely to require linux/input.h,
is there a policy on dealing with the dependency on linux/input.h? It
seems to me that evdev-proto was added specifically to address the
issue, so I guess we should just install evdev-proto, stop patching
linux/input.h to dev/evdev/input.h, stop submitting this kind of patch
to upstream projects and tell upstream it is fine to use linux/input.h
on FreeBSD. Is it correct?
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.