Subject: [PATCH] Attempt to upgrade kicad to 8.0.2
From: [email-masked]
To: [email-masked]
Cc: Peter Polidoro <[email-masked]>
Date: Wed, 15 May 2024 14:16:01 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Peter Polidoro <[email-masked]>

---
 gnu/packages/engineering.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 624024b8d4..fc8974e72a 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -130,6 +130,7 @@ (define-module (gnu packages engineering)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages networking)
   #:use-module (gnu packages openkinect)
   #:use-module (gnu packages openkinect)
   #:use-module (gnu packages parallel)
@@ -1069,7 +1070,7 @@ (define-public inspekt3d
 (define-public kicad
   (package
     (name "kicad")
-    (version "7.0.11")
+    (version "8.0.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1077,7 +1078,7 @@ (define-public kicad
                     (commit version)))
               (sha256
                (base32
-                "1qn7w6pb1n5gx73z1zqbv140chh4307y8764z7xkdvric9i48qj4"))
+                "069ycii9zvdxwxd73afd6bp975r1555yvifi9zdb77qyvn0d9nr9"))
               (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
@@ -1089,8 +1090,8 @@ (define-public kicad
                 (string-append "-DOCC_INCLUDE_DIR="
                                #$(this-package-input "opencascade-occt")
                                "/include/opencascade")
-                "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
                 "-DKICAD_USE_EGL=ON"    ;because wxWidgets uses EGL
+                "-DKICAD_USE_BUNDLED_GLEW=ON"
                 "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE")
        #:phases
        (modify-phases %standard-phases
@@ -1122,16 +1123,16 @@ (define-public kicad
             (variable "KICAD") ;to find kicad-doc
             (files '("")))
            (search-path-specification
-            (variable "KICAD7_TEMPLATE_DIR")
+            (variable "KICAD8_TEMPLATE_DIR")
             (files '("share/kicad/template")))
            (search-path-specification
-            (variable "KICAD7_SYMBOL_DIR")
+            (variable "KICAD8_SYMBOL_DIR")
             (files '("share/kicad/symbols")))
            (search-path-specification
-            (variable "KICAD7_FOOTPRINT_DIR")
+            (variable "KICAD8_FOOTPRINT_DIR")
             (files '("share/kicad/footprints")))
            (search-path-specification
-            (variable "KICAD7_3DMODEL_DIR")
+            (variable "KICAD8_3DMODEL_DIR")
             (files '("share/kicad/3dmodels")))))
     (native-inputs (list boost
                          desktop-file-utils
@@ -1139,7 +1140,8 @@ (define-public kicad
                          pkg-config
                          swig
                          unixodbc
-                         zlib))
+                         zlib
+                         freeglut))
     (inputs (list bash-minimal
                   cairo
                   curl
@@ -1155,7 +1157,9 @@ (define-public kicad
                   gtk+
                   wxwidgets
                   python-wxpython
-                  gdk-pixbuf))
+                  gdk-pixbuf
+                  protobuf
+                  nng))
     (home-page "https://www.kicad.org/")
     (synopsis "Electronics Design Automation Suite")
     (description

base-commit: 28ce5085a0a4191c27aecdc085600acf585b607c
-- 
2.41.0