Package Details: freecad-git 0.22.0.36999.ged77603af9-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.freecad.org/
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc (adrianinsaval)
Last Packager: adrianinsaval
Votes: 104
Popularity: 0.012945
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2024-04-30 00:29 (UTC)

Required by (4)

Sources (1)

Pinned Comments

adrianinsaval commented on 2023-03-12 14:50 (UTC)

If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with makepkg --nocheck if you don't care about the functionality that is being reported as failing in the check.

Latest Comments

« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 58 Next › Last »

lonaowna commented on 2019-03-30 15:35 (UTC)

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

https://gist.github.com/slokhorst/4ea6a978ad2287724f5c573cbf89a373

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 (UTC)

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" \
        -DFREECAD_USE_EXTERNAL_PIVY=ON \
        -DBUILD_QT5=ON \
        -DBUILD_QT5_WEBKIT=OFF \
        -DBUILD_START=OFF \
        -DBUILD_WEB=OFF\
        -DPYTHON_EXECUTABLE=/usr/bin/python3 \
        -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \
        -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
        -DPYTHON_PACKAGES_PATH=/usr/lib/python3.7/site-packages

    make
}

lonaowna commented on 2019-03-15 19:22 (UTC)

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

greyltc commented on 2019-03-15 16:55 (UTC)

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 (UTC)

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

lonaowna commented on 2019-03-15 15:35 (UTC)

@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 (UTC)

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

jorges commented on 2019-03-14 10:29 (UTC)

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 (UTC) (edited on 2019-03-10 08:31 (UTC) by goddessfreya)

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 (UTC)

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