16
Feature requests / Add an option to get rid of the udev client libraries on Linux
« on: July 08, 2016, 10:01:18 pm »
Hi,
You may have heard that Flatpak has been released. It's a tool that allows to build standalone apps on Linux (compatible with all the distributions that support it). For more information : http://flatpak.org/
The problem is that no runtimes (if you don't know what a "runtime" is in flatpak, please read the website) provides udev and none will ever do because udev is not ABI-compatible with each Linux distributions (see the discussions I had with the devs here : https://github.com/flatpak/flatpak/issues/12#issuecomment-230249440).
So, it's currently not possible to build SFML for flatpak as udev is not provided. That's why it would be great if SFML provides a build option to disable the udev dependency. The only problem is joysticks support as it is the only feature that requires udev in SFML. But it seems that it's not mandatory (SDL can work without udev if needed) except for the joystick hot plug.
You may have heard that Flatpak has been released. It's a tool that allows to build standalone apps on Linux (compatible with all the distributions that support it). For more information : http://flatpak.org/
The problem is that no runtimes (if you don't know what a "runtime" is in flatpak, please read the website) provides udev and none will ever do because udev is not ABI-compatible with each Linux distributions (see the discussions I had with the devs here : https://github.com/flatpak/flatpak/issues/12#issuecomment-230249440).
So, it's currently not possible to build SFML for flatpak as udev is not provided. That's why it would be great if SFML provides a build option to disable the udev dependency. The only problem is joysticks support as it is the only feature that requires udev in SFML. But it seems that it's not mandatory (SDL can work without udev if needed) except for the joystick hot plug.