Closed luzpaz closed 5 years ago
After a quick search, providing build scripts would be a nice introduction to Arch Linux for me but I regret to say that it might not happen in a short period of time.
@luzpaz Isn't it possible to create a Debian Stretch LXC container under Arch? See the advantages. Or do you think there are any disadvantages using an LXC container to build and run an application within, in terms of
Honestly I don't know. Maybe we can get some arch folks here to join the discussion.
After searching for the "someone told me something about freecad on github" for 10 minutes, i'm here :p I'll read your repo Readme, and try to write a PKGBUILD. I guess this wouldn't be too difficult. That would mean:
Am I missing something ?
Welcome :)
Am I missing something ?
I guess that's exactly what @luzpaz wanted. But I really wonder about how these PKGBUILD scripts can be generated within this repo.
But I really wonder about how these PKGBUILD scripts can be generated within this repo.
I don't think you want PKGBUILDs to be auto-generated, if that's what you're talking about. Maybe calling your already existing scripts ? I'll see the best way to do this.
I'm gone to write "native" software (not containers, as it's not arch-specific), though.
if that's what you're talking about
Yes, that was my first guess, but using the existing scripts sounds quite better.
Well, after thinking about it, as the existing scripts are not structured enough (PKGBUILD splits build, package and install), maybe you could use the PKGBUILDs if you want.
In any case, I'll upload them on AUR for native build.
Here is the Workbench PKGBUILD : https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-assembly3-git
Here is the Workbench PKGBUILD : aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-assembly3-git
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-assembly3-git#n6
Should be version 0.18dev
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-assembly3-git#n47
Why do you exclude solvespace from the rsync ?
Should be version 0.18dev
Yeah, that's on my next commit xD
Why do you exclude solvespace from the rsync ?
Well, this directory only contains sources/builddir of slvs, the corresponding library was copied into py_slvs, right ?
The Freecad build system is very broken. It does not detect Netgen if I dont specify the paths, and it does not detect QtWebkit (but it still tries to build DownloadManager)…
The Freecad build system is very broken
There were lots of issues I had too. It gets a very time consuming task to make the build procedure work flawlessly.
Yeah, CMake easily becomes awful to work with for big projects.
Enabling Q5 instead of qt4 seems to help.
Actually, that's the reason why I strongly suggest using containers. One build process rules them all.
I think QtWebkit is not enabled on Debian (due to security concerns) and that is the reason it carries over to other Linux builds. I may be wrong.
@kkremitzki care to weigh in on netgen detection in FC ?
@ceremcem Yeah, but then you don't need Archlinux-specific scripts ;)
../src/Gui/View3DInventorViewer.cpp:2825:49: error: « virtual void SoCamera::viewBoundingBox(const SbBox3f&, float, float) » est protégé dans ce contexte
Soo… Freecad is broken for now.
I'll upload the PKGBUILD, but it does not work yet.
Well, I had to fix the error (I just commented
src/Gui/View3DInventorViewer.cpp:2825
), and here it is.
@luzpaz can we close the issue?
@ceremcem yes @Salamandar thanks for all your work!
Please consider adding a build script for Arch users
Link to the Arch AUR: https://aur.archlinux.org/packages/?O=0&K=freecad