[Bug 243649] devel/libepoll-shim: Update to 0.0.20191109 version to unbreak re-plugging input devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 27 13:27:37 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243649

            Bug ID: 243649
           Summary: devel/libepoll-shim: Update to 0.0.20191109 version to
                    unbreak re-plugging input devices
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: grembo at FreeBSD.org

devel/libepoll-shim is at version 0.0.20190311, which has a couple of
shortcomings that have been fixed upstream[0].

I noticed this when re-plugging a USB keyboard device didn't work, which was
due to a problem freeing up kqueue entries in libepoll-shim.

I've been told that the fixes in upstream are required to unbreak x11-wm/sway
and x11-wm/wayfire (see [1])

The port currently uses a forked repo[2] at github.com/FreeBSDDesktop that has
a pending pull request[3] to merge the fixes from upstream.

Now, I'm happy to produce a patch to be reviewed by maintainers here.The
question is, how it should be done.

I would suggest to change the port to use upstream directly and switch to using
cmake (and ctest, to run unit tests). If having a cmake dependency is a big
problem, we can work around that without forking the repo.

If maintainers are unhappy with this, the alternative would be to get the
changes merged from upstream into the forked repo at github and subsequently
update the port - which would be more work, also on future updates.

Given that upstream exists for the purpose of being used on FreeBSD for that
exact purpose, I would like to switch to use upstream directly if possible to
avoid these complications in the future. If not, some advise on how to get
things merged upstream would be nice.

[0]https://github.com/jiixyj/epoll-shim/
[1]https://github.com/swaywm/sway/issues/3612
[2]https://github.com/FreeBSDDesktop/epoll-shim
[3]https://github.com/FreeBSDDesktop/epoll-shim/pull/5

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list