bug-guix
[Top][All Lists]
Advanced

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

bug#70258: FreeCAD dependency probably outdated


From: Ricardo Wurmus
Subject: bug#70258: FreeCAD dependency probably outdated
Date: Fri, 12 Apr 2024 13:33:38 +0200
User-agent: mu4e 1.12.2; emacs 29.3

I'm unable to build python-pivy with the suggested changes.  Here is the
actual diff I used:

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 92566abfed..8c8b162b55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32389,43 +32389,42 @@ (define-public python-retry
 (define-public python-pivy
   (package
     (name "python-pivy")
-    (version "0.6.5")
+    (version "0.6.9.a0")
     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/coin3d/pivy";)
-               (commit version)))
-        (file-name (git-file-name name version))
-        (sha256
-          (base32 "0vids7sxk8w5vr73xdnf8xdci71a7syl6cd35aiisppbqyyfmykx"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/coin3d/pivy";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "13v9bfmipfhjbwnrl96d82fgb317j2sijgpzhhk02390649qbx6c"))))
     (build-system python-build-system)
     (arguments
-      `(;; The test suite fails due to an import cycle between 'pivy' and 
'_coin'
-        #:tests? #f
-        #:phases
-        (modify-phases %standard-phases
-          (add-after 'unpack 'patch-cmake-include-dirs
+     `( ;; The test suite fails due to an import cycle between 'pivy' and 
'_coin'
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-cmake-include-dirs
            (lambda _
-             ;; Patch buildsystem to respect Coin3D include directory
-             (substitute* "CMakeLists.txt"
-                          (("\\$\\{SoQt_INCLUDE_DIRS}")
-                           "${Coin_INCLUDE_DIR};${SoQt_INCLUDE_DIRS}"))
-             #t)))))
+             ;; Patch build system to respect Coin3D include directory
+             (substitute* "interfaces/CMakeLists.txt"
+               (("\\$\\{SoQt_INCLUDE_DIRS\\}")
+                "${Coin_INCLUDE_DIR};${SoQt_INCLUDE_DIRS}")))))))
     (native-inputs
-      (list cmake swig))
+     (list cmake swig))
     (inputs
-      (list python-wrapper
-            qtbase-5
-            libxi
-            libice
-            soqt
-            glew
-            coin3D))
+     (list python-wrapper
+           qtbase-5
+           libxi
+           libice
+           soqt
+           glew
+           coin3D))
     (home-page "https://github.com/coin3d/pivy";)
     (synopsis "Python bindings to Coin3D")
     (description
-      "Pivy provides python bindings for Coin, a 3D graphics library with an
+     "Pivy provides python bindings for Coin, a 3D graphics library with an
 Application Programming Interface based on the Open Inventor 2.1 API.")
     (license license:isc)))
 
I get lots of errors like these:

--8<---------------cut here---------------start------------->8---
interfaces/coin_header_includes.h:662: Error: Unable to find 
'Inventor/VRMLnodes/SoVRMLViewpoint.h'
interfaces/coin_header_includes.h:663: Error: Unable to find 
'Inventor/VRMLnodes/SoVRMLVisibilitySensor.h'
interfaces/coin_header_includes.h:664: Error: Unable to find 
'Inventor/VRMLnodes/SoVRMLWorldInfo.h'
/gnu/store/ivbbmgrvhdc46p2ywx1x2zsmal3x0z5n-soqt-1.6.0-1.fb8f655/include/Inventor/Qt/devices/SoQtDevice.h:66:
 Error: Unable to find 'Inventor/SbLinear.h'
/gnu/store/ivbbmgrvhdc46p2ywx1x2zsmal3x0z5n-soqt-1.6.0-1.fb8f655/include/Inventor/Qt/SoQtObject.h:40:
 Error: Unable to find 'Inventor/SbBasic.h'
--8<---------------cut here---------------end--------------->8---


-- 
Ricardo

reply via email to

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