Provide Appimage
Hey there,
would it be possible to provide an Appimage of FlatCAM? This would be really awesome and more people could use it out of the box.
I would like to use it with my students at a school, but it is difficult to get software on the school computers, when we have to install libraries at first.
Best regards
Samuel
Comments (16)
-
-
reporter - edited description
-
reporter - attached AppImageBuilder.yml
Appimage-builder recipe for FlatCAM8.5
-
reporter - attached AppImageBuilder.yml
Appimage-builder recipe for FlatCAM beta
-
reporter I created recipes for Appimages of FlatCAM. I think they are far from being optimal, as they are my first recipes, but maybe they can be a starting point.
-
Hi,
I’m taking care of the Beta branch. Because I use FlatCAM in Windows (where I do all the programming too) I do not have much knowledge (nor do I have the time to learn more than I know) on Linux so it’s up to you (and others that are interested) to contribute and create all there is needed to provide such packaging.
Best regards,
Marius -
reporter - attached AppImageBuilder.yml
AppImageBuilder.yml for the 8p5 branch (last stable).
-
reporter - attached AppImageBuilder.yml
AppImageBuilder.yml for the beta branch.
-
reporter - attached bitbucket-pipelines.yml
Pipelines yaml for both the beta and the 8p5 branch.
-
reporter Hi Marius,
thanks for your response.
I modified the appimage-builder scripts, so they can run within Bitbucket pipelines.
If the bitbucket-pipelines.yml file is in the root of the branches 8p5 and beta, the appimage-builder command is executed everytime something in the code of those branches changes.
To succeed the appimage-builder command needs the AppImageBuilder.yml file in the same directory. I created one for the old stable branch (8p5) and one for the beta branch.
The pipelines create an artifact, which is an linux executable .AppImage in a tar archive. Those files could go to downloads to provide linux binaries.
There is still one thing remaining: the version is specified in the AppImageBuilder.yml (currently 8.994). But everytime the version changes one should also change the specified version in the AppImageBuilder.yml. I haven’t found a way to automate that so far.
Marius, let me know what you think!
Best regards
Samuel -
Hello Samuel,
If this works then at the moment of the next version (8.995) release I will test it and see how this works and what is the result.
We may need also a very short set of instructions on how to use this image so I can include them in the Readme file.
Do you have any idea how big such an image will be?Best regards,
Marius -
reporter Hey Marius,
glad to hear that!
The size of the file should be around 236 MB.
Regarding the reamde we could reorganize the linux section
2. Linux
2.1 Appimage:
FlatCAM is provided as an Appimage. Downloadable from the Download folder. The Appimage should be marked as executable and can then be started right away:
chmod +x FlatCAM-xxx.AppImage ./FlatCAM-xxx.AppImage
2.2 As python app:
... existing text
I am eager if the automated build process will work wirh 8.995
Best regards
Samuel -
Right now I still have some issues in 8.995 that needs to be fixed, nothing really big but I am travelling abroad with work and a short vacation will follow. I do hope that I will release the next version soon but then again, I keep saying that for almost half and year…
-
reporter I will be happy to support, when you are ready to release
-
Finally, got a Flatpak built: https://github.com/tpimh/flatcam-flatpak
Please, feel free to share your opinion (maybe even open an issue)
-
Just fixed my Flatpak image, now the rendering is correct
- Log in to comment
Would be nice to also have a Flatpak distribution of FlatCAM!