Skip to content

Add libudev to flatpak runtime

Ghost User requested to merge EmersonBernier/libudev into master

libudev is needed for many apps on flathub: https://github.com/search?q=org%3Aflathub+shared-modules%2Fudev%2Fudev-175.json&type=Code

Also by KDE runtime: https://github.com/KDE/flatpak-kde-runtime/commit/25acd8addfa47d71e9463b04b62f8882fd67ff97

Currenly those are using legacy pre-systemd udev from shared-modules: https://github.com/flathub/shared-modules/tree/master/udev

Above isn't maintained since 2012 and needs patching to build against modern toolchain. Providing libudev in runtime will make apps/runtimes maintenance easier and libudev is being build anyway, just not exposed to flatpak runtime.

Note: this targets apps which need "dumb" version of library without main udev functionality. Apps that need it like steam, should keep providing their own udev.

Edited by Emerson Bernier

Merge request reports

Loading