gnu: freecad: Update to 0.20.
* gnu/packages/engineering.scm (freecad): Update to 0.20.
This commit is contained in:
parent
ea6738c74f
commit
b7ebf26036
1 changed files with 95 additions and 100 deletions
|
@ -2431,111 +2431,106 @@ OpenSCAD code. It supports syntax highlighting, indenting and refilling of
|
||||||
comments.")))
|
comments.")))
|
||||||
|
|
||||||
(define-public freecad
|
(define-public freecad
|
||||||
;; FIXME: We use a commit directly because upstream has compatibility fixes
|
(package
|
||||||
;; that are not in a release yet for boost, opencascade-occt-7.6 and vtk-9.
|
(name "freecad")
|
||||||
;; Switch back to a regular version (probably 0.20) when it is released.
|
(version "0.20")
|
||||||
(let ((commit "09a05a9cd0c4692a57a3e038268b4389b4657fc6")
|
(source
|
||||||
(revision "0"))
|
(origin
|
||||||
(package
|
(method git-fetch)
|
||||||
(name "freecad")
|
(uri (git-reference
|
||||||
(version (git-version "0.19.3" revision commit))
|
(url "https://github.com/FreeCAD/FreeCAD")
|
||||||
(source
|
(commit version)))
|
||||||
(origin
|
(file-name (git-file-name name version))
|
||||||
(method git-fetch)
|
(sha256
|
||||||
(uri (git-reference
|
(base32 "14bn75bjh93f8k3hinqw913z1q0ywq7niklwbbd99hf5n342hsv4"))))
|
||||||
(url "https://github.com/FreeCAD/FreeCAD")
|
(build-system qt-build-system)
|
||||||
(commit commit)))
|
(native-inputs
|
||||||
(file-name (git-file-name name version))
|
(list doxygen
|
||||||
(sha256
|
graphviz
|
||||||
(base32 "0818basym0n44dsgix0yv1l00xgv9igrr7wkszd8x74lh1rr591r"))))
|
qttools
|
||||||
(build-system qt-build-system)
|
pkg-config
|
||||||
(native-inputs
|
python-pyside-2-tools
|
||||||
(list doxygen
|
swig))
|
||||||
graphviz
|
(inputs
|
||||||
qttools
|
(list boost
|
||||||
pkg-config
|
coin3D
|
||||||
python-pyside-2-tools
|
double-conversion
|
||||||
swig))
|
eigen
|
||||||
(inputs
|
fontconfig
|
||||||
(list boost
|
freetype
|
||||||
coin3D
|
gl2ps
|
||||||
double-conversion
|
glew
|
||||||
eigen
|
hdf5-1.10
|
||||||
fontconfig
|
jsoncpp
|
||||||
freetype
|
libarea
|
||||||
gl2ps
|
libjpeg-turbo
|
||||||
glew
|
libmedfile
|
||||||
hdf5-1.10
|
libspnav
|
||||||
jsoncpp
|
libtheora
|
||||||
libarea
|
libtiff
|
||||||
libjpeg-turbo
|
libxi
|
||||||
libmedfile
|
libxml++
|
||||||
libspnav
|
libxmu
|
||||||
libtheora
|
lz4
|
||||||
libtiff
|
netcdf
|
||||||
libxi
|
opencascade-occt
|
||||||
libxml++
|
openmpi
|
||||||
libxmu
|
proj
|
||||||
lz4
|
python-gitpython
|
||||||
netcdf
|
python-matplotlib
|
||||||
opencascade-occt
|
python-pivy
|
||||||
openmpi
|
python-ply
|
||||||
proj
|
python-pyside-2
|
||||||
python-gitpython
|
python-pyyaml
|
||||||
python-matplotlib
|
python-shiboken-2
|
||||||
python-pivy
|
python-wrapper
|
||||||
python-ply
|
qtbase-5
|
||||||
python-pyside-2
|
qtdeclarative
|
||||||
python-pyyaml
|
qtsvg
|
||||||
python-shiboken-2
|
qtwebchannel
|
||||||
python-wrapper
|
qtwebengine
|
||||||
qtbase-5
|
qtx11extras
|
||||||
qtdeclarative
|
qtxmlpatterns
|
||||||
qtsvg
|
sqlite
|
||||||
qtwebchannel
|
tbb-2020 ; Same version as opencascade-occt
|
||||||
qtwebengine
|
vtk
|
||||||
qtx11extras
|
xerces-c
|
||||||
qtxmlpatterns
|
zlib))
|
||||||
sqlite
|
(arguments
|
||||||
tbb-2020 ; Same version as opencascade-occt
|
`(#:tests? #f ; Project has no tests
|
||||||
vtk
|
#:configure-flags
|
||||||
xerces-c
|
,#~(list
|
||||||
zlib))
|
"-DBUILD_QT5=ON"
|
||||||
(arguments
|
"-DBUILD_FLAT_MESH:BOOL=ON"
|
||||||
`(#:tests? #f ; Project has no tests
|
"-DBUILD_ENABLE_CXX_STD:STRING=C++17"
|
||||||
#:configure-flags
|
(string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib"))
|
||||||
,#~(list
|
#:phases
|
||||||
"-DBUILD_QT5=ON"
|
(modify-phases %standard-phases
|
||||||
"-DBUILD_FLAT_MESH:BOOL=ON"
|
(add-before 'configure 'restore-pythonpath
|
||||||
"-DBUILD_ENABLE_CXX_STD:STRING=C++17"
|
(lambda _
|
||||||
(string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib"))
|
(substitute* "src/Main/MainGui.cpp"
|
||||||
#:phases
|
(("_?putenv\\(\"PYTHONPATH=\"\\);") ""))))
|
||||||
(modify-phases %standard-phases
|
(add-after 'install 'wrap-pythonpath
|
||||||
(add-before 'configure 'restore-pythonpath
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(lambda _
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(substitute* "src/Main/MainGui.cpp"
|
(wrap-program (string-append out "/bin/FreeCAD")
|
||||||
(("_?putenv\\(\"PYTHONPATH=\"\\);") ""))))
|
(list "GUIX_PYTHONPATH"
|
||||||
(add-after 'install 'wrap-pythonpath
|
'prefix (list (getenv "GUIX_PYTHONPATH"))))))))))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(home-page "https://www.freecadweb.org/")
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(synopsis "Your Own 3D Parametric Modeler")
|
||||||
(wrap-program (string-append out "/bin/FreeCAD")
|
(description
|
||||||
(list "GUIX_PYTHONPATH"
|
"FreeCAD is a general purpose feature-based, parametric 3D modeler for
|
||||||
'prefix (list (getenv "GUIX_PYTHONPATH"))))))))))
|
|
||||||
(home-page "https://www.freecadweb.org/")
|
|
||||||
(synopsis "Your Own 3D Parametric Modeler")
|
|
||||||
(description
|
|
||||||
"FreeCAD is a general purpose feature-based, parametric 3D modeler for
|
|
||||||
CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering and
|
CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering and
|
||||||
product design but also fits a wider range of uses in engineering, such as
|
product design but also fits a wider range of uses in engineering, such as
|
||||||
architecture or other engineering specialties. It is 100% Open Source (LGPL2+
|
architecture or other engineering specialties. It is 100% Open Source (LGPL2+
|
||||||
license) and extremely modular, allowing for very advanced extension and
|
license) and extremely modular, allowing for very advanced extension and
|
||||||
customization.")
|
customization.")
|
||||||
(license
|
(license
|
||||||
(list
|
(list
|
||||||
license:lgpl2.1+
|
license:lgpl2.1+
|
||||||
license:lgpl2.0+
|
license:lgpl2.0+
|
||||||
license:gpl3+
|
license:gpl3+
|
||||||
license:bsd-3)))))
|
license:bsd-3))))
|
||||||
|
|
||||||
(define-public libmedfile
|
(define-public libmedfile
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue