guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#77813] [PATCH 4/4] gnu: opencascade-occt: style


From: nomike
Subject: [bug#77813] [PATCH 4/4] gnu: opencascade-occt: style
Date: Tue, 15 Apr 2025 03:15:09 +0200

Change-Id: Icbeccf64e2328eecfc62b5e03260e46cde05e8d3
---
 gnu/packages/maths.scm | 104 ++++++++++++++++++++---------------------
 1 file changed, 51 insertions(+), 53 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5461650e3e..7f2afcce76 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -68,6 +68,7 @@
 ;;; Copyright ?? 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright ?? 2024 Zheng Junjie <873216071@qq.com>
 ;;; Copyright ?? 2025 Luca Cirrottola <luca.cirrottola@inria.fr>
+;;; Copyright ?? 2025 nomike Postmann <nomike@nomike.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3328,37 +3329,37 @@ (define-public opencascade-occt
   (package
     (name "opencascade-occt")
     (version "7.9.0")
-    (properties
-      '((release-tag-prefix . "^V")
-        (release-tag-suffix . "")
-        (release-tag-version-delimiter . "_")))
+    (properties '((release-tag-prefix . "^V") (release-tag-suffix . "")
+                  (release-tag-version-delimiter . "_")))
     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-              (url "https://git.dev.opencascade.org/repos/occt.git";)
-              (commit
-               (string-append "V"
-                              (string-map (lambda (x) (if (eq? x #\.) #\_ x))
-                                          version)))))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32 "1j6g6h5cqrcwslqnz7nkn9jxxa94gavz3s2h7b51r2ic484kd2df"))
-        (modules '((guix build utils)))
-        (snippet
-         '(begin
-            ;; Remove files specific to non-free operating systems.
-            (delete-file-recursively "samples/ios")
-            (delete-file-recursively "samples/mfc")
-            (delete-file-recursively "samples/qt/FuncDemo")
-            ;; Remove references to deleted files.
-            (substitute* "dox/FILES_HTML.txt"
-              ((".*standard.*") "" )
-              ((".*UIKitSample.*") ""))
-            #t))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.dev.opencascade.org/repos/occt.git";)
+             (commit (string-append "V"
+                                    (string-map (lambda (x)
+                                                  (if (eq? x #\.) #\_ x))
+                                                version)))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1j6g6h5cqrcwslqnz7nkn9jxxa94gavz3s2h7b51r2ic484kd2df"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   ;; Remove files specific to non-free operating systems.
+                   (delete-file-recursively "samples/ios")
+                   (delete-file-recursively "samples/mfc")
+                   (delete-file-recursively "samples/qt/FuncDemo")
+                   ;; Remove references to deleted files.
+                   (substitute* "dox/FILES_HTML.txt"
+                     ((".*standard.*")
+                      "")
+                     ((".*UIKitSample.*")
+                      ""))
+                   #t))))
     (build-system cmake-build-system)
     (arguments
-     '(;; There is no test target for make.  OCCT provides an
+     '( ;There is no test target for make.  OCCT provides an
+       
        ;; 'Automated Testing System', which may be accessed after
        ;; installation via the draw.sh script.  draw.sh is located in
        ;; the bin directory. For details see:
@@ -3368,27 +3369,24 @@ (define-public opencascade-occt
        ;; Configure without freeimage: attempting to link against the
        ;; freeimage version 3.17 library leads to 'undefined
        ;; reference' errors.
-       #:configure-flags
-        (list "-DUSE_FREEIMAGE:BOOL=OFF"
-              "-DUSE_TBB:BOOL=ON"
-              "-DUSE_VTK:BOOL=OFF"
-              "-DBUILD_DOC_Overview:BOOL=OFF"
-              "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON"
-              "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON"
-              "-UCMAKE_INSTALL_LIBDIR")))
-    (native-inputs (list fontconfig
-                         doxygen))
-    (inputs
-     (list freetype
-           ;("freeimage" ,freeimage)
-           glu
-           libxext
-           libxi
-           libxmu
-           mesa
-           tbb
-           tcl
-           tk))
+       #:configure-flags (list "-DUSE_FREEIMAGE:BOOL=OFF"
+                               "-DUSE_TBB:BOOL=ON"
+                               "-DUSE_VTK:BOOL=OFF"
+                               "-DBUILD_DOC_Overview:BOOL=OFF"
+                               "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON"
+                               "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON"
+                               "-UCMAKE_INSTALL_LIBDIR")))
+    (native-inputs (list fontconfig doxygen))
+    (inputs (list freetype
+                  ;; ("freeimage" ,freeimage)
+                  glu
+                  libxext
+                  libxi
+                  libxmu
+                  mesa
+                  tbb
+                  tcl
+                  tk))
     ;; TODO: build Overview documentation and add 'doc' output.
     (home-page "https://www.opencascade.com";)
     (synopsis "Libraries for 3D modeling and numerical simulation")
@@ -3402,15 +3400,15 @@ (define-public opencascade-occt
 control (CAQ) domains.
 
 This is the certified version of the Open Cascade Technology (OCCT) library.")
-    (license (list ;; OCCT library:
-                   license:lgpl2.1; with an exception for the use of header
-                                  ; files, see OCCT_LGPL_EXCEPTION.txt.
+    (license (list ;OCCT library:
+                   license:lgpl2.1 ;with an exception for the use of header
+                   ;; files, see OCCT_LGPL_EXCEPTION.txt.
                    ;; Files src/OpenGl/glext.h, adm/cmake/cotire.cmake and
                    ;; src/OpenGl/OpenGl_HaltonSampler.hxx:
                    license:expat
                    ;; Files src/ExprIntrp/ExprIntrp.tab.* and
                    ;; src/StepFile/step.tab.*:
-                   license:gpl3+  ; with Bison 2.2 exception.
+                   license:gpl3+ ;with Bison 2.2 exception.
                    ;; File src/NCollection/NCollection_UtfIterator.lxx:
                    (license:non-copyleft
                     "https://www.unicode.org/license.html";)
-- 
2.49.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]