-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move lvgl-sys
to a separate repository.
#176
Comments
lvgl-sys
to a separate repository.
I already have a repository ready, we just need to change ownership, do some tweaking and refactoring in the build script and add automatic release for previous versions (down to v8.0.0 ? maybe). |
Hi, If a user wants to use the lvgl rust bindings what should they include, this repo or the I have the impression that this repo is more an examples repo and moving Any thoughts @kisvegabor? |
Regular end users should rely on the safe Rust bindings. However, advanced users might choose to use the unsafe raw bindings (via the The release schedule for the repositories should be as follows:
So you are mostly right, I added that for precision purpose. |
And the safe bindings are this repo? They have to be done manually? Sorry for the dumb questions tho |
Don't worry. This repository currently includes both the safe and unsafe bindings. The safe bindings are generated using the |
It might be a little off topic, but also related to the schedule of the releases and stability. In the the lvgl repo we have a test which should be added for all bindings. This UI needs to be created. This is the C code. For MicroPython we have the equivalent test which uses the very same reference image. Both test are part of LVGL's CI so we test MicroPython on each commit. In order to support Rust in a serious level we need to add a similar test to make sure that the binding is not broken. What do you think about it? |
Sounds like a good first step to keep this binding working. I will travel tonight back to home, so I can work on this this weekend |
Yeah that makes sense and it is easy to implement. However there is some stuff like img in this test that wasn't supported before so I don't expect it to fully pass anytime soon. |
@kisvegabor With regards of separating the |
That binding test is quite complete. If he binding is capable of doing all these, most of the people should be happy with it. So I think it's also good measure for readiness.
Basically there would be 2 bindings: a safe and an unsafe? If so, I suggest focusing on the simpler first, and if it ready, working, and we have positive feedback, we can create a repo for the other too. What do you think? |
Correct, the unsafe bindings (located in See this another comment about it #158 (comment) |
What about using branches like |
Exactly |
Ok then, I'll create a new branch with the current version and then move the lvgl submodule to v9, then we can start patching it as @AlixANNERAUD did in their repo. |
I think @kisvegabor is more in favor of having it in the same repo. Having |
The main point of my original issue is that moving The current proposal is impractical and confusing, as it requires maintaining a compatible version of the safe Decoupling the two would simplify this process, allowing users to choose more easily and enabling This approach mirrors the structure of the LittleFS Rust bindings, where the safe bindings are hosted in one repository and the unsafe bindings in another, providing a clear and modular separation. If after that you still think that using the same repository is a good idea, we can move on anyway. |
Any updates @kisvegabor ? I see the LittleFS repo as a good example on how splitting both bindings in separated repos is useful |
Since
lv_binding_rust
appears unlikely to be updated for LVGL v9.X anytime soon, couldlvgl-sys
be moved to a separate repository to allow for regular updates independently oflv_binding_rust
/lvgl
?The text was updated successfully, but these errors were encountered: