-
Notifications
You must be signed in to change notification settings - Fork 40
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
Feature: option to build tcvm without Skia #287
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello! Hey, first of all, thanks for your contribution! I was going to start reviewing your PR and I came across CI errors:
- Commit message error how to solve it?
- Android build error: I observed in your commit that you changed something in the build files that impacted the Android build. So can you try to solve this problem? If you can't I can help you 😅
You can create new commits or simply force push your PR branch we can do squash after approval.
Hi @acmlira ! How are you? I hope you are well. nm/ui/gfx_Graphics.c#ifdef SKIA_H Please, let me know if you need another action from myself. Evandro. |
Maybe the android build was affected because it always requires Skia? |
Hi @teras! |
We have a native part for Android. This build is called by gradle, underneath, gradle calls CMake to build this big part. |
Thanks for the clarification! |
Okay, now we just need to adjust the commit message :) |
Hi @acmlira ! |
What do you think? feature: option to build tcvm without skia This feature ables to build TCVM without Skia. By default, this option is ON. |
That's it! Thank you very much for your contribution 😄 |
OMG I finally took the time to check your PR and understood what you did. The only thing you'll be missing is true type font support, you'll be limited to the tcz fonts. |
Thanks @flsobral for your feedback! I think that the acceleration can be implemented in another PR (actually I'm working on it). The target of this PR is to disable Skia and I think that is enough for now, if you agree, of course. |
Hello @acmlira! How are you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erathke could you please rebase your branch on top of our master and squash your commits into a single one?
I'll test the builds for iOS and Windows to accept your PR as soon as you do that. ;)
This feature ables to build TCVM without Skia. By default, this option is ON. Without Skia, is possible to generate a very little final libtcvm (~3MB on Linux). It's also now possible to test the VM on OpenBSD. Usage - Disable Skia: cmake <source_dir> -DUSE_SKIA=OFF
Hello @flsobral ! Done :D |
Description:
New feature to build TCVM without Skia.
It's possible to generate a very little final libtcvm (~3MB on Linux).
It's also now possible to test the VM on OpenBSD.
Motivation and Context:
Able to use TCVM on OpenBSD.
Benefited Devices:
Tested Devices: