diff options
| author | Guillaume Le Vaillant <glv@posteo.net> | 2026-06-05 15:32:00 +0200 |
|---|---|---|
| committer | Guillaume Le Vaillant <glv@posteo.net> | 2026-06-05 17:24:44 +0200 |
| commit | 453ec02a7daec48dda00ab2dfb369c2c9b42f3c8 (patch) | |
| tree | 08c318f17753362069f28c2538bd2c56ce4ed056 /gnu/packages/maths.scm | |
| parent | d8dbd26e9e267443da3e2d0ff116c9b6bde32626 (diff) | |
gnu: prusa-slicer: Update to 2.9.5.
* gnu/packages/patches/prusa-slicer-boost-1.87.patch: New file.
* gnu/packages/patches/prusa-slicer-boost-1.88.patch: New file.
* gnu/packages/patches/prusa-slicer-boost-1.89.patch: New file.
* gnu/packages/patches/prusa-slicer-cgal-6.patch: New file.
* gnu/packages/patches/prusa-slicer-opencascade-7.8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/engineering.scm (prusa-slicer): Update to 2.9.5.
[source]: Use patches.
[arguments]: Disable tests. Add 'fix-for-glew-on-wayland' phase.
[inputs]: Replace boost-1.83, cgal-5 and opencascade-occt-7.6.1 by boost,
cgal and opencascade-occt.
* gnu/packages/maths.scm (opencascade-occt-7.6.1): Remove variable.
Change-Id: Idce4ec5fc45f50cbe74ef94aeea679a04d0e80dc
Diffstat (limited to 'gnu/packages/maths.scm')
| -rw-r--r-- | gnu/packages/maths.scm | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 875e6209be3..68e41e25bc8 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm | |||
| @@ -3754,105 +3754,6 @@ This is the certified version of the Open Cascade Technology (OCCT) library.") | |||
| 3754 | ;; File src/NCollection/NCollection_StdAllocator.hxx: | 3754 | ;; File src/NCollection/NCollection_StdAllocator.hxx: |
| 3755 | license:public-domain)))) | 3755 | license:public-domain)))) |
| 3756 | 3756 | ||
| 3757 | ;; PrusaSlicer has a hard dependency on this slightly older version of | ||
| 3758 | ;; OpenCASCADE. According to them, all newer versions have a bug that causes | ||
| 3759 | ;; chamfers to be triangulated incorrectly. | ||
| 3760 | ;; See https://github.com/prusa3d/PrusaSlicer/commit/c6a02106fd1d3caa9a48a6b7c2bdd04546b24485. | ||
| 3761 | (define-public opencascade-occt-7.6.1 | ||
| 3762 | (hidden-package | ||
| 3763 | (package | ||
| 3764 | (name "opencascade-occt") | ||
| 3765 | (version "7.6.1") | ||
| 3766 | (source | ||
| 3767 | (origin | ||
| 3768 | (method git-fetch) | ||
| 3769 | (uri (git-reference | ||
| 3770 | (url "https://git.dev.opencascade.org/repos/occt.git") | ||
| 3771 | (commit | ||
| 3772 | (string-append "V" | ||
| 3773 | (string-map (lambda (x) (if (eq? x #\.) #\_ x)) | ||
| 3774 | version))))) | ||
| 3775 | (file-name (git-file-name name version)) | ||
| 3776 | (sha256 | ||
| 3777 | (base32 "1cc7n4rs26lm1awwn2bijvjq9b3kz204ffnks02lrpgs7pf8yk8b")) | ||
| 3778 | (modules '((guix build utils))) | ||
| 3779 | (snippet | ||
| 3780 | '(begin | ||
| 3781 | ;; Remove files specific to non-free operating systems. | ||
| 3782 | (delete-file-recursively "samples/ios") | ||
| 3783 | (delete-file-recursively "samples/mfc") | ||
| 3784 | (delete-file-recursively "samples/qt/FuncDemo") | ||
| 3785 | (delete-file "genconf.bat") | ||
| 3786 | (delete-file "gendoc.bat") | ||
| 3787 | (delete-file "genproj.bat") | ||
| 3788 | (delete-file "upgrade.bat") | ||
| 3789 | ;; Remove references to deleted files. | ||
| 3790 | (substitute* "dox/FILES_HTML.txt" | ||
| 3791 | ((".*standard.*") "" ) | ||
| 3792 | ((".*UIKitSample.*") "")) | ||
| 3793 | #t)))) | ||
| 3794 | (build-system cmake-build-system) | ||
| 3795 | (arguments | ||
| 3796 | '(;; There is no test target for make. OCCT provides an | ||
| 3797 | ;; 'Automated Testing System', which may be accessed after | ||
| 3798 | ;; installation via the draw.sh script. draw.sh is located in | ||
| 3799 | ;; the bin directory. For details see: | ||
| 3800 | ;; https://dev.opencascade.org/doc/occt-7.3.0/overview/html/\ | ||
| 3801 | ;; occt_dev_guides__tests.html | ||
| 3802 | #:tests? #f | ||
| 3803 | ;; Configure without freeimage: attempting to link against the | ||
| 3804 | ;; freeimage version 3.17 library leads to 'undefined | ||
| 3805 | ;; reference' errors. | ||
| 3806 | #:configure-flags | ||
| 3807 | (list "-DCMAKE_CXX_FLAGS=-fpermissive" ;from unsigned char* to char* | ||
| 3808 | "-DUSE_FREEIMAGE:BOOL=OFF" | ||
| 3809 | "-DUSE_TBB:BOOL=ON" | ||
| 3810 | "-DUSE_VTK:BOOL=ON" | ||
| 3811 | "-DBUILD_DOC_Overview:BOOL=OFF" | ||
| 3812 | "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" | ||
| 3813 | "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" | ||
| 3814 | "-UCMAKE_INSTALL_LIBDIR"))) | ||
| 3815 | (native-inputs (list doxygen fontconfig)) | ||
| 3816 | (inputs | ||
| 3817 | (list freetype | ||
| 3818 | ;; ("freeimage" ,freeimage) | ||
| 3819 | glu | ||
| 3820 | libxext | ||
| 3821 | libxi | ||
| 3822 | libxmu | ||
| 3823 | mesa | ||
| 3824 | tbb-2020 | ||
| 3825 | tcl | ||
| 3826 | tk | ||
| 3827 | vtk)) | ||
| 3828 | ;; TODO: build Overview documentation and add 'doc' output. | ||
| 3829 | (home-page "https://dev.opencascade.org") | ||
| 3830 | (synopsis "Libraries for 3D modeling and numerical simulation") | ||
| 3831 | (description | ||
| 3832 | "Open CASCADE is a set of libraries for the development of applications | ||
| 3833 | dealing with 3D CAD data or requiring industrial 3D capabilities. It includes | ||
| 3834 | C++ class libraries providing services for 3D surface and solid modeling, CAD | ||
| 3835 | data exchange, and visualization. It is used for development of specialized | ||
| 3836 | software dealing with 3D models in design (CAD), manufacturing (CAM), | ||
| 3837 | numerical simulation (CAE), measurement equipment (CMM), and quality | ||
| 3838 | control (CAQ) domains. | ||
| 3839 | |||
| 3840 | This is the certified version of the Open Cascade Technology (OCCT) library.") | ||
| 3841 | (license (list ;; OCCT library: | ||
| 3842 | license:lgpl2.1; with an exception for the use of header | ||
| 3843 | ; files, see OCCT_LGPL_EXCEPTION.txt. | ||
| 3844 | ;; Files src/OpenGl/glext.h, adm/cmake/cotire.cmake and | ||
| 3845 | ;; src/OpenGl/OpenGl_HaltonSampler.hxx: | ||
| 3846 | license:expat | ||
| 3847 | ;; Files src/ExprIntrp/ExprIntrp.tab.* and | ||
| 3848 | ;; src/StepFile/step.tab.*: | ||
| 3849 | license:gpl3+ ; with Bison 2.2 exception. | ||
| 3850 | ;; File src/NCollection/NCollection_UtfIterator.lxx: | ||
| 3851 | (license:non-copyleft | ||
| 3852 | "https://www.unicode.org/license.html") | ||
| 3853 | ;; File src/NCollection/NCollection_StdAllocator.hxx: | ||
| 3854 | license:public-domain))))) | ||
| 3855 | |||
| 3856 | (define-public fast-downward | 3757 | (define-public fast-downward |
| 3857 | (package | 3758 | (package |
| 3858 | (name "fast-downward") | 3759 | (name "fast-downward") |
