Skip to content

Updating the port in FreeBSD (support for eventfd, and some more fixes) #4

Open
@jiixyj

Description

@jiixyj

Thank you for maintaining the port in FreeBSD!

Since the 0.0.20190311 version in ports I've implemented some features and fixes (https://github.com/jiixyj/epoll-shim):

  • eventfd support (needed for pipewire)
  • support for more than 32 timerfds per process (by using kqueue timers if possible)
  • removal of the poll fd hack
  • added a pkg-config file (modeled after the one in the port, thanks!)
  • removed the old Makefile, replaced with a CMake build system. Hopefully the library should be easier to package and use now.

I've tried to update the ports files here: https://github.com/jiixyj/freebsd-ports/tree/libepoll-shim/devel/libepoll-shim . Feel free to take/adapt them! I could remove some hacks needed for the old Makefile and replace them by simply using "USES= cmake".

Also, I'd be very happy if someone could point me to some guides/documentation on how to use Wayland on FreeBSD (preferably sway). Currently I'm using i3 on Xorg and libinput is the only library I can really test epoll-shim with.

Lastly, please let me know if there are any bugs/features or if I can make the library easier to package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions