Package Details: freecad-git 0.19.r421.gfafff351aa-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only, click to copy)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: https://www.freecadweb.org/
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc
Last Packager: greyltc
Votes: 96
Popularity: 1.00
First Submitted: 2012-03-03 13:46
Last Updated: 2021-04-08 10:34

gborzi commented on 2011-04-06 18:41

Hello Archimage,
it seems that upstream has fixed the problems with boost version, that is to say, the sed lines
# fix boost filesystem version
sed -i -e '/#include <vector>/a#define BOOST_FILESYSTEM_VERSION 2' \
src/App/PropertyStandard.h
needs to be removed. I'm testing the new PKGBUILD, and upload it ASAP.

Anonymous comment on 2011-04-06 12:55

Hello, I've tried to install freecad yesterday, there was a problem with boost during compilation

gborzi commented on 2011-03-27 13:06

Hello mickele,
OK, I've changed those directories, but at the moment there is a problem compiling today's revision 4317. I'm retrying with !makeflags.

mickele commented on 2011-03-27 10:21

Probably files should be installed in /usr/lib/freecad-svn, /usr/share/freecad-svn ...
I can adopt freecad and modify its PKGBUILD following the same convention, installing files in /usr/lib/freecad, /usr/share/freecad...

gborzi commented on 2011-03-26 23:06

I've made some modifications to the PKGBUILD, following mickele's suggestions. Now it installs executables under /usr/lib/freecad, data under /usr/share/freecad, includes under /usr/include/freecad, like the debian package. In the meantime, freecad devs have released trunk 4316.
Thanks to mickele for the suggestions, to vinvin and Archimage for reporting that it works.

Anonymous comment on 2011-03-26 22:54

Everything works fine, thank you gborzi !

mickele commented on 2011-03-26 20:43

New version of the package installs a non standard directory in usr (/usr/Mod).
This is why the previous version was installing in /opt.
Icon file freecad.xpm conflicts with icon file from freecad (http://aur.archlinux.org/packages.php?ID=7575), the stable version of the package. A possible solution is renaming the file.
Another suggestion is about freecad.desktop that I think should be compatible with freecad's one (it should have the same categories).

vinvin commented on 2011-03-26 18:16

I was finally able to compile it and test it, and it works perfectly. Thanks for the patches gborzi.
I did not need the Driver_Document.h patch, this issue didn't appear. Basically, the required changes were removing -mt at the end of boost references in the acinclude.m4 file, and adding the '#define BOOST_FILESYSTEM_VERSION 2' line, after having ran a make clean to take into account the new opencascade version.

gborzi commented on 2011-03-26 11:36

Adopted and updated. Please note that I don't use this package, so I need feedback from users to check that it is properly working.

Anonymous comment on 2011-03-26 00:36

I think it's better that you maintain the package since you've found the solution, I've dropped it