v0.5 is up and it has support for building projects using Clickable.
The feature is very experimental and somewhat limited for now and (although I've tested it as much as I could) there should be bugs. To build a project you need to open a corresponding clickable.json file and click the "Build" button:
When starting a build process for the first time a new chroot Libertine container with ID seabass2-build
will be created.
So the first thing required to build packages with the Seabass for now is... patience :-D.
Because creating a chroot container might take a while. About 30min was usually enough for my Xperia X during testing, but the experience for sure may vary depending on your device and Internet connection. The app should also be active (not sleeping) while the container is being created. The good thing is that you only need to create container once.
If for some reason the container creation failed, Seabass will try to delete the container, so that the next time you run Build it could try to create container once again.
And if for some reason the deletion wasn't successful, libertine-container-manager is here to help: libertine-container-manager destroy -i seabass2-build
. You could also use this command if anything goes wrong with the container
There are also a few limitations:
- Project files should be located inside ~/Downloads or ~/Documents directories. Not really a strict requirement, just these directories are automatically mounted to Libertine containers. Alternatively you could create additional bind mounts using libertine-container-manager or maybe even System Settings application.
- clickable.json file should be named 'clickable.json'. Because the "Build" button is only visible for "clickable.json" files.
QML, HTML, C++ and Python clickable templates are supported for the first release (Go and Rust require additional packages that are not installed in seabass2-build
by default). By "supported" I mean I've tested building "HelloWorld" applications using these templates
Please let me know if there are missing packages in the container required to build your favorite application!
Your feedback is very appreciated!