gnu: qucs: Build from git to fix bug.
* gnu/packages/engineering.scm (qucs): Add TODO comment. [source]: Use git commit b4f27d9. [native-inputs]: Add autoconf, automake, flex and bison. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
bcc2e0ed2e
commit
4f12a62d18
1 changed files with 105 additions and 96 deletions
|
@ -4,7 +4,7 @@
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
||||||
;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016, 2017 Theodoros Foradis <theodoros@foradis.org>
|
;;; Copyright © 2016, 2017, 2018 Theodoros Foradis <theodoros@foradis.org>
|
||||||
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
||||||
|
@ -1503,18 +1503,22 @@ parallel computing platforms. It also supports serial execution.")
|
||||||
license:lgpl2.0+)))) ; freehdl's libraries
|
license:lgpl2.0+)))) ; freehdl's libraries
|
||||||
|
|
||||||
(define-public qucs
|
(define-public qucs
|
||||||
|
;; Qucs 0.0.19 segfaults when using glibc-2.26. Temporarily build from git.
|
||||||
|
;; TODO: When qucs-0.0.20 is released, revert the commit that introduced this
|
||||||
|
;; comment and update the package.
|
||||||
|
(let ((commit "b4f27d9222568066cd59e4c387c51a35056c99d8")
|
||||||
|
(revision "0"))
|
||||||
(package
|
(package
|
||||||
(name "qucs")
|
(name "qucs")
|
||||||
(version "0.0.19")
|
(version (git-version "0.0.19" revision commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(string-append
|
(url "https://github.com/Qucs/qucs")
|
||||||
"https://sourceforge.net/projects/qucs/files/qucs/" version
|
(commit commit)))
|
||||||
"/qucs-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "10bclay9xhkffmsh4j4l28kj1qpxx0pnxja5vx6305cllnq4r3gb"))
|
||||||
"0giv9gfyfdizvjhq56x2pdncrlyv3k15lrsh6pk37i94vr7l7ij5"))))
|
(file-name (string-append name "-" version "-checkout"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -1576,8 +1580,13 @@ parallel computing platforms. It also supports serial execution.")
|
||||||
#:parallel-build? #f ; race condition
|
#:parallel-build? #f ; race condition
|
||||||
#:configure-flags '("--disable-doc"))) ; we need octave-epstk
|
#:configure-flags '("--disable-doc"))) ; we need octave-epstk
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gperf" ,gperf)
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("bison" ,bison)
|
||||||
|
("flex" ,flex)
|
||||||
|
("gperf" ,gperf)
|
||||||
("libtool-native" ,libtool)
|
("libtool-native" ,libtool)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
("python" ,python-2) ; for tests
|
("python" ,python-2) ; for tests
|
||||||
("matplotlib" ,python2-matplotlib) ; for tests
|
("matplotlib" ,python2-matplotlib) ; for tests
|
||||||
("numpy" ,python2-numpy) ; for tests
|
("numpy" ,python2-numpy) ; for tests
|
||||||
|
@ -1600,7 +1609,7 @@ parallel computing platforms. It also supports serial execution.")
|
||||||
aims to support all kinds of circuit simulation types---e.g. DC, AC,
|
aims to support all kinds of circuit simulation types---e.g. DC, AC,
|
||||||
S-parameter, transient, noise and harmonic balance analysis. Pure digital
|
S-parameter, transient, noise and harmonic balance analysis. Pure digital
|
||||||
simulations are also supported.")
|
simulations are also supported.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+))))
|
||||||
|
|
||||||
(define-public qucs-s
|
(define-public qucs-s
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue