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.015237
First Submitted: 2012-03-03 13:46 (UTC)
Last Updated: 2024-04-30 00:29 (UTC)

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 .. 57 Next › Last »

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.

Tio commented on 2019-02-11 01:30 (UTC) (edited on 2019-02-11 01:30 (UTC) by Tio)

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...