mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 23:36:35 +01:00
gnu: libngspice: Update to 34.
* gnu/packages/engineering.scm (libngspice): Update to 34. [source]: Make some cosmetic changes. [arguments]<#:phases>: Don't return #t. (ngspice)[arguments]<#:phases>: Don't return #t. Remove 'delete-cmpp-dlmain phase because these files are not installed anymore. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
2277552a33
commit
2b8730bf80
1 changed files with 28 additions and 39 deletions
|
@ -1683,8 +1683,9 @@ (define-public libngspice
|
||||||
;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27344#236>.
|
;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27344#236>.
|
||||||
(package
|
(package
|
||||||
(name "libngspice")
|
(name "libngspice")
|
||||||
(version "28")
|
(version "34")
|
||||||
(source (origin
|
(source
|
||||||
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list
|
(uri (list
|
||||||
(string-append "mirror://sourceforge/ngspice/ng-spice-rework/"
|
(string-append "mirror://sourceforge/ngspice/ng-spice-rework/"
|
||||||
|
@ -1693,8 +1694,7 @@ (define-public libngspice
|
||||||
"old-releases/" version
|
"old-releases/" version
|
||||||
"/ngspice-" version ".tar.gz")))
|
"/ngspice-" version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1dfpkgkwmgwhq8dnbb8dh28cfap6rw0yywkhmxr4jxclcvygyqr2"))
|
||||||
"0rnz2rdgyav16w7wfn3sfrk2lwvvgz1fh0l9107zkcldijklz04l"))
|
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
;; We remove the non-free cider and build without it.
|
;; We remove the non-free cider and build without it.
|
||||||
(snippet
|
(snippet
|
||||||
|
@ -1718,14 +1718,12 @@ (define-public libngspice
|
||||||
(add-after 'unpack 'patch-timestamps
|
(add-after 'unpack 'patch-timestamps
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
(("`date`") "Thu Jan 1 00:00:01 UTC 1970"))
|
(("`date`") "Thu Jan 1 00:00:01 UTC 1970"))))
|
||||||
#t))
|
|
||||||
(add-after 'unpack 'delete-program-manuals
|
(add-after 'unpack 'delete-program-manuals
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "man/man1/Makefile.in"
|
(substitute* "man/man1/Makefile.in"
|
||||||
(("^man_MANS = ngspice\\.1 ngnutmeg\\.1 ngsconvert\\.1 ngmultidec\\.1")
|
(("^man_MANS = ngspice\\.1 ngnutmeg\\.1 ngsconvert\\.1 ngmultidec\\.1")
|
||||||
"man_MANS = "))
|
"man_MANS = "))))
|
||||||
#t))
|
|
||||||
(add-after 'install 'delete-script-files
|
(add-after 'install 'delete-script-files
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(delete-file-recursively
|
(delete-file-recursively
|
||||||
|
@ -1768,16 +1766,7 @@ (define-public ngspice
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/Makefile.in"
|
(substitute* "src/Makefile.in"
|
||||||
(("^SUBDIRS = misc maths frontend spicelib include/ngspice")
|
(("^SUBDIRS = misc maths frontend spicelib include/ngspice")
|
||||||
"SUBDIRS = misc maths frontend spicelib"))
|
"SUBDIRS = misc maths frontend spicelib"))))
|
||||||
#t))
|
|
||||||
(add-after 'install 'delete-cmpp-dlmain
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(delete-file
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
file)))
|
|
||||||
'("/bin/cmpp" "/share/ngspice/dlmain.c"))
|
|
||||||
#t))
|
|
||||||
(delete 'delete-program-manuals)
|
(delete 'delete-program-manuals)
|
||||||
(delete 'delete-script-files)))))
|
(delete 'delete-script-files)))))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue