GNU bug report logs - #29027
[PATCH 1/3] gnu: kicad-library: Update to 4.0.6.

Previous Next

Package: guix-patches;

Reported by: Theodoros Foradis <theodoros <at> foradis.org>

Date: Fri, 27 Oct 2017 14:21:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29027 in the body.
You can then email your comments to 29027 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#29027; Package guix-patches. (Fri, 27 Oct 2017 14:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Theodoros Foradis <theodoros <at> foradis.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 27 Oct 2017 14:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Theodoros Foradis <theodoros <at> foradis.org>
To: guix-patches <at> gnu.org
Cc: Theodoros Foradis <theodoros.for <at> openmailbox.org>
Subject: [PATCH 1/3] gnu: kicad-library: Update to 4.0.6.
Date: Fri, 27 Oct 2017 17:20:02 +0300
From: Theodoros Foradis <theodoros.for <at> openmailbox.org>

* gnu/packages/engineering.scm (kicad-library): Update to 4.0.6.
---
 gnu/packages/engineering.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index c9e184d7d..b5f3647a1 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -708,7 +708,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.")
       (license license:gpl3+))))
 
 (define-public kicad-library
-  (let ((version "4.0.4"))
+  (let ((version "4.0.6"))
     (package
       (name "kicad-library")
       (version version)
@@ -719,7 +719,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.")
                       version ".tar.gz"))
                 (sha256
                  (base32
-                  "1wyda58y39lhxml0xv1ngvddi0nqihx9bnlza46ajzms38ajvh12"))))
+                  "16f47pd6f0ddsdxdrp327nr9v05gl8c24d0qypq2aqx5hdjmkp7f"))))
       (build-system cmake-build-system)
       (arguments
        `(#:out-of-source? #t
@@ -762,7 +762,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.")
                    version ".tar.gz"))
              (sha256
               (base32
-               "0ya4gg6clz3vp2wrb67xwg0bhwh5q8ag39jjmpcp4zjcqs1f48rb"))))))
+               "0vmgqhdw05k5fdnqv42grnvlz7v75g9md82jp2d3dvw2zw050lfb"))))))
       (home-page "http://kicad-pcb.org/")
       (synopsis "Libraries for kicad")
       (description "This package provides Kicad component, footprint and 3D
-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#29027; Package guix-patches. (Fri, 27 Oct 2017 14:24:01 GMT) Full text and rfc822 format available.

Message #8 received at 29027 <at> debbugs.gnu.org (full text, mbox):

From: Theodoros Foradis <theodoros <at> foradis.org>
To: 29027 <at> debbugs.gnu.org
Cc: Theodoros Foradis <theodoros.for <at> openmailbox.org>
Subject: [PATCH 2/3] gnu: kicad: Update to commit 5f4599f.
Date: Fri, 27 Oct 2017 17:23:30 +0300
From: Theodoros Foradis <theodoros.for <at> openmailbox.org>

* gnu/packages/engineering.scm (kicad): Update to commit 5f4599f.
[arguments]: Add "install-lib-3d" phase.
---
 gnu/packages/engineering.scm | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index b5f3647a1..6bfcc975f 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -626,8 +626,8 @@ language.")
 ;; We use kicad from a git commit, because support for boost 1.61.0 has been
 ;; recently added.
 (define-public kicad
-  (let ((commit "4ee344e150bfaf3a6f3f7bf935fb96ae07c423fa")
-        (revision "1"))
+  (let ((commit "5f4599fb56da4dd748845ab10abec02961d477f3")
+        (revision "2"))
     (package
       (name "kicad")
       (version (string-append "4.0-" revision "."
@@ -639,7 +639,7 @@ language.")
                (url "https://git.launchpad.net/kicad")
                (commit commit)))
          (sha256
-          (base32 "0kf6r92nps0658i9n3p9vp5dzbssmc22lvjv5flyvnlf83l63s4n"))
+          (base32 "1833pln2975gmc5s18xf7s8m9vg834lmxxdjk0wlk3lq7bvjjnff"))
          (file-name (string-append name "-" version "-checkout"))))
       (build-system cmake-build-system)
       (arguments
@@ -679,6 +679,14 @@ language.")
                    `("PYTHONPATH" ":" prefix (,path))
                    `("PATH" ":" prefix
                      (,(string-append python "/bin:")))))
+               #t))
+           (add-after 'wrap-program 'install-lib-3d
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (for-each
+                (lambda (file)
+                  (install-file file (string-append (assoc-ref outputs "out")
+                                                    "/lib")))
+                (find-files "." "libkicad_3dsg*"))
                #t)))))
       (native-inputs
        `(("boost" ,boost)
-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#29027; Package guix-patches. (Fri, 27 Oct 2017 14:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 29027 <at> debbugs.gnu.org (full text, mbox):

From: Theodoros Foradis <theodoros <at> foradis.org>
To: 29027 <at> debbugs.gnu.org
Cc: Theodoros Foradis <theodoros <at> foradis.org>
Subject: [PATCH 3/3] gnu: kicad: Build with ngspice support.
Date: Fri, 27 Oct 2017 17:23:52 +0300
* gnu/packages/engineering.scm (kicad):
[arguments] <configure-flags>: Add KICAD_SPICE flag.
[inputs]: Add libngspice.
---
 gnu/packages/engineering.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 6bfcc975f..826894e5b 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -661,6 +661,7 @@ language.")
                               (assoc-ref %build-inputs "wxpython")
                               "/include/wx-3.0")
                "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
+               "-DKICAD_SPICE=TRUE"
                ;; TODO: Enable this when CA certs are working with curl.
                "-DBUILD_GITHUB_PLUGIN=OFF")
          #:phases
