lvgl / lv_port_linux

LVGL configured to work with a standard Linux framebuffer
MIT License
260 stars 160 forks source link

Improves CMAKE, adds CI workflow, adds EVDEV pointer device support #60

Closed debug-richard closed 1 month ago

debug-richard commented 1 month ago

I had an incredible hard time compiling the project on recent Ubuntu/Debian versions.

I'm not a cmake expert, but in the end I rewrote the file with pkg-config support which recognizes the dependencies regardless of the Linux distribution. I also replaced some of the legacy calls with cmake 3.X functions.

To ensure that the project compiles in the future, I added a simple but powerful CI workflow that creates different environments in Docker containers and builds the project in them.

Since there is no example for the current LVGL version anywhere, I also added support for an optional evdev pointer input device that allows you to actually interact with the GUI in FBDEV and DRM mode.

debug-richard commented 1 month ago

You can find an example of a pipeline run here.

kisvegabor commented 1 month ago

This CI will be a huge plus! Thank you! And sorry for the hard times. :slightly_frowning_face: