looo wrote: ↑
Thu Jul 12, 2018 2:10 pm
I have no idea how the current appimage-process works, but it looks quite difficult. (I think the current appimages also uses some environment-variables to find the right libraries...)
Currently we reuse the work done by PPA/Ubuntu/Debian package maintainers. Not just FreeCAD/OCC stuff but everything FreeCAD depends on. And pack that in an AppImage.
I don't think there is too much difference between an appimage based on ubuntu and one based on conda-packages. The idea of AppImage is to isolate the libraries from the system and only use the most basic ones. The same is true for conda. So bundeling a conda environment with appimage is maybe not the worst idea.
For sure ubuntu packages have a better quality/stability. But the step from building some sources locally to creating a ubuntu/debian package is huge. This isn't true for conda.
There is not much difference. In addition you don't have to use PPA/Ubuntu/Debian or Conda approach. You can create AppImages directly from scratch. Using the PPA/Debian/Ubuntu approach for Py2/Qt4 builds takes the least amount of effort and it enabled us to get results. That is why it is used ATM.
Sure. Security can always be improved. If they plan to add better support for checking things like GPG signature and preventing possible MIT attacks. That all sounds good to me.
I gave up ubuntu packaging because it was too time-intensive. With conda I have much more success. Eg.: Today I managed to build external smesh with netgen on osx although I never touched a mac. Also freecad on osx (but without netgen-support) is available since some weeks. But for sure it's time-intensive too.
Likely it doesn't differ all that much. It's just with Conda you have more control and can just do something that works (for you). And that is that. If you are good in .deb packaging you can use the same approach on PPA. And you can use the same approach when creating AppImage. If you want to make one from scratch. But we said the plan is two weeks for producing a Py3 AppImage and not two years. And therefore this is something you or somebody else can explore in the future.
I am still on the two weeks plan.
I'll take a look over the weekend.