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

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

Latest Comments

« First ‹ Previous ... 6 7 8 9 10 11 12 13 14 15 16 ... Next › Last »

lonaowna commented on 2019-03-30 15:35

@dtbaumann thanks. I've incorporated your suggestion and some from the freecad and freecad-python3-git packages into the following PKGBUILD which uses python3.

Please give it a try. If there are no problems, I'll update the freecad-git PKGBUILD (this package) in a few days.

dtbaumann commented on 2019-03-16 10:02

the build block below works without python2

depends=('boost-libs' 'curl' 'opencascade>=7.2' 'xerces-c' 'libspnav' 'glu' 'netcdf'
     'shared-mime-info' 'hicolor-icon-theme' 'jsoncpp'
     'qt5-base' 'qt5-declarative' 'qt5-svg' 'qt5-tools'
     'med' 'python-pivy' 'python-pyside2' 'python-matplotlib' 'pyside2-tools')
makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'git'
         'cmake' 'coin' 'python-shiboken2' 'pyside2' 'shiboken2')
optdepends=('python-matplotlib' 'python-pyqt5' 'graphviz' 'openscad')

build() {
    cd "${srcdir}/freecad-code"
    cmake . \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX="/usr/lib/freecad" \
        -DCMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" \
        -DCMAKE_INSTALL_DATADIR="/usr/share/freecad" \
        -DFREECAD_USE_OCC_VARIANT="Official Version" \
        -DBUILD_QT5=ON \
        -DPYTHON_EXECUTABLE=/usr/bin/python3 \
        -DPYTHON_LIBRARY=/usr/lib/ \
        -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \


lonaowna commented on 2019-03-15 19:22

@greyltc thanks! I've fixed the dependency issues mentioned below.

greyltc commented on 2019-03-15 16:55

Yes, definitely freecad-python3-git should be redundant with this package. And I think it would be great if there was no trace of python2 here (if possible).

greyltc commented on 2019-03-15 16:53

Great, thanks @lonaowna, you're a co-maintainer now!

lonaowna commented on 2019-03-15 15:35

@greyltc I could also help out. It might be also be time to look into merging with freecad-python3-git which seem to works pretty nice now (freecad has also switched to python3).

greyltc commented on 2019-03-15 14:56

@zegentz, would you like to co-maintain this?

jorges commented on 2019-03-14 10:29

Please excuse my ignorance, but why the version part from the package name, i.e. freecad-python3-git-0.17.r2599.g87bf7094a-1-x86_64.pkg.tar.xz, differs with the version info provided by the "About Freecad" menu: (redacted) ... Version: 0.18.15455 (Git) ... Hash: ca7dd2e1c369dc23d2a79b3eb5ac6381dfd54990 ... It's just curiosity, maybe someone here knows... Thanks

goddessfreya commented on 2019-03-10 08:30

Oh my, this was a !!FUN!! package to get to work.

Soooo, you guys are missing a couple dependencies when it comes to pyside and shiboken (and a couple others). I can't tell you which, because I ended up installing every AUR package with those two in it's name:

$ pacman -Q | grep "coin\|shiboken\|webkit\|webengine\|pyside\|qtpy"
coin 3.1.3-18
coin-docs 3.1.3-18
kdewebkit 5.56.0-1
pyqtwebengine-common 5.12-2
pyside-tools-common 0.2.15-3
pyside2 5.12.1-1
pyside2-tools 5.12.1-1
python-pyqtwebengine 5.12-2
python-pyside 1.2.4-9
python-pyside-common 1.2.4-9
python-pyside-tools 0.2.15-3
python-shiboken 1.2.4-4
python-shiboken2 5.12.1-1
python2-pyqtwebengine 5.12-2
python2-pyside 1.2.4-9
python2-pyside-tools 0.2.15-3
python2-pyside2 5.12.1-1
python2-qtpy 1.6.0-1
python2-shiboken 1.2.4-4
python2-shiboken2 5.12.1-1
qt5-webengine 5.12.1-3
qt5-webkit 5.212.0alpha2-23
qtwebkit-bin 2.3.4-9
shiboken 1.2.4-4
shiboken2 5.12.1-1
webkit2-sharp 2.10.9-2
webkit2gtk 2.22.7-1

Then that still didn't work, so I manually compiled the {python-,}shiboken2 packages in the extra/community repos, but with a slightly modified PKGBUILD to allow for support for llvm-svn:

--- PKGBUILD    (revision 347468)
+++ PKGBUILD    (working copy)
@@ -4,7 +4,6 @@
 pkgname=(shiboken2 python-shiboken2)
@@ -30,7 +29,7 @@

 package_shiboken2() {
-  depends=(clang=$_clangver llvm libxslt qt5-xmlpatterns)
+  depends=(clang llvm libxslt qt5-xmlpatterns)

   cd build
   make DESTDIR="$pkgdir" install

And then it compiled, but the web browser didn't work! Gave an error along the line of WebGui module not found, or something like that. So I installed a couple packages which I thought might fix the issue (alas to no avail).

Then I just did this and it worked:

diff --git a/PKGBUILD b/PKGBUILD
index a8726ce..2c56996 100644
@@ -2,7 +2,7 @@

 pkgdesc='A general purpose 3D CAD modeler - git checkout'
@@ -38,9 +38,9 @@ build() {
          -DFREECAD_USE_OCC_VARIANT="Official Version" \
           -DBUILD_QT5=ON \
-          -DBUILD_QT5_WEBKIT=OFF \
+          -DBUILD_QT5_WEBKIT=ON \
           -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-          -DBUILD_WEB=OFF
+          -DBUILD_WEB=ON


And it worked! Luckly I don't have to care about deps, cause I installed everything with web{kit,gui,engine} in it's name.

jagaudin commented on 2019-02-15 02:21

The package depends on python2-netcdf4. Please add this to the list of dependencies.