appimage

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: appimage

Post by looo »

actually calculix is available from freecad-channel [1], and looking at it's size it's pretty small. So maybe @triplus can make a small modification to the appimage to include calculix.
In the long run I am working towards getting calculix into conda-forge. There is still missing one dependency (spooles) [2]. (Windows for sure makes more problems and needs some more love...)

[1] https://anaconda.org/freecad/calculix/files
[2] https://github.com/conda-forge/staged-recipes/pull/6661
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: appimage

Post by triplus »

CalculiX has been added to the PPA based AppImage in the past. But it turned out it hasn't been used by the AppImage (due to some issue involved):

https://forum.freecadweb.org/viewtopic. ... 70#p154219

In addition if i remember correctly available CalculiX version was old and therefore it was considered best if CalculiX isn't added to the AppImage at all and to leave it to the end user (system) to provide one. We had to further tweak the AppImage for the system provided version to work in all reported use cases:

https://forum.freecadweb.org/viewtopic. ... 19#p231708

But i guess things changed a bit as @kkremitzki was active on the FreeCAD Community Extras PPA:

https://forum.freecadweb.org/viewtopic. ... 10#p260488

And now latest CalculiX (v2.14) is available from it for Trusty:

https://launchpad.net/~freecad-communit ... ter=trusty

I did a quick test and got:
CalculiX done!
Therefore yes i guess we can add CalculiX (from the FreeCAD Community Extras PPA) to the PPA based AppImage if that is desired? As for the Conda based one. Sure. I see CalculiX (v2.12) should be available (as i guess you packed it and added it). Are you interested in updating CalculiX to v2.14? Anyway i need to test if it works and if that is desired it can be added. I should have the time to do this in the following week.

P.S. Note that if desired some other packages could be added from the FreeCAD Community Extras PPA to the PPA based AppImage. For Python based workbenches and macros. I don't see much point in doing that. End users can do that with ease. But i see some recently updated packages such as calculix-ccx, ifcopenshell, ifcplusplus and opencamlib. If any of this packages is hard to get on other Linux distributions. Work done on the PPA can propagate to such Linux distributions through AppImage (if the size isn't a problem and it gets confirmed it works in some basic testing).
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: appimage

Post by sgrogan »

triplus wrote: Sun Oct 07, 2018 10:06 pm If any of this packages is hard to get on other Linux distributions. Work done on the PPA can propagate to such Linux distributions through AppImage (if the size isn't a problem and it gets confirmed it works in some basic testing).
We could consider a "super Bundle", Graphviz, OpenSCAD, Calculix, GMesh, ifcOpenShell, opencamlib, FreeCAD-doc.
With delta-updates this doesn't sound so crazy. ifcOpenShell and opencamlib need to match Python, but the calculix PPA package should work with the conda AppImage.

It all depends on how big we are willing to let the package get.
"fight the good fight"
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: appimage

Post by chrisb »

Good idea to have a BigPack, at least as long as a small Appimage exists as well. To keep efforts small it coul be sufficient to update the BigPack only from time to time; in the future perhaps only for the stable release.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: appimage

Post by kkremitzki »

sgrogan wrote: Mon Oct 08, 2018 10:01 pm
triplus wrote: Sun Oct 07, 2018 10:06 pm If any of this packages is hard to get on other Linux distributions. Work done on the PPA can propagate to such Linux distributions through AppImage (if the size isn't a problem and it gets confirmed it works in some basic testing).
We could consider a "super Bundle", Graphviz, OpenSCAD, Calculix, GMesh, ifcOpenShell, opencamlib, FreeCAD-doc.
With delta-updates this doesn't sound so crazy. ifcOpenShell and opencamlib need to match Python, but the calculix PPA package should work with the conda AppImage.

It all depends on how big we are willing to let the package get.
Netgen too once we get support for it working again.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: appimage

Post by sgrogan »

kkremitzki wrote: Mon Oct 08, 2018 10:25 pm Netgen too once we get support for it working again.
This will be included automatically once it's working for the PPA based AppImage, it's already included with the Conda based AppImage (including the python bindings). Netgen is different than the other referenced packages because it is linked at compile time.
"fight the good fight"
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: appimage

Post by Kunda1 »

Created a screencast showing appimageupdatetool in action
https://peertube.mastodon.host/videos/w ... 7241095ad4
Maybe we can add this to the wiki whenever .webm is permitted on the wiki
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: appimage

Post by triplus »

Always nice to see informative FreeCAD related content being created.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: appimage

Post by triplus »

I noticed in the past two days there is currently a glitch involved in the AppImage deployment:

https://github.com/FreeCAD/FreeCAD/releases

Randomly Conda/PPA AppImage not getting deployed successfully. Don't have time to look into this today (will have time and try to find a solution in next 2 days) but decided to mention it here. That is if somebody is trying to download/update the AppImage and not being able to find one. Based on the build logs and after taking a quick look at the current setup for Travis i have a clue on what to try out next. And hopefully to make deployment more reliable.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: appimage

Post by triplus »

Note that i restructured the Travis deploy procedure a bit and the mentioned issue should be resolved now. In addition @looo suggested to remove the empty menus related workaround for Conda based AppImage. Due to that working correctly now on Ubuntu 18.04. As a result Conda based AppImage should use native style now.
Post Reply