@@ -701,6 +702,7 @@ language.")
          ("glew" ,glew)
          ("glm" ,glm)
          ("hicolor-icon-theme" ,hicolor-icon-theme)
+         ("libngspice" ,libngspice)
          ("libsm" ,libsm)
          ("mesa" ,mesa)
          ("openssl" ,openssl)
-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#29027; Package guix-patches. (Fri, 27 Oct 2017 20:03:02 GMT) Full text and rfc822 format available.

Message #14 received at 29027 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Theodoros Foradis <theodoros <at> foradis.org>
Cc: Theodoros Foradis <theodoros.for <at> openmailbox.org>, 29027 <at> debbugs.gnu.org
Subject: Re: [bug#29027] [PATCH 1/3] gnu: kicad-library: Update to 4.0.6.
Date: Fri, 27 Oct 2017 13:01:49 -0700
Theodoros Foradis <theodoros <at> foradis.org> skribis:

> From: Theodoros Foradis <theodoros.for <at> openmailbox.org>
>
> * gnu/packages/engineering.scm (kicad-library): Update to 4.0.6.

Applied.




Information forwarded to guix-patches <at> gnu.org:
bug#29027; Package guix-patches. (Fri, 27 Oct 2017 20:04:02 GMT) Full text and rfc822 format available.

Message #17 received at 29027 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Theodoros Foradis <theodoros <at> foradis.org>
Cc: Theodoros Foradis <theodoros.for <at> openmailbox.org>, 29027 <at> debbugs.gnu.org
Subject: Re: [bug#29027] [PATCH 2/3] gnu: kicad: Update to commit 5f4599f.
Date: Fri, 27 Oct 2017 13:02:52 -0700
[Message part 1 (text/plain, inline)]
Theodoros Foradis <theodoros <at> foradis.org> skribis:

> From: Theodoros Foradis <theodoros.for <at> openmailbox.org>
>
> * gnu/packages/engineering.scm (kicad): Update to commit 5f4599f.
> [arguments]: Add "install-lib-3d" phase.

Pushed with the change below (remember that the 2nd argument of
‘find-files’ is a regexp, not a glob pattern.)

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5aef2d947..2e9701e9b 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -689,7 +689,7 @@ language.")
                 (lambda (file)
                   (install-file file (string-append (assoc-ref outputs "out")
                                                     "/lib")))
-                (find-files "." "libkicad_3dsg*"))
+                (find-files "." "^libkicad_3dsg.*"))
                #t)))))
       (native-inputs
        `(("boost" ,boost)

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 27 Oct 2017 20:07:01 GMT) Full text and rfc822 format available.

Notification sent to Theodoros Foradis <theodoros <at> foradis.org>:
bug acknowledged by developer. (Fri, 27 Oct 2017 20:07:01 GMT) Full text and rfc822 format available.

Message #22 received at 29027-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Theodoros Foradis <theodoros <at> foradis.org>
Cc: 29027-done <at> debbugs.gnu.org
Subject: Re: [bug#29027] [PATCH 3/3] gnu: kicad: Build with ngspice support.
Date: Fri, 27 Oct 2017 13:06:32 -0700
Theodoros Foradis <theodoros <at> foradis.org> skribis:

> * gnu/packages/engineering.scm (kicad):
> [arguments] <configure-flags>: Add KICAD_SPICE flag.
> [inputs]: Add libngspice.

Applied, thanks!

Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Nov 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.