Subject: bug#50531: closed (Re: bug#50531: [PATCH] gnu: libngspice: Update to 35.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 21 Sep 2021 14:08:02 +0000

Your bug report

#50531: [PATCH] gnu: libngspice: Update to 35.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50531: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50531
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50531: [PATCH] gnu: libngspice: Update to 35.
From: Mathieu Othacehe <[email-masked]>
To: Vinicius Monego <[email-masked]>
Cc: [email-masked]
Date: Tue, 21 Sep 2021 14:07:28 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

> * gnu/packages/engineering.scm (libngspice): Update to 35.
> [arguments]<#:phases>: Rename 'delete-scripts-and-config to 'delete-scripts
> and don't try to delete config.h because that file was removed in this version.

Pushed as fa6a1f52b2a1e55770ac073884cb7146749d3e63.

Thanks,

Mathieu

Subject: [PATCH] gnu: libngspice: Update to 35.
From: Vinicius Monego <[email-masked]>
To: [email-masked]
Cc: Vinicius Monego <[email-masked]>
Date: Sat, 11 Sep 2021 22:41:50 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/engineering.scm (libngspice): Update to 35.
[arguments]<#:phases>: Rename 'delete-scripts-and-config to 'delete-scripts
and don't try to delete config.h because that file was removed in this version.
---
 gnu/packages/engineering.scm | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 33c124a2ea..7950ea31ff 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1707,7 +1707,7 @@ high-performance parallel differential evolution (DE) optimization algorithm.")
   ;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27344#236>.
   (package
     (name "libngspice")
-    (version "34")
+    (version "35")
     (source
      (origin
        (method url-fetch)
@@ -1718,7 +1718,7 @@ high-performance parallel differential evolution (DE) optimization algorithm.")
                             "old-releases/" version
                             "/ngspice-" version ".tar.gz")))
        (sha256
-        (base32 "1dfpkgkwmgwhq8dnbb8dh28cfap6rw0yywkhmxr4jxclcvygyqr2"))))
+        (base32 "1v3ra9p2sc6ash1bbjm6i4i3dd6ymxjgnyha7z5rlmyvfv1gbdy1"))))
     (build-system gnu-build-system)
     (arguments
      `(;; No tests for libngspice exist.
@@ -1735,16 +1735,11 @@ high-performance parallel differential evolution (DE) optimization algorithm.")
              (substitute* "man/man1/Makefile.in"
                (("^man_MANS = ngspice\\.1 ngnutmeg\\.1 ngsconvert\\.1 ngmultidec\\.1")
                 "man_MANS = "))))
-         (add-after 'install 'delete-scripts-and-config
+         (add-after 'install 'delete-scripts
            (lambda* (#:key outputs #:allow-other-keys)
              (delete-file-recursively
               (string-append (assoc-ref outputs "out")
-                             "/share/ngspice/scripts"))
-             ;; This file is autogenerated by the configure script and should
-             ;; not be distributed.  It could be removed in ngspice 35.  See
-             ;; https://bugs.archlinux.org/task/70569 for reference.
-             (delete-file (string-append (assoc-ref outputs "out")
-                                         "/include/config.h")))))
+                             "/share/ngspice/scripts")))))
        #:configure-flags
        (list "--enable-openmp"
              "--enable-ciderlib"
-- 
2.30.2