Package Details: freecad-git 2:0.18.r2576.g953b802f83-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: https://www.freecadweb.org/
Licenses: LGPL
Conflicts: freecad
Provides: freecad
Submitter: gborzi
Maintainer: greyltc (lonaowna)
Last Packager: lonaowna
Votes: 89
Popularity: 0.93
First Submitted: 2012-03-03 13:46
Last Updated: 2019-11-04 14:26

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

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

zegentz 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:

Index: PKGBUILD
===================================================================
--- PKGBUILD    (revision 347468)
+++ PKGBUILD    (working copy)
@@ -4,7 +4,6 @@
 pkgbase=shiboken2
 pkgname=(shiboken2 python-shiboken2)
 _qtver=5.12.1
-_clangver=7.0.1
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=(x86_64)
@@ -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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _appname=freecad
 pkgname="${_appname}-git"
-pkgver=0.17.r1484.g1e6818b6f
+pkgver=0.17.r2570.g6363c90a2
 pkgrel=1
 epoch=1
 pkgdesc='A general purpose 3D CAD modeler - git checkout'
@@ -38,9 +38,9 @@ build() {
          -DFREECAD_USE_OCC_VARIANT="Official Version" \
           -DFREECAD_USE_EXTERNAL_PIVY=ON \
           -DBUILD_QT5=ON \
-          -DBUILD_QT5_WEBKIT=OFF \
+          -DBUILD_QT5_WEBKIT=ON \
           -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-          -DBUILD_WEB=OFF
+          -DBUILD_WEB=ON

     make
 }

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.

Tio commented on 2019-02-11 01:30

Error:

Cloning freecad build files...
Checking freecad dependencies...
Cloning python2-pivy build files...
Checking python2-pivy dependencies...
Cloning python2-pyside2 build files...
Checking python2-pyside2 dependencies...
Cloning coin build files...
Checking coin dependencies...
Cloning python2-shiboken2 build files...
Checking python2-shiboken2 dependencies...
Cloning soqt build files...
Checking soqt dependencies...
Warning: cannot resolve "qt5-xmlpatterns>=5.12.1", a dependency of "python2-shiboken2"
Warning: cannot resolve "python2-shiboken2>=5.12.1", a dependency of "python2-pyside2"
Warning: cannot resolve "qt5-base>=5.12.1", a dependency of "python2-pyside2"
Warning: cannot resolve "python2-pyside2", a dependency of "freecad"
Warning: cannot resolve "qt5-xmlpatterns>=5.12.1", a dependency of "python2-shiboken2"
Warning: cannot resolve "python2-shiboken2", a dependency of "freecad"
Failed to prepare transaction.
Failed to prepare transaction:
could not satisfy dependencies:
unable to satisfy dependency 'qt5-xmlpatterns>=5.12.1' required by python2-shiboken2
unable to satisfy dependency 'python2-shiboken2>=5.12.1' required by python2-pyside2
unable to satisfy dependency 'qt5-base>=5.12.1' required by python2-pyside2
unable to satisfy dependency 'python2-pyside2' required by freecad
unable to satisfy dependency 'python2-shiboken2' required by freecad

Preparing...
Cloning freecad-python3-git build files...
Checking freecad-python3-git dependencies...
Cloning python-pivy-git build files...
Checking python-pivy-git dependencies...
Cloning coin-hg build files...
Checking coin-hg dependencies...
Resolving dependencies...
Checking inter-conflicts...
Downloading xerces-c (3.2.2-1-x86_64)...
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing xerces-c (3.2.2-1)...
Building coin-hg...
==> Making package: coin-hg r11844.cf2a467adeca-1 (lun 11 feb 2019 02:18:53 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning coin hg repo...
applying clone bundle from https://api.media.atlassian.com/file/ca8ac694-8b46-45b5-affb-6bbba948b9cd/binary?client=64098d31-1676-4941-8a09-30b447252903&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmNhOGFjNjk0LThiNDYtNDViNS1hZmZiLTZiYmJhOTQ4YjljZCI6WyJyZWFkIl19LCJleHAiOjE1NDk4NDg0OTIsImlzcyI6IjY0MDk4ZDMxLTE2NzYtNDk0MS04YTA5LTMwYjQ0NzI1MjkwMyIsIm5iZiI6MTU0OTg0ODA3Mn0._rx2QAazHxbUMvyweZuovZtKKI0HIUHEMKTzQYpVsi8
adding changesets
adding manifests
adding file changes
added 11707 changesets with 71756 changes to 6487 files (+1 heads)
finished applying clone bundle
searching for changes
adding changesets
adding manifests
adding file changes
added 260 changesets with 1364 changes to 911 files
new changesets de2e5a9fee0a:cbbeac5f7984
11707 local changesets published
  -> Cloning generalmsvcgeneration hg repo...
requesting all changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 7 changes to 4 files
new changesets 17bc4850b39e:d12bf6cbb77c
  -> Cloning boost-header-libs-full hg repo...
applying clone bundle from https://api.media.atlassian.com/file/8cd0ceee-fcba-42a0-96ad-68c5b6c4067b/binary?client=64098d31-1676-4941-8a09-30b447252903&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOjhjZDBjZWVlLWZjYmEtNDJhMC05NmFkLTY4YzViNmM0MDY3YiI6WyJyZWFkIl19LCJleHAiOjE1NDk4NDg2NjMsImlzcyI6IjY0MDk4ZDMxLTE2NzYtNDk0MS04YTA5LTMwYjQ0NzI1MjkwMyIsIm5iZiI6MTU0OTg0ODI0M30.M9szyU2jfG8ptEi6ujXpXiIUKrvE_ofUFQuWTp1y0pw
adding changesets
adding manifests
adding file changes
added 5 changesets with 17776 changes to 13201 files
finished applying clone bundle
searching for changes
no changes found
5 local changesets published
==> Validating source files with md5sums...
    coin ... Skipped
    generalmsvcgeneration ... Skipped
    boost-header-libs-full ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of coin hg repo...
updating to branch default
cloning subrepo build/general from /tmp/pamac-build/coin-hg/generalmsvcgeneration
cloning subrepo cpack.d from /tmp/pamac-build/coin-hg/cpack.d
abort: repository /tmp/pamac-build/coin-hg/cpack.d not found!
==> ERROR: Failure while creating working copy of coin hg repo
    Aborting...

mogwai commented on 2019-01-24 13:39

The current PKGBUILD seems to be broken. I get: CMake Error: No source or binary directory provided. This seems to be triggered by the cmake command in the PKGBUILD missing a directory as argument (i.e. ".").

(On some systems I also have problems with cmake not being able to identify the correct opencascade include directory. I'm still trying to figure out why it happens only occasionally, and why only on some systems.)

Grawp commented on 2018-12-19 23:35

Btw. I've removed the shiboken (shitbroken) dependency and it builds fine in clean chroot also Part and PartDesign workbenches seem to be functioning OK.

jorges commented on 2018-12-19 20:18

@miffi: Can you elaborate please? I just rebuild freecad and I get an error about shiboken2:

/opt/freecad-python3/bin/FreeCAD: error while loading shared libraries: libshiboken2.cpython-37m-x86_64-linux-gnu.so.5.12: cannot open shared object file: No such file or directory

which packages have you installed, have you rebuilt freecad? Thanks