Heads-up, new OCCT release https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V7_8_0
Search Criteria
Package Details: freecad-git 0.22.0.35039.ge937cc1efc-1
Package Actions
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: | 103 |
Popularity: | 0.097320 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2023-11-14 18:37 (UTC) |
Dependencies (45)
- boost-libs (boost-libs-gitAUR)
- fmt (fmt-gitAUR)
- glew (glew-libepoxyAUR, glew-gitAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- med (med-openmpi)
- netcdf (netcdf-openmpi)
- opencascade (opencascade-gitAUR, opencascade-rcAUR, opencascade-f3dAUR)
- openmpi (openmpi-gitAUR)
- pyside2
- pyside2-tools
- python-matplotlib (python-matplotlib-gitAUR)
- python-packaging
- python-pivy
- python-ply
- python-yaml (python-yaml-gitAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-svg (qt5-svg-gitAUR)
- qt5-tools (qt5-tools-gitAUR)
- qt5-webchannel
- qt5-webengine
- Show 25 more dependencies...
Required by (4)
- freecad-a2plus-git (requires freecad)
- freecad-cadquery-git (requires freecad)
- freecad-fcgear-git (requires freecad)
- openmc-git (requires freecad)
Sources (1)
Kunda commented on 2023-12-05 02:13 (UTC)
ccorn commented on 2023-11-21 23:33 (UTC)
To build with the newest vtk
package, use the patch from the non-git Archlinux package:
Corresponding change to PKGBUILD
:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,8 +63,8 @@ optdepends=(
)
provides=('freecad')
conflicts=('freecad' 'freecad-appimage' 'freecad-appimage-git')
-source=("git+https://github.com/FreeCAD/FreeCAD.git")
-md5sums=('SKIP')
+source=("git+https://github.com/FreeCAD/FreeCAD.git" "freecad-vtk9.3.patch")
+b2sums=('SKIP' '709e6321a45b050187a6c5447b4381a5e9958687a1a5f25d0418f63e85f52e040fdf37fb1aa1d2886e06edb1b5b4cce847c>
pkgver() {
cd FreeCAD
@@ -77,6 +77,7 @@ pkgver() {
prepare() {
cd FreeCAD
git submodule update --init
+ patch -Np1 -i "$srcdir"/freecad-vtk9.3.patch
}
build() {
adrianinsaval commented on 2023-11-14 19:00 (UTC)
should be fixed now
drmacro commented on 2023-11-14 13:07 (UTC) (edited on 2023-11-14 13:10 (UTC) by drmacro)
The build fails because the new OndselSolver has not been added.
CMake Error at src/3rdParty/CMakeLists.txt:11 (message):
The OndselSolver git submodule is not available. Please run
git submodule update --init
CMake Error at src/3rdParty/CMakeLists.txt:14 (add_subdirectory):
The source directory
/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/3rdParty/OndselSolver
does not contain a CMakeLists.txt file.
random-archer commented on 2023-11-13 21:00 (UTC) (edited on 2023-11-13 21:02 (UTC) by random-archer)
as of 2023-11-13 build fails since prepare() is missing git submodule handling:
https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-git#n77
prepare() { cd FreeCAD; git submodule update --init; # <-MISSING THIS LINE }
neo2001 commented on 2023-10-14 17:09 (UTC)
@drmacro: Thank you, that worked without any other changes!
I needed to get rid of the build dir (/tmp/makepkg in my case) for it to work.
drmacro commented on 2023-10-14 14:47 (UTC)
The git repo was renamed to main from master.
I cleared the AUR cache and it apparently forced a fresh git pull.
It built with the latest git.
drmacro commented on 2023-10-13 19:15 (UTC) (edited on 2023-10-13 19:17 (UTC) by drmacro)
Attempting to install just now got the following:
Building freecad-git...
==> Making package: freecad-git 0.22.0.34594.ge9187412d9-1 (Fri 13 Oct 2023 03:11:44 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating FreeCAD git repo...
==> Validating source files with md5sums...
FreeCAD ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of FreeCAD git repo...
Cloning into 'FreeCAD'...
done.
warning: remote HEAD refers to nonexistent ref, unable to checkout
==> Starting prepare()...
==> Starting pkgver()...
grep: CMakeLists.txt: No such file or directory
fatal: ambiguous argument 'd29fd7d..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
/var/tmp/pamac-build-mac/freecad-git/PKGBUILD: line 72: 24266 + : syntax error: operand expected (error token is "+ ")
==> ERROR: A failure occurred in pkgver().
Aborting...
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.