Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2020 13:27:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243649] devel/libepoll-shim: Update to 0.0.20191109 version to unbreak re-plugging input devices
Message-ID:  <bug-243649-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243649

            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@FreeBSD.org
          Reporter: grembo@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/sw=
ay
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 u=
sing
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243649-7788>