From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 11:26:31 2017 Received: (at submit) by debbugs.gnu.org; 12 Jun 2017 15:26:31 +0000 Received: from localhost ([127.0.0.1]:43640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKREc-0004Tn-UU for submit@debbugs.gnu.org; Mon, 12 Jun 2017 11:26:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKOXb-0008RX-2h for submit@debbugs.gnu.org; Mon, 12 Jun 2017 08:33:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKOXV-000662-4p for submit@debbugs.gnu.org; Mon, 12 Jun 2017 08:33:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKOXV-00065y-2L for submit@debbugs.gnu.org; Mon, 12 Jun 2017 08:33:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKOXT-00046h-Vu for guix-patches@gnu.org; Mon, 12 Jun 2017 08:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKOXP-00065A-8C for guix-patches@gnu.org; Mon, 12 Jun 2017 08:33:47 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:47664 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKOXO-00064k-Vj for guix-patches@gnu.org; Mon, 12 Jun 2017 08:33:43 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 5D930510046; Mon, 12 Jun 2017 14:33:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497270820; bh=lPkk+KbDkf9ik3/rPTeCueFzqyvQ0cI9Amgd1icfRQM=; h=From:To:Cc:Subject:Date:From; b=TQ72Qsqz3H6C+64MWTku6mCkC3JUqwpweX7LeUa4P9bMtAPPZXK10vtJG+LEsTS0P OhOGPurzf8bdtj0QXBSLAM7x+VKDeSjPGAypIoAdeZTP2Pe9AHGlKQMvnsKhFHZ6ww 5GHAqGeaoINouUA7s6Uj7BtBsFXnpw6ZfxiIpGAo= User-agent: mu4e 0.9.18; emacs 25.2.1 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497270820; bh=lPkk+KbDkf9ik3/rPTeCueFzqyvQ0cI9Amgd1icfRQM=; h=From:To:Cc:Subject:Date:From; b=TQ72Qsqz3H6C+64MWTku6mCkC3JUqwpweX7LeUa4P9bMtAPPZXK10vtJG+LEsTS0P OhOGPurzf8bdtj0QXBSLAM7x+VKDeSjPGAypIoAdeZTP2Pe9AHGlKQMvnsKhFHZ6ww 5GHAqGeaoINouUA7s6Uj7BtBsFXnpw6ZfxiIpGAo= From: Theodoros Foradis To: guix-patches@gnu.org Subject: [PATCH 0/12] Add computational software and circuit simulators Date: Mon, 12 Jun 2017 15:33:25 +0300 Message-ID: <8760g11j3e.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 12 Jun 2017 11:26:30 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello Guix, This patch series adds: * Computational software from * Qucs and its dependencies for digital circuit simulation/optimisation * Ngspice and Xyce(serial/parallel) circuit simulators * Qucs-s, which is a GUI that utilises those 3 simulators. Ngspice, normally includes a non-free component (cider), which I delete with a snippet from source, and build without. I have clearly noted the licenses of the rest of the source code, but I would like someone to verify I am not missing anything. Theodoros Foradis (12): gnu: Add qucs-s. gnu: Add qucs. gnu: Add xyce-parallel. gnu: Add xyce-serial. gnu: Add ngspice. gnu: Add asco. gnu: Add freehdl. gnu: Add adms. gnu: Add meep. gnu: Add mpb. gnu: Add libctl. gnu: Add harminv. gnu/packages/engineering.scm | 677 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 676 insertions(+), 1 deletion(-) -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:11 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:11 +0000 Received: from localhost ([127.0.0.1]:43866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbT-0003yp-8D for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:11 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:59565 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSa3-0003rr-He for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:52:44 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 61764515F1C; Mon, 12 Jun 2017 18:52:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286362; bh=GGs6F9RQN5+/PDyNtHXfOMMVcXk6yEgTOS7OFBLWg50=; h=From:To:Cc:Subject:Date:From; b=Y3VQaes+ScwEAyQ6nSENufZAINjreT9vGuM2vahRvuN6To0UMmp0jMKEIGfJVsPOW NHwV9pGjcPhCxg0TpHOM6sYhp9MDD/72LOezc1QkixdAANlOWPjbeIx5T25KEQ68G3 yiS1XRtYeuQYmESBdmhlalD+p2b8KppTfAbVuSSQ= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286362; bh=GGs6F9RQN5+/PDyNtHXfOMMVcXk6yEgTOS7OFBLWg50=; h=From:To:Cc:Subject:Date:From; b=Y3VQaes+ScwEAyQ6nSENufZAINjreT9vGuM2vahRvuN6To0UMmp0jMKEIGfJVsPOW NHwV9pGjcPhCxg0TpHOM6sYhp9MDD/72LOezc1QkixdAANlOWPjbeIx5T25KEQ68G3 yiS1XRtYeuQYmESBdmhlalD+p2b8KppTfAbVuSSQ= To: 27344@debbugs.gnu.org Subject: [PATCH 01/12] gnu: Add harminv. Date: Mon, 12 Jun 2017 19:52:15 +0300 Message-Id: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (harminv): New variable. --- gnu/packages/engineering.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7ad93653e..1311410b4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 David Thompson ;;; Copyright © 2016, 2017 Ludovic Courtès -;;; Copyright © 2016 Theodoros Foradis +;;; Copyright © 2016, 2017 Theodoros Foradis ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,6 +44,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gcc) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -812,3 +813,39 @@ the 'showing the effect of'-style of operation.") for mathematical functions. It also provides an machine-independent interface to select the best such procedures to use on a given system.") (license license:gpl3+))) + +(define-public harminv + (package + (name "harminv") + (version "1.4") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/harminv/harminv-" + version ".tar.gz")) + (sha256 + (base32 + "1pmm8d6fx9ahhnk7w12bfa6zx3afbkg4gkvlvgwhpjxbcrvrp3jk")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-tests + (lambda _ + (substitute* "./sines-test.sh" + ; change test frequency range - default fails + (("0\\.15") "0.16")) + #t))))) + (native-inputs + `(("fortran" ,gfortran))) + (inputs + `(("lapack" ,lapack))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Harminv") + (synopsis "Harmonic inversion solver") + (description + "Harminv is a free program (and accompanying library) to solve the problem of +harmonic inversion — given a discrete-time, finite-length signal that consists of a sum +of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it +determines the frequencies, decay constants, amplitudes, and phases of those sinusoids.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:11 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:11 +0000 Received: from localhost ([127.0.0.1]:43868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbT-0003yw-L3 for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:11 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:55885 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSa6-0003s6-Rl for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:52:47 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 19857515F2A; Mon, 12 Jun 2017 18:52:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286366; bh=//XdYtHbvHGpHTyvCaMbcFLKIDDJVHzZLHDB8SmC94o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AMzAiw3rB98WziLDxGuzZ59InNAYxImQJZqzN28oWnn09M63VqFJ2IqhcaLn7n5xv AjHQy4lDX05hIo9YR/QqUkaEYUBfjI7tZg07ges1iiix2p2Cfze0mKecDrxbr8mcI1 AXBiZP6NuoLx+NOIdxhU60Q9rEawDZ/UwzTNDppI= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286365; bh=//XdYtHbvHGpHTyvCaMbcFLKIDDJVHzZLHDB8SmC94o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vHqKirYi9B6l7cPK4wC7keCx3XNByXGn3L695BCkpb01c/coOLjMaQBMmfWvXz1UL elvNqr/VBV8qVIwD+0MvJBZnVjYnkryEsid65ZcdahC3jcnj+UJMQLhLL0Bs/Z8NJf vFO1RWWiGpMWOLArTTS/11nNc1niZqvZNbMzcvYw= To: 27344@debbugs.gnu.org Subject: [PATCH 02/12] gnu: Add libctl. Date: Mon, 12 Jun 2017 19:52:16 +0300 Message-Id: <20170612165226.1268-2-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (libctl): New variable. --- gnu/packages/engineering.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 1311410b4..1bda7d494 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -849,3 +849,28 @@ harmonic inversion — given a discrete-time, finite-length signal that consists of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it determines the frequencies, decay constants, amplitudes, and phases of those sinusoids.") (license license:gpl2+))) + +(define-public libctl + (package + (name "libctl") + (version "3.2.2") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/libctl/libctl-" + version ".tar.gz")) + (sha256 + (base32 + "1g7gqybq20jhdnw5vg18bgbj9jz0408gfmjvs8b4xs30pic8pgca")))) + (build-system gnu-build-system) + (native-inputs + `(("fortran" ,gfortran))) + (inputs + `(("guile" ,guile-2.2))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Libctl") + (synopsis "Flexible control files implementation for scientific simulations") + (description + "Libctl is a Guile-based library implementing flexible control files +for scientific simulations.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:12 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:12 +0000 Received: from localhost ([127.0.0.1]:43870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbT-0003z0-Sf for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:12 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:36614 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaA-0003sW-EH for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:52:50 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id A126F515F30; Mon, 12 Jun 2017 18:52:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286369; bh=ipVJQq4Q70+o65y9uOZQqkhGzV/F97X7Z16waxCuvYY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aMYcOL8bIt6Ow2aXqGGvrI1k4b33/+oWvH9ZJR1fCgyLJVa6cUjTvXMZ583GBIftH +qkzcQNKaEnzhsx4S+j3KYir5RqIVOEmFq/C9KFu18TGCnfYzifR/ancIAUs8e2KpI d8yLgGz65pazBYkgjIzMADkW8EG7sgWCjzuNbAZk= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286369; bh=ipVJQq4Q70+o65y9uOZQqkhGzV/F97X7Z16waxCuvYY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aMYcOL8bIt6Ow2aXqGGvrI1k4b33/+oWvH9ZJR1fCgyLJVa6cUjTvXMZ583GBIftH +qkzcQNKaEnzhsx4S+j3KYir5RqIVOEmFq/C9KFu18TGCnfYzifR/ancIAUs8e2KpI d8yLgGz65pazBYkgjIzMADkW8EG7sgWCjzuNbAZk= To: 27344@debbugs.gnu.org Subject: [PATCH 03/12] gnu: Add mpb. Date: Mon, 12 Jun 2017 19:52:17 +0300 Message-Id: <20170612165226.1268-3-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (mpb): New variable. --- gnu/packages/engineering.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 1bda7d494..64700c7f9 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -62,6 +62,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages swig) #:use-module (gnu packages tcl) #:use-module (gnu packages tls) @@ -874,3 +875,44 @@ determines the frequencies, decay constants, amplitudes, and phases of those sin "Libctl is a Guile-based library implementing flexible control files for scientific simulations.") (license license:gpl2+))) + +(define-public mpb + (package + (name "mpb") + (version "1.5") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/mpb/mpb-" + version ".tar.gz")) + (sha256 + (base32 + "1mqb2d8jq957nksayjygq58iy8i42vjryzg9iy5fpfay31wzxsix")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-libctl=" + (assoc-ref %build-inputs "libctl") + "/share/libctl")))) + (native-inputs + `(("fortran" ,gfortran) + ("pkg-config" ,pkg-config) + ("swig" ,swig))) + (inputs + `(("fftw" ,fftw) + ("gsl" ,gsl) + ("guile" ,guile-2.2) + ("hdf5" ,hdf5) + ("lapack" ,lapack) + ("libctl" ,libctl) + ("readline" ,readline) + ("zlib" ,zlib))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands") + (synopsis "Computes band structures and electromagnetic modes of dielectric +structures") + (description + "MIT Photonic-Bands (MPB) computes definite-frequency eigenstates (harmonic modes) +of Maxwell's equations in periodic dielectric structures for arbitrary wavevectors, using +fully-vectorial and three-dimensional methods.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:12 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:12 +0000 Received: from localhost ([127.0.0.1]:43872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbU-0003z6-2m for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:12 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:58241 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaE-0003sy-8F for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:52:54 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 7261D515FBA; Mon, 12 Jun 2017 18:52:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286373; bh=ITgXPzGyJ38XeTNSQqiQx17Xr8zxAR5qDdUXhu+Jxr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EFCoQJ3W5Gt+NTgc2jf/G+vYmcVFvQ3uJidFHxdgTYzjcsT/2xWaqBAEG8EfPrpDL LwIgHqhCop4poYPqSBd5B/61Xfc2wN/Dx4aEYc0f2bOXcVZ3r1Z6us9pkLTe+MTW2n FbeHid1w8mIYUhedQV/BKJ+jFb44s+JMRTJsjPQs= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286373; bh=ITgXPzGyJ38XeTNSQqiQx17Xr8zxAR5qDdUXhu+Jxr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EFCoQJ3W5Gt+NTgc2jf/G+vYmcVFvQ3uJidFHxdgTYzjcsT/2xWaqBAEG8EfPrpDL LwIgHqhCop4poYPqSBd5B/61Xfc2wN/Dx4aEYc0f2bOXcVZ3r1Z6us9pkLTe+MTW2n FbeHid1w8mIYUhedQV/BKJ+jFb44s+JMRTJsjPQs= To: 27344@debbugs.gnu.org Subject: [PATCH 04/12] gnu: Add meep. Date: Mon, 12 Jun 2017 19:52:18 +0300 Message-Id: <20170612165226.1268-4-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (meep): New variable. --- gnu/packages/engineering.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 64700c7f9..f096de8f7 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -916,3 +916,43 @@ structures") of Maxwell's equations in periodic dielectric structures for arbitrary wavevectors, using fully-vectorial and three-dimensional methods.") (license license:gpl2+))) + +(define-public meep + (package + (name "meep") + (version "1.3") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/meep/meep-" + version ".tar.gz")) + (sha256 + (base32 + "0f6lbw2hrksg7xscwdqs78jc9nmzx9fs8j0hz1y4i8qknkqiyk2n")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-libctl=" + (assoc-ref %build-inputs "libctl") + "/share/libctl")))) + (native-inputs + `(("fortran" ,gfortran) + ("pkg-config" ,pkg-config) + ("swig" ,swig))) + (inputs + `(("fftw" ,fftw) + ("gsl" ,gsl) + ("guile" ,guile-2.0) ; doesn't build with guile-2.2 + ("harminv" ,harminv) + ("hdf5" ,hdf5) + ("lapack" ,lapack) + ("libctl" ,libctl) + ("mpb" ,mpb) + ("zlib" ,zlib))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Meep") + (synopsis "Finite-difference time-domain (FDTD) simulation software") + (description + "Meep is a finite-difference time-domain (FDTD) simulation software package +developed at MIT to model electromagnetic systems.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:12 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:12 +0000 Received: from localhost ([127.0.0.1]:43874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbU-0003zD-9h for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:12 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:39696 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaH-0003tI-Lk for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:52:57 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id DD91C515E86; Mon, 12 Jun 2017 18:52:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286376; bh=EnnFhGXOcraEUsURQFpfRyZO4TifKdMEdBKKvKUI194=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ujhJalNvk3MFUrfLKsa4nTvroHpeGSzcE6WG47S4ZtiJw/C2Lq5RANfnnOwtmJxQa /8nhwKIwLZ1WvWDEZmhCNtHNoKcULqrgDnPpzXOM21ye9Zx7KsqIIUwfahHgKd+aw+ qdDXkmiTAGplslQfjp0okj6g/fWx6gRLuF62d9B4= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286376; bh=EnnFhGXOcraEUsURQFpfRyZO4TifKdMEdBKKvKUI194=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ujhJalNvk3MFUrfLKsa4nTvroHpeGSzcE6WG47S4ZtiJw/C2Lq5RANfnnOwtmJxQa /8nhwKIwLZ1WvWDEZmhCNtHNoKcULqrgDnPpzXOM21ye9Zx7KsqIIUwfahHgKd+aw+ qdDXkmiTAGplslQfjp0okj6g/fWx6gRLuF62d9B4= To: 27344@debbugs.gnu.org Subject: [PATCH 05/12] gnu: Add adms. Date: Mon, 12 Jun 2017 19:52:19 +0300 Message-Id: <20170612165226.1268-5-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (adms): New variable. --- gnu/packages/engineering.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f096de8f7..23754fb14 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -956,3 +956,29 @@ fully-vectorial and three-dimensional methods.") "Meep is a finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems.") (license license:gpl2+))) + +(define-public adms + (package + (name "adms") + (version "2.3.6") + (source (origin + (method url-fetch) + (uri + (string-append + "mirror://sourceforge/mot-adms/adms-source/" + (string-take version 3) "/adms-" version ".tar.gz")) + (sha256 + (base32 + "1rn98l6jxcjhi6ai5f7p588khra9z80m0m0lql4n4sb7773fh1vk")))) + (build-system gnu-build-system) + (native-inputs + `(("flex" ,flex) + ("bison" ,bison))) + (home-page "https://sourceforge.net/projects/mot-adms") + (synopsis "Automatic device model synthesizer") + (description + "ADMS is a code generator that converts electrical compact device models +specified in high-level description language into ready-to-compile C code for +the API of spice simulators. Based on transformations specified in XML +language, ADMS transforms Verilog-AMS code into other target languages.") + (license license:gpl3))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:12 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:12 +0000 Received: from localhost ([127.0.0.1]:43876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbU-0003zK-Gk for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:12 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:41574 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaL-0003tm-Dm for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:01 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 9C1F3515E86; Mon, 12 Jun 2017 18:53:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286380; bh=9ZHDHi2j8XCI7FtSyKzqexWo4n+ImbrTFq7r74Z08X0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B940jZ1XYd27vB7tKqwQ/sJjA1sfMnfUggHf0EqxllM1rNL1pzaILiNM2LmASgooF eJbzc1oVm3+iGLFEQGA/STct0CCqX1FJKP7jbmG8JCwDVD6WYJMwAWriH0JNpWudxf eK3HWjSuv/DS5J+CN4SZCLU3b1SxxuHB90ccL/bs= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286380; bh=9ZHDHi2j8XCI7FtSyKzqexWo4n+ImbrTFq7r74Z08X0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B940jZ1XYd27vB7tKqwQ/sJjA1sfMnfUggHf0EqxllM1rNL1pzaILiNM2LmASgooF eJbzc1oVm3+iGLFEQGA/STct0CCqX1FJKP7jbmG8JCwDVD6WYJMwAWriH0JNpWudxf eK3HWjSuv/DS5J+CN4SZCLU3b1SxxuHB90ccL/bs= To: 27344@debbugs.gnu.org Subject: [PATCH 06/12] gnu: Add freehdl. Date: Mon, 12 Jun 2017 19:52:20 +0300 Message-Id: <20170612165226.1268-6-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (freehdl): New variable. --- gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 23754fb14..3f5dd9d33 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -982,3 +982,49 @@ specified in high-level description language into ready-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.") (license license:gpl3))) + +(define-public freehdl + (package + (name "freehdl") + (version "0.0.8") + (source (origin + (method url-fetch) + (uri (string-append "http://downloads.sourceforge.net/qucs/freehdl-" + version ".tar.gz")) + (sha256 + (base32 + "117dqs0d4pcgbzvr3jn5ppra7n7x2m6c161ywh6laa934pw7h2bz")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-pkg-config + (lambda _ + (substitute* "freehdl/freehdl-config" + (("pkg-config") (which "pkg-config")) + (("cat") (which "cat"))) + #t)) + (add-after 'configure 'patch-freehdl-pc + (lambda _ + (substitute* "freehdl.pc" + (("=g\\+\\+") (string-append "=" (which "g++"))) + (("=libtool") (string-append "=" (which "libtool")))) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/freehdl-config") + `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) + #t))))) + (inputs + `(("perl" ,perl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libtool" ,libtool))) + (home-page "http://www.freehdl.seul.org/") + (synopsis "VHDL simulator") + (description + "FreeHDL is a compiler/simulator suite for the hardware description language VHDL. + VHDL'93 as well as VHDL'87 standards are supported.") + (license (list license:gpl2+ + license:lgpl2.0+)))) ; freehdl's libraries -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:13 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:13 +0000 Received: from localhost ([127.0.0.1]:43878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbU-0003zS-Sd for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:13 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53396 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaO-0003uS-R6 for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:05 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 0DBE0515E1D; Mon, 12 Jun 2017 18:53:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286384; bh=s9TnXny7veBvcJNAneN1KNX1MzUYnF71UO1n29ugbUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1FsDQ2A2US3VstAqD/iSlwtKCzY1+NQ+3/wDztceW0tD5rlB6/K3tzxoJEva2pLT RgYtXX0x8WiEhYRpmfysCU12VNUOzcR+wgRGUA2I/OfbuWaJxxhLl7EfgszYRw3rss 1DTQnA10XWN290MbmQCiEklk7JHBEn1v2A840Wy0= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286383; bh=s9TnXny7veBvcJNAneN1KNX1MzUYnF71UO1n29ugbUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MOrSu/0ugV9wwEsMN/d/15v9I4/XTbKMVryzgKDNxmlAQfdUL4WwAddYp9ptUnUz/ 5ezlu5L+fOe/eMX3KT+D/7LvIE0ttw9uOHl51N0CAL/pOGvolXiogVjxG7pmI9eMGo lCfhgkS6y77cJRgKS9wobBQ/A5k5tda0u2LHQC+M= To: 27344@debbugs.gnu.org Subject: [PATCH 07/12] gnu: Add asco. Date: Mon, 12 Jun 2017 19:52:21 +0300 Message-Id: <20170612165226.1268-7-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (asco): New variable. --- gnu/packages/engineering.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3f5dd9d33..b88dad3b3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -58,6 +58,7 @@ #:use-module (gnu packages linux) ;FIXME: for pcb #:use-module (gnu packages m4) #:use-module (gnu packages maths) + #:use-module (gnu packages mpi) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -1028,3 +1029,49 @@ language, ADMS transforms Verilog-AMS code into other target languages.") VHDL'93 as well as VHDL'87 standards are supported.") (license (list license:gpl2+ license:lgpl2.0+)))) ; freehdl's libraries + +(define-public asco + (package + (name "asco") + (version "0.4.10") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/asco/asco/" version "/ASCO-" + version ".tar.gz")) + (sha256 + (base32 + "119rbc2dc8xzwxvykgji0v0nrzvymjmlizr1bc2mihspj686kxsl")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags '("all" "asco-mpi") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("errfunc.c" "asco.c") + (("cp ") (string-append (which "cp") " ")) + (("nice") (string-append (assoc-ref inputs "coreutils") "/bin/nice"))) + (substitute* "Makefile" + (("/bin/mpicc") (which "mpicc"))) + #t)) + (replace 'install ; no install target + (lambda* (#:key outputs #:allow-other-keys) + (for-each (lambda (file) + (install-file file (string-append + (assoc-ref outputs "out") + "/bin"))) + '("asco" "asco-mpi" "asco-test" + "tools/alter/alter" "tools/log/log")) + #t))))) + (native-inputs + `(("mpi" ,openmpi))) + (inputs + `(("coreutils" ,coreutils-minimal))) + (home-page "http://asco.sourceforge.net/") + (synopsis "SPICE circuit optimizer") + (description + "ASCO brings circuit optimization capabilities to existing SPICE simulators using a +high-performance parallel differential evolution (DE) optimization algorithm.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:13 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:13 +0000 Received: from localhost ([127.0.0.1]:43880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbV-0003zZ-57 for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:13 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:46319 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaS-0003uv-GR for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:08 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id B373E515E56; Mon, 12 Jun 2017 18:53:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286387; bh=1LflzqvAgek9hJvLOqH3iV3iA5eL60zzdz4iIn8Sl5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YdtXDAq0lbVlv9yaOw4aHSgW8C+r2G72l7OjZOJQBETDhOKbGOA0Nd7AkVGfI7S/r 7gRBQ5rMERNSo5hEC0tbBYOlEqNThx72eVhd5Dt4V/EKGF0UpcefhffhrhWauiGYsP 5JDBeJMCjIKQ7R/muOmhe/f4iCQggpxlPef1OHa8= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286387; bh=1LflzqvAgek9hJvLOqH3iV3iA5eL60zzdz4iIn8Sl5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YdtXDAq0lbVlv9yaOw4aHSgW8C+r2G72l7OjZOJQBETDhOKbGOA0Nd7AkVGfI7S/r 7gRBQ5rMERNSo5hEC0tbBYOlEqNThx72eVhd5Dt4V/EKGF0UpcefhffhrhWauiGYsP 5JDBeJMCjIKQ7R/muOmhe/f4iCQggpxlPef1OHa8= To: 27344@debbugs.gnu.org Subject: [PATCH 08/12] gnu: Add ngspice. Date: Mon, 12 Jun 2017 19:52:22 +0300 Message-Id: <20170612165226.1268-8-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (ngspice): New variable. --- gnu/packages/engineering.scm | 74 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b88dad3b3..1d7a3631e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1075,3 +1075,77 @@ language, ADMS transforms Verilog-AMS code into other target languages.") "ASCO brings circuit optimization capabilities to existing SPICE simulators using a high-performance parallel differential evolution (DE) optimization algorithm.") (license license:gpl2+))) + +(define libngspice + (package + (name "libngspice") + (version "26") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/ngspice/ng-spice-rework/" + version "/ngspice-" version ".tar.gz")) + (sha256 + (base32 + "02019ndcl057nq9z41nxycqba7wxlb081ibvfj9jv010nz431qji")) + (modules '((guix build utils))) + ;; We remove the non-free cider and build without it + (snippet + '(begin + (delete-file-recursively "src/ciderlib") + (delete-file "src/ciderinit") + (substitute* "configure" + (("src/ciderlib/Makefile") "") + (("src/ciderlib/input/Makefile") "") + (("src/ciderlib/support/Makefile") "") + (("src/ciderlib/oned/Makefile") "") + (("src/ciderlib/twod/Makefile") "")))))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + ; no tests for libngspice + ; transient tests for ngspice fail + #:phases %standard-phases + #:configure-flags + (list "--enable-openmp" + "--enable-xspice" + "--with-ngshared" + "--with-readline=yes"))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("libxaw" ,libxaw) + ("mpi" ,openmpi) + ("readline" ,readline))) + (home-page "http://ngspice.sourceforge.net/") + (synopsis "Mixed-level/mixed-signal circuit simulator") + (description + "Ngspice is a mixed-level/mixed-signal circuit simulator. It includes +@code{Spice3f5}, a circuit simulator, and @code{Xspice}, an extension that +provides code modeling support and simulation of digital components through +an embedded event driven algorithm.") + (license (list license:lgpl2.0+ ; code in frontend/numparam + (license:non-copyleft "file://COPYING") ; spice3 bsd-style + license:public-domain)))) ; xspice + +(define-public ngspice + (package (inherit libngspice) + (name "ngspice") + (arguments + `(,@(substitute-keyword-arguments (package-arguments libngspice) + ((#:configure-flags flags) + `(delete "--with-ngshared" ,flags)) + ((#:phases phases) + `(alist-cons-after 'install 'in-ng + (lambda* (#:key inputs outputs #:allow-other-keys) + (map (lambda (lib) + (copy-file + (string-append (assoc-ref inputs "libngspice") + "/lib/" lib) + (string-append (assoc-ref outputs "out") + "/lib/" lib))) + '("libngspice.so.0" "libngspice.so")) + #t) + ,phases))))) + (inputs `(("libngspice" ,libngspice) + ,@(package-inputs libngspice))))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:13 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:13 +0000 Received: from localhost ([127.0.0.1]:43882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbV-0003zg-DS for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:13 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:41284 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaW-0003vL-Vb for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:14 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 317F4515E25; Mon, 12 Jun 2017 18:53:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286392; bh=LFjIBJC2C+FKQPDqJ3Icqf5oWk8cGgVWIk1C8cc9O30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KGyOvXaUizmb1ZdtgLgh65HgJqGv3eKpHTN6nrJ4Y8AfyYATJN9Y08CWELfmlIPxV P+dU4plXIU2eR8ohzHY/2sy5TgC8jzCF8gzCM8Veo2GrIag4OFkHM8n5xSLjaYU9A6 veuy+8x0mCilcEawiLZqBkh/677BXX2KNRgiydL4= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286391; bh=LFjIBJC2C+FKQPDqJ3Icqf5oWk8cGgVWIk1C8cc9O30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SrpL/juLrtDv65Wxn652K4h7S9gosvHqHcegTN6Wicdv3WDpiFEYmmnu9AEG+v8K7 +x+XQ27kkuy+qlHzKEwxgG8usso489WIs2Hw+DOHLMfqk/3E4FN7VrBEBJwsvf8QM6 TfwhSMmi6RC4VaDNoU6rUM2v5tpFyn+zxPLaxoow= To: 27344@debbugs.gnu.org Subject: [PATCH 09/12] gnu: Add xyce-serial. Date: Mon, 12 Jun 2017 19:52:23 +0300 Message-Id: <20170612165226.1268-9-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (xyce-serial): New variable. --- gnu/packages/engineering.scm | 94 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 1d7a3631e..596ddb80b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1149,3 +1149,97 @@ an embedded event driven algorithm.") ,phases))))) (inputs `(("libngspice" ,libngspice) ,@(package-inputs libngspice))))) + +(define trilinos-serial-xyce + (package + (name "trilinos-serial-xyce") + (version "12.6.3") + (source + (origin (method url-fetch) + (uri (string-append "https://trilinos.org/oldsite/download/files/trilinos-" + version "-Source.tar.gz")) + (sha256 + (base32 + "07jd1qpsbf31cmbyyngr4l67xzwyan24dyx5wlcahgbw7x6my3wn")))) + (build-system cmake-build-system) + (arguments + `(#:out-of-source? #t + #:configure-flags + (list "-DCMAKE_CXX_FLAGS=-O3 -fPIC" + "-DCMAKE_C_FLAGS=-O3 -fPIC" + "-DCMAKE_Fortran_FLAGS=-O3 -fPIC" + "-DTrilinos_ENABLE_NOX=ON" + "-DNOX_ENABLE_LOCA=ON" + "-DTrilinos_ENABLE_EpetraExt=ON" + "-DEpetraExt_BUILD_BTF=ON" + "-DEpetraExt_BUILD_EXPERIMENTAL=ON" + "-DEpetraExt_BUILD_GRAPH_REORDERINGS=ON" + "-DTrilinos_ENABLE_TrilinosCouplings=ON" + "-DTrilinos_ENABLE_Ifpack=ON" + "-DTrilinos_ENABLE_Isorropia=ON" + "-DTrilinos_ENABLE_AztecOO=ON" + "-DTrilinos_ENABLE_Belos=ON" + "-DTrilinos_ENABLE_Teuchos=ON" + "-DTeuchos_ENABLE_COMPLEX=ON" + "-DTrilinos_ENABLE_Amesos=ON" + "-DAmesos_ENABLE_KLU=ON" + "-DAmesos_ENABLE_UMFPACK=ON" + "-DTrilinos_ENABLE_Sacado=ON" + "-DTrilinos_ENABLE_Kokkos=OFF" + "-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF" + "-DTPL_ENABLE_AMD=ON" + "-DTPL_ENABLE_UMFPACK=ON" + "-DTPL_ENABLE_BLAS=ON" + "-DTPL_ENABLE_LAPACK=ON"))) + (native-inputs + `(("fortran" ,gfortran) + ("swig" ,swig))) + (inputs + `(("boost" ,boost) + ("lapack" ,lapack) + ("suitesparse" ,suitesparse))) + (home-page "https://trilinos.org") + (synopsis "Engineering and scientific problems algorithms") + (description + "The Trilinos Project is an effort to develop algorithms and enabling +technologies within an object-oriented software framework for the solution +of large-scale, complex multi-physics engineering and scientific problems. + A unique design feature of Trilinos is its focus on packages.") + (license (list license:lgpl2.1+ + license:bsd-3)))) + +(define-public xyce-serial + (package + (name "xyce-serial") + (version "6.7") + (source + (origin (method url-fetch) + (uri (string-append "https://archive.org/download/Xyce-" + version "/Xyce-" version ".tar.gz")) + (sha256 + (base32 + "02k952mnvrnc5kv7r65fdrn7khwq1lbyhwyvd7jznafzdpsvgm4x")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:configure-flags + (list + "CXXFLAGS=-O3 -std=c++11" + (string-append "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("fortran" ,gfortran))) + (inputs + `(("fftw" ,fftw) + ("suitesparse" ,suitesparse) + ("lapack" ,lapack) + ("trilinos" ,trilinos-serial-xyce))) + (home-page "https://xyce.sandia.gov/") + (synopsis "High-performance analog circuit simulator") + (description + "Xyce is a SPICE-compatible, high-performance analog circuit simulator, +capable of solving extremely large circuit problems by supporting large-scale +parallel computing platforms. It also supports serial execution.") + (license license:gpl3+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:14 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:14 +0000 Received: from localhost ([127.0.0.1]:43884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbV-0003zs-Q1 for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:13 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:47774 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSaa-0003vg-6G for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:16 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 6985A515E4B; Mon, 12 Jun 2017 18:53:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286395; bh=63H9YRwewaNbVO7BP2vlqsQfhJmKJNDnxnavZ5aD1rU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=huUGy+pGEnT7mtcl73y70b+JdQxUav5dL6jVZ8Nj5jJQ+COFPp0AElSWr8otU+fyW NSUjCLXruhgDW5IhGBY4oWHz0+UPw7I3fP19mxWL7Z0zQP/nzMaY7Jl81sQkOgCM40 v25ItS+RykIdaRWVdDs+pTDEeTsMfZ6k75C3wJdg= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286394; bh=63H9YRwewaNbVO7BP2vlqsQfhJmKJNDnxnavZ5aD1rU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jjk/3q4K1YRkszHZiQg4Sufbk9W+4/FF9nQ1e1bQWcKSIWbkGEWF7H5F8Vb1eGQ/D GyBbnmdskHZL1zjm0V2wfazPl1lj/rGEaQSFrTMWOKdPQSqSMzps3rP5yi+6RG1Tdq rUXrJi9gKUvhZeh7YdJMpDoxW4Eec+qaoIYedtog= To: 27344@debbugs.gnu.org Subject: [PATCH 10/12] gnu: Add xyce-parallel. Date: Mon, 12 Jun 2017 19:52:24 +0300 Message-Id: <20170612165226.1268-10-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (xyce-parallel): New variable. --- gnu/packages/engineering.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 596ddb80b..44a114622 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1243,3 +1243,40 @@ of large-scale, complex multi-physics engineering and scientific problems. capable of solving extremely large circuit problems by supporting large-scale parallel computing platforms. It also supports serial execution.") (license license:gpl3+))) + +(define trilinos-parallel-xyce + (package (inherit trilinos-serial-xyce) + (name "trilinos-parallel-xyce") + (arguments + `(,@(substitute-keyword-arguments (package-arguments trilinos-serial-xyce) + ((#:configure-flags flags) + `(append (list "-DTrilinos_ENABLE_ShyLU=ON" + "-DTrilinos_ENABLE_Zoltan=ON" + "-DTPL_ENABLE_MPI=ON") + ,flags))))) + (inputs + `(("mpi" ,openmpi) + ,@(package-inputs trilinos-serial-xyce))))) + +(define-public xyce-parallel + (package (inherit xyce-serial) + (name "xyce-parallel") + (arguments + `(,@(substitute-keyword-arguments (package-arguments xyce-serial) + ((#:configure-flags flags) + `(list "CXXFLAGS=-O3 -std=c++11" + "CXX=mpiCC" + "CC=mpicc" + "F77=mpif77" + "--enable-mpi" + "--enable-isorropia=no" + "--enable-zoltan=no" + (string-append + "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))))) + (propagated-inputs + `(("mpi" ,openmpi))) + (inputs + `(("trilinos" ,trilinos-parallel-xyce) + ,@(alist-delete "trilinos" + (package-inputs xyce-serial)))))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:14 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:14 +0000 Received: from localhost ([127.0.0.1]:43886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbW-0003zv-20 for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:14 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:47826 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSad-0003wA-3a for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:19 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 5098D515EBC; Mon, 12 Jun 2017 18:53:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286398; bh=FojRkDDXxJtfJHiFH9rOtZ3rjGpE7NZYGB20c80BsWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KdVyIflg4iLGw5GJnDYbQSaoCpdy0yhtOL6Xdk2mHKGjscP3SI+qXtsTX3m45ysB3 hWh2vZkLH2KotXkMH4+mTRztvAmO8BS2MWnIo7U1EMgPpYdL9yLlDRZ+KwgaWYdcEV DdoKmH/QKMRcqvZ4Y3PEStgR1KL2bLmO4RRs824A= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286398; bh=FojRkDDXxJtfJHiFH9rOtZ3rjGpE7NZYGB20c80BsWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KdVyIflg4iLGw5GJnDYbQSaoCpdy0yhtOL6Xdk2mHKGjscP3SI+qXtsTX3m45ysB3 hWh2vZkLH2KotXkMH4+mTRztvAmO8BS2MWnIo7U1EMgPpYdL9yLlDRZ+KwgaWYdcEV DdoKmH/QKMRcqvZ4Y3PEStgR1KL2bLmO4RRs824A= To: 27344@debbugs.gnu.org Subject: [PATCH 11/12] gnu: Add qucs. Date: Mon, 12 Jun 2017 19:52:25 +0300 Message-Id: <20170612165226.1268-11-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs): New variable. --- gnu/packages/engineering.scm | 91 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 44a114622..4c78fde77 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -40,10 +40,12 @@ #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages commencement) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages fpga) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) @@ -51,6 +53,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages image) @@ -1280,3 +1283,91 @@ parallel computing platforms. It also supports serial execution.") `(("trilinos" ,trilinos-parallel-xyce) ,@(alist-delete "trilinos" (package-inputs xyce-serial)))))) + +(define-public qucs + (package + (name "qucs") + (version "0.0.19") + (source (origin + (method url-fetch) + (uri + (string-append + "https://sourceforge.net/projects/qucs/files/qucs/" version + "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "0giv9gfyfdizvjhq56x2pdncrlyv3k15lrsh6pk37i94vr7l7ij5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/configure" + (("\\$QTDIR") (assoc-ref inputs "qt4"))) + #t)) + (add-after 'patch-configure 'patch-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("qucs/qucs/qucsdigi" + "qucs/qucs/qucsdigilib" + "qucs/qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref outputs "out") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("cp ") + (string-append (which "cp") " ")) + (("glibtool") + (which "libtool")) + (("sed") + (which "sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; The test suite requires a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t)) + (add-after 'install 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/qucs") + `("ADMSXMLBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "adms") "/bin"))) + `("ASCOBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "asco") "/bin"))) + `("QUCS_OCTAVE" ":" prefix + (,(string-append (assoc-ref inputs "octave") "/bin/octave"))))) + #t))) + #:parallel-build? #f ; race condition + #:configure-flags '("--disable-doc"))) ; we need octave-epstk + (native-inputs + `(("gperf" ,gperf) + ("libtool" ,libtool) + ("python" ,python-2) ; for tests + ("matplotlib" ,python2-matplotlib) ; for tests + ("numpy" ,python2-numpy) ; for tests + ("xorg-server" ,xorg-server))) ; for tests + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("freehdl" ,freehdl) + ("iverilog" ,iverilog) + ("octave" ,octave) + ("qt4" ,qt-4))) + (propagated-inputs + `(("gcc-toolchain" ,gcc-toolchain-5))) ; for freehdl + (home-page "http://qucs.sourceforge.net/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs is a circuit simulator with graphical user interface. + The software aims to support all kinds of circuit simulation types, +e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. + Pure digital simulations are also supported.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 12:54:14 2017 Received: (at 27344) by debbugs.gnu.org; 12 Jun 2017 16:54:14 +0000 Received: from localhost ([127.0.0.1]:43888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSbW-000402-CC for submit@debbugs.gnu.org; Mon, 12 Jun 2017 12:54:14 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:49985 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKSag-0003wf-QZ for 27344@debbugs.gnu.org; Mon, 12 Jun 2017 12:53:23 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 0798A515E42; Mon, 12 Jun 2017 18:53:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286402; bh=ucYQUIaBEAQ1yKSdoqCgOJQs8px4EvQYXsAVVA0CEkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mh6trxhbW+XS1QtsU/etaWASvKiVnARHnyTvyubz/u+CiB+smzf8dr2AxjHPFH8qq bamlsxyhJW7hVCvFEYvqC7FlfGiN5H6nv/UrT0yBpsn0l3tFbbIAN8WSOpvUPj1WDB v36PRfsRCEP8uPSCck3qb+UzE1ZbqcqTCgrZcHOw= From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497286401; bh=ucYQUIaBEAQ1yKSdoqCgOJQs8px4EvQYXsAVVA0CEkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hhreToy7ESVB6f5Ebm6XodfzwQkQ19Ek3UZLDmjHcBoq/h3Sm0FFzimsC9R7PCxjX P1Tj3MTHD8HvQk6v/cXQOqp3Vu786PLTLk0qtqGvmjEUGna9j+8IAydP5xPeTybmVR ezVsieTwxE/zmA5IyLLLKAvNfohdyDUB+F5knfng= To: 27344@debbugs.gnu.org Subject: [PATCH 12/12] gnu: Add qucs-s. Date: Mon, 12 Jun 2017 19:52:26 +0300 Message-Id: <20170612165226.1268-12-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Mon, 12 Jun 2017 12:54:10 -0400 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs-s): New variable. --- gnu/packages/engineering.scm | 116 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 4c78fde77..3efd797ac 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1371,3 +1371,119 @@ parallel computing platforms. It also supports serial execution.") e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. Pure digital simulations are also supported.") (license license:gpl2+))) + +(define-public qucs-s + (package + (name "qucs-s") + (version "0.0.19S") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ra3xdh/qucs/releases/download/" + version "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "1bhahvdqmayaw0306fxz1ghmjhd4fq05yk3rk7zi0z703w5imgjv")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-scripts + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("qucs/qucsdigi" + "qucs/qucsdigilib" + "qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref inputs "qucs") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("glibtool") + (which "libtool")) + (("cp ") + (string-append (which "cp") " ")) + (("sed") + (which "sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-after 'patch-scripts 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/main.cpp" + (("QucsSettings\\.Qucsator = QucsSettings\\.BinDir + \\+ \"qucsator\" \\+ executableSuffix") + (string-append "}{ QucsSettings.Qucsator = \"" + (assoc-ref inputs "qucs") "/bin/qucsator\"")) + (("else QucsSettings\\.XyceExecutable = + \"/usr/local/Xyce-Release-6.2.0-OPENSOURCE/bin/runxyce") + (string-append "QucsSettings.XyceExecutable = \"" + (assoc-ref inputs "xyce-serial") "/bin/Xyce")) + (("else QucsSettings\\.XyceParExecutable = + \"/usr/local/Xyce-Release-6.2.0-OPENMPI-OPENSOURCE/bin/xmpirun") + (string-append "QucsSettings.XyceParExecutable = \"" + (assoc-ref inputs "mpi") "/bin/mpirun")) + (("%p") + (string-append "%p "(assoc-ref inputs "xyce-parallel") "/bin/Xyce")) + (("else QucsSettings\\.NgspiceExecutable = \"ngspice\"") + (string-append "QucsSettings.NgspiceExecutable = " "\"" + (assoc-ref inputs "ngspice") "/bin/ngspice\""))) + (substitute* "qucs/qucs_actions.cpp" + (("qucstrans") + (string-append (assoc-ref inputs "qucs") "/bin/qucstrans")) + (("qucsattenuator") + (string-append (assoc-ref inputs "qucs") "/bin/qucsattenuator")) + (("qucsrescodes") + (string-append (assoc-ref inputs "qucs") "/bin/qucsrescodes"))) + #t)) + (add-after 'install 'install-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (script) + (let ((file (string-append "../qucs-" ,version + "/qucs/" script)) + (out (assoc-ref outputs "out"))) + (install-file file (string-append out "/bin")) + (chmod (string-append out "/bin/" script) #o555))) + '("qucsdigi" "qucsdigilib" "qucsveri")) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (file (string-append out "/bin/qucs-s")) + (qucs (assoc-ref inputs "qucs")) + (qucsator (string-append qucs "/bin/qucsator"))) + (wrap-program file + `("QUCSATOR" ":" prefix (,qucsator)) + `("QUCSCONV" ":" prefix (,(string-append qucsator "/bin/qucsconv"))) + `("ADMSXMLBINDIR" ":" prefix (,(string-append (assoc-ref inputs "adms") "/bin"))) + `("ASCOBINDIR" ":" prefix (,(string-append (assoc-ref inputs "asco") "/bin"))) + `("QUCS_OCTAVE" ":" prefix (,(string-append (assoc-ref inputs "octave") "/bin/octave")))) + (symlink qucsator (string-append out "/bin/qucsator")) + #t)))))) + (native-inputs + `(("libtool" ,libtool))) + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("freehdl" ,freehdl) + ("iverilog" ,iverilog) + ("mpi" ,openmpi) + ("ngspice" ,ngspice) + ("octave" ,octave) + ("qt4" ,qt-4) + ("qucs" ,qucs) + ("xyce-serial" ,xyce-serial) + ("xyce-parallel" ,xyce-parallel))) + (propagated-inputs + `(("gcc-toolchain" ,gcc-toolchain-5))); for freehdl + (home-page "https://ra3xdh.github.io/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs-S is a spin-off of the Qucs cross-platform circuit simulator. + S letter indicates SPICE. The purpose of the Qucs-S subproject is to use +free SPICE circuit simulation kernels with the Qucs GUI. It provides the +simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:32:55 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:32:55 +0000 Received: from localhost ([127.0.0.1]:48611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT1D-0002zz-1C for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:32:55 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:42448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT1B-0002zr-Nu for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:32:54 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 4B6D31CA0593; Thu, 15 Jun 2017 13:32:51 +0200 (CEST) Date: Thu, 15 Jun 2017 13:32:46 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 02/12] gnu: Add libctl. Message-ID: <20170615133246.3b00136b@scratchpost.org> In-Reply-To: <20170612165226.1268-2-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-2-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Theodoros, > +(define-public libctl > + (package > + (name "libctl") >(inputs) > + `(("guile" ,guile-2.2))) I think both the package name and the variable name should have a "guile2.2-" prefix. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:35:36 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:35:36 +0000 Received: from localhost ([127.0.0.1]:48615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT3o-00033n-H3 for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:35:36 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:42696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT3n-00033f-5T for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:35:35 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 3C1C61CA0593; Thu, 15 Jun 2017 13:35:34 +0200 (CEST) Date: Thu, 15 Jun 2017 13:35:30 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 06/12] gnu: Add freehdl. Message-ID: <20170615133530.6d5f2ddc@scratchpost.org> In-Reply-To: <20170612165226.1268-6-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-6-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + (inputs > + `(("perl" ,perl))) Does that actually get referred in the final derivation? What part of perl does it link? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:37:54 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:37:54 +0000 Received: from localhost ([127.0.0.1]:48619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT61-00036x-SU for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:37:54 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:42882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT5z-00036o-VR for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:37:52 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id EDE5E1CA0593; Thu, 15 Jun 2017 13:37:50 +0200 (CEST) Date: Thu, 15 Jun 2017 13:37:46 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 11/12] gnu: Add qucs. Message-ID: <20170615133746.25d65a03@scratchpost.org> In-Reply-To: <20170612165226.1268-11-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-11-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + ;; The test suite requires a running X server. > + (system "Xvfb :1 &") > + (setenv "DISPLAY" ":1") > + #t)) Does it? (setenv "QT_QPA_PLATFORM" "offscreen") is not enough? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:40:06 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:40:06 +0000 Received: from localhost ([127.0.0.1]:48623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT8A-0003AL-7b for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:40:06 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLT87-0003AC-Ss for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:40:05 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id DA70D1CA1463; Thu, 15 Jun 2017 13:40:02 +0200 (CEST) Date: Thu, 15 Jun 2017 13:39:59 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 01/12] gnu: Add harminv. Message-ID: <20170615133959.64f08f94@scratchpost.org> In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <8760g11j3e.fsf@openmailbox.org> <20170612165226.1268-1-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + (substitute* "./sines-test.sh" > + ; change test frequency range - default fails > + (("0\\.15") "0.16")) Please report that upstream too... From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:42:24 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:42:24 +0000 Received: from localhost ([127.0.0.1]:48627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTAO-0003Df-Ij for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:42:24 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTAM-0003DX-CZ for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:42:22 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 6CBC91CA0593; Thu, 15 Jun 2017 13:42:21 +0200 (CEST) Date: Thu, 15 Jun 2017 13:42:17 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 03/12] gnu: Add mpb. Message-ID: <20170615134217.6935fb91@scratchpost.org> In-Reply-To: <20170612165226.1268-3-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-3-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Does that only provide a guile library ? If so, then please prefix package and variable name by "guile2.2-". From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:45:42 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:45:42 +0000 Received: from localhost ([127.0.0.1]:48631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTDa-0003IV-00 for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:45:42 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTDX-0003IM-O4 for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:45:40 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 9D7D81CA0593; Thu, 15 Jun 2017 13:45:38 +0200 (CEST) Date: Thu, 15 Jun 2017 13:45:34 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 08/12] gnu: Add ngspice. Message-ID: <20170615134534.1f832b53@scratchpost.org> In-Reply-To: <20170612165226.1268-8-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-8-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + (license:non-copyleft "file://COPYING") ; spice3 bsd-style This would mean the current directory of the current user on the remote host with name "COPYING". I think you meant file:///COPYING which refers to the file "COPYING" on localhost. > + ((#:phases phases) > + `(alist-cons-after 'install 'in-ng Please use modify-phases. Please name the phase so that one can know what it does... > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (map (lambda (lib) > + (copy-file > + (string-append (assoc-ref inputs "libngspice") > + "/lib/" lib) > + (string-append (assoc-ref outputs "out") > + "/lib/" lib))) > + '("libngspice.so.0" "libngspice.so")) Just use for-each... From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 07:49:36 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 11:49:36 +0000 Received: from localhost ([127.0.0.1]:48640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTHL-0003ON-R7 for submit@debbugs.gnu.org; Thu, 15 Jun 2017 07:49:36 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTHJ-0003OF-G4 for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 07:49:33 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 483141CA0593; Thu, 15 Jun 2017 13:49:32 +0200 (CEST) Date: Thu, 15 Jun 2017 13:49:28 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 05/12] gnu: Add adms. Message-ID: <20170615134928.7cbb47d2@scratchpost.org> In-Reply-To: <20170612165226.1268-5-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-5-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, On Mon, 12 Jun 2017 19:52:19 +0300 Theodoros Foradis wrote: > + > +(define-public adms > + (package > + (name "adms") > + (version "2.3.6") [...] > + (string-take version 3) Please use (version-major+minor version). From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 08:22:23 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 12:22:23 +0000 Received: from localhost ([127.0.0.1]:48658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTn5-00049J-Ln for submit@debbugs.gnu.org; Thu, 15 Jun 2017 08:22:23 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:46926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLTn4-00049A-0k for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 08:22:22 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id B194E1CA1463; Thu, 15 Jun 2017 14:22:18 +0200 (CEST) Date: Thu, 15 Jun 2017 14:22:14 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 07/12] gnu: Add asco. Message-ID: <20170615142214.2ff65967@scratchpost.org> In-Reply-To: <20170612165226.1268-7-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-7-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + #:make-flags '("all" "asco-mpi") These are not actually flags. I think the "install" phase would then also invoke make all asco-mpi install From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 08:47:34 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 12:47:34 +0000 Received: from localhost ([127.0.0.1]:48667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLUBS-0004i3-03 for submit@debbugs.gnu.org; Thu, 15 Jun 2017 08:47:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLUBQ-0004hs-JM for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 08:47:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLUBH-0002ZQ-Gi for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 08:47:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLUBH-0002ZI-D4; Thu, 15 Jun 2017 08:47:23 -0400 Received: from [193.50.110.101] (port=47738 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dLUBG-00075l-Pw; Thu, 15 Jun 2017 08:47:23 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: [bug#27344] [PATCH 02/12] gnu: Add libctl. References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-2-theodoros.for@openmailbox.org> <20170615133246.3b00136b@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Prairial an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 15 Jun 2017 14:47:20 +0200 In-Reply-To: <20170615133246.3b00136b@scratchpost.org> (Danny Milosavljevic's message of "Thu, 15 Jun 2017 13:32:46 +0200") Message-ID: <87mv992zaf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org, Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Danny, Danny Milosavljevic skribis: >> +(define-public libctl >> + (package >> + (name "libctl") > >>(inputs) >> + `(("guile" ,guile-2.2))) > > I think both the package name and the variable name should have a "guile2= .2-" prefix. Actually no. :-) When Guile 2.0 was the default, I used the =E2=80=9Cguile2.2-=E2=80=9D pref= ix for packages that were using 2.2 instead of 2.0. Now most of them are deprecated and I do the reverse: use the =E2=80=9Cguile2.0-=E2=80=9D prefix= for packages that are still on 2.0. Hope that makes sense! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 10:16:07 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 14:16:08 +0000 Received: from localhost ([127.0.0.1]:49694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLVZ9-00077L-No for submit@debbugs.gnu.org; Thu, 15 Jun 2017 10:16:07 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:57114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLVZ7-00077C-HH for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 10:16:05 -0400 Received: from localhost (178.113.219.28.wireless.dyn.drei.com [178.113.219.28]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 09E4D1CA0593; Thu, 15 Jun 2017 16:16:03 +0200 (CEST) Date: Thu, 15 Jun 2017 16:15:58 +0200 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: [bug#27344] [PATCH 02/12] gnu: Add libctl. Message-ID: <20170615161558.07fc986b@scratchpost.org> In-Reply-To: <87mv992zaf.fsf@gnu.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-2-theodoros.for@openmailbox.org> <20170615133246.3b00136b@scratchpost.org> <87mv992zaf.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org, Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Ludo, On Thu, 15 Jun 2017 14:47:20 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hi Danny, >=20 > Danny Milosavljevic skribis: >=20 > >> +(define-public libctl > >> + (package > >> + (name "libctl") =20 > > =20 > >>(inputs) > >> + `(("guile" ,guile-2.2))) =20 > > > > I think both the package name and the variable name should have a "guil= e2.2-" prefix. =20 >=20 > Actually no. :-) >=20 > When Guile 2.0 was the default, I used the =E2=80=9Cguile2.2-=E2=80=9D pr= efix for > packages that were using 2.2 instead of 2.0. Now most of them are > deprecated and I do the reverse: use the =E2=80=9Cguile2.0-=E2=80=9D pref= ix for packages > that are still on 2.0. Oh okay. But libctl should still have a "guile-" prefix, right? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 15 17:28:16 2017 Received: (at 27344) by debbugs.gnu.org; 15 Jun 2017 21:28:16 +0000 Received: from localhost ([127.0.0.1]:49958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLcJM-0003u3-9H for submit@debbugs.gnu.org; Thu, 15 Jun 2017 17:28:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLcJK-0003tq-IP for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 17:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLcJB-0001up-Fw for 27344@debbugs.gnu.org; Thu, 15 Jun 2017 17:28:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLcJB-0001ui-CD; Thu, 15 Jun 2017 17:28:05 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:49386 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dLcJA-0006qA-N0; Thu, 15 Jun 2017 17:28:05 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: [bug#27344] [PATCH 02/12] gnu: Add libctl. References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-2-theodoros.for@openmailbox.org> <20170615133246.3b00136b@scratchpost.org> <87mv992zaf.fsf@gnu.org> <20170615161558.07fc986b@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Prairial an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 15 Jun 2017 23:28:01 +0200 In-Reply-To: <20170615161558.07fc986b@scratchpost.org> (Danny Milosavljevic's message of "Thu, 15 Jun 2017 16:15:58 +0200") Message-ID: <87lgot2b6m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org, Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Heya, Danny Milosavljevic skribis: > On Thu, 15 Jun 2017 14:47:20 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Hi Danny, >>=20 >> Danny Milosavljevic skribis: >>=20 >> >> +(define-public libctl >> >> + (package >> >> + (name "libctl")=20=20 >> >=20=20 >> >>(inputs) >> >> + `(("guile" ,guile-2.2)))=20=20 >> > >> > I think both the package name and the variable name should have a "gui= le2.2-" prefix.=20=20 >>=20 >> Actually no. :-) >>=20 >> When Guile 2.0 was the default, I used the =E2=80=9Cguile2.2-=E2=80=9D p= refix for >> packages that were using 2.2 instead of 2.0. Now most of them are >> deprecated and I do the reverse: use the =E2=80=9Cguile2.0-=E2=80=9D pre= fix for packages >> that are still on 2.0. > > Oh okay. But libctl should still have a "guile-" prefix, right? If it's a Guile-only library, yes. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 11:11:12 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 15:11:12 +0000 Received: from localhost ([127.0.0.1]:51507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLsu0-0001fa-Fl for submit@debbugs.gnu.org; Fri, 16 Jun 2017 11:11:12 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:56206 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLstz-0001fT-7H for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 11:11:11 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 3AB2554246E; Fri, 16 Jun 2017 17:11:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497625870; bh=ZPEr3J4BiLAv/r7b2v9UMaqYZw7L3Ljg9A/6zQGWnlE=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Ts922dxJrRuenCx/zQVBFPJCu7MFq6rMTC8GXokZH58tL2S0sKQichzcV925Yp43Z JkJc8S83DwnGkOKzFtmxhV0svS7h3UcEvG/9ujeEzDMTBEKm3CmqVblPAQujSzYjBM g7gEPHSL7kwZhE+4WL3SDrpi8wpXmFtzyNAqc+3g= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <8760g11j3e.fsf@openmailbox.org> <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170615133959.64f08f94@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497625868; bh=ZPEr3J4BiLAv/r7b2v9UMaqYZw7L3Ljg9A/6zQGWnlE=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=vHjkvlieqfhqEb/e7V1gQhT3TTXd9/wvaiI+lRV21TK4tZFTW/PGpL1wdEU261eVN r1SdLop4NCoisFfsGqEDwcyjCoiH5u2BT9BwqNo8FR2HPKN8uvvO+PLE2CyejPk3wl GU1hYPjVBWv+5zdEQa1+qWd/yJNyFD5OQG0EA710= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 01/12] gnu: Add harminv. Message-ID: <87tw3gvuk0.fsf@openmailbox.org> In-reply-to: <20170615133959.64f08f94@scratchpost.org> Date: Fri, 16 Jun 2017 18:11:02 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: >> + (substitute* "./sines-test.sh" >> + ; change test frequency range - default fails >> + (("0\\.15") "0.16")) > > Please report that upstream too... I see that it has already been reported here and they seem to think it must be a compiler issue. Strangely, the guy reporting that, did the exact same change of the frequency range as I did. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 11:16:38 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 15:16:38 +0000 Received: from localhost ([127.0.0.1]:51517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLszG-0001ol-Ch for submit@debbugs.gnu.org; Fri, 16 Jun 2017 11:16:38 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:33683 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLszE-0001od-NB for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 11:16:37 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id CFF205245A6; Fri, 16 Jun 2017 17:16:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497626188; bh=DchJrmRV2EuWvV9r9rLGbamQVHTMi8bv+6ETExVRp4o=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Eu1bcmmhS9tsZ6kCUvidDtRkrPmftca8xdEdZy3a+teUB4uxSP5H4u/OgNu73dJw3 nqR4KwAjpLYPy1wtimBAw5Ic1UnkkETP736z256r/N5GBRrf7nleUt0kpTJ6zkXlMc hOHF8MEr4Ob8scqTqZ27QpcVk3tZmcbTkv6i/rUE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-3-theodoros.for@openmailbox.org> <20170615134217.6935fb91@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497626188; bh=DchJrmRV2EuWvV9r9rLGbamQVHTMi8bv+6ETExVRp4o=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Eu1bcmmhS9tsZ6kCUvidDtRkrPmftca8xdEdZy3a+teUB4uxSP5H4u/OgNu73dJw3 nqR4KwAjpLYPy1wtimBAw5Ic1UnkkETP736z256r/N5GBRrf7nleUt0kpTJ6zkXlMc hOHF8MEr4Ob8scqTqZ27QpcVk3tZmcbTkv6i/rUE= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 03/12] gnu: Add mpb. Message-ID: <87lgosvu83.fsf@openmailbox.org> In-reply-to: <20170615134217.6935fb91@scratchpost.org> Date: Fri, 16 Jun 2017 18:16:24 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: > Does that only provide a guile library ? If so, then please prefix package and variable name by "guile2.2-". No, this does not only provide a guile library. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 11:50:50 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 15:50:50 +0000 Received: from localhost ([127.0.0.1]:51552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLtWM-0006M7-0q for submit@debbugs.gnu.org; Fri, 16 Jun 2017 11:50:50 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53228 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLtWK-0006Lz-Ct for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 11:50:48 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 55B535121A3; Fri, 16 Jun 2017 17:50:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497628247; bh=u0nBVJWsQ/P5VRDlE8gujnhvnE0Fse6w7CNiouvkt50=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=EZhvsDmoUvl0wGt19g5VMNxG8RdMVsjYtNpKHAFhWF+n6ftcjc5uIy+7onZaAaoG7 K9KyOHYwpzt0pTglMri+x/vH+SbhAlb3+TtG25yMJd8LRhpmFPdHeTLFGUNTiN8ttm g+T19DV499a+R7bGhFqiVHZqei2/28evs7WRE+h8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-6-theodoros.for@openmailbox.org> <20170615133530.6d5f2ddc@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497628243; bh=u0nBVJWsQ/P5VRDlE8gujnhvnE0Fse6w7CNiouvkt50=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=ZidwNwQ2Aqckt/QjSIr13lp9D88Q9hl7PkXac4UWN3zRoCagegnNt4EvbtpLF+7Bq AX6wq6bfZYlflFooF2Yk39ZXcna8Xb5ZNl4KboheLpK7WHfRsQS/T6EzHA3IAJ3dtP 0x4iVJvZNUEmyL94gzm0eJQZSzGyzrDBpGk/JM88= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 06/12] gnu: Add freehdl. In-reply-to: <20170615133530.6d5f2ddc@scratchpost.org> Date: Fri, 16 Jun 2017 18:50:36 +0300 Message-ID: <87injwvsmr.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: >> + (inputs >> + `(("perl" ,perl))) > > Does that actually get referred in the final derivation? What part of perl does it link? One of the output files (/bin/gvhdl) is actually a perl script so it calls out to perl. Should perl not be an input? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 11:55:13 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 15:55:13 +0000 Received: from localhost ([127.0.0.1]:51556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLtab-0006T6-Iu for submit@debbugs.gnu.org; Fri, 16 Jun 2017 11:55:13 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:59799 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLtaa-0006Sz-91 for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 11:55:12 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 6E96C5104E9; Fri, 16 Jun 2017 17:54:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497628498; bh=61bhqmeKfMZ+tSp8g28Sy6P4oPAag414vGL6GKQjmm4=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Ex1L/SKbK082jRfQiqvr/xsHeKd/3rHmqvvqfuAYYAf+rwyzmuJolHsgGjuz4x2Nc HQRXIoMOGJnHnku6xXgTi2PpCXB+UGhWsCsENtKRAxH+cR/HX8OSoO5l0XGkujPt+A cMEDzTw9TnrpOoQnlqa1fk1x4zknS8TeMM0+od7Q= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-7-theodoros.for@openmailbox.org> <20170615142214.2ff65967@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497628492; bh=61bhqmeKfMZ+tSp8g28Sy6P4oPAag414vGL6GKQjmm4=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=XfXIShB2WQ+mg0OtoSQTgfNtUngQSpNDw5L/8J0o1vFukscjlFY0dIPcFj2VmGGwx adiOSw6bCTLdRCKLzfWF7TvZG9FKXE+CS4rwWPeBxXC90rI1M/LOGtTwqZWKDuCCnJ 3VJYy4EkgTVOLuvpHVA1Xhgu8YDQGgmi2I/vbfzI= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 07/12] gnu: Add asco. In-reply-to: <20170615142214.2ff65967@scratchpost.org> Date: Fri, 16 Jun 2017 18:54:46 +0300 Message-ID: <87h8zgvsft.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: >> + #:make-flags '("all" "asco-mpi") > > These are not actually flags. I think the "install" phase would then also invoke > > make all asco-mpi install Actually, the install phase gets replaces by a custom one because there is no install target in the Makefile. Should I replace the build phase as well, and just call "make all asco-mpi" instead? I think it does just that as it is. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 12:52:34 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 16:52:34 +0000 Received: from localhost ([127.0.0.1]:51611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLuU6-0007qv-Ee for submit@debbugs.gnu.org; Fri, 16 Jun 2017 12:52:34 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:36053 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLuU5-0007qn-7N for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 12:52:33 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 09F015432FC; Fri, 16 Jun 2017 18:52:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497631952; bh=3xP5WyxqJVOmhVTfvR8fb6Q7wKGuBIpEXOsa0QDBh2o=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=EmDsMZlvmZYMaoAo8RF+HQROgufKuwgowCebPKZ9s6uxX06turNB4CkAurklxsPV5 844ztJVUEJgwtqee1VmPFVS5n4wB+UCteTYMkpaKpqUOnfEpasq3gTcmPm97onPKQl dqhEsotrZkzKI+BWtGR4+VaQLLr49w4xnL0pbdr0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-11-theodoros.for@openmailbox.org> <20170615133746.25d65a03@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497631951; bh=3xP5WyxqJVOmhVTfvR8fb6Q7wKGuBIpEXOsa0QDBh2o=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=cvHt4PtOWAG53yKhI7n9e+Uf2lcp00XgrTqc/DIeVDueYHqnmTrin9qG36+HYC+Q0 uATKqd8awAxzQIGi2R19cB/lL902auXsnEtzy3zBj4ylpdWIVBYGmflCApCWauXbF5 COtbPVXBIs6JK9VPZtPWqRQeaAJSS58IRtKDQx0g= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 11/12] gnu: Add qucs. In-reply-to: <20170615133746.25d65a03@scratchpost.org> Date: Fri, 16 Jun 2017 19:52:27 +0300 Message-ID: <87fuezx4c4.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: >> + ;; The test suite requires a running X server. >> + (system "Xvfb :1 &") >> + (setenv "DISPLAY" ":1") >> + #t)) > > Does it? (setenv "QT_QPA_PLATFORM" "offscreen") is not enough? Yes. I tried and (setenv "QT_QPA_PLATFORM" "offscreen") is not enough. The other option would be to not do the tests, if pulling xorg-server as a dependency is an issue. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 13:21:00 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 17:21:00 +0000 Received: from localhost ([127.0.0.1]:51626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLuvc-00007L-9P for submit@debbugs.gnu.org; Fri, 16 Jun 2017 13:21:00 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53771 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLuva-00007A-Mu for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 13:20:59 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 5594E5435A0; Fri, 16 Jun 2017 19:20:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497633657; bh=6mcyg0vITU6CpCn6RLWARg3r/5KbbPUGqlUNiVtc3y4=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=UMsRPJrCf6QuvmZ+fBN8b/JxUIL1s9dzAPbb2daUvdAtqh4jPIwN1jK/n9C5YbuY6 Yj2ybsP1EiOH+SrSAVYa+KpQH2kwjQ+FkyhHijzw5yoQAc/aDaTUTxMzuNe2BfJFgZ aaWFUtwTISsmp4ebH0I2O/p4K59arlrOaZRJ3/t0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-8-theodoros.for@openmailbox.org> <20170615134534.1f832b53@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497633656; bh=6mcyg0vITU6CpCn6RLWARg3r/5KbbPUGqlUNiVtc3y4=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=buKK1ZhkoEQ1qNxK18QZVDD6OnejkaADYRODjwkDURj7ClyfZ5MLRwdNm1DfL7SQY XuwNY295tYSX4UmA9vFiCruD0SXZEdng8BSVHXra/o9l1xm3kzwo372BFdvLRuuFlW 6iEObTLOrxcVXjYVcbaGhdKpY0dZxIkxjR2GMLok= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 08/12] gnu: Add ngspice. Message-ID: <87efujx32s.fsf@openmailbox.org> In-reply-to: <20170615134534.1f832b53@scratchpost.org> Date: Fri, 16 Jun 2017 20:20:51 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: >> + (license:non-copyleft "file://COPYING") ; spice3 bsd-style > > This would mean the current directory of the current user on the remote host with name "COPYING". > > I think you meant file:///COPYING which refers to the file "COPYING" on localhost. > Right, fixed. >> + ((#:phases phases) >> + `(alist-cons-after 'install 'in-ng > > Please use modify-phases. > > Please name the phase so that one can know what it does... > >> + (lambda* (#:key inputs outputs #:allow-other-keys) >> + (map (lambda (lib) >> + (copy-file >> + (string-append (assoc-ref inputs "libngspice") >> + "/lib/" lib) >> + (string-append (assoc-ref outputs "out") >> + "/lib/" lib))) >> + '("libngspice.so.0" "libngspice.so")) > > Just use for-each... It was in fact a mistake to have that phase there, now I just propagate the shared library. I am waiting for whatever other corrections before I submit a v2 for the patch series with the suggested fixes. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 14:19:08 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 18:19:08 +0000 Received: from localhost ([127.0.0.1]:51661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLvpr-0001U9-Qx for submit@debbugs.gnu.org; Fri, 16 Jun 2017 14:19:08 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:41688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLvpq-0001U1-Dv for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 14:19:06 -0400 Received: from localhost (77.118.165.147.wireless.dyn.drei.com [77.118.165.147]) by dd1012.kasserver.com (Postfix) with ESMTPSA id E05C11CA020D; Fri, 16 Jun 2017 20:19:04 +0200 (CEST) Date: Fri, 16 Jun 2017 20:18:58 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 11/12] gnu: Add qucs. Message-ID: <20170616201858.579a54e9@scratchpost.org> In-Reply-To: <87fuezx4c4.fsf@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-11-theodoros.for@openmailbox.org> <20170615133746.25d65a03@scratchpost.org> <87fuezx4c4.fsf@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, On Fri, 16 Jun 2017 19:52:27 +0300 Theodoros Foradis wrote: > Danny Milosavljevic writes: > > >> + ;; The test suite requires a running X server. > >> + (system "Xvfb :1 &") > >> + (setenv "DISPLAY" ":1") > >> + #t)) > > > > Does it? (setenv "QT_QPA_PLATFORM" "offscreen") is not enough? > > Yes. I tried and (setenv "QT_QPA_PLATFORM" "offscreen") is not > enough. The other option would be to not do the tests, if pulling > xorg-server as a dependency is an issue. No, it's fine. It's just good to try the non-huge-dependency case first. Since it doesn't work, let's use xorg... Weird, though. Isn't qucs just a normal GUI program? Should have been fine with just Qt offscreen... From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 14:20:26 2017 Received: (at 27344) by debbugs.gnu.org; 16 Jun 2017 18:20:26 +0000 Received: from localhost ([127.0.0.1]:51665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLvr8-0001WD-6m for submit@debbugs.gnu.org; Fri, 16 Jun 2017 14:20:26 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:41806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLvr6-0001W5-BQ for 27344@debbugs.gnu.org; Fri, 16 Jun 2017 14:20:24 -0400 Received: from localhost (77.118.165.147.wireless.dyn.drei.com [77.118.165.147]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 670401CA020D; Fri, 16 Jun 2017 20:20:23 +0200 (CEST) Date: Fri, 16 Jun 2017 20:20:19 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 06/12] gnu: Add freehdl. Message-ID: <20170616202019.59562482@scratchpost.org> In-Reply-To: <87injwvsmr.fsf@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-6-theodoros.for@openmailbox.org> <20170615133530.6d5f2ddc@scratchpost.org> <87injwvsmr.fsf@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, 16 Jun 2017 18:50:36 +0300 Theodoros Foradis wrote: > Danny Milosavljevic writes: > > >> + (inputs > >> + `(("perl" ,perl))) > > > > Does that actually get referred in the final derivation? What part of perl does it link? > > One of the output files (/bin/gvhdl) is actually a perl script so it > calls out to perl. Should perl not be an input? It depends. Does the first line of the installed program /gnu/store/*freehdl*/bin/gvhdl refer to /gnu/store/*perl*/bin/perl ? If so then yes, it should be an input. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 17 06:18:24 2017 Received: (at 27344) by debbugs.gnu.org; 17 Jun 2017 10:18:25 +0000 Received: from localhost ([127.0.0.1]:52132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMAoC-0004lW-N5 for submit@debbugs.gnu.org; Sat, 17 Jun 2017 06:18:24 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:55648 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMAoA-0004lO-MK for 27344@debbugs.gnu.org; Sat, 17 Jun 2017 06:18:23 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id A1F1950E632; Sat, 17 Jun 2017 12:16:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497694701; bh=KI05LNnJnuUHzTBfay+xd7esS4+VWZxsJEh86DDr2zU=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=EnmHeBN5t8OledV5Xia8MiXnrrSBEROUmjk1iaBcZY9D2B9tmuu54U2WqyzSU1ryF YCVU4JEYQNdf8flW3JjNMZt4INPjw9uGFq4oKX5IontlntdSJ1V2uOHVSCYrpg4/5P Vugjusrbk9XQRjrpOMrIG/ZoY71spZrQFjiRqq6U= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-6-theodoros.for@openmailbox.org> <20170615133530.6d5f2ddc@scratchpost.org> <87injwvsmr.fsf@openmailbox.org> <20170616202019.59562482@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497694618; bh=KI05LNnJnuUHzTBfay+xd7esS4+VWZxsJEh86DDr2zU=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=nAdWNdfcBOwM96sgIR49YtMSQuE+vbz4Z3JDOanfEA9Jivk965VD/ROsvUvaIELbJ ThfLEP3IPxUqN6Wmor5GXTwNA+2Y3gQ1XUFhmGJgKSfQKQoBBdUV55f9pEzuxHdmaY iKSesXcjO51V+CUaSb/7CbUsPrKP6kLvuFlnVNDg= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 06/12] gnu: Add freehdl. Message-ID: <8760fux6mf.fsf@openmailbox.org> In-reply-to: <20170616202019.59562482@scratchpost.org> Date: Sat, 17 Jun 2017 13:16:52 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: > On Fri, 16 Jun 2017 18:50:36 +0300 > Theodoros Foradis wrote: > >> Danny Milosavljevic writes: >> >> >> + (inputs >> >> + `(("perl" ,perl))) >> > >> > Does that actually get referred in the final derivation? What part of perl does it link? >> >> One of the output files (/bin/gvhdl) is actually a perl script so it >> calls out to perl. Should perl not be an input? > > It depends. Does the first line of the installed program /gnu/store/*freehdl*/bin/gvhdl refer to /gnu/store/*perl*/bin/perl ? If so then yes, it should be an input. Yes, the first line is a perl shebang. I'm leaving that as it is. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 17 06:38:03 2017 Received: (at 27344) by debbugs.gnu.org; 17 Jun 2017 10:38:03 +0000 Received: from localhost ([127.0.0.1]:52142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMB7D-0005Gr-4V for submit@debbugs.gnu.org; Sat, 17 Jun 2017 06:38:03 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:41507 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMB7B-0005GR-Gi for 27344@debbugs.gnu.org; Sat, 17 Jun 2017 06:38:02 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 4512A547D43; Sat, 17 Jun 2017 12:24:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497695879; bh=TIh8DhA9ujOgjGqH65R6v7FVzAyS4tfupmhw2Hu2qww=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=tD2KJn+g1xDTnBKRENC/fNFWdybckPWbzBs/dURidkbaaDcIS2aUA6+9apMYxpqo6 tF2BD8XhKLROQCmRSECTTIE6djiNXAKTn+Re8cJc3AjxRhEqotCnDN7XbcUFd01HXH BbL8Q5XDEN52RKVEKWL92J+n0KxeLEZUZgukhszw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-11-theodoros.for@openmailbox.org> <20170615133746.25d65a03@scratchpost.org> <87fuezx4c4.fsf@openmailbox.org> <20170616201858.579a54e9@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1497695078; bh=TIh8DhA9ujOgjGqH65R6v7FVzAyS4tfupmhw2Hu2qww=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=cjHow1bjCSxbMAz+n+ywmT6biUi1GSh2vVHWOXsfDgf/bAwnvk7DVXY2cl/mhiKE+ UTNXKr2rgChHp2gGYDZOSi2B4usCtK+KWo/2Msp84QqSP5edAky/UVjXI6ojPTYtAn hWld+gP7sNtFZGp6j5uaGaBjcnKB96xsQSe3Nbhc= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 11/12] gnu: Add qucs. In-reply-to: <20170616201858.579a54e9@scratchpost.org> Date: Sat, 17 Jun 2017 13:24:33 +0300 Message-ID: <87y3sqvrmm.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Danny Milosavljevic writes: > Hi, > > On Fri, 16 Jun 2017 19:52:27 +0300 > Theodoros Foradis wrote: > >> Danny Milosavljevic writes: >> >> >> + ;; The test suite requires a running X server. >> >> + (system "Xvfb :1 &") >> >> + (setenv "DISPLAY" ":1") >> >> + #t)) >> > >> > Does it? (setenv "QT_QPA_PLATFORM" "offscreen") is not enough? >> >> Yes. I tried and (setenv "QT_QPA_PLATFORM" "offscreen") is not >> enough. The other option would be to not do the tests, if pulling >> xorg-server as a dependency is an issue. > > No, it's fine. It's just good to try the non-huge-dependency case first. Since it doesn't work, let's use xorg... > > Weird, though. Isn't qucs just a normal GUI program? Should have been fine with just Qt offscreen... I did try some stuff to cut down on the dependency but didn't work. I hadn't tried that environment variable though. I did contact the devs, and there was no insight on the issue. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 19 16:40:47 2017 Received: (at 27344) by debbugs.gnu.org; 19 Jun 2017 20:40:47 +0000 Received: from localhost ([127.0.0.1]:56615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN3Tb-0003jq-LL for submit@debbugs.gnu.org; Mon, 19 Jun 2017 16:40:47 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:58012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN3Ta-0003jj-07 for 27344@debbugs.gnu.org; Mon, 19 Jun 2017 16:40:46 -0400 Received: from localhost (77.118.165.147.wireless.dyn.drei.com [77.118.165.147]) by dd1012.kasserver.com (Postfix) with ESMTPSA id C63F41CA0364; Mon, 19 Jun 2017 22:40:44 +0200 (CEST) Date: Mon, 19 Jun 2017 22:40:43 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 03/12] gnu: Add mpb. Message-ID: <20170619224043.43cdba9e@scratchpost.org> In-Reply-To: <87lgosvu83.fsf@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-3-theodoros.for@openmailbox.org> <20170615134217.6935fb91@scratchpost.org> <87lgosvu83.fsf@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ok, then fine as-is. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:18 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:18 +0000 Received: from localhost ([127.0.0.1]:33420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vd-0003zs-Vy for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:18 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:40114 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vc-0003zj-Cd for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:16 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 04E82508EBC; Thu, 22 Jun 2017 21:11:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158674; bh=U823Fcu6un2C0X11A/e/rRuep+cijoihZ5VKa8Mzj60=; h=From:To:Cc:Subject:Date:From; b=XoND/+9OEUeBj9qPidZec77HIKKGJhO3mWjUSK7P8dLco/nigfz8iHC13L9saxjrH nQtKqBIQFu1H6RKH92AfwbMyObKW7Keyuk5/dF/yFc/KZYL/unarpcP78S0kYL1zMS 1l4eicXt426yKWcRmUDFGYGt2P9UtQfdza8CR+7w= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158662; bh=U823Fcu6un2C0X11A/e/rRuep+cijoihZ5VKa8Mzj60=; h=From:To:Cc:Subject:Date:From; b=OPtgNXehsH/l561CiS5TKFt+AmiS9F6tvaqPABfihlRIhb4vkAIM0TzOcn3fxiEPB Biqrf75K8l/MDhX7QZk0qyHL8rGFzGEpihGFOb1eEr16HE+nwi3J9cEiVo4jDLxtV6 i/4QGGF6q0ey+JqImDywC7SDfbzoo1489VSrKkCg= To: 27344@debbugs.gnu.org Subject: [PATCH v2 01/12] gnu: Add harminv. Date: Thu, 22 Jun 2017 22:09:54 +0300 Message-Id: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (harminv): New variable. --- gnu/packages/engineering.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index c171e2629..3252e986b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 David Thompson ;;; Copyright © 2016, 2017 Ludovic Courtès -;;; Copyright © 2016 Theodoros Foradis +;;; Copyright © 2016, 2017 Theodoros Foradis ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +45,7 @@ #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gcc) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -843,3 +844,39 @@ interface to select the best such procedures to use on a given system.") (synopsis "Serial terminal emulator") (description "@code{minicom} is a serial terminal emulator.") (license license:gpl2+))) + +(define-public harminv + (package + (name "harminv") + (version "1.4") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/harminv/harminv-" + version ".tar.gz")) + (sha256 + (base32 + "1pmm8d6fx9ahhnk7w12bfa6zx3afbkg4gkvlvgwhpjxbcrvrp3jk")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-tests + (lambda _ + (substitute* "./sines-test.sh" + ; change test frequency range - default fails + (("0\\.15") "0.16")) + #t))))) + (native-inputs + `(("fortran" ,gfortran))) + (inputs + `(("lapack" ,lapack))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Harminv") + (synopsis "Harmonic inversion solver") + (description + "Harminv is a free program (and accompanying library) to solve the problem of +harmonic inversion — given a discrete-time, finite-length signal that consists of a sum +of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it +determines the frequencies, decay constants, amplitudes, and phases of those sinusoids.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:20 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:20 +0000 Received: from localhost ([127.0.0.1]:33424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vg-00040E-8m for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:20 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:32914 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Ve-0003zt-HT for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:18 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 27C8C5098A5; Thu, 22 Jun 2017 21:11:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158677; bh=dDA8ZszvzrcfcRyIB8cQDXK2+1Y3cqH0UY5/PYP52cI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lfe1sGaE4r2dgcnjRaY/paBjUeNdapoTRk2xiMZzk3ku6ZYEbSMRPV3gcWbqPmEGm bFQfOzHNRB3JfPef95T485Bded3LWVjHokUhpEQID5e+xmRDyfA+rZTTkuBLeXyEpN AMi1UIXM7AKERUH5DNjKBiN7YL5agmW+vkuggjjk= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158669; bh=dDA8ZszvzrcfcRyIB8cQDXK2+1Y3cqH0UY5/PYP52cI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RAvJzHlOBZIBF6HQNzhPxcAER6z4SUQQkKpKW55iXqQAdn0IScD84VY1sni8cw0E+ jEjB/cvwllkfvpnDPsCP3fj62e5rAlLLDgbRLGEQ5TxobvbVFJjJzQ7CwQcXGifdrV kd1NSHVOTEeqVg8XMI8xQRwLYSqgQQszpOm5mu6w= To: 27344@debbugs.gnu.org Subject: [PATCH v2 03/12] gnu: Add mpb. Date: Thu, 22 Jun 2017 22:09:56 +0300 Message-Id: <20170622191005.25422-3-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (mpb): New variable. --- gnu/packages/engineering.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a9b41757d..8dd6fba13 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -64,6 +64,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages swig) #:use-module (gnu packages tcl) #:use-module (gnu packages tls) @@ -905,3 +906,44 @@ determines the frequencies, decay constants, amplitudes, and phases of those sin "Libctl is a Guile-based library implementing flexible control files for scientific simulations.") (license license:gpl2+))) + +(define-public mpb + (package + (name "mpb") + (version "1.5") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/mpb/mpb-" + version ".tar.gz")) + (sha256 + (base32 + "1mqb2d8jq957nksayjygq58iy8i42vjryzg9iy5fpfay31wzxsix")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-libctl=" + (assoc-ref %build-inputs "libctl") + "/share/libctl")))) + (native-inputs + `(("fortran" ,gfortran) + ("pkg-config" ,pkg-config) + ("swig" ,swig))) + (inputs + `(("fftw" ,fftw) + ("gsl" ,gsl) + ("guile" ,guile-2.2) + ("hdf5" ,hdf5) + ("lapack" ,lapack) + ("libctl" ,guile-libctl) + ("readline" ,readline) + ("zlib" ,zlib))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands") + (synopsis "Computes band structures and electromagnetic modes of dielectric +structures") + (description + "MIT Photonic-Bands (MPB) computes definite-frequency eigenstates (harmonic modes) +of Maxwell's equations in periodic dielectric structures for arbitrary wavevectors, using +fully-vectorial and three-dimensional methods.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:23 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:23 +0000 Received: from localhost ([127.0.0.1]:33426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vj-00040O-GI for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:23 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53978 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vf-000406-Bg for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:19 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 60A4E5218E8; Thu, 22 Jun 2017 21:11:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158677; bh=kb8O+ZjQbZRHzILd1GvBAks0tVVnzcr8Q6KTwXLiph8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kKhWzs7EDIYduns5TIFkp+aOrPZxFDUy6aWphHaPhGbQkvshbYEvRfqIzZCHQk+LM GLNnWq8PyROlTQ1s96o8bncMiO2DPulQK8FggFeO6CTePSPnECiIxWjp5pfMIsvbpS 7ApUByDlgu4Yl1GcV3u6GjcX4z8i5BaLkscWkwPc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158666; bh=kb8O+ZjQbZRHzILd1GvBAks0tVVnzcr8Q6KTwXLiph8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ePer0hXOlMeB173n88wQ0LFVWrPlZ9h44KJIz67yVvdGzD3rkz9trk3yBbZun+bf2 UzL0fxq+xiNpQ/giORmK/3VQIAZUVtArU4nawLT+m5UC8hcLv5SkJtxHPmGQ1nezGa +4vHK87FwTAXNy4P5bKC6FyKmgzTay8K2PBBIXFM= To: 27344@debbugs.gnu.org Subject: [PATCH v2 02/12] gnu: Add guile-libctl. Date: Thu, 22 Jun 2017 22:09:55 +0300 Message-Id: <20170622191005.25422-2-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (guile-libctl): New variable. --- gnu/packages/engineering.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3252e986b..a9b41757d 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -880,3 +880,28 @@ harmonic inversion — given a discrete-time, finite-length signal that consists of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it determines the frequencies, decay constants, amplitudes, and phases of those sinusoids.") (license license:gpl2+))) + +(define-public guile-libctl + (package + (name "guile-libctl") + (version "3.2.2") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/libctl/libctl-" + version ".tar.gz")) + (sha256 + (base32 + "1g7gqybq20jhdnw5vg18bgbj9jz0408gfmjvs8b4xs30pic8pgca")))) + (build-system gnu-build-system) + (native-inputs + `(("fortran" ,gfortran))) + (inputs + `(("guile" ,guile-2.2))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Libctl") + (synopsis "Flexible control files implementation for scientific simulations") + (description + "Libctl is a Guile-based library implementing flexible control files +for scientific simulations.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:28 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:29 +0000 Received: from localhost ([127.0.0.1]:33429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vo-00040f-O5 for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:28 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:54128 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vm-00040X-T4 for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:27 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 03A4D511344; Thu, 22 Jun 2017 21:11:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158685; bh=GOWlVFgHZTn+JQteRgQdD30wi2jsOxeLqZudpS/oZaQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FkIU8M4TVqsMjm8KL/eIFhBH5xyKGZ6sxIiRYthmJl4nr5vgHLFgubbiEnu5xuiMu 2+y2BfqqjIp+XiUd8HKIpRL7yTVA7tXnL7nu5Jvw+DxYPT98n1DeZN7LbZSzOzcg+M tMaqK/wx4XuuO3PUJaVGkw7Sb9819BIwX9jPnJo0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158673; bh=GOWlVFgHZTn+JQteRgQdD30wi2jsOxeLqZudpS/oZaQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H9NI2oHmGrVxJbQONHheT5DbS8nuitXiTAYf0ujbWZzvbUHMWCHYq+VW+JpPqePJt ik8S3U1fG738W69Y0tSTPuzqlRthVOvSmgs4t5/XPga/AV5Is++siAyKEAXJlFCX6w k8zM2Jw5/qdLJQ6J2AOGW9d0Z9T96u7m9DAYCEaM= To: 27344@debbugs.gnu.org Subject: [PATCH v2 04/12] gnu: Add meep. Date: Thu, 22 Jun 2017 22:09:57 +0300 Message-Id: <20170622191005.25422-4-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (meep): New variable. --- gnu/packages/engineering.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8dd6fba13..d77871490 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -947,3 +947,43 @@ structures") of Maxwell's equations in periodic dielectric structures for arbitrary wavevectors, using fully-vectorial and three-dimensional methods.") (license license:gpl2+))) + +(define-public meep + (package + (name "meep") + (version "1.3") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/meep/meep-" + version ".tar.gz")) + (sha256 + (base32 + "0f6lbw2hrksg7xscwdqs78jc9nmzx9fs8j0hz1y4i8qknkqiyk2n")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-libctl=" + (assoc-ref %build-inputs "libctl") + "/share/libctl")))) + (native-inputs + `(("fortran" ,gfortran) + ("pkg-config" ,pkg-config) + ("swig" ,swig))) + (inputs + `(("fftw" ,fftw) + ("gsl" ,gsl) + ("guile" ,guile-2.0) ; doesn't build with guile-2.2 + ("harminv" ,harminv) + ("hdf5" ,hdf5) + ("lapack" ,lapack) + ("libctl" ,guile-libctl) + ("mpb" ,mpb) + ("zlib" ,zlib))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Meep") + (synopsis "Finite-difference time-domain (FDTD) simulation software") + (description + "Meep is a finite-difference time-domain (FDTD) simulation software package +developed at MIT to model electromagnetic systems.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:32 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:32 +0000 Received: from localhost ([127.0.0.1]:33432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vr-00040x-Vx for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:32 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:34057 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vp-00040n-TG for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:30 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 1268B50E422; Thu, 22 Jun 2017 21:11:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158688; bh=nN8rkbmUf7c3rJ1MrYqFBKADkEa/LB19P890emvATKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sXexZ2GTAUiLHEKZORAE8sf2Fa6rAwRrOps+bchStbk/BirLlAxWZIfv4SqSGl2oX tXrmzak8lru0KQijDqQXzpczTxw8MqwWfFyjHw1NIW5ugvKG7XfnUxM9HoPSwFEnRP xqm/bVR3G3wsnVDLMXmkDknXpjCJlfkRnh8Dz2uQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158677; bh=nN8rkbmUf7c3rJ1MrYqFBKADkEa/LB19P890emvATKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uMpE3stYbBVKkEi8WSvO5vfoq4IKbAxGaUDZvfBSyYif6/VO+bOyW5DcSob2UxZTO eumrEvwnqLUbQb27qrES0oV2zYA1CAPqxGIk09jCWmgEvXbZx4kzVDdYPWdF5gnRvT yCgEav/mOdR43EJdm909ZscolWRT3l3welswNQ1E= To: 27344@debbugs.gnu.org Subject: [PATCH v2 05/12] gnu: Add adms. Date: Thu, 22 Jun 2017 22:09:58 +0300 Message-Id: <20170622191005.25422-5-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (adms): New variable. --- gnu/packages/engineering.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index d77871490..7d6fcb6d4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -987,3 +987,29 @@ fully-vectorial and three-dimensional methods.") "Meep is a finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems.") (license license:gpl2+))) + +(define-public adms + (package + (name "adms") + (version "2.3.6") + (source (origin + (method url-fetch) + (uri + (string-append + "mirror://sourceforge/mot-adms/adms-source/" + (version-major+minor version) "/adms-" version ".tar.gz")) + (sha256 + (base32 + "1rn98l6jxcjhi6ai5f7p588khra9z80m0m0lql4n4sb7773fh1vk")))) + (build-system gnu-build-system) + (native-inputs + `(("flex" ,flex) + ("bison" ,bison))) + (home-page "https://sourceforge.net/projects/mot-adms") + (synopsis "Automatic device model synthesizer") + (description + "ADMS is a code generator that converts electrical compact device models +specified in high-level description language into ready-to-compile C code for +the API of spice simulators. Based on transformations specified in XML +language, ADMS transforms Verilog-AMS code into other target languages.") + (license license:gpl3))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:33 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:33 +0000 Received: from localhost ([127.0.0.1]:33435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vt-00041A-70 for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:33 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:41556 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vs-00040w-8W for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:32 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 6377F503B39; Thu, 22 Jun 2017 21:11:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158690; bh=yqg3Fvt7Y9rEKZRV98ZNMk7eLxn+qw34NOrKaqSJEOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BsMsQQx5f3doactI8vicbAXgozrDpkbrGlxvHVeXuFDMYCgaQP0ck7jkC6xCjBd6S LmsPk9q9dOk5wmw0gCO9SrNvInOrb2XK/zJlNfDeHu+WlikVWROTpBVmV64O1oJf8F YduyY9Oo+YTW8x/TgTviFQQFIhlkEL9mbIb3XQxo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158684; bh=yqg3Fvt7Y9rEKZRV98ZNMk7eLxn+qw34NOrKaqSJEOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dB6es8aJbIH5Sp7KlgTcxyuVyjGj4KYc6lvns9jXiNGs7EEpHZ97Tm4aYIl0fccG5 WnFbK9+UioVuZ2Vmy/UVMH5vHpjO8mF0k+E3bKRtqzult5lPEPYBWyx0f3woRqeG7c 7H2HTgGjNTz/j/X2r9a8HFw6gOsbaIkayD+UxKwc= To: 27344@debbugs.gnu.org Subject: [PATCH v2 07/12] gnu: Add asco. Date: Thu, 22 Jun 2017 22:10:00 +0300 Message-Id: <20170622191005.25422-7-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (asco): New variable. --- gnu/packages/engineering.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f38786d1a..1bb29e6f6 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -59,6 +59,7 @@ #:use-module (gnu packages linux) ;FIXME: for pcb #:use-module (gnu packages m4) #:use-module (gnu packages maths) + #:use-module (gnu packages mpi) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -1059,3 +1060,49 @@ language, ADMS transforms Verilog-AMS code into other target languages.") VHDL'93 as well as VHDL'87 standards are supported.") (license (list license:gpl2+ license:lgpl2.0+)))) ; freehdl's libraries + +(define-public asco + (package + (name "asco") + (version "0.4.10") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/asco/asco/" version "/ASCO-" + version ".tar.gz")) + (sha256 + (base32 + "119rbc2dc8xzwxvykgji0v0nrzvymjmlizr1bc2mihspj686kxsl")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags '("all" "asco-mpi") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("errfunc.c" "asco.c") + (("cp ") (string-append (which "cp") " ")) + (("nice") (string-append (assoc-ref inputs "coreutils") "/bin/nice"))) + (substitute* "Makefile" + (("/bin/mpicc") (which "mpicc"))) + #t)) + (replace 'install ; no install target + (lambda* (#:key outputs #:allow-other-keys) + (for-each (lambda (file) + (install-file file (string-append + (assoc-ref outputs "out") + "/bin"))) + '("asco" "asco-mpi" "asco-test" + "tools/alter/alter" "tools/log/log")) + #t))))) + (native-inputs + `(("mpi" ,openmpi))) + (inputs + `(("coreutils" ,coreutils-minimal))) + (home-page "http://asco.sourceforge.net/") + (synopsis "SPICE circuit optimizer") + (description + "ASCO brings circuit optimization capabilities to existing SPICE simulators using a +high-performance parallel differential evolution (DE) optimization algorithm.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:38 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:38 +0000 Received: from localhost ([127.0.0.1]:33438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vy-00041S-Ep for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:38 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:45902 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7Vw-00041K-T8 for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:37 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 0038150149C; Thu, 22 Jun 2017 21:11:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158695; bh=gLCY0v3lml0uC40bCiOEGkKc+LI4V8zq5RHKnGLDLmc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zlRZm02IVtbc6ISmpaOotxsYFL+K0QnnZ9DgsgD0kEu1TMwYXMwEs36fGf+5bMiFm a/yBbiqwIJJZsDprOJPzC7Djif7y7uIuDHWnf/IXdUgjZy2TkrnV0XfikfOv3jtOQ8 tCyqNKaChvoI+Wrx9KjLvHurqgPzLdsVhARbl+C8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158680; bh=gLCY0v3lml0uC40bCiOEGkKc+LI4V8zq5RHKnGLDLmc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1GAyKnugPcukTBOdOzRU2GDGMr+jse5UmzMch8U2/YuFqvnFfVrDzeHqiFr5xyMXk 1U1BE3Na0IatnJGutu1e4TtO0B8y1VPZHkCDrsaE3aFhvtLMt5BkSBT0UOdlowbN9M JvbFpKIetFWKF/+6JrCv8yZO3gBJqiuRC+0WLoV0= To: 27344@debbugs.gnu.org Subject: [PATCH v2 06/12] gnu: Add freehdl. Date: Thu, 22 Jun 2017 22:09:59 +0300 Message-Id: <20170622191005.25422-6-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (freehdl): New variable. --- gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7d6fcb6d4..f38786d1a 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1013,3 +1013,49 @@ specified in high-level description language into ready-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.") (license license:gpl3))) + +(define-public freehdl + (package + (name "freehdl") + (version "0.0.8") + (source (origin + (method url-fetch) + (uri (string-append "http://downloads.sourceforge.net/qucs/freehdl-" + version ".tar.gz")) + (sha256 + (base32 + "117dqs0d4pcgbzvr3jn5ppra7n7x2m6c161ywh6laa934pw7h2bz")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-pkg-config + (lambda _ + (substitute* "freehdl/freehdl-config" + (("pkg-config") (which "pkg-config")) + (("cat") (which "cat"))) + #t)) + (add-after 'configure 'patch-freehdl-pc + (lambda _ + (substitute* "freehdl.pc" + (("=g\\+\\+") (string-append "=" (which "g++"))) + (("=libtool") (string-append "=" (which "libtool")))) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/freehdl-config") + `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) + #t))))) + (inputs + `(("perl" ,perl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libtool" ,libtool))) + (home-page "http://www.freehdl.seul.org/") + (synopsis "VHDL simulator") + (description + "FreeHDL is a compiler/simulator suite for the hardware description language VHDL. + VHDL'93 as well as VHDL'87 standards are supported.") + (license (list license:gpl2+ + license:lgpl2.0+)))) ; freehdl's libraries -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:50 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:50 +0000 Received: from localhost ([127.0.0.1]:33443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7W9-000423-NZ for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:49 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:54717 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7W7-00041i-KN for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:48 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 7CAA951872D; Thu, 22 Jun 2017 21:11:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158705; bh=q0TKmnpAXj/Km95/y8aVI5n/CVd8bw1A5CkKtVZb5UU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xvpq8YLvvsKqYDoOCi0kvbgn+2mhmL6PCc6L6oGSSMfI9MhE5wEkCXxaURvEZc1UX aZMq4u6MWvaqbnUYESb3ClZ4cyHrbawQPncJlgFb/FRrnFTRt01+xjnwkjdLt3oM6m ak5gSLkXEsbZdKINy8FKDwBLJJnWDeGMmwHmH/b4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158695; bh=q0TKmnpAXj/Km95/y8aVI5n/CVd8bw1A5CkKtVZb5UU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JPjAVMrCvwagw0o7CIOgMZREXMBIIV8e0aw7S3WYmf+z4WeLPh04400A4fgpxNEcr BpvEevX6PL9xbCwmXDKSzKdsRNUz+nY/T/OWSLMKJhoM7dO01dSAzYgdIf5Rxxz+QB uC4WhYrs0DQB7Fba9o2lGpl7r4ESkK79a6T20igc= To: 27344@debbugs.gnu.org Subject: [PATCH v2 10/12] gnu: Add xyce-parallel. Date: Thu, 22 Jun 2017 22:10:03 +0300 Message-Id: <20170622191005.25422-10-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (xyce-parallel): New variable. --- gnu/packages/engineering.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index e4dff216b..8af1fff93 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1262,3 +1262,40 @@ of large-scale, complex multi-physics engineering and scientific problems. capable of solving extremely large circuit problems by supporting large-scale parallel computing platforms. It also supports serial execution.") (license license:gpl3+))) + +(define trilinos-parallel-xyce + (package (inherit trilinos-serial-xyce) + (name "trilinos-parallel-xyce") + (arguments + `(,@(substitute-keyword-arguments (package-arguments trilinos-serial-xyce) + ((#:configure-flags flags) + `(append (list "-DTrilinos_ENABLE_ShyLU=ON" + "-DTrilinos_ENABLE_Zoltan=ON" + "-DTPL_ENABLE_MPI=ON") + ,flags))))) + (inputs + `(("mpi" ,openmpi) + ,@(package-inputs trilinos-serial-xyce))))) + +(define-public xyce-parallel + (package (inherit xyce-serial) + (name "xyce-parallel") + (arguments + `(,@(substitute-keyword-arguments (package-arguments xyce-serial) + ((#:configure-flags flags) + `(list "CXXFLAGS=-O3 -std=c++11" + "CXX=mpiCC" + "CC=mpicc" + "F77=mpif77" + "--enable-mpi" + "--enable-isorropia=no" + "--enable-zoltan=no" + (string-append + "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))))) + (propagated-inputs + `(("mpi" ,openmpi))) + (inputs + `(("trilinos" ,trilinos-parallel-xyce) + ,@(alist-delete "trilinos" + (package-inputs xyce-serial)))))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:50 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:50 +0000 Received: from localhost ([127.0.0.1]:33445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7WA-000425-0f for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:50 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:51206 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7W7-00041j-NU for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:48 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id AC18550A6C3; Thu, 22 Jun 2017 21:11:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158705; bh=FxCQpC29LOoQ6dNGbQTe/mrUQS4orKlSevGGcVQsSTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GVE8koPJuWPmlId7k4Ur6VRnAmc+JarzUNhaZn+HghLR+dFfvnp9cIHmkZEZnHSmy Ff/qH+EzB3wnyErR87GKSI6ewf9J0/okS5gs+ahGslL2tTncqd0fmTPM8VmOqz1Twh ezmk/ZQgYd2bEa6MFSJA8/LR3PjkA4LAJ7169EVM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158688; bh=FxCQpC29LOoQ6dNGbQTe/mrUQS4orKlSevGGcVQsSTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OJGX2UtGyyMTTuGCs3sRSAZFQvOFUxym/Co5G8a/Rj0jJxUcubLroIa/jA/aCXDzh wSelZUngX/kZ2l90ZZdyFbrlNZbFOEVrhPQyz1yHAZXj4cXk7/kj4R7HDAzanNxC9X Koom6qcDNKN9AdQb8/dUEiYr617L/eGHM/WCiztg= To: 27344@debbugs.gnu.org Subject: [PATCH v2 08/12] gnu: Add ngspice. Date: Thu, 22 Jun 2017 22:10:01 +0300 Message-Id: <20170622191005.25422-8-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (ngspice): New variable. --- gnu/packages/engineering.scm | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 1bb29e6f6..63e938371 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1106,3 +1106,65 @@ language, ADMS transforms Verilog-AMS code into other target languages.") "ASCO brings circuit optimization capabilities to existing SPICE simulators using a high-performance parallel differential evolution (DE) optimization algorithm.") (license license:gpl2+))) + +(define libngspice + (package + (name "libngspice") + (version "26") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/ngspice/ng-spice-rework/" + version "/ngspice-" version ".tar.gz")) + (sha256 + (base32 + "02019ndcl057nq9z41nxycqba7wxlb081ibvfj9jv010nz431qji")) + (modules '((guix build utils))) + ;; We remove the non-free cider and build without it + (snippet + '(begin + (delete-file-recursively "src/ciderlib") + (delete-file "src/ciderinit") + (substitute* "configure" + (("src/ciderlib/Makefile") "") + (("src/ciderlib/input/Makefile") "") + (("src/ciderlib/support/Makefile") "") + (("src/ciderlib/oned/Makefile") "") + (("src/ciderlib/twod/Makefile") "")))))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + ; no tests for libngspice + ; transient tests for ngspice fail + #:phases %standard-phases + #:configure-flags + (list "--enable-openmp" + "--enable-xspice" + "--with-ngshared" + "--with-readline=yes"))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("libxaw" ,libxaw) + ("mpi" ,openmpi) + ("readline" ,readline))) + (home-page "http://ngspice.sourceforge.net/") + (synopsis "Mixed-level/mixed-signal circuit simulator") + (description + "Ngspice is a mixed-level/mixed-signal circuit simulator. It includes +@code{Spice3f5}, a circuit simulator, and @code{Xspice}, an extension that +provides code modeling support and simulation of digital components through +an embedded event driven algorithm.") + (license (list license:lgpl2.0+ ; code in frontend/numparam + (license:non-copyleft "file:///COPYING") ; spice3 bsd-style + license:public-domain)))) ; xspice + +(define-public ngspice + (package (inherit libngspice) + (name "ngspice") + (arguments + `(,@(substitute-keyword-arguments (package-arguments libngspice) + ((#:configure-flags flags) + `(delete "--with-ngshared" ,flags))))) + (propagated-inputs + `(("libngspice" ,libngspice))))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:54 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:54 +0000 Received: from localhost ([127.0.0.1]:33448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7WE-00042R-8B for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:54 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:46661 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7W8-00041l-9z for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:49 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id D75AE511BC1; Thu, 22 Jun 2017 21:11:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158705; bh=JM57ie+XBUmOl5bxv2kBAeN42M80FBeu+z7s1QBi0eo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u7ToBbrDfCxZlwMXLEYX6FnMogTd6cGZs29Gdsq5bvRBxa2JNQtA+NNEcRV7P7t/Q e7+Nw8tFHgFGxtvilYhsFpDNPHn+fBhSCvvltMwptbpRZIkj1Pd5LUFkjEqRB1nfW0 Ev/5Go5cPOaNDJAjci54idba+Cb5/tsHMjE0H8ho= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158691; bh=JM57ie+XBUmOl5bxv2kBAeN42M80FBeu+z7s1QBi0eo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WjBrnX/884m4cNPXzAN2khCon45t5azHte05h8iKNOKHWd8ig6JCMwPXPEfN74vE/ m37hSTid777J4A7eh9o/MPTPfCEuh8QVzHYVkq/wLM8YdHwvtnTwonmgwNVdSTRqzd ED11YMex+8pkWuztRQIt5rOwPXn38aeW6MzdhBSA= To: 27344@debbugs.gnu.org Subject: [PATCH v2 09/12] gnu: Add xyce-serial. Date: Thu, 22 Jun 2017 22:10:02 +0300 Message-Id: <20170622191005.25422-9-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (xyce-serial): New variable. --- gnu/packages/engineering.scm | 94 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 63e938371..e4dff216b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1168,3 +1168,97 @@ an embedded event driven algorithm.") `(delete "--with-ngshared" ,flags))))) (propagated-inputs `(("libngspice" ,libngspice))))) + +(define trilinos-serial-xyce + (package + (name "trilinos-serial-xyce") + (version "12.6.3") + (source + (origin (method url-fetch) + (uri (string-append "https://trilinos.org/oldsite/download/files/trilinos-" + version "-Source.tar.gz")) + (sha256 + (base32 + "07jd1qpsbf31cmbyyngr4l67xzwyan24dyx5wlcahgbw7x6my3wn")))) + (build-system cmake-build-system) + (arguments + `(#:out-of-source? #t + #:configure-flags + (list "-DCMAKE_CXX_FLAGS=-O3 -fPIC" + "-DCMAKE_C_FLAGS=-O3 -fPIC" + "-DCMAKE_Fortran_FLAGS=-O3 -fPIC" + "-DTrilinos_ENABLE_NOX=ON" + "-DNOX_ENABLE_LOCA=ON" + "-DTrilinos_ENABLE_EpetraExt=ON" + "-DEpetraExt_BUILD_BTF=ON" + "-DEpetraExt_BUILD_EXPERIMENTAL=ON" + "-DEpetraExt_BUILD_GRAPH_REORDERINGS=ON" + "-DTrilinos_ENABLE_TrilinosCouplings=ON" + "-DTrilinos_ENABLE_Ifpack=ON" + "-DTrilinos_ENABLE_Isorropia=ON" + "-DTrilinos_ENABLE_AztecOO=ON" + "-DTrilinos_ENABLE_Belos=ON" + "-DTrilinos_ENABLE_Teuchos=ON" + "-DTeuchos_ENABLE_COMPLEX=ON" + "-DTrilinos_ENABLE_Amesos=ON" + "-DAmesos_ENABLE_KLU=ON" + "-DAmesos_ENABLE_UMFPACK=ON" + "-DTrilinos_ENABLE_Sacado=ON" + "-DTrilinos_ENABLE_Kokkos=OFF" + "-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF" + "-DTPL_ENABLE_AMD=ON" + "-DTPL_ENABLE_UMFPACK=ON" + "-DTPL_ENABLE_BLAS=ON" + "-DTPL_ENABLE_LAPACK=ON"))) + (native-inputs + `(("fortran" ,gfortran) + ("swig" ,swig))) + (inputs + `(("boost" ,boost) + ("lapack" ,lapack) + ("suitesparse" ,suitesparse))) + (home-page "https://trilinos.org") + (synopsis "Engineering and scientific problems algorithms") + (description + "The Trilinos Project is an effort to develop algorithms and enabling +technologies within an object-oriented software framework for the solution +of large-scale, complex multi-physics engineering and scientific problems. + A unique design feature of Trilinos is its focus on packages.") + (license (list license:lgpl2.1+ + license:bsd-3)))) + +(define-public xyce-serial + (package + (name "xyce-serial") + (version "6.7") + (source + (origin (method url-fetch) + (uri (string-append "https://archive.org/download/Xyce-" + version "/Xyce-" version ".tar.gz")) + (sha256 + (base32 + "02k952mnvrnc5kv7r65fdrn7khwq1lbyhwyvd7jznafzdpsvgm4x")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:configure-flags + (list + "CXXFLAGS=-O3 -std=c++11" + (string-append "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("fortran" ,gfortran))) + (inputs + `(("fftw" ,fftw) + ("suitesparse" ,suitesparse) + ("lapack" ,lapack) + ("trilinos" ,trilinos-serial-xyce))) + (home-page "https://xyce.sandia.gov/") + (synopsis "High-performance analog circuit simulator") + (description + "Xyce is a SPICE-compatible, high-performance analog circuit simulator, +capable of solving extremely large circuit problems by supporting large-scale +parallel computing platforms. It also supports serial execution.") + (license license:gpl3+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:11:54 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:11:54 +0000 Received: from localhost ([127.0.0.1]:33450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7WE-00042U-Ir for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:54 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:44590 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7WB-00042I-Cf for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:11:51 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 4E6BC50DF7F; Thu, 22 Jun 2017 21:11:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158709; bh=tmBWWeA+S0XoqnRat05NA7tqPfxtVMmNituG1CT/fQ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z//E6dYk8KMWCLsmfByjct3GhofvskhpgXcMJXmJNpf7IzsZL6NxKfqc+Uato9I0+ iuPT1rTRvm8VrIHY+Y8vfwZR3Ny0KONDoXFW5fh5WPWbyA0zLYS+Bt985TExRXZG1c nCyXgqgYUWJVFz+MXFkO6RcvC/J9mqhp0dJ6iUsk= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158699; bh=tmBWWeA+S0XoqnRat05NA7tqPfxtVMmNituG1CT/fQ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EKXmCrODMuzgrGVLexzD4G0sMTr0wfRcyIA7yTnNcxQ4P0yjIDpCCKLcf7ZOmknYZ qcdFBN+DZsMOfUnoHZIdsb+Xj3dzJy+OyAv85+RYyotVtsOAmCIdpvFdjV78d480ay nyfdWV+DoopmJV4aiqGrZDIe/BHNdlCozL+YH2/k= To: 27344@debbugs.gnu.org Subject: [PATCH v2 11/12] gnu: Add qucs. Date: Thu, 22 Jun 2017 22:10:04 +0300 Message-Id: <20170622191005.25422-11-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs): New variable. --- gnu/packages/engineering.scm | 91 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8af1fff93..af188eaa5 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -40,10 +40,12 @@ #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages commencement) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages fpga) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) @@ -52,6 +54,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages image) @@ -1299,3 +1302,91 @@ parallel computing platforms. It also supports serial execution.") `(("trilinos" ,trilinos-parallel-xyce) ,@(alist-delete "trilinos" (package-inputs xyce-serial)))))) + +(define-public qucs + (package + (name "qucs") + (version "0.0.19") + (source (origin + (method url-fetch) + (uri + (string-append + "https://sourceforge.net/projects/qucs/files/qucs/" version + "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "0giv9gfyfdizvjhq56x2pdncrlyv3k15lrsh6pk37i94vr7l7ij5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/configure" + (("\\$QTDIR") (assoc-ref inputs "qt4"))) + #t)) + (add-after 'patch-configure 'patch-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("qucs/qucs/qucsdigi" + "qucs/qucs/qucsdigilib" + "qucs/qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref outputs "out") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("cp ") + (string-append (which "cp") " ")) + (("glibtool") + (which "libtool")) + (("sed") + (which "sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; The test suite requires a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t)) + (add-after 'install 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/qucs") + `("ADMSXMLBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "adms") "/bin"))) + `("ASCOBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "asco") "/bin"))) + `("QUCS_OCTAVE" ":" prefix + (,(string-append (assoc-ref inputs "octave") "/bin/octave"))))) + #t))) + #:parallel-build? #f ; race condition + #:configure-flags '("--disable-doc"))) ; we need octave-epstk + (native-inputs + `(("gperf" ,gperf) + ("libtool" ,libtool) + ("python" ,python-2) ; for tests + ("matplotlib" ,python2-matplotlib) ; for tests + ("numpy" ,python2-numpy) ; for tests + ("xorg-server" ,xorg-server))) ; for tests + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("freehdl" ,freehdl) + ("iverilog" ,iverilog) + ("octave" ,octave) + ("qt4" ,qt-4))) + (propagated-inputs + `(("gcc-toolchain" ,gcc-toolchain-5))) ; for freehdl + (home-page "http://qucs.sourceforge.net/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs is a circuit simulator with graphical user interface. + The software aims to support all kinds of circuit simulation types, +e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. + Pure digital simulations are also supported.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 22 15:17:48 2017 Received: (at 27344) by debbugs.gnu.org; 22 Jun 2017 19:17:48 +0000 Received: from localhost ([127.0.0.1]:33470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7bw-0004CX-FC for submit@debbugs.gnu.org; Thu, 22 Jun 2017 15:17:48 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:44383 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO7bv-0004CQ-5l for 27344@debbugs.gnu.org; Thu, 22 Jun 2017 15:17:47 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 933EE513AA3; Thu, 22 Jun 2017 21:15:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498159065; bh=Bip47wIWeFU5jrb92O2x0NoSxFEeKOF7frexYRBkWSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RSavWaxIzeuV/P0bchk5q0+AWm59NeS5bO6TNhA1QVs7N30W2BctO1bSV71A0gtJn gmdbw6G74+UrblvvvEsADERl0egVAV6i+ZHu8++5A743FMoOAQfbByBtVtKcg6645f A5IPm9zWKeXC7y/8q7MzYHb3BHG4m7IiC0jYtIPU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Theodoros Foradis DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498158900; bh=Bip47wIWeFU5jrb92O2x0NoSxFEeKOF7frexYRBkWSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b7LfHVKaZOAmaM86YR98hL1dbJmyPtkhwqdXevtaew/cu8VtImYLwmWftBnxPBm32 RUBa19HNDb6YQFYdgBByLIWQIWeh/LZGLtDVYt0zinNDuPx1CFl7Exh1fwdZiC08Cc z8Q2fHqlkDZl9vbPB8QKry6fPTu6AUtSLUA2AVas= To: 27344@debbugs.gnu.org Subject: [PATCH v2 12/12] gnu: Add qucs-s. Date: Thu, 22 Jun 2017 22:14:40 +0300 Message-Id: <20170622191440.25666-1-theodoros.for@openmailbox.org> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs-s): New variable. --- gnu/packages/engineering.scm | 116 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index af188eaa5..0251a4c90 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1390,3 +1390,119 @@ parallel computing platforms. It also supports serial execution.") e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. Pure digital simulations are also supported.") (license license:gpl2+))) + +(define-public qucs-s + (package + (name "qucs-s") + (version "0.0.19S") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ra3xdh/qucs/releases/download/" + version "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "1bhahvdqmayaw0306fxz1ghmjhd4fq05yk3rk7zi0z703w5imgjv")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-scripts + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("qucs/qucsdigi" + "qucs/qucsdigilib" + "qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref inputs "qucs") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("glibtool") + (which "libtool")) + (("cp ") + (string-append (which "cp") " ")) + (("sed") + (which "sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-after 'patch-scripts 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/main.cpp" + (("QucsSettings\\.Qucsator = QucsSettings\\.BinDir + \\+ \"qucsator\" \\+ executableSuffix") + (string-append "}{ QucsSettings.Qucsator = \"" + (assoc-ref inputs "qucs") "/bin/qucsator\"")) + (("else QucsSettings\\.XyceExecutable = + \"/usr/local/Xyce-Release-6.2.0-OPENSOURCE/bin/runxyce") + (string-append "QucsSettings.XyceExecutable = \"" + (assoc-ref inputs "xyce-serial") "/bin/Xyce")) + (("else QucsSettings\\.XyceParExecutable = + \"/usr/local/Xyce-Release-6.2.0-OPENMPI-OPENSOURCE/bin/xmpirun") + (string-append "QucsSettings.XyceParExecutable = \"" + (assoc-ref inputs "mpi") "/bin/mpirun")) + (("%p") + (string-append "%p "(assoc-ref inputs "xyce-parallel") "/bin/Xyce")) + (("else QucsSettings\\.NgspiceExecutable = \"ngspice\"") + (string-append "QucsSettings.NgspiceExecutable = " "\"" + (assoc-ref inputs "ngspice") "/bin/ngspice\""))) + (substitute* "qucs/qucs_actions.cpp" + (("qucstrans") + (string-append (assoc-ref inputs "qucs") "/bin/qucstrans")) + (("qucsattenuator") + (string-append (assoc-ref inputs "qucs") "/bin/qucsattenuator")) + (("qucsrescodes") + (string-append (assoc-ref inputs "qucs") "/bin/qucsrescodes"))) + #t)) + (add-after 'install 'install-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (script) + (let ((file (string-append "../qucs-" ,version + "/qucs/" script)) + (out (assoc-ref outputs "out"))) + (install-file file (string-append out "/bin")) + (chmod (string-append out "/bin/" script) #o555))) + '("qucsdigi" "qucsdigilib" "qucsveri")) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (file (string-append out "/bin/qucs-s")) + (qucs (assoc-ref inputs "qucs")) + (qucsator (string-append qucs "/bin/qucsator"))) + (wrap-program file + `("QUCSATOR" ":" prefix (,qucsator)) + `("QUCSCONV" ":" prefix (,(string-append qucsator "/bin/qucsconv"))) + `("ADMSXMLBINDIR" ":" prefix (,(string-append (assoc-ref inputs "adms") "/bin"))) + `("ASCOBINDIR" ":" prefix (,(string-append (assoc-ref inputs "asco") "/bin"))) + `("QUCS_OCTAVE" ":" prefix (,(string-append (assoc-ref inputs "octave") "/bin/octave")))) + (symlink qucsator (string-append out "/bin/qucsator")) + #t)))))) + (native-inputs + `(("libtool" ,libtool))) + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("freehdl" ,freehdl) + ("iverilog" ,iverilog) + ("mpi" ,openmpi) + ("ngspice" ,ngspice) + ("octave" ,octave) + ("qt4" ,qt-4) + ("qucs" ,qucs) + ("xyce-serial" ,xyce-serial) + ("xyce-parallel" ,xyce-parallel))) + (propagated-inputs + `(("gcc-toolchain" ,gcc-toolchain-5))); for freehdl + (home-page "https://ra3xdh.github.io/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs-S is a spin-off of the Qucs cross-platform circuit simulator. + S letter indicates SPICE. The purpose of the Qucs-S subproject is to use +free SPICE circuit simulation kernels with the Qucs GUI. It provides the +simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.") + (license license:gpl2+))) -- 2.13.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 24 02:49:24 2017 Received: (at 27344) by debbugs.gnu.org; 24 Jun 2017 06:49:25 +0000 Received: from localhost ([127.0.0.1]:35092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOesm-0002I9-Ou for submit@debbugs.gnu.org; Sat, 24 Jun 2017 02:49:24 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:46270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOesl-0002I2-Kt for 27344@debbugs.gnu.org; Sat, 24 Jun 2017 02:49:23 -0400 Received: from localhost (178.113.184.233.wireless.dyn.drei.com [178.113.184.233]) by dd1012.kasserver.com (Postfix) with ESMTPSA id B47411CA03CF; Sat, 24 Jun 2017 08:49:21 +0200 (CEST) Date: Sat, 24 Jun 2017 08:49:20 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v2 04/12] gnu: Add meep. Message-ID: <20170624084920.0cfa0923@scratchpost.org> In-Reply-To: <20170622191005.25422-4-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-4-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, On Thu, 22 Jun 2017 22:09:57 +0300 Theodoros Foradis wrote: > + ("guile" ,guile-2.0) ; doesn't build with guile-2.2 Hmm... does that mean you can't load guile-libctl and meep in the same guile? Does any of the programs try to do that? From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 24 02:51:12 2017 Received: (at 27344) by debbugs.gnu.org; 24 Jun 2017 06:51:12 +0000 Received: from localhost ([127.0.0.1]:35096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOeuW-0002L0-3y for submit@debbugs.gnu.org; Sat, 24 Jun 2017 02:51:12 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:46476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOeuU-0002Ks-Nj for 27344@debbugs.gnu.org; Sat, 24 Jun 2017 02:51:11 -0400 Received: from localhost (178.113.184.233.wireless.dyn.drei.com [178.113.184.233]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 80CC21CA03CF; Sat, 24 Jun 2017 08:51:09 +0200 (CEST) Date: Sat, 24 Jun 2017 08:51:05 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v2 03/12] gnu: Add mpb. Message-ID: <20170624085105.42170f92@scratchpost.org> In-Reply-To: <20170622191005.25422-3-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-3-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + (build-system gnu-build-system) > + (arguments > + `(#:configure-flags > + (list (string-append "--with-libctl=" > + (assoc-ref %build-inputs "libctl") > + "/share/libctl")))) > + (native-inputs > + `(("fortran" ,gfortran) > + ("pkg-config" ,pkg-config) > + ("swig" ,swig))) Whitespace problem which I fixed when applying... From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 24 03:18:43 2017 Received: (at 27344) by debbugs.gnu.org; 24 Jun 2017 07:18:43 +0000 Received: from localhost ([127.0.0.1]:35121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOfL9-0002z7-6C for submit@debbugs.gnu.org; Sat, 24 Jun 2017 03:18:43 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:49008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOfL8-0002yz-65 for 27344@debbugs.gnu.org; Sat, 24 Jun 2017 03:18:42 -0400 Received: from localhost (178.113.184.233.wireless.dyn.drei.com [178.113.184.233]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 158831CA03CF; Sat, 24 Jun 2017 09:18:40 +0200 (CEST) Date: Sat, 24 Jun 2017 09:18:37 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v2 06/12] gnu: Add freehdl. Message-ID: <20170624091837.4097c371@scratchpost.org> In-Reply-To: <20170622191005.25422-6-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-6-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Theodoros, > + (add-before 'configure 'patch-pkg-config > + (lambda _ > + (substitute* "freehdl/freehdl-config" > + (("pkg-config") (which "pkg-config")) > + (("cat") (which "cat"))) > + #t)) freehdl-config is installed, but it uses a path to pkg-config which is from a native-input (so it will not be retained). Does this ever work again after removing pkg-config from your profile and then doing "guix gc" ? I doubt it... > + (add-after 'configure 'patch-freehdl-pc > + (lambda _ > + (substitute* "freehdl.pc" > + (("=g\\+\\+") (string-append "=" (which "g++"))) > + (("=libtool") (string-append "=" (which "libtool")))) > + #t)) Same here... > + (add-after 'install-scripts 'make-wrapper > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (wrap-program (string-append out "/bin/freehdl-config") > + `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) > + #t))))) > + (inputs > + `(("perl" ,perl))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("libtool" ,libtool))) I've pushed PATCH v2 01 to 05 (inclusive) to master as: - bf6e6c39646e6180f57a5146dd77a3a01d870c9e (adms) - c5c380100635b47afb11c9bbb213ad1fc4cb5f64 (meep) - 66c3639c468c822a33c746065bcbbae698d5900d (mpb) - 5738ebee1b5e50e8e876c103be7afc2ec4f4daf0 (guile-libctl) - 196627c2757c6dd6d2ef792e69eb6a969728cecf (harminv) I'm not sure how to proceed so I'll stop at this point (with freehdl not in) until the path is clear :) From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 24 05:14:33 2017 Received: (at 27344) by debbugs.gnu.org; 24 Jun 2017 09:14:33 +0000 Received: from localhost ([127.0.0.1]:35200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOh9F-0005fk-4v for submit@debbugs.gnu.org; Sat, 24 Jun 2017 05:14:33 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53916 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOh9C-0005fa-8q for 27344@debbugs.gnu.org; Sat, 24 Jun 2017 05:14:31 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id E1C9351BDA7; Sat, 24 Jun 2017 11:14:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498295668; bh=KfCFzhI69qbkyzXssy7wwiyq/Nm+9JB7yKTFfJiEFy8=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=PMlxf0eAlgcVmNOCsTSO8Z/POedO/ew1dhUWh9qxMElaRQ1tnVyJ/G902yzDiSJSQ MJ09bxRuKW0VeSo3w6ly99soOb29dM5QNxRYQabxGCrQoFNfGQeb+DzwQnXy2O9iBW wkNe2NGa1FGS/S13A85AqOQCDQqJDQ7URArIAtLg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-4-theodoros.for@openmailbox.org> <20170624084920.0cfa0923@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498295664; bh=KfCFzhI69qbkyzXssy7wwiyq/Nm+9JB7yKTFfJiEFy8=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=BkGZFYgvgWzVU5vnOr+4nJRsAOB1H3ntORDSd3w1ANSZnRfrFANJaqMi3sHDFojlr dXxtmrhGKvJNDQ3dq72v2oCOZc1KjNRUBdYIr2etwJN6Ir3paU2t8X+NLR3Dn9bCqx CxQ5hmstNA+LJFvW4yhf1U4qrx1YdTcJ5zTCSnjQ= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH v2 04/12] gnu: Add meep. Message-ID: <87lgohrbn5.fsf@openmailbox.org> In-reply-to: <20170624084920.0cfa0923@scratchpost.org> Date: Sat, 24 Jun 2017 12:14:04 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, > Hi, > > On Thu, 22 Jun 2017 22:09:57 +0300 > Theodoros Foradis wrote: > >> + ("guile" ,guile-2.0) ; doesn't build with guile-2.2 > > Hmm... does that mean you can't load guile-libctl and meep in the same guile? Does any of the programs try to do that? My understanding is that you cannot, but still meep, the program, is able to use guile-libctl because it uses a C interface to it. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 24 05:35:04 2017 Received: (at 27344) by debbugs.gnu.org; 24 Jun 2017 09:35:04 +0000 Received: from localhost ([127.0.0.1]:35228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOhT6-0006AW-Fu for submit@debbugs.gnu.org; Sat, 24 Jun 2017 05:35:04 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:35109 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOhT5-0006AO-GV for 27344@debbugs.gnu.org; Sat, 24 Jun 2017 05:35:03 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 87C00518FC0; Sat, 24 Jun 2017 11:35:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498296902; bh=OZQIegrIRxN+CvzWWZpcBS/2u3trpwBaiqFK0furph0=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=YXc6XcShBY4gMPYrpv1S+oF0HRW/Fi+ftbGDAnznNbxnEv0gaMaBSR5rsBFvVE7zf P6nN7pXGjQZ5zP91x40eZ90fDTg6sPvKVsNe89Ljm0qGP8Tl/xia1geipGY2YT5uyg qoGZ7Uu6229N+B45WXDNC5clYnFbcH/i/Zu41Tjw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-6-theodoros.for@openmailbox.org> <20170624091837.4097c371@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498296900; bh=OZQIegrIRxN+CvzWWZpcBS/2u3trpwBaiqFK0furph0=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=PBwD3gw3oNu7l//WEyzJQN1UwS8tSlyYB1K8rK7MIlSH4ncu44kvP88NDeNSRo+i7 GDe3o9n/X6VmBBLjyFmMDt5VFSe/37rs91S2+9IEgKFIxVVbwcQab7PK1hKRqPsDz4 nEzGQIusBG8ty6BFNAQPKZPGZf2J4ZmWHCxVZlmk= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH v2 06/12] gnu: Add freehdl. Message-ID: <87injlraok.fsf@openmailbox.org> In-reply-to: <20170624091837.4097c371@scratchpost.org> Date: Sat, 24 Jun 2017 12:34:46 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, >> + (add-before 'configure 'patch-pkg-config >> + (lambda _ >> + (substitute* "freehdl/freehdl-config" >> + (("pkg-config") (which "pkg-config")) >> + (("cat") (which "cat"))) >> + #t)) > > freehdl-config is installed, but it uses a path to pkg-config which is from a native-input (so it will not be retained). > > Does this ever work again after removing pkg-config from your profile and then doing "guix gc" ? I doubt it... > >> + (add-after 'configure 'patch-freehdl-pc >> + (lambda _ >> + (substitute* "freehdl.pc" >> + (("=g\\+\\+") (string-append "=" (which "g++"))) >> + (("=libtool") (string-append "=" (which "libtool")))) >> + #t)) > > Same here... > >> + (add-after 'install-scripts 'make-wrapper >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let ((out (assoc-ref outputs "out"))) >> + (wrap-program (string-append out "/bin/freehdl-config") >> + `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) > > >> + #t))))) >> + (inputs >> + `(("perl" ,perl))) >> + (native-inputs >> + `(("pkg-config" ,pkg-config) >> + ("libtool" ,libtool))) > > > I'm not sure how to proceed so I'll stop at this point (with freehdl not in) until the path is clear :) You are correct, I totally missed the issue there. I can think of two possible ways to solve the issue, though I may be making wrong assumptions. - Move pkg-config to inputs, and disable cross-compilation of the package, if possible. - Have both pkg-configs at build time. Use the native pkg-config in building and reference the non-native one in freehdl-config. Is this possible with guix? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 26 15:30:54 2017 Received: (at 27344) by debbugs.gnu.org; 26 Jun 2017 19:30:54 +0000 Received: from localhost ([127.0.0.1]:39485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPZio-0008MP-2U for submit@debbugs.gnu.org; Mon, 26 Jun 2017 15:30:54 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:58032 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPZil-0008MG-Qr for 27344@debbugs.gnu.org; Mon, 26 Jun 2017 15:30:52 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 6B8B050EC23; Mon, 26 Jun 2017 20:41:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498505450; bh=fFWZUF/9jfhOH9k7OqJDDJl6gmNJ4R99uRn6HU4CQHY=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Ul99AsloSpgy7LVzrh+mw4ca6P7q2lfP3NQBbtrriBDra78huOujVvCBXskOIASA7 4S0eNmVgAVktlKZqI13daT2a2VBTB2VOUF4cK2OOurdL2x6Seyb4Jii+rUq6GrS+9j Nn1OsIklBWA4DRANkiEe6r1Uta905UET4PbEm8Pc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-6-theodoros.for@openmailbox.org> <20170624091837.4097c371@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1498502463; bh=fFWZUF/9jfhOH9k7OqJDDJl6gmNJ4R99uRn6HU4CQHY=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=iQz0n+IFEl5okbEujHmKooIffHtbNrXw1e+HTWkBzoKqIUjR1yaALr0t0DkoqEf/B J8j9+x2i+o6d8bn3speeM4w89TT3GHYByIgb5mLdLxg3dIe72RTPP/ZwoY9H40gK17 YdTcOzp+dP34a/LH31fiotIQjmkr6XcjMjImJpyk= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH v2 06/12] gnu: Add freehdl. Message-ID: <871sq6r3t2.fsf@openmailbox.org> In-reply-to: <20170624091837.4097c371@scratchpost.org> Date: Mon, 26 Jun 2017 21:40:09 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello again, > >> + (add-before 'configure 'patch-pkg-config >> + (lambda _ >> + (substitute* "freehdl/freehdl-config" >> + (("pkg-config") (which "pkg-config")) >> + (("cat") (which "cat"))) >> + #t)) > > freehdl-config is installed, but it uses a path to pkg-config which is from a native-input (so it will not be retained). > > Does this ever work again after removing pkg-config from your profile and then doing "guix gc" ? I doubt it... > >> + (add-after 'configure 'patch-freehdl-pc >> + (lambda _ >> + (substitute* "freehdl.pc" >> + (("=g\\+\\+") (string-append "=" (which "g++"))) >> + (("=libtool") (string-append "=" (which "libtool")))) >> + #t)) > > Same here... > >> + (add-after 'install-scripts 'make-wrapper >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let ((out (assoc-ref outputs "out"))) >> + (wrap-program (string-append out "/bin/freehdl-config") >> + `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) > > >> + #t))))) >> + (inputs >> + `(("perl" ,perl))) >> + (native-inputs >> + `(("pkg-config" ,pkg-config) >> + ("libtool" ,libtool))) > I looked again into the issue. I would like to note that the same problem applies to qucs and qucs-s. They both need a native libtool for cross-compiling, and one for the final package to reference. I have to make some changes in other references in qucs, qucs-s and asco as well, but those are not conflicting with native inputs I think. Namely cp, and sed. On the topic on how could the issue be resolved, how is it determined which package will be in PATH if the same package is included as both native and non-native input under different names? Regards, -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 20 05:26:02 2017 Received: (at 27344) by debbugs.gnu.org; 20 Jul 2017 09:26:02 +0000 Received: from localhost ([127.0.0.1]:48591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dY7ib-0000iE-Pv for submit@debbugs.gnu.org; Thu, 20 Jul 2017 05:26:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dY7ia-0000hn-5S for 27344@debbugs.gnu.org; Thu, 20 Jul 2017 05:26:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dY7iR-0008Jg-SA for 27344@debbugs.gnu.org; Thu, 20 Jul 2017 05:25:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dY7iR-0008Jc-OJ; Thu, 20 Jul 2017 05:25:51 -0400 Received: from [193.50.110.220] (port=39486 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dY7iR-00046Q-9c; Thu, 20 Jul 2017 05:25:51 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis , Danny Milosavljevic Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators References: <8760g11j3e.fsf@openmailbox.org> Date: Thu, 20 Jul 2017 11:25:49 +0200 In-Reply-To: <8760g11j3e.fsf@openmailbox.org> (Theodoros Foradis's message of "Mon, 12 Jun 2017 15:33:25 +0300") Message-ID: <87zibzwjc2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Theodoros Foradis skribis: > This patch series adds: > * Computational software from > > * Qucs and its dependencies for digital circuit simulation/optimisation > * Ngspice and Xyce(serial/parallel) circuit simulators > * Qucs-s, which is a GUI that utilises those 3 simulators. > > Ngspice, normally includes a non-free component (cider), which I delete > with a snippet from source, and build without. I have clearly noted the > licenses of the rest of the source code, but I would like someone to > verify I am not missing anything. Danny, Theodoros: could we make sure the non-controversial parts of these series get committed? :-) TIA, Ludo=E2=80=99, who is fighting bitrot. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 23 07:37:20 2017 Received: (at 27344) by debbugs.gnu.org; 23 Jul 2017 11:37:20 +0000 Received: from localhost ([127.0.0.1]:52917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZFCK-00013c-BJ for submit@debbugs.gnu.org; Sun, 23 Jul 2017 07:37:20 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:53182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZFCI-00013T-5a for 27344@debbugs.gnu.org; Sun, 23 Jul 2017 07:37:18 -0400 Received: from localhost (178.113.157.12.wireless.dyn.drei.com [178.113.157.12]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 93BBD1CA0071; Sun, 23 Jul 2017 13:37:16 +0200 (CEST) Date: Sun, 23 Jul 2017 13:37:12 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v2 08/12] gnu: Add ngspice. Message-ID: <20170723133712.2239b7d9@scratchpost.org> In-Reply-To: <20170622191005.25422-8-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-8-theodoros.for@openmailbox.org> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Theodoros, apparently you are trying to provide the shared object in package "libngspice" and the executables in package "ngspice". Is that so? I've checked the resulting output directories for ngspice and libngspice and there's some duplication going on. For example, both packages provide cmpp, the man pages for ALL the executables and the ngspice include files, and shared libraries as lib/ngspice/*.cm. Was that intended? I've also made the build reproducible by substituting "`date`" in the file "configure". From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 23 09:17:02 2017 Received: (at 27344) by debbugs.gnu.org; 23 Jul 2017 13:17:02 +0000 Received: from localhost ([127.0.0.1]:52960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZGki-0003KQ-49 for submit@debbugs.gnu.org; Sun, 23 Jul 2017 09:17:01 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:33200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZGkf-0003KG-1R for 27344@debbugs.gnu.org; Sun, 23 Jul 2017 09:16:54 -0400 Received: from localhost (178.113.157.12.wireless.dyn.drei.com [178.113.157.12]) by dd1012.kasserver.com (Postfix) with ESMTPSA id E436C1CA0071; Sun, 23 Jul 2017 15:16:49 +0200 (CEST) Date: Sun, 23 Jul 2017 15:16:46 +0200 From: Danny Milosavljevic To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v2 08/12] gnu: Add ngspice. Message-ID: <20170723151646.013b6408@scratchpost.org> In-Reply-To: <20170723133712.2239b7d9@scratchpost.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-8-theodoros.for@openmailbox.org> <20170723133712.2239b7d9@scratchpost.org> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) My current version of your patch is below. After it, the following duplicates remain: * ./bin/cmpp * ./lib/ngspice/analog.cm * ./lib/ngspice/digital.cm * ./lib/ngspice/spice2poly.cm * ./lib/ngspice/xtradev.cm * ./lib/ngspice/xtraevt.cm * ./share/ngspice/dlmain.c * ./share/ngspice/scripts/setplot * ./share/ngspice/scripts/spectrum * ./share/ngspice/scripts/spinit Also, how can other programs find libngspice? There's no pkg-config file and also no replacement (a la gtk-config) that I can see. cmpp seems to be a preprocessor for xspice extensions - should it be part of ngspice or libngspice ? Is libngspice useful without cmpp being there ? diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 650ac2b89..2687b5758 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -59,6 +59,7 @@ #:use-module (gnu packages linux) ;FIXME: for pcb #:use-module (gnu packages m4) #:use-module (gnu packages maths) + #:use-module (gnu packages mpi) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -1013,3 +1014,87 @@ specified in high-level description language into ready-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.") (license license:gpl3))) + +(define-public libngspice + (package + (name "libngspice") + (version "26") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/ngspice/ng-spice-rework/" + version "/ngspice-" version ".tar.gz")) + (sha256 + (base32 + "02019ndcl057nq9z41nxycqba7wxlb081ibvfj9jv010nz431qji")) + (modules '((guix build utils))) + ;; We remove the non-free cider and build without it. + (snippet + '(begin + (delete-file-recursively "src/ciderlib") + (delete-file "src/ciderinit") + (substitute* "configure" + (("src/ciderlib/Makefile") "") + (("src/ciderlib/input/Makefile") "") + (("src/ciderlib/support/Makefile") "") + (("src/ciderlib/oned/Makefile") "") + (("src/ciderlib/twod/Makefile") "")))))) + (build-system gnu-build-system) + (arguments + `(;; No tests for libngspice exist. + ;; The transient tests for ngspice fail. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-timestamps + (lambda _ + (substitute* "configure" + (("`date`") "Do 1. Jan 00:00:00 UTC 1970")) + #t)) + (add-after 'unpack 'delete-program-manuals + (lambda _ + (substitute* "man/man1/Makefile.in" + (("^man_MANS = ngspice\\.1 ngnutmeg\\.1 ngsconvert\\.1 ngmultidec\\.1") + "man_MANS = ")) + #t))) + #:configure-flags + (list "--enable-openmp" + "--enable-xspice" + "--with-ngshared" + "--with-readline=yes"))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("libxaw" ,libxaw) + ("mpi" ,openmpi) + ("readline" ,readline))) + (home-page "http://ngspice.sourceforge.net/") + (synopsis "Mixed-level/mixed-signal circuit simulator") + (description + "Ngspice is a mixed-level/mixed-signal circuit simulator. It includes +@code{Spice3f5}, a circuit simulator, and @code{Xspice}, an extension that +provides code modeling support and simulation of digital components through +an embedded event driven algorithm.") + (license (list license:lgpl2.0+ ; code in frontend/numparam + (license:non-copyleft "file:///COPYING") ; spice3 bsd-style + license:public-domain)))) ; xspice + +(define-public ngspice + (package (inherit libngspice) + (name "ngspice") + (arguments + (substitute-keyword-arguments (package-arguments libngspice) + ((#:configure-flags flags) + `(delete "--with-ngshared" ,flags)) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'delete-include-files + (lambda _ + (substitute* "src/Makefile.in" + (("^SUBDIRS = misc maths frontend spicelib include/ngspice") + "SUBDIRS = misc maths frontend spicelib")) + #t)) + (delete 'delete-program-manuals))))) + (inputs + `(("libngspice" ,libngspice) + ("readline" ,readline))))) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 28 13:19:10 2017 Received: (at 27344) by debbugs.gnu.org; 28 Jul 2017 17:19:10 +0000 Received: from localhost ([127.0.0.1]:60268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db8ur-0002MO-W9 for submit@debbugs.gnu.org; Fri, 28 Jul 2017 13:19:10 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:35308 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db8uo-0002ME-Kf for 27344@debbugs.gnu.org; Fri, 28 Jul 2017 13:19:08 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id F09334E8203; Fri, 28 Jul 2017 19:17:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501262265; bh=aOTjyT2Q2QKt60aH6ACnEM3VtOnVdF7oq7gSqWKzV+0=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=HA6xd8/Xk2F53ODpyq1vyUVz014QBWplW66jzhhYRvhTQoEKkrEMFU0vZS9VQ4jSI 6iEaUSbnqnaBEMM8+ICv6VDPpMH8GQL9scfvWIliXZBADz2aiBuX+OIk4C9scj72EH ZSJkHSfRuFwa3tQHmbq8vIxOEE4SmE4g/cuZGCr4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-8-theodoros.for@openmailbox.org> <20170723133712.2239b7d9@scratchpost.org> <20170723151646.013b6408@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501262264; bh=aOTjyT2Q2QKt60aH6ACnEM3VtOnVdF7oq7gSqWKzV+0=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=xGj91ufblH9+QVYz7wjcZHpz5y4dLEx3G7UkdIpeW5Zdjqav8B+ul/zZZ9FheS9rz SVnRXGsnS9tjfXvs1PYYtgNEpKzMnqAOkPc/2Dcivk76mRwV1AT0odV/dGrqhgplfl wgPVz5e7pH0r+VWT4M9E+fqx2wKCTcpa219/DTHo= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH v2 08/12] gnu: Add ngspice. Message-ID: <87r2x08orz.fsf@openmailbox.org> In-reply-to: <20170723151646.013b6408@scratchpost.org> Date: Fri, 28 Jul 2017 20:17:40 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hello Danny, > apparently you are trying to provide the shared object in package "libngspice" and the executables in package "ngspice". Is that so? Correct. Ngspice, does not build both the executable and shared library in the same run. The configure script must anyway be run twice, and this is why I split the package, to begin with. > I've checked the resulting output directories for ngspice and libngspice and there's some duplication going on. > > For example, both packages provide cmpp, the man pages for ALL the executables and the ngspice include files, and shared libraries as lib/ngspice/*.cm. > > Was that intended? That was not intended. In the first version of the patch set, I had the "ngspice" package copy the shared library from "libngspice" to its output. So, there would only be one public package. After splitting it up, I missed on fixing the duplicates. > I've also made the build reproducible by substituting "`date`" in the file "configure". Thanks for fixing that. > My current version of your patch is below. > > After it, the following duplicates remain: > * ./bin/cmpp > * ./share/ngspice/dlmain.c Should be in libngspice. > * ./lib/ngspice/analog.cm > * ./lib/ngspice/digital.cm > * ./lib/ngspice/spice2poly.cm > * ./lib/ngspice/xtradev.cm > * ./lib/ngspice/xtraevt.cm Should be in both packages. > * ./share/ngspice/scripts/setplot > * ./share/ngspice/scripts/spectrum > * ./share/ngspice/scripts/spinit Should be in ngspice. > Also, how can other programs find libngspice? There's no pkg-config file and also no replacement (a la gtk-config) that I can see. > > cmpp seems to be a preprocessor for xspice extensions - should it be part of ngspice or libngspice ? Is libngspice useful without cmpp being there ? > The program I have tested libngspice with, is Kicad (after I get this patchset over with, I will submit a patch to update Kicad, and build with ngspice support). I guess it finds libngspice through LIBRARY_PATH or something? Also, it builds without cmpp being in libngspice (so libngspice is useful without it), but cmpp should be there nonetheless. I have updated your patch, to delete the appropriate files from ngspice and libngspice respectively. I will send it with the updated patch series. Regards, -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 28 15:47:15 2017 Received: (at 27344) by debbugs.gnu.org; 28 Jul 2017 19:47:15 +0000 Received: from localhost ([127.0.0.1]:60318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbBEB-0005mP-I6 for submit@debbugs.gnu.org; Fri, 28 Jul 2017 15:47:15 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:37849 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbBE9-0005mF-9h for 27344@debbugs.gnu.org; Fri, 28 Jul 2017 15:47:13 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 3C6F04EE7CA; Fri, 28 Jul 2017 21:47:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501271232; bh=uGNLzWs1kgOW/91BsIVl9T1M58Tan288QewBvAqSebc=; h=References:From:To:Subject:In-reply-to:Date:From; b=JXHILDCWZfUjAyiARy+cfoA9B6UHHPi4YDpuRNWu0Fz5HO3jeYALJnfbsAD/S2reZ dQxuzI5nsqhkjCKNJWQghEVtgsmtDwOTmlgH3ejNw5EK6yJIN2tQGRxk/8GXAAP72z DqqvGCQtZO3rlwh9qmN1hweZ7rIM7Si9hlHymks0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 References: <8760g11j3e.fsf@openmailbox.org> <87zibzwjc2.fsf@gnu.org> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501271231; bh=uGNLzWs1kgOW/91BsIVl9T1M58Tan288QewBvAqSebc=; h=References:From:To:Subject:In-reply-to:Date:From; b=NraZxkkrL/LEWmRGBlY1z1WrzwHfIfTKD+LUuIx21v7SnMlbEPwImmoai363XZmLZ YABYiGZvgD3WNeMJ+j9SZSB3a+tSY6K36u8PFl7LRRXcYG9HBc6k57nMVEoHoh5ntW 5qgFBWvNbR7CzpgAlXlTzN/E0Kk/XKRNO9vY6cms= User-agent: mu4e 0.9.18; emacs 25.2.1 From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators Message-ID: <87d18kibus.fsf@openmailbox.org> In-reply-to: <87zibzwjc2.fsf@gnu.org> Date: Fri, 28 Jul 2017 22:46:54 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 27344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hello Ludovic, > Danny, Theodoros: could we make sure the non-controversial parts of > these series get committed? :-) I have made some additions to Danny's patch for libngspice and ngspice, and it's ready for the updated patch set. Another issue appeared with xyce-serial and xyce-parallel, namely that they don't build with lapack-3.7.1 which was recently updated. I got them to build, adding a lapack-3.5.0 variant, and I have sent an email upstream to confirm that version issue. There is an isssue with freehdl, qucs and qucs-s. That is, some packages need to be present at build time both as native inputs, and inputs, so that some references are substituted with the path to the target architecture binaries. Any ideas on how could that be done? Can a package be both a native and non-native input without issues? I don't know how to test that, since the problem does not obviously manifest itself without cross-compiling. Regards, -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 06:34:48 2017 Received: (at 27344) by debbugs.gnu.org; 31 Aug 2017 10:34:48 +0000 Received: from localhost ([127.0.0.1]:36259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnMoC-0001HV-6F for submit@debbugs.gnu.org; Thu, 31 Aug 2017 06:34:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnMoB-0001HI-09 for 27344@debbugs.gnu.org; Thu, 31 Aug 2017 06:34:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnMo4-0005C4-Tn for 27344@debbugs.gnu.org; Thu, 31 Aug 2017 06:34:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnMo0-00059g-95; Thu, 31 Aug 2017 06:34:36 -0400 Received: from [193.50.110.184] (port=46004 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dnMnz-0001lI-Lt; Thu, 31 Aug 2017 06:34:36 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators References: <8760g11j3e.fsf@openmailbox.org> <87zibzwjc2.fsf@gnu.org> <87d18kibus.fsf@openmailbox.org> Date: Thu, 31 Aug 2017 12:34:34 +0200 In-Reply-To: <87d18kibus.fsf@openmailbox.org> (Theodoros Foradis's message of "Fri, 28 Jul 2017 22:46:54 +0300") Message-ID: <87mv6guith.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: Danny Milosavljevic , 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Theodoros, Theodoros Foradis skribis: >> Danny, Theodoros: could we make sure the non-controversial parts of >> these series get committed? :-) > > I have made some additions to Danny's patch for libngspice and ngspice, > and it's ready for the updated patch set. > > Another issue appeared with xyce-serial and xyce-parallel, namely that > they don't build with lapack-3.7.1 which was recently updated. I got > them to build, adding a lapack-3.5.0 variant, and I have sent an email > upstream to confirm that version issue. > > There is an isssue with freehdl, qucs and qucs-s. That is, some packages > need to be present at build time both as native inputs, and inputs, so > that some references are substituted with the path to the target > architecture binaries. Any ideas on how could that be done? Can a > package be both a native and non-native input without issues? I don't > know how to test that, since the problem does not obviously manifest > itself without cross-compiling. I=E2=80=99m afraid I can=E2=80=99t really help, but can you explicitly dire= ct Danny to the bits that should be readily applicable? I guess it=E2=80=99s a bit hard for reviewers to follow if there=E2=80=99s = a mixture of patches ready to applied and work-in-progress patches. Thanks in advance, and sorry this takes so much time! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:28:41 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:28:42 +0000 Received: from localhost ([127.0.0.1]:57769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqjYf-0002fW-M0 for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:28:41 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:54252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqiyX-0001kU-FO for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 12:51:21 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 877F543550; Sat, 9 Sep 2017 18:51:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id 00AmsVXD3js5; Sat, 9 Sep 2017 18:51:14 +0200 (CEST) From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators In-reply-to: <87mv6guith.fsf@gnu.org> Date: Sat, 09 Sep 2017 19:51:11 +0300 Message-ID: <87lglnery8.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-Mailman-Approved-At: Sat, 09 Sep 2017 13:28:40 -0400 Cc: Danny Milosavljevic , 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello Ludovic, > > I’m afraid I can’t really help, but can you explicitly direct Danny to > the bits that should be readily applicable? > > I guess it’s a bit hard for reviewers to follow if there’s a mixture of > patches ready to applied and work-in-progress patches. > I am replying with an updated patch set, with the updated ngspice and libngspice patches including the fixes that Danny proposed. I had to add an extra patch, with lapack-3.5, as Xyce won't build with the updated version of lapack we currently have. The first 5 patches *should* be ready to be applied. The 3 last ones, are the ones where there's a need for presence for both native and non-native versions of the same inputs. I have updated them, in a way that seems to me that works with Guix, but since I cannot cross-compile to verify the correctness, I would like to have some confirmation. Regards, -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:11 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:11 +0000 Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1C-0003O5-NA for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:10 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:53728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1B-0003Nn-BK for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:09 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id A49504750D; Sat, 9 Sep 2017 19:58:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id KKcY_lyvvKSV; Sat, 9 Sep 2017 19:58:02 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 2/8] gnu: Add libngspice and ngspice. Date: Sat, 9 Sep 2017 20:57:46 +0300 Message-Id: <20170909175752.8566-2-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (libngspice): New variable. * gnu/packages/engineering.scm (ngspice): New variable. --- gnu/packages/engineering.scm | 98 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 2bae7582f..87defd848 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1175,3 +1175,101 @@ servers, ...") "ASCO brings circuit optimization capabilities to existing SPICE simulators using a high-performance parallel differential evolution (DE) optimization algorithm.") (license license:gpl2+))) + +(define-public libngspice + (package + (name "libngspice") + (version "26") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/ngspice/ng-spice-rework/" + version "/ngspice-" version ".tar.gz")) + (sha256 + (base32 + "02019ndcl057nq9z41nxycqba7wxlb081ibvfj9jv010nz431qji")) + (modules '((guix build utils))) + ;; We remove the non-free cider and build without it. + (snippet + '(begin + (delete-file-recursively "src/ciderlib") + (delete-file "src/ciderinit") + (substitute* "configure" + (("src/ciderlib/Makefile") "") + (("src/ciderlib/input/Makefile") "") + (("src/ciderlib/support/Makefile") "") + (("src/ciderlib/oned/Makefile") "") + (("src/ciderlib/twod/Makefile") "")))))) + (build-system gnu-build-system) + (arguments + `(;; No tests for libngspice exist. + ;; The transient tests for ngspice fail. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-timestamps + (lambda _ + (substitute* "configure" + (("`date`") "Do 1. Jan 00:00:00 UTC 1970")) + #t)) + (add-after 'unpack 'delete-program-manuals + (lambda _ + (substitute* "man/man1/Makefile.in" + (("^man_MANS = ngspice\\.1 ngnutmeg\\.1 ngsconvert\\.1 ngmultidec\\.1") + "man_MANS = ")) + #t)) + (add-after 'install 'delete-script-files + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively + (string-append (assoc-ref outputs "out") + "/share/ngspice/scripts"))))) + #:configure-flags + (list "--enable-openmp" + "--enable-xspice" + "--with-ngshared" + "--with-readline=yes"))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("libxaw" ,libxaw) + ("mpi" ,openmpi) + ("readline" ,readline))) + (home-page "http://ngspice.sourceforge.net/") + (synopsis "Mixed-level/mixed-signal circuit simulator") + (description + "Ngspice is a mixed-level/mixed-signal circuit simulator. It includes +@code{Spice3f5}, a circuit simulator, and @code{Xspice}, an extension that +provides code modeling support and simulation of digital components through +an embedded event driven algorithm.") + (license (list license:lgpl2.0+ ; code in frontend/numparam + (license:non-copyleft "file:///COPYING") ; spice3 bsd-style + license:public-domain)))) ; xspice + +(define-public ngspice + (package (inherit libngspice) + (name "ngspice") + (arguments + (substitute-keyword-arguments (package-arguments libngspice) + ((#:configure-flags flags) + `(delete "--with-ngshared" ,flags)) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'delete-include-files + (lambda _ + (substitute* "src/Makefile.in" + (("^SUBDIRS = misc maths frontend spicelib include/ngspice") + "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")))) + (delete 'delete-program-manuals) + (delete 'delete-script-files))))) + (inputs + `(("libngspice" ,libngspice) + ("readline" ,readline))))) -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:14 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:14 +0000 Received: from localhost ([127.0.0.1]:57815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1G-0003Oh-4l for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:14 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1C-0003Np-5g for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:10 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 715664350E; Sat, 9 Sep 2017 19:58:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id Tv2cnh_twnHf; Sat, 9 Sep 2017 19:58:03 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 3/8] gnu: Add lapack-3.5. Date: Sat, 9 Sep 2017 20:57:47 +0300 Message-Id: <20170909175752.8566-3-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/maths.scm (lapack-3.5): New variable. --- gnu/packages/maths.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index bebed14b5..03ca885b5 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -470,6 +470,19 @@ problems in numerical linear algebra.") (license (license:non-copyleft "file://LICENSE" "See LICENSE in the distribution.")))) +(define-public lapack-3.5 + (package + (inherit lapack) + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.netlib.org/lapack/lapack-" + version ".tgz")) + (sha256 + (base32 + "0lk3f97i9imqascnlf6wr5mjpyxqcdj73pgj97dj2mgvyg9z1n4s")))))) + (define-public scalapack (package (name "scalapack") -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:15 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:15 +0000 Received: from localhost ([127.0.0.1]:57817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1H-0003Ou-ER for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:15 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1D-0003Nr-9Z for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:11 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id C23F843546; Sat, 9 Sep 2017 19:58:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id gNfaU-nrR_lA; Sat, 9 Sep 2017 19:58:03 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 4/8] gnu: Add xyce-serial. Date: Sat, 9 Sep 2017 20:57:48 +0300 Message-Id: <20170909175752.8566-4-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (xyce-serial): New variable. --- gnu/packages/engineering.scm | 94 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 87defd848..6e275fd19 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1273,3 +1273,97 @@ an embedded event driven algorithm.") (inputs `(("libngspice" ,libngspice) ("readline" ,readline))))) + +(define trilinos-serial-xyce + (package + (name "trilinos-serial-xyce") + (version "12.6.3") + (source + (origin (method url-fetch) + (uri (string-append "https://trilinos.org/oldsite/download/files/trilinos-" + version "-Source.tar.gz")) + (sha256 + (base32 + "07jd1qpsbf31cmbyyngr4l67xzwyan24dyx5wlcahgbw7x6my3wn")))) + (build-system cmake-build-system) + (arguments + `(#:out-of-source? #t + #:configure-flags + (list "-DCMAKE_CXX_FLAGS=-O3 -fPIC" + "-DCMAKE_C_FLAGS=-O3 -fPIC" + "-DCMAKE_Fortran_FLAGS=-O3 -fPIC" + "-DTrilinos_ENABLE_NOX=ON" + "-DNOX_ENABLE_LOCA=ON" + "-DTrilinos_ENABLE_EpetraExt=ON" + "-DEpetraExt_BUILD_BTF=ON" + "-DEpetraExt_BUILD_EXPERIMENTAL=ON" + "-DEpetraExt_BUILD_GRAPH_REORDERINGS=ON" + "-DTrilinos_ENABLE_TrilinosCouplings=ON" + "-DTrilinos_ENABLE_Ifpack=ON" + "-DTrilinos_ENABLE_Isorropia=ON" + "-DTrilinos_ENABLE_AztecOO=ON" + "-DTrilinos_ENABLE_Belos=ON" + "-DTrilinos_ENABLE_Teuchos=ON" + "-DTeuchos_ENABLE_COMPLEX=ON" + "-DTrilinos_ENABLE_Amesos=ON" + "-DAmesos_ENABLE_KLU=ON" + "-DAmesos_ENABLE_UMFPACK=ON" + "-DTrilinos_ENABLE_Sacado=ON" + "-DTrilinos_ENABLE_Kokkos=OFF" + "-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF" + "-DTPL_ENABLE_AMD=ON" + "-DTPL_ENABLE_UMFPACK=ON" + "-DTPL_ENABLE_BLAS=ON" + "-DTPL_ENABLE_LAPACK=ON"))) + (native-inputs + `(("fortran" ,gfortran) + ("swig" ,swig))) + (inputs + `(("boost" ,boost) + ("lapack" ,lapack-3.5) + ("suitesparse" ,suitesparse))) + (home-page "https://trilinos.org") + (synopsis "Engineering and scientific problems algorithms") + (description + "The Trilinos Project is an effort to develop algorithms and enabling +technologies within an object-oriented software framework for the solution +of large-scale, complex multi-physics engineering and scientific problems. + A unique design feature of Trilinos is its focus on packages.") + (license (list license:lgpl2.1+ + license:bsd-3)))) + +(define-public xyce-serial + (package + (name "xyce-serial") + (version "6.7") + (source + (origin (method url-fetch) + (uri (string-append "https://archive.org/download/Xyce-" + version "/Xyce-" version ".tar.gz")) + (sha256 + (base32 + "02k952mnvrnc5kv7r65fdrn7khwq1lbyhwyvd7jznafzdpsvgm4x")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:configure-flags + (list + "CXXFLAGS=-O3 -std=c++11" + (string-append "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("fortran" ,gfortran))) + (inputs + `(("fftw" ,fftw) + ("suitesparse" ,suitesparse) + ("lapack" ,lapack-3.5) + ("trilinos" ,trilinos-serial-xyce))) + (home-page "https://xyce.sandia.gov/") + (synopsis "High-performance analog circuit simulator") + (description + "Xyce is a SPICE-compatible, high-performance analog circuit simulator, +capable of solving extremely large circuit problems by supporting large-scale +parallel computing platforms. It also supports serial execution.") + (license license:gpl3+))) -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:16 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:16 +0000 Received: from localhost ([127.0.0.1]:57819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1H-0003Ow-Os for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:15 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1D-0003Ns-S8 for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:13 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 58D1B43519; Sat, 9 Sep 2017 19:58:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id OrWyAYphnsEZ; Sat, 9 Sep 2017 19:58:04 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 5/8] gnu: Add xyce-parallel. Date: Sat, 9 Sep 2017 20:57:49 +0300 Message-Id: <20170909175752.8566-5-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (xyce-parallel): New variable. --- gnu/packages/engineering.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 6e275fd19..32d087279 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1367,3 +1367,40 @@ of large-scale, complex multi-physics engineering and scientific problems. capable of solving extremely large circuit problems by supporting large-scale parallel computing platforms. It also supports serial execution.") (license license:gpl3+))) + +(define trilinos-parallel-xyce + (package (inherit trilinos-serial-xyce) + (name "trilinos-parallel-xyce") + (arguments + `(,@(substitute-keyword-arguments (package-arguments trilinos-serial-xyce) + ((#:configure-flags flags) + `(append (list "-DTrilinos_ENABLE_ShyLU=ON" + "-DTrilinos_ENABLE_Zoltan=ON" + "-DTPL_ENABLE_MPI=ON") + ,flags))))) + (inputs + `(("mpi" ,openmpi) + ,@(package-inputs trilinos-serial-xyce))))) + +(define-public xyce-parallel + (package (inherit xyce-serial) + (name "xyce-parallel") + (arguments + `(,@(substitute-keyword-arguments (package-arguments xyce-serial) + ((#:configure-flags flags) + `(list "CXXFLAGS=-O3 -std=c++11" + "CXX=mpiCC" + "CC=mpicc" + "F77=mpif77" + "--enable-mpi" + "--enable-isorropia=no" + "--enable-zoltan=no" + (string-append + "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))))) + (propagated-inputs + `(("mpi" ,openmpi))) + (inputs + `(("trilinos" ,trilinos-parallel-xyce) + ,@((@ (srfi srfi-1) alist-delete) "trilinos" + (package-inputs xyce-serial)))))) -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:16 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:16 +0000 Received: from localhost ([127.0.0.1]:57821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1I-0003P4-17 for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:16 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1E-0003Nv-T3 for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:13 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 5F11A43550; Sat, 9 Sep 2017 19:58:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id 5Y6X3t4qmuxP; Sat, 9 Sep 2017 19:58:06 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 7/8] gnu: Add qucs. Date: Sat, 9 Sep 2017 20:57:51 +0300 Message-Id: <20170909175752.8566-7-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs): New variable. --- gnu/packages/engineering.scm | 93 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index fa09c8823..e46b1e0d9 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -41,10 +41,12 @@ #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages commencement) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages fpga) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) @@ -53,6 +55,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages image) @@ -1463,3 +1466,93 @@ parallel computing platforms. It also supports serial execution.") (license (list license:gpl2+ license:lgpl2.0+)))) ; freehdl's libraries +(define-public qucs + (package + (name "qucs") + (version "0.0.19") + (source (origin + (method url-fetch) + (uri + (string-append + "https://sourceforge.net/projects/qucs/files/qucs/" version + "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "0giv9gfyfdizvjhq56x2pdncrlyv3k15lrsh6pk37i94vr7l7ij5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/configure" + (("\\$QTDIR") (assoc-ref inputs "qt4"))) + #t)) + (add-after 'patch-configure 'patch-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("qucs/qucs/qucsdigi" + "qucs/qucs/qucsdigilib" + "qucs/qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref outputs "out") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("cp ") + (string-append (assoc-ref inputs "coreutils") "/bin/cp" " ")) + (("glibtool") + (string-append (assoc-ref inputs "libtool") "/bin/libtool")) + (("sed") + (string-append (assoc-ref inputs "sed") "/bin/sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; The test suite requires a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t)) + (add-after 'install 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/qucs") + `("ADMSXMLBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "adms") "/bin"))) + `("ASCOBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "asco") "/bin"))) + `("QUCS_OCTAVE" ":" prefix + (,(string-append (assoc-ref inputs "octave") "/bin/octave"))))) + #t))) + #:parallel-build? #f ; race condition + #:configure-flags '("--disable-doc"))) ; we need octave-epstk + (native-inputs + `(("gperf" ,gperf) + ("libtool-native" ,libtool) + ("python" ,python-2) ; for tests + ("matplotlib" ,python2-matplotlib) ; for tests + ("numpy" ,python2-numpy) ; for tests + ("xorg-server" ,xorg-server))) ; for tests + (inputs + `(("adms" ,adms) + ("coreutils" ,coreutils) + ("asco" ,asco) + ("freehdl" ,freehdl) + ("iverilog" ,iverilog) + ("libtool" ,libtool) + ("octave" ,octave) + ("qt4" ,qt-4) + ("sed" ,sed))) + (propagated-inputs + `(("gcc-toolchain" ,gcc-toolchain-5))) ; for freehdl + (home-page "http://qucs.sourceforge.net/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs is a circuit simulator with graphical user interface. + The software aims to support all kinds of circuit simulation types, +e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. + Pure digital simulations are also supported.") + (license license:gpl2+))) -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:16 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:16 +0000 Received: from localhost ([127.0.0.1]:57823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1I-0003PB-An for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:16 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:53743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1E-0003Nu-57 for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:14 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 9C71C47B5C; Sat, 9 Sep 2017 19:58:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id KfWQJx5J6GKd; Sat, 9 Sep 2017 19:58:05 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 6/8] gnu: Add freehdl. Date: Sat, 9 Sep 2017 20:57:50 +0300 Message-Id: <20170909175752.8566-6-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (freehdl): New variable. --- gnu/packages/engineering.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 32d087279..fa09c8823 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1404,3 +1404,62 @@ parallel computing platforms. It also supports serial execution.") `(("trilinos" ,trilinos-parallel-xyce) ,@((@ (srfi srfi-1) alist-delete) "trilinos" (package-inputs xyce-serial)))))) + +(define-public freehdl + (package + (name "freehdl") + (version "0.0.8") + (source (origin + (method url-fetch) + (uri (string-append "http://downloads.sourceforge.net/qucs/freehdl-" + version ".tar.gz")) + (sha256 + (base32 + "117dqs0d4pcgbzvr3jn5ppra7n7x2m6c161ywh6laa934pw7h2bz")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-pkg-config + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "freehdl/freehdl-config" + (("pkg-config") + (string-append (assoc-ref inputs "pkg-config") + "/bin/pkg-config")) + (("cat") + (string-append (assoc-ref inputs "coreutils") + "/bin/cat"))) + #t)) + (add-after 'configure 'patch-freehdl-pc + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "freehdl.pc" + (("=g\\+\\+") + (string-append "=" (assoc-ref inputs "gcc") + "/bin/g++")) + (("=libtool") + (string-append "=" (assoc-ref inputs "libtool") + "/bin/libtool"))) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/freehdl-config") + `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) + #t))))) + (inputs + `(("coreutils" ,coreutils) + ("gcc" ,gcc-5) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("libtool" ,libtool))) + (native-inputs + `(("pkg-config-native" ,pkg-config) + ("libtool-native" ,libtool))) + (home-page "http://www.freehdl.seul.org/") + (synopsis "VHDL simulator") + (description + "FreeHDL is a compiler/simulator suite for the hardware description language VHDL. + VHDL'93 as well as VHDL'87 standards are supported.") + (license (list license:gpl2+ + license:lgpl2.0+)))) ; freehdl's libraries + -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:17 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:17 +0000 Received: from localhost ([127.0.0.1]:57825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1I-0003PJ-Kb for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:16 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1F-0003Nx-QL for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:14 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 450D543545; Sat, 9 Sep 2017 19:58:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id xMZAfaxbEH_z; Sat, 9 Sep 2017 19:58:06 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 8/8] gnu: Add qucs-s. Date: Sat, 9 Sep 2017 20:57:52 +0300 Message-Id: <20170909175752.8566-8-theodoros@foradis.org> In-Reply-To: <20170909175752.8566-1-theodoros@foradis.org> References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs-s): New variable. --- gnu/packages/engineering.scm | 122 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index e46b1e0d9..25221369f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1556,3 +1556,125 @@ parallel computing platforms. It also supports serial execution.") e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. Pure digital simulations are also supported.") (license license:gpl2+))) + +(define-public qucs-s + (package + (name "qucs-s") + (version "0.0.19S") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ra3xdh/qucs/releases/download/" + version "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "1bhahvdqmayaw0306fxz1ghmjhd4fq05yk3rk7zi0z703w5imgjv")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-scripts + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("qucs/qucsdigi" + "qucs/qucsdigilib" + "qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref inputs "qucs") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("cp ") + (string-append (assoc-ref inputs "coreutils") "/bin/cp" " ")) + (("glibtool") + (string-append (assoc-ref inputs "libtool") "/bin/libtool")) + (("sed") + (string-append (assoc-ref inputs "sed") "/bin/sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-after 'patch-scripts 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/main.cpp" + (("QucsSettings\\.Qucsator = QucsSettings\\.BinDir + \\+ \"qucsator\" \\+ executableSuffix") + (string-append "}{ QucsSettings.Qucsator = \"" + (assoc-ref inputs "qucs") "/bin/qucsator\"")) + (("else QucsSettings\\.XyceExecutable = + \"/usr/local/Xyce-Release-6.2.0-OPENSOURCE/bin/runxyce") + (string-append "QucsSettings.XyceExecutable = \"" + (assoc-ref inputs "xyce-serial") "/bin/Xyce")) + (("else QucsSettings\\.XyceParExecutable = + \"/usr/local/Xyce-Release-6.2.0-OPENMPI-OPENSOURCE/bin/xmpirun") + (string-append "QucsSettings.XyceParExecutable = \"" + (assoc-ref inputs "mpi") "/bin/mpirun")) + (("%p") + (string-append "%p "(assoc-ref inputs "xyce-parallel") "/bin/Xyce")) + (("else QucsSettings\\.NgspiceExecutable = \"ngspice\"") + (string-append "QucsSettings.NgspiceExecutable = " "\"" + (assoc-ref inputs "ngspice") "/bin/ngspice\""))) + (substitute* "qucs/qucs_actions.cpp" + (("qucstrans") + (string-append (assoc-ref inputs "qucs") "/bin/qucstrans")) + (("qucsattenuator") + (string-append (assoc-ref inputs "qucs") "/bin/qucsattenuator")) + (("qucsrescodes") + (string-append (assoc-ref inputs "qucs") "/bin/qucsrescodes"))) + #t)) + (add-after 'install 'install-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (script) + (let ((file (string-append "../qucs-" ,version + "/qucs/" script)) + (out (assoc-ref outputs "out"))) + (install-file file (string-append out "/bin")) + (chmod (string-append out "/bin/" script) #o555))) + '("qucsdigi" "qucsdigilib" "qucsveri")) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (file (string-append out "/bin/qucs-s")) + (qucs (assoc-ref inputs "qucs")) + (qucsator (string-append qucs "/bin/qucsator"))) + (wrap-program file + `("QUCSATOR" ":" prefix (,qucsator)) + `("QUCSCONV" ":" prefix (,(string-append qucsator "/bin/qucsconv"))) + `("ADMSXMLBINDIR" ":" prefix (,(string-append (assoc-ref inputs "adms") + "/bin"))) + `("ASCOBINDIR" ":" prefix (,(string-append (assoc-ref inputs "asco") + "/bin"))) + `("QUCS_OCTAVE" ":" prefix (,(string-append (assoc-ref inputs "octave") + "/bin/octave")))) + (symlink qucsator (string-append out "/bin/qucsator")) + #t)))))) + (native-inputs + `(("libtool-native" ,libtool))) + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("coreutils" ,coreutils) + ("freehdl" ,freehdl) + ("iverilog" ,iverilog) + ("libtool" ,libtool) + ("mpi" ,openmpi) + ("ngspice" ,ngspice) + ("octave" ,octave) + ("qt4" ,qt-4) + ("qucs" ,qucs) + ("sed" ,sed) + ("xyce-serial" ,xyce-serial) + ("xyce-parallel" ,xyce-parallel))) + (propagated-inputs + `(("gcc-toolchain" ,gcc-toolchain-5))); for freehdl + (home-page "https://ra3xdh.github.io/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs-S is a spin-off of the Qucs cross-platform circuit simulator. + S letter indicates SPICE. The purpose of the Qucs-S subproject is to use +free SPICE circuit simulation kernels with the Qucs GUI. It provides the +simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.") + (license license:gpl2+))) -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 13:58:20 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 17:58:20 +0000 Received: from localhost ([127.0.0.1]:57828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1M-0003Pc-1n for submit@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:20 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqk1K-0003Ob-UV for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 13:58:19 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 67D4543546; Sat, 9 Sep 2017 19:58:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id lWW9FB14XlH4; Sat, 9 Sep 2017 19:58:01 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v3 1/8] gnu: Add asco. Date: Sat, 9 Sep 2017 20:57:45 +0300 Message-Id: <20170909175752.8566-1-theodoros@foradis.org> In-Reply-To: <87lglnery8.fsf@foradis.org> References: <87lglnery8.fsf@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (asco): New variable. --- gnu/packages/engineering.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 0955bb4ae..2bae7582f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -61,6 +61,7 @@ #:use-module (gnu packages m4) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) + #:use-module (gnu packages mpi) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -1128,3 +1129,49 @@ hexadecimal editor able to open disk files, but later support for analyzing binaries, disassembling code, debugging programs, attaching to remote gdb servers, ...") (license license:lgpl3))) + +(define-public asco + (package + (name "asco") + (version "0.4.10") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/asco/asco/" version "/ASCO-" + version ".tar.gz")) + (sha256 + (base32 + "119rbc2dc8xzwxvykgji0v0nrzvymjmlizr1bc2mihspj686kxsl")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags '("all" "asco-mpi") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("errfunc.c" "asco.c") + (("cp ") (string-append (assoc-ref inputs "coreutils") "/bin/cp ")) + (("nice") (string-append (assoc-ref inputs "coreutils") "/bin/nice"))) + (substitute* "Makefile" + (("/bin/mpicc") (which "mpicc"))) + #t)) + (replace 'install ; no install target + (lambda* (#:key outputs #:allow-other-keys) + (for-each (lambda (file) + (install-file file (string-append + (assoc-ref outputs "out") + "/bin"))) + '("asco" "asco-mpi" "asco-test" + "tools/alter/alter" "tools/log/log")) + #t))))) + (native-inputs + `(("mpi" ,openmpi))) + (inputs + `(("coreutils" ,coreutils-minimal))) + (home-page "http://asco.sourceforge.net/") + (synopsis "SPICE circuit optimizer") + (description + "ASCO brings circuit optimization capabilities to existing SPICE simulators using a +high-performance parallel differential evolution (DE) optimization algorithm.") + (license license:gpl2+))) -- 2.13.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 14:17:08 2017 Received: (at 27344) by debbugs.gnu.org; 9 Sep 2017 18:17:08 +0000 Received: from localhost ([127.0.0.1]:57856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqkJX-0003s2-Tq for submit@debbugs.gnu.org; Sat, 09 Sep 2017 14:17:08 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:53227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqkJW-0003rY-OC for 27344@debbugs.gnu.org; Sat, 09 Sep 2017 14:17:07 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 0CBD743469 for <27344@debbugs.gnu.org>; Sat, 9 Sep 2017 20:17:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id gL0mcxqLXJLa for <27344@debbugs.gnu.org>; Sat, 9 Sep 2017 20:16:54 +0200 (CEST) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [PATCH v3 1/8] gnu: Add asco. In-reply-to: <20170909175752.8566-1-theodoros@foradis.org> Date: Sat, 09 Sep 2017 21:16:52 +0300 Message-ID: <87k217enzf.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) One additional note for this package regarding mpi and cross-compiling. This is the relevant part of the Makefile (this package is not using autotools): CC_MPI = /bin/mpicc asco-mpi: $(CC_MPI) $(CFLAGS) -DASCO -DMPI ... I assumed openmpi should be a native input, because mpi-cc is used. If this is a mistake, and it won't work when cross-compiling, we can omit building asco-mpi altogether. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 08:29:27 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 12:29:27 +0000 Received: from localhost ([127.0.0.1]:36082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxXwV-00063C-2n for submit@debbugs.gnu.org; Thu, 28 Sep 2017 08:29:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxXwT-00062y-HR for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:29:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxXwI-0008Up-Si for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:29:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxXwI-0008Uj-P4; Thu, 28 Sep 2017 08:29:14 -0400 Received: from [193.50.110.164] (port=51636 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxXwI-0006tJ-9x; Thu, 28 Sep 2017 08:29:14 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 02/12] gnu: Add libctl. References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-2-theodoros.for@openmailbox.org> Date: Thu, 28 Sep 2017 14:29:12 +0200 In-Reply-To: <20170612165226.1268-2-theodoros.for@openmailbox.org> (Theodoros Foradis's message of "Mon, 12 Jun 2017 19:52:16 +0300") Message-ID: <87zi9fropz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I=E2=80=99m finally picking this up=E2=80=A6 Theodoros Foradis skribis: > * gnu/packages/engineering.scm (libctl): New variable. Applied (without the =E2=80=9Cguile-=E2=80=9D prefix because it also provid= es a C library.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 08:37:53 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 12:37:53 +0000 Received: from localhost ([127.0.0.1]:36087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxY4e-0006Gx-TD for submit@debbugs.gnu.org; Thu, 28 Sep 2017 08:37:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxY4d-0006Gk-Ar for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxY4U-0003iD-Vq for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:37:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxY4U-0003i5-Rx; Thu, 28 Sep 2017 08:37:42 -0400 Received: from [193.50.110.164] (port=51784 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxY4U-0001TF-DV; Thu, 28 Sep 2017 08:37:42 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 03/12] gnu: Add mpb. References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-3-theodoros.for@openmailbox.org> Date: Thu, 28 Sep 2017 14:37:40 +0200 In-Reply-To: <20170612165226.1268-3-theodoros.for@openmailbox.org> (Theodoros Foradis's message of "Mon, 12 Jun 2017 19:52:17 +0300") Message-ID: <87vak3robv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (mpb): New variable. Applied. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 08:42:27 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 12:42:27 +0000 Received: from localhost ([127.0.0.1]:36095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxY95-0006OP-Dn for submit@debbugs.gnu.org; Thu, 28 Sep 2017 08:42:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxY93-0006OB-Fz for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:42:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxY8v-0005fL-Ab for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:42:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxY8v-0005fH-71; Thu, 28 Sep 2017 08:42:17 -0400 Received: from [193.50.110.164] (port=52072 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxY8u-0001jD-PW; Thu, 28 Sep 2017 08:42:17 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 02/12] gnu: Add libctl. References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-2-theodoros.for@openmailbox.org> Date: Thu, 28 Sep 2017 14:42:15 +0200 In-Reply-To: <20170612165226.1268-2-theodoros.for@openmailbox.org> (Theodoros Foradis's message of "Mon, 12 Jun 2017 19:52:16 +0300") Message-ID: <87o9pvro48.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (libctl): New variable. Sorry, this was already applied. :-/ From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 08:53:05 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 12:53:05 +0000 Received: from localhost ([127.0.0.1]:36099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYJN-0006ey-D0 for submit@debbugs.gnu.org; Thu, 28 Sep 2017 08:53:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYJJ-0006eQ-EX for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:53:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxYJB-00019C-4D for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:52:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxYJB-000198-0m; Thu, 28 Sep 2017 08:52:53 -0400 Received: from [193.50.110.164] (port=52308 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxYJ9-0002Dh-RF; Thu, 28 Sep 2017 08:52:52 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v2 07/12] gnu: Add asco. References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-7-theodoros.for@openmailbox.org> Date: Thu, 28 Sep 2017 14:52:49 +0200 In-Reply-To: <20170622191005.25422-7-theodoros.for@openmailbox.org> (Theodoros Foradis's message of "Thu, 22 Jun 2017 22:10:00 +0300") Message-ID: <87h8vnrnmm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (asco): New variable. [...] > + (add-before 'build 'fix-paths > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* '("errfunc.c" "asco.c") > + (("cp ") (string-append (which "cp") " ")) > + (("nice") (string-append (assoc-ref inputs "coreutils") "= /bin/nice"))) > + (substitute* "Makefile" > + (("/bin/mpicc") (which "mpicc"))) > + #t)) > + (replace 'install ; no install target > + (lambda* (#:key outputs #:allow-other-keys) > + (for-each (lambda (file) > + (install-file file (string-append > + (assoc-ref outputs "out") > + "/bin"))) > + '("asco" "asco-mpi" "asco-test" > + "tools/alter/alter" "tools/log/log")) > + #t))))) > + (native-inputs > + `(("mpi" ,openmpi))) > + (inputs > + `(("coreutils" ,coreutils-minimal))) I changed the label to =E2=80=9Ccoreutils-minimal=E2=80=9D as otherwise we= =E2=80=99d be picking up the other coreutils. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 08:58:43 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 12:58:43 +0000 Received: from localhost ([127.0.0.1]:36113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYOo-0006oK-NN for submit@debbugs.gnu.org; Thu, 28 Sep 2017 08:58:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYOn-0006o7-2Y for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:58:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxYOe-0004Lt-P3 for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 08:58:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxYOe-0004Lp-Lp; Thu, 28 Sep 2017 08:58:32 -0400 Received: from [193.50.110.164] (port=52592 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxYOe-000557-9I; Thu, 28 Sep 2017 08:58:32 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators References: <8760g11j3e.fsf@openmailbox.org> <87zibzwjc2.fsf@gnu.org> <87d18kibus.fsf@openmailbox.org> Date: Thu, 28 Sep 2017 14:58:30 +0200 In-Reply-To: <87d18kibus.fsf@openmailbox.org> (Theodoros Foradis's message of "Fri, 28 Jul 2017 22:46:54 +0300") Message-ID: <87bmlvrnd5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, So I managed to push ASCO, but there=E2=80=99s still some left. Theodoros Foradis skribis: >> Danny, Theodoros: could we make sure the non-controversial parts of >> these series get committed? :-) > > I have made some additions to Danny's patch for libngspice and ngspice, > and it's ready for the updated patch set. > > Another issue appeared with xyce-serial and xyce-parallel, namely that > they don't build with lapack-3.7.1 which was recently updated. I got > them to build, adding a lapack-3.5.0 variant, and I have sent an email > upstream to confirm that version issue. OK. > There is an isssue with freehdl, qucs and qucs-s. That is, some packages > need to be present at build time both as native inputs, and inputs, so > that some references are substituted with the path to the target > architecture binaries. Any ideas on how could that be done? Can a > package be both a native and non-native input without issues? Yes, that=E2=80=99s the right way to do it. > I don't know how to test that, since the problem does not obviously > manifest itself without cross-compiling. Then again, don=E2=80=99t spend too much time on cross-compilation support, unless there=E2=80=99s evidence that the whole stack can actually be cross-compiled. Could we resume this? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 09:19:21 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 13:19:21 +0000 Received: from localhost ([127.0.0.1]:36125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYim-0007Mh-Oo for submit@debbugs.gnu.org; Thu, 28 Sep 2017 09:19:20 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:56561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYik-0007MS-Ab for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 09:19:18 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 147BB4BED8; Thu, 28 Sep 2017 15:19:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id OrbVN_Gk-arb; Thu, 28 Sep 2017 15:19:09 +0200 (CEST) References: <8760g11j3e.fsf@openmailbox.org> <87zibzwjc2.fsf@gnu.org> <87d18kibus.fsf@openmailbox.org> <87bmlvrnd5.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators In-reply-to: <87bmlvrnd5.fsf@gnu.org> Date: Thu, 28 Sep 2017 16:18:52 +0300 Message-ID: <87tvzngdvn.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello Ludovic, > So I managed to push ASCO, but there’s still some left. > > Could we resume this? Please take a look at the version 3 of the patch series that I sent this month. Pushing asco (from version 2) was ok, the changes you did was actually the same I did in the version 3 patch set, except that I didn't name the coreutils-minimal input as "coreutils-minimal". Thanks, -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 16:00:27 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 20:00:27 +0000 Received: from localhost ([127.0.0.1]:37149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxeyx-0004Cf-Bz for submit@debbugs.gnu.org; Thu, 28 Sep 2017 16:00:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxeyw-0004CT-FS for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 16:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxeyq-0004Hr-3x for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 16:00:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxeyq-0004Hf-0m; Thu, 28 Sep 2017 16:00:20 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=54782 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxeyp-0003MA-7t; Thu, 28 Sep 2017 16:00:19 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH 0/12] Add computational software and circuit simulators References: <8760g11j3e.fsf@openmailbox.org> <87zibzwjc2.fsf@gnu.org> <87d18kibus.fsf@openmailbox.org> <87bmlvrnd5.fsf@gnu.org> <87tvzngdvn.fsf@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 28 Sep 2017 22:00:17 +0200 In-Reply-To: <87tvzngdvn.fsf@foradis.org> (Theodoros Foradis's message of "Thu, 28 Sep 2017 16:18:52 +0300") Message-ID: <87a81elhke.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Theodoros Foradis skribis: > Hello Ludovic, > >> So I managed to push ASCO, but there=E2=80=99s still some left. >> >> Could we resume this? > > Please take a look at the version 3 of the patch series that I sent this > month. > > Pushing asco (from version 2) was ok, the changes you did was actually > the same I did in the version 3 patch set, except that I didn't name the > coreutils-minimal input as "coreutils-minimal". Oops, sorry, I don=E2=80=99t know how I managed to overlook v3! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 16:07:22 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 20:07:22 +0000 Received: from localhost ([127.0.0.1]:37163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxf5e-0004Mp-Av for submit@debbugs.gnu.org; Thu, 28 Sep 2017 16:07:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxf5c-0004Md-UF for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 16:07:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxf5X-000056-7C for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 16:07:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxf5X-00004z-3q; Thu, 28 Sep 2017 16:07:15 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=55182 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxf5W-0005K0-Mm; Thu, 28 Sep 2017 16:07:15 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 2/8] gnu: Add libngspice and ngspice. References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-2-theodoros@foradis.org> Date: Thu, 28 Sep 2017 22:07:12 +0200 In-Reply-To: <20170909175752.8566-2-theodoros@foradis.org> (Theodoros Foradis's message of "Sat, 9 Sep 2017 20:57:46 +0300") Message-ID: <871smqlh8v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (libngspice): New variable. > * gnu/packages/engineering.scm (ngspice): New variable. I=E2=80=99m sorry for asking this late in the game, but I didn=E2=80=99t fi= nd the answer in previous discussions: why two packages? It seems to me that a =E2=80=9Clib=E2=80=9D output would achieve the same, no? (It=E2=80=99s best to leave a comment in such a situation.) If you tell me I=E2=80=99m wrong, that=E2=80=99s OK, I=E2=80=99ll apply it = right away! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 17:24:39 2017 Received: (at 27344) by debbugs.gnu.org; 28 Sep 2017 21:24:39 +0000 Received: from localhost ([127.0.0.1]:37218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxgIQ-0001Xr-Qe for submit@debbugs.gnu.org; Thu, 28 Sep 2017 17:24:38 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:57339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxgIP-0001Xe-JB for 27344@debbugs.gnu.org; Thu, 28 Sep 2017 17:24:38 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 2160646942; Thu, 28 Sep 2017 23:24:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id AMoLhCOF9c0w; Thu, 28 Sep 2017 23:24:29 +0200 (CEST) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-2-theodoros@foradis.org> <871smqlh8v.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27344] [PATCH v3 2/8] gnu: Add libngspice and ngspice. In-reply-to: <871smqlh8v.fsf@gnu.org> Date: Fri, 29 Sep 2017 00:24:13 +0300 Message-ID: <87shf6h5z6.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Courtès writes: > Theodoros Foradis skribis: > >> * gnu/packages/engineering.scm (libngspice): New variable. >> * gnu/packages/engineering.scm (ngspice): New variable. > > I’m sorry for asking this late in the game, but I didn’t find the > answer in previous discussions: why two packages? It seems to me that a > “lib” output would achieve the same, no? > > (It’s best to leave a comment in such a situation.) > > If you tell me I’m wrong, that’s OK, I’ll apply it right away! The way this package's build system is set up, you cannot build both the libraries and executables in the same run. That is, you need to run ./configure (with the library-specific flag), make, then ./configure and make again, to build everything. This is why I split the package in two. Initially (in v1 and v2 patch series), I had libngspice be a non-public package, and ngspice was copying the library to its normal output. After Danny's additions, different phases were added to both packages, and unneeded files are deleted from their outputs. So, both were made public, with only the minimal files needed for each functionality. Would it be preferable to have libngspice as a non-public package again, and have ngspice copy it to a "lib" output? I'm not sure what the "guix" way of handling this is. WDYT? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 30 18:30:39 2017 Received: (at 27344) by debbugs.gnu.org; 30 Sep 2017 22:30:39 +0000 Received: from localhost ([127.0.0.1]:41577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyQHP-0004Ql-Hw for submit@debbugs.gnu.org; Sat, 30 Sep 2017 18:30:39 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:34626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyQHN-0004QP-8r for 27344@debbugs.gnu.org; Sat, 30 Sep 2017 18:30:37 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 203254C488 for <27344@debbugs.gnu.org>; Sun, 1 Oct 2017 00:30:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id s8g8EbYXDewH for <27344@debbugs.gnu.org>; Sun, 1 Oct 2017 00:30:29 +0200 (CEST) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-8-theodoros@foradis.org> From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: Re: [PATCH v3 8/8] gnu: Add qucs-s. In-reply-to: <20170909175752.8566-8-theodoros@foradis.org> Date: Sun, 01 Oct 2017 01:30:10 +0300 Message-ID: <87o9prhlal.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Having run "guix lint" before formatting the patches, I split some lines in two, and that caused some text substitutions to fail in qucs-s package, which I did not catch in time. This patch (applied on top of [PATCH v3 8/8] gnu: Add qucs-s.) resolves the issue. If it is preferred that I send the whole patch again, please ask. diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 25221369f..74000e948 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1598,16 +1598,16 @@ e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. (add-after 'patch-scripts 'patch-paths (lambda* (#:key inputs #:allow-other-keys) (substitute* "qucs/main.cpp" - (("QucsSettings\\.Qucsator = QucsSettings\\.BinDir - \\+ \"qucsator\" \\+ executableSuffix") + (((string-append "QucsSettings\\.Qucsator = QucsSettings\\.BinDir " + "\\+ \"qucsator\" \\+ executableSuffix")) (string-append "}{ QucsSettings.Qucsator = \"" (assoc-ref inputs "qucs") "/bin/qucsator\"")) - (("else QucsSettings\\.XyceExecutable = - \"/usr/local/Xyce-Release-6.2.0-OPENSOURCE/bin/runxyce") + (((string-append "else QucsSettings\\.XyceExecutable = " + "\"/usr/local/Xyce-Release-6.2.0-OPENSOURCE/bin/runxyce")) (string-append "QucsSettings.XyceExecutable = \"" (assoc-ref inputs "xyce-serial") "/bin/Xyce")) - (("else QucsSettings\\.XyceParExecutable = - \"/usr/local/Xyce-Release-6.2.0-OPENMPI-OPENSOURCE/bin/xmpirun") + (((string-append "else QucsSettings\\.XyceParExecutable = \"/usr/local" + "/Xyce-Release-6.2.0-OPENMPI-OPENSOURCE/bin/xmpirun")) (string-append "QucsSettings.XyceParExecutable = \"" (assoc-ref inputs "mpi") "/bin/mpirun")) (("%p") -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 01 09:04:49 2017 Received: (at 27344) by debbugs.gnu.org; 1 Oct 2017 13:04:49 +0000 Received: from localhost ([127.0.0.1]:41823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dydvN-0007DR-ED for submit@debbugs.gnu.org; Sun, 01 Oct 2017 09:04:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dydvM-0007DG-NZ for 27344@debbugs.gnu.org; Sun, 01 Oct 2017 09:04:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dydvG-0008Nf-DQ for 27344@debbugs.gnu.org; Sun, 01 Oct 2017 09:04:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dydvG-0008NH-A0; Sun, 01 Oct 2017 09:04:42 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=53640 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dydvD-0008V3-FR; Sun, 01 Oct 2017 09:04:40 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 2/8] gnu: Add libngspice and ngspice. References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-2-theodoros@foradis.org> <871smqlh8v.fsf@gnu.org> <87shf6h5z6.fsf@foradis.org> Date: Sun, 01 Oct 2017 15:04:36 +0200 In-Reply-To: <87shf6h5z6.fsf@foradis.org> (Theodoros Foradis's message of "Fri, 29 Sep 2017 00:24:13 +0300") Message-ID: <8760bzqasb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> Theodoros Foradis skribis: >> >>> * gnu/packages/engineering.scm (libngspice): New variable. >>> * gnu/packages/engineering.scm (ngspice): New variable. >> >> I=E2=80=99m sorry for asking this late in the game, but I didn=E2=80=99t= find the >> answer in previous discussions: why two packages? It seems to me that a >> =E2=80=9Clib=E2=80=9D output would achieve the same, no? >> >> (It=E2=80=99s best to leave a comment in such a situation.) >> >> If you tell me I=E2=80=99m wrong, that=E2=80=99s OK, I=E2=80=99ll apply = it right away! > > The way this package's build system is set up, you cannot build both the > libraries and executables in the same run. That is, you need to run > ./configure (with the library-specific flag), make, then ./configure and > make again, to build everything. OK, that makes a lot of sense. > This is why I split the package in two. Initially (in v1 and v2 patch > series), I had libngspice be a non-public package, and ngspice was > copying the library to its normal output. > > After Danny's additions, different phases were added to both > packages, and unneeded files are deleted from their outputs. So, both > were made public, with only the minimal files needed for each > functionality. > > Would it be preferable to have libngspice as a non-public package again, > and have ngspice copy it to a "lib" output? Given that we=E2=80=99re dealing with a limitation of upstream=E2=80=99s bu= ild system, I think it=E2=80=99s OK to do it the way you did. I=E2=80=99ve committed the patch with the cosmetic changes below. Thanks, and sorry again for the delay! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 52a925225..0356fbfe9 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1180,6 +1180,9 @@ high-performance parallel differential evolution (DE) optimization algorithm.") (license license:gpl2+))) (define-public libngspice + ;; Note: The ngspice's build system does not allow us to build both the + ;; library and the executables in one go. Thus, we have two packages. + ;; See . (package (name "libngspice") (version "26") @@ -1249,6 +1252,7 @@ an embedded event driven algorithm.") license:public-domain)))) ; xspice (define-public ngspice + ;; The ngspice executables (see libngpsice above.) (package (inherit libngspice) (name "ngspice") (arguments @@ -1265,12 +1269,12 @@ an embedded event driven algorithm.") #t)) (add-after 'install 'delete-cmpp-dlmain (lambda* (#:key outputs #:allow-other-keys) - (for-each - (lambda (file) + (for-each (lambda (file) (delete-file (string-append (assoc-ref outputs "out") file))) - '("/bin/cmpp" "/share/ngspice/dlmain.c")))) + '("/bin/cmpp" "/share/ngspice/dlmain.c")) + #t)) (delete 'delete-program-manuals) (delete 'delete-script-files))))) (inputs --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 05 06:09:09 2017 Received: (at 27344) by debbugs.gnu.org; 5 Oct 2017 10:09:09 +0000 Received: from localhost ([127.0.0.1]:49758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e035Z-0000rC-LZ for submit@debbugs.gnu.org; Thu, 05 Oct 2017 06:09:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e035W-0000qk-PA for 27344@debbugs.gnu.org; Thu, 05 Oct 2017 06:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e035L-0005Dx-QH for 27344@debbugs.gnu.org; Thu, 05 Oct 2017 06:09:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e035L-0005Dt-N0; Thu, 05 Oct 2017 06:08:55 -0400 Received: from [193.50.110.164] (port=46936 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e035G-0007Db-Bg; Thu, 05 Oct 2017 06:08:54 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Trilinos (was: Re: [bug#27344] [PATCH v3 4/8] gnu: Add xyce-serial.) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-4-theodoros@foradis.org> Date: Thu, 05 Oct 2017 12:08:47 +0200 In-Reply-To: <20170909175752.8566-4-theodoros@foradis.org> (Theodoros Foradis's message of "Sat, 9 Sep 2017 20:57:48 +0300") Message-ID: <87fuax9aa8.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Theodoros, Theodoros Foradis skribis: > * gnu/packages/engineering.scm (xyce-serial): New variable. [...] > +(define trilinos-serial-xyce > + (package > + (name "trilinos-serial-xyce") [...] > +(define trilinos-parallel-xyce > + (package (inherit trilinos-serial-xyce) > + (name "trilinos-parallel-xyce") What about adding Trilinos as a first-class package, independently of Xyce? The package names could be =E2=80=9Ctrilinos=E2=80=9D and =E2=80=9Ct= rilinos-parallel=E2=80=9D. However, Trilinos raises its own set of issues: it=E2=80=99s actually a set= of 50 packages, which we=E2=80=99d rather provide as separate packages: https://trilinos.org/packages/ Do you know which ones are useful to Xyce? Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:12:11 2017 Received: (at 27344) by debbugs.gnu.org; 6 Oct 2017 20:12:11 +0000 Received: from localhost ([127.0.0.1]:53594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Yyg-0004yh-S5 for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:12:11 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:45097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Yyf-0004yP-3T for 27344@debbugs.gnu.org; Fri, 06 Oct 2017 16:12:09 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id D1F8646E1E; Fri, 6 Oct 2017 22:12:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id NBvSgGOt1vUg; Fri, 6 Oct 2017 22:12:01 +0200 (CEST) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-4-theodoros@foradis.org> <87fuax9aa8.fsf_-_@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Trilinos (was: Re: [bug#27344] [PATCH v3 4/8] gnu: Add xyce-serial.) In-reply-to: <87fuax9aa8.fsf_-_@gnu.org> Date: Fri, 06 Oct 2017 23:11:44 +0300 Message-ID: <87mv54ghof.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello Ludovic, Ludovic Courtès writes: > What about adding Trilinos as a first-class package, independently of > Xyce? The package names could be “trilinos” and “trilinos-parallel”. > > However, Trilinos raises its own set of issues: it’s actually a set of > 50 packages, which we’d rather provide as separate packages: > > https://trilinos.org/packages/ > > Do you know which ones are useful to Xyce? The trilinos-serial-xyce and trilinos-parallel-xyce non-public packages I submitted *should* (according to Xyce's build instructions) include only the packages useful to Xyce. Also, they are the latest version that is compatible with Xyce (12.6.3), 12.12.1 being the latest release. Eric Bavier, had linked me with his WIP trilinos package (http://paste.lisp.org/display/330792) in IRC about a year ago. I figured out that since the trilinos version used with Xyce, will always be older than the current one, and some of the packages/configure flags of a general trilinos package won't be compatible with it, if it inherits a general trilinos package, it should be modified in respect to it every time there is a trilinos update. This is why I decided to submit two non-public trilinos xyce-specific packages, irrespective of the trilinos package we would like to include. WDYT? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 03:57:36 2017 Received: (at 27344) by debbugs.gnu.org; 11 Oct 2017 07:57:36 +0000 Received: from localhost ([127.0.0.1]:32974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2BtY-0001TV-8O for submit@debbugs.gnu.org; Wed, 11 Oct 2017 03:57:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2BtW-0001TH-4S for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 03:57:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2BtP-0003Ez-I9 for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 03:57:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2BtP-0003Ev-DL; Wed, 11 Oct 2017 03:57:27 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=33066 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2BtL-0000kl-2N; Wed, 11 Oct 2017 03:57:23 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] Trilinos References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-4-theodoros@foradis.org> <87fuax9aa8.fsf_-_@gnu.org> <87mv54ghof.fsf@foradis.org> Date: Wed, 11 Oct 2017 09:57:21 +0200 In-Reply-To: <87mv54ghof.fsf@foradis.org> (Theodoros Foradis's message of "Fri, 06 Oct 2017 23:11:44 +0300") Message-ID: <874lr6dsm6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Theodoros, Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> What about adding Trilinos as a first-class package, independently of >> Xyce? The package names could be =E2=80=9Ctrilinos=E2=80=9D and =E2=80= =9Ctrilinos-parallel=E2=80=9D. >> >> However, Trilinos raises its own set of issues: it=E2=80=99s actually a = set of >> 50 packages, which we=E2=80=99d rather provide as separate packages: >> >> https://trilinos.org/packages/ >> >> Do you know which ones are useful to Xyce? > > The trilinos-serial-xyce and trilinos-parallel-xyce non-public packages > I submitted *should* (according to Xyce's build instructions) include > only the packages useful to Xyce. Also, they are the latest version that > is compatible with Xyce (12.6.3), 12.12.1 being the latest release. > > Eric Bavier, had linked me with his WIP trilinos package > (http://paste.lisp.org/display/330792) in IRC about a year ago. > > I figured out that since the trilinos version used with Xyce, will > always be older than the current one, and some of the packages/configure > flags of a general trilinos package won't be compatible with it, if it > inherits a general trilinos package, it should be modified in respect to > it every time there is a trilinos update. > > This is why I decided to submit two non-public trilinos xyce-specific > packages, irrespective of the trilinos package we would like to include. OK, that makes a lot of sense, thanks for explaining. I think that if/when we have modular Trilinos packages (where each Trilinos package maps to one Guix package), we can revisit this and have Xyce depend on those. I added a comment and committed, thank you for your patience! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 04:19:37 2017 Received: (at 27344) by debbugs.gnu.org; 11 Oct 2017 08:19:37 +0000 Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2CEr-00020b-58 for submit@debbugs.gnu.org; Wed, 11 Oct 2017 04:19:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2CEp-00020O-9s for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 04:19:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2CEj-0007KR-DR for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 04:19:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2CEj-0007KM-9g; Wed, 11 Oct 2017 04:19:29 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=34920 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2CEi-0007xd-SI; Wed, 11 Oct 2017 04:19:29 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 6/8] gnu: Add freehdl. References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-6-theodoros@foradis.org> Date: Wed, 11 Oct 2017 10:19:27 +0200 In-Reply-To: <20170909175752.8566-6-theodoros@foradis.org> (Theodoros Foradis's message of "Sat, 9 Sep 2017 20:57:50 +0300") Message-ID: <87sheqcd0w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (freehdl): New variable. I=E2=80=99ve applied the patch. \o/ I have one question for which I couldn=E2=80=99t find an answer in the prev= ious discussions: > + (add-after 'configure 'patch-freehdl-pc > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "freehdl.pc" > + (("=3Dg\\+\\+") > + (string-append "=3D" (assoc-ref inputs "gcc") > + "/bin/g++")) > + (("=3Dlibtool") > + (string-append "=3D" (assoc-ref inputs "libtool") > + "/bin/libtool"))) > + #t)) The effect of this is to retain a reference to GCC, Libtool, and all their dependencies, which makes the closure of FreeHDL much bigger. We could avoid it by just putting this in =E2=80=98freehdl.pc=E2=80=99: cxx=3Dg++ libtool=3Dlibtool Now, whether this will work depends on whether/how users of =E2=80=98freehd= l.pc=E2=80=99 use these variables. Could you check whether that would work? TIA! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 04:20:16 2017 Received: (at 27344) by debbugs.gnu.org; 11 Oct 2017 08:20:16 +0000 Received: from localhost ([127.0.0.1]:32986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2CFU-000221-Dr for submit@debbugs.gnu.org; Wed, 11 Oct 2017 04:20:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2CFS-00021j-BN for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 04:20:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2CFM-0007q9-Fp for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 04:20:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2CFM-0007pj-By; Wed, 11 Oct 2017 04:20:08 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=34956 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2CFL-00080e-NU; Wed, 11 Oct 2017 04:20:07 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 5/8] gnu: Add xyce-parallel. References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-5-theodoros@foradis.org> Date: Wed, 11 Oct 2017 10:20:06 +0200 In-Reply-To: <20170909175752.8566-5-theodoros@foradis.org> (Theodoros Foradis's message of "Sat, 9 Sep 2017 20:57:49 +0300") Message-ID: <87o9pecczt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Theodoros Foradis skribis: > * gnu/packages/engineering.scm (xyce-parallel): New variable. Applied with the change below. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 89cf6633b..9f9949ef8 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -30,6 +30,7 @@ #:use-module (guix monads) #:use-module (guix store) #:use-module (guix utils) + #:use-module ((srfi srfi-1) #:hide (zip)) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -1412,7 +1413,7 @@ parallel computing platforms. It also supports serial execution.") `(("mpi" ,openmpi))) (inputs `(("trilinos" ,trilinos-parallel-xyce) - ,@((@ (srfi srfi-1) alist-delete) "trilinos" + ,@(alist-delete "trilinos" (package-inputs xyce-serial)))))) (define-public freehdl --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 04:27:25 2017 Received: (at 27344) by debbugs.gnu.org; 11 Oct 2017 08:27:25 +0000 Received: from localhost ([127.0.0.1]:32990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2CMP-0002Cu-6O for submit@debbugs.gnu.org; Wed, 11 Oct 2017 04:27:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2CMN-0002Ch-NI for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 04:27:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2CMH-000561-LP for 27344@debbugs.gnu.org; Wed, 11 Oct 2017 04:27:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2CMH-00055t-Hx; Wed, 11 Oct 2017 04:27:17 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=35364 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2CMG-0000Mz-QL; Wed, 11 Oct 2017 04:27:17 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 7/8] gnu: Add qucs. References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-7-theodoros@foradis.org> Date: Wed, 11 Oct 2017 10:27:15 +0200 In-Reply-To: <20170909175752.8566-7-theodoros@foradis.org> (Theodoros Foradis's message of "Sat, 9 Sep 2017 20:57:51 +0300") Message-ID: <87infmccnw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, Theodoros Foradis skribis: > * gnu/packages/engineering.scm (qucs): New variable. [...] > + (propagated-inputs > + `(("gcc-toolchain" ,gcc-toolchain-5))) ; for freehdl What=E2=80=99s the reason for this? Propagated inputs should be used sparsely because they =E2=80=9Cpollute=E2= =80=9D user profiles. Here we=E2=80=99d be forcing a big package, and a specific versi= on of that, in user profiles, which is not OK. Apart from that the patch LGTM though, so if we can remove these two lines, we can commit. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 13:01:30 2017 Received: (at 27344) by debbugs.gnu.org; 12 Oct 2017 17:01:30 +0000 Received: from localhost ([127.0.0.1]:36291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2grS-0004mi-2A for submit@debbugs.gnu.org; Thu, 12 Oct 2017 13:01:30 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:47351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2grQ-0004mW-5L for 27344@debbugs.gnu.org; Thu, 12 Oct 2017 13:01:28 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id D95CF46B23; Thu, 12 Oct 2017 19:01:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id zpx52Kczd1xI; Thu, 12 Oct 2017 19:01:15 +0200 (CEST) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-6-theodoros@foradis.org> <87sheqcd0w.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27344] [PATCH v3 6/8] gnu: Add freehdl. Message-ID: <87lgkggv59.fsf@openmailbox.org> In-reply-to: <87sheqcd0w.fsf@gnu.org> Date: Thu, 12 Oct 2017 20:00:57 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Courtès writes: > Theodoros Foradis skribis: > >> * gnu/packages/engineering.scm (freehdl): New variable. > > I’ve applied the patch. \o/ > > I have one question for which I couldn’t find an answer in the previous > discussions: > >> + (add-after 'configure 'patch-freehdl-pc >> + (lambda* (#:key inputs #:allow-other-keys) >> + (substitute* "freehdl.pc" >> + (("=g\\+\\+") >> + (string-append "=" (assoc-ref inputs "gcc") >> + "/bin/g++")) >> + (("=libtool") >> + (string-append "=" (assoc-ref inputs "libtool") >> + "/bin/libtool"))) >> + #t)) > > The effect of this is to retain a reference to GCC, Libtool, and all > their dependencies, which makes the closure of FreeHDL much bigger. > > We could avoid it by just putting this in ‘freehdl.pc’: > > cxx=g++ > libtool=libtool > > Now, whether this will work depends on whether/how users of ‘freehdl.pc’ > use these variables. > > Could you check whether that would work? Yes, I have tested this and it should work. Freehdl is a VHDL to C compiler, so the user should be responsible for having a gcc toolchain in his environment to run the simulations. Now, in regard to the qucs and qucs-s packages, for the VHDL simulation to work, libtool should be propagated (?) as well, but I'll reply to that patch separately. We can remove this phase (patch-freehdl-pc) altogether. Shall I submit this patch? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 13:07:39 2017 Received: (at 27344) by debbugs.gnu.org; 12 Oct 2017 17:07:39 +0000 Received: from localhost ([127.0.0.1]:36296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2gxO-0004w2-Oz for submit@debbugs.gnu.org; Thu, 12 Oct 2017 13:07:38 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:51080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2gxN-0004vl-TN for 27344@debbugs.gnu.org; Thu, 12 Oct 2017 13:07:38 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 4025C46DDB; Thu, 12 Oct 2017 19:07:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id GtGKYeGB_UA9; Thu, 12 Oct 2017 19:07:28 +0200 (CEST) From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27344] [PATCH v3 7/8] gnu: Add qucs. In-reply-to: <87infmccnw.fsf@gnu.org> Date: Thu, 12 Oct 2017 20:07:26 +0300 Message-ID: <87h8v4gur5.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Ludovic Courtès writes: > Hi, > > Theodoros Foradis skribis: > >> * gnu/packages/engineering.scm (qucs): New variable. > > [...] > >> + (propagated-inputs >> + `(("gcc-toolchain" ,gcc-toolchain-5))) ; for freehdl > > What’s the reason for this? > > Propagated inputs should be used sparsely because they “pollute” user > profiles. Here we’d be forcing a big package, and a specific version of > that, in user profiles, which is not OK. > > Apart from that the patch LGTM though, so if we can remove these two > lines, we can commit. Freehdl is a VHDL to C compiler, so for qucs and qucs-s to be able to do VHDL simulations, there should be a gcc toolchain and libtool in the user environment (libtool should be propagated as well, after the phase removal from the freehdl package). I think it *should* be OK to remove gcc-toolchain from the propagated-inputs, if we provide the user with some kind of message, that they should add a gcc-toolchain and libtool in their environment if they want to do VHDL simulations. Maybe it should be preferable to add a message along those lines in the package descriptions of those 2 packages (qucs and qucs-s)? WDYT? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 13 04:21:52 2017 Received: (at 27344) by debbugs.gnu.org; 13 Oct 2017 08:21:52 +0000 Received: from localhost ([127.0.0.1]:36801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vE8-0006Fb-3J for submit@debbugs.gnu.org; Fri, 13 Oct 2017 04:21:52 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:52481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vE6-0006FR-3h for 27344@debbugs.gnu.org; Fri, 13 Oct 2017 04:21:51 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BB691A379; Fri, 13 Oct 2017 10:21:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CFgdGBT-KmVi; Fri, 13 Oct 2017 10:21:49 +0200 (CEST) Received: from ribbon (unknown [193.50.110.214]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EF47F707E; Fri, 13 Oct 2017 10:21:48 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 6/8] gnu: Add freehdl. References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-6-theodoros@foradis.org> <87sheqcd0w.fsf@gnu.org> <87lgkggv59.fsf@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 13 Oct 2017 10:21:47 +0200 In-Reply-To: <87lgkggv59.fsf@openmailbox.org> (Theodoros Foradis's message of "Thu, 12 Oct 2017 20:00:57 +0300") Message-ID: <878tgfsbj8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> Theodoros Foradis skribis: >> >>> * gnu/packages/engineering.scm (freehdl): New variable. >> >> I=E2=80=99ve applied the patch. \o/ >> >> I have one question for which I couldn=E2=80=99t find an answer in the p= revious >> discussions: >> >>> + (add-after 'configure 'patch-freehdl-pc >>> + (lambda* (#:key inputs #:allow-other-keys) >>> + (substitute* "freehdl.pc" >>> + (("=3Dg\\+\\+") >>> + (string-append "=3D" (assoc-ref inputs "gcc") >>> + "/bin/g++")) >>> + (("=3Dlibtool") >>> + (string-append "=3D" (assoc-ref inputs "libtool") >>> + "/bin/libtool"))) >>> + #t)) >> >> The effect of this is to retain a reference to GCC, Libtool, and all >> their dependencies, which makes the closure of FreeHDL much bigger. >> >> We could avoid it by just putting this in =E2=80=98freehdl.pc=E2=80=99: >> >> cxx=3Dg++ >> libtool=3Dlibtool >> >> Now, whether this will work depends on whether/how users of =E2=80=98fre= ehdl.pc=E2=80=99 >> use these variables. >> >> Could you check whether that would work? > > Yes, I have tested this and it should work. Freehdl is a VHDL to C > compiler, so the user should be responsible for having a gcc toolchain > in his environment to run the simulations. Just to be clear: does FreeHDL invoke the C compiler by itself, or is it up to the user to compile the C code produced by FreeHDL? In the former case, FreeHDL should definitely keep a reference to the C compiler; otherwise it wouldn=E2=80=99t work out-of-the-box. In the latter case, it doesn=E2=80=99t have to keep a reference to the C compiler. > We can remove this phase (patch-freehdl-pc) altogether. Shall I submit > this patch? I can do it on your behalf if you confirm that it=E2=80=99s FreeHDL does not invoke the C compiler directly. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 13 04:25:04 2017 Received: (at 27344) by debbugs.gnu.org; 13 Oct 2017 08:25:04 +0000 Received: from localhost ([127.0.0.1]:36810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vHD-0006Lp-QD for submit@debbugs.gnu.org; Fri, 13 Oct 2017 04:25:04 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:52487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vHC-0006Li-EO for 27344@debbugs.gnu.org; Fri, 13 Oct 2017 04:25:02 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 05A4AD765; Fri, 13 Oct 2017 10:25:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sNH_TlDFh0WN; Fri, 13 Oct 2017 10:25:02 +0200 (CEST) Received: from ribbon (unknown [193.50.110.214]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 32A06A39B; Fri, 13 Oct 2017 10:25:02 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v3 7/8] gnu: Add qucs. References: <87h8v4gur5.fsf@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 13 Oct 2017 10:25:00 +0200 In-Reply-To: <87h8v4gur5.fsf@foradis.org> (Theodoros Foradis's message of "Thu, 12 Oct 2017 20:07:26 +0300") Message-ID: <871sm7sbdv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> Hi, >> >> Theodoros Foradis skribis: >> >>> * gnu/packages/engineering.scm (qucs): New variable. >> >> [...] >> >>> + (propagated-inputs >>> + `(("gcc-toolchain" ,gcc-toolchain-5))) ; for freehdl >> >> What=E2=80=99s the reason for this? >> >> Propagated inputs should be used sparsely because they =E2=80=9Cpollute= =E2=80=9D user >> profiles. Here we=E2=80=99d be forcing a big package, and a specific ve= rsion of >> that, in user profiles, which is not OK. >> >> Apart from that the patch LGTM though, so if we can remove these two >> lines, we can commit. > > Freehdl is a VHDL to C compiler, so for qucs and qucs-s to be able to do > VHDL simulations, there should be a gcc toolchain and libtool in the > user environment (libtool should be propagated as well, after the phase > removal from the freehdl package). So does qucs invoke the C compiler? Or is it FreeHDL? Or the user? That one that invokes the C compiler should have its fine name hard-coded. Well, except if it=E2=80=99s the user. ;-) Hard-coding is preferable over propagation, to avoid =E2=80=9Cpolluting=E2= =80=9D user profiles. > I think it *should* be OK to remove gcc-toolchain from the > propagated-inputs, if we provide the user with some kind of message, > that they should add a gcc-toolchain and libtool in their environment if > they want to do VHDL simulations. > > Maybe it should be preferable to add a message along those lines in the > package descriptions of those 2 packages (qucs and qucs-s)? I think we shouldn=E2=80=99t abuse descriptions to give instructions. It s= hould Just Work, as much as possible. (Though I reckon that in some cases it would be nice to associate an message with packages that would be displayed upon installation.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 10:08:33 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 14:08:33 +0000 Received: from localhost ([127.0.0.1]:37458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85JJ-0001tM-Go for submit@debbugs.gnu.org; Fri, 27 Oct 2017 10:08:33 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:43062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85JF-0001su-N4 for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 10:08:30 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id C32074C34D; Fri, 27 Oct 2017 16:08:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id 8pWPJZM9Icth; Fri, 27 Oct 2017 16:08:13 +0200 (CEST) References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-6-theodoros@foradis.org> <87sheqcd0w.fsf@gnu.org> <87lgkggv59.fsf@openmailbox.org> <878tgfsbj8.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27344] [PATCH v3 6/8] gnu: Add freehdl. In-reply-to: <878tgfsbj8.fsf@gnu.org> Date: Fri, 27 Oct 2017 17:07:54 +0300 Message-ID: <87tvyksmyt.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello Ludovic, Ludovic Courtès writes: > Just to be clear: does FreeHDL invoke the C compiler by itself, or is it > up to the user to compile the C code produced by FreeHDL? > > In the former case, FreeHDL should definitely keep a reference to the C > compiler; otherwise it wouldn’t work out-of-the-box. In the latter > case, it doesn’t have to keep a reference to the C compiler. As I told you in IRC, I thought that this was the case, because freehdl-v2cc, compiles to C. It turns out that there is a script (gvhdl), that invokes the C compiler on the output files, so I have created a patch to wrap with the correct environment variables, and also fix some issues on an extra script (freehdl-gennodes) that is written in guile. I reply with that patch, and also updated patches for qucs and qucs-s, so that we do not propagate gcc-toolchain. Thanks for your patience, -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 10:18:48 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 14:18:48 +0000 Received: from localhost ([127.0.0.1]:37475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85TD-00029d-VV for submit@debbugs.gnu.org; Fri, 27 Oct 2017 10:18:48 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:47786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85TC-00029P-Rx for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 10:18:47 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 240B74C6CD; Fri, 27 Oct 2017 16:18:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id 5-SBn21m1vgx; Fri, 27 Oct 2017 16:18:39 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v4 1/3] gnu: freehdl: Fix gvhdl and freehdl-gennodes scripts. Date: Fri, 27 Oct 2017 17:18:17 +0300 Message-Id: <20171027141819.21006-1-theodoros@foradis.org> In-Reply-To: <87tvyksmyt.fsf@foradis.org> References: <87tvyksmyt.fsf@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: ludo@gnu.org, Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (freehdl): [arguments] : Add patch-gvhdl and patch-freehdl-gennodes phases. Wrap-program "/bin/gvhdl" in make-wrapper phase. [inputs]: Add guile-2.2. --- gnu/packages/engineering.scm | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 9f9949ef8..3ce6879d6 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -42,6 +42,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages commencement) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages flex) @@ -1441,25 +1442,59 @@ parallel computing platforms. It also supports serial execution.") (string-append (assoc-ref inputs "coreutils") "/bin/cat"))) #t)) + (add-after 'patch-pkg-config 'setenv + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CXX" (string-append (assoc-ref inputs "gcc") + "/bin/g++")) + (setenv "SYSTEM_LIBTOOL" (string-append (assoc-ref inputs "libtool") + "/bin/libtool")) + #t)) + (add-after 'setenv 'patch-gvhdl + (lambda _ + (substitute* "v2cc/gvhdl.in" + (("--mode=link") "--mode=link --tag=CXX") + (("-lm") "-lm FREEHDL/lib/freehdl/libieee.la")) + #t)) + (add-after 'patch-gvhdl 'patch-freehdl-gennodes + (lambda _ + (substitute* "freehdl/freehdl-gennodes.in" + (("guile") (which "guile")) + (("\\(debug") ";(debug") + (("\\(@ ") "(apply-emit") + (("\\(@@ ") "(apply-mini-format")) + #t)) (add-after 'configure 'patch-freehdl-pc (lambda* (#:key inputs #:allow-other-keys) (substitute* "freehdl.pc" (("=g\\+\\+") - (string-append "=" (assoc-ref inputs "gcc") + (string-append "=" (assoc-ref inputs "gcc-toolchain") "/bin/g++")) (("=libtool") (string-append "=" (assoc-ref inputs "libtool") "/bin/libtool"))) #t)) (add-after 'install-scripts 'make-wrapper - (lambda* (#:key outputs #:allow-other-keys) + (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/gvhdl") + `("CPLUS_INCLUDE_PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/include"))) + `("LIBRARY_PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/lib"))) + `("PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/bin") + ,(string-append (assoc-ref inputs "coreutils") + "/bin")))) (wrap-program (string-append out "/bin/freehdl-config") `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) #t))))) (inputs `(("coreutils" ,coreutils) - ("gcc" ,gcc) + ("gcc-toolchain" ,gcc-toolchain-5) + ("guile" ,guile-2.2) ("perl" ,perl) ("pkg-config" ,pkg-config) ("libtool" ,libtool))) -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 10:18:53 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 14:18:53 +0000 Received: from localhost ([127.0.0.1]:37479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85TJ-0002A5-Bd for submit@debbugs.gnu.org; Fri, 27 Oct 2017 10:18:53 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:40455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85TD-00029Q-RP for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 10:18:48 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 07F2A46DB7; Fri, 27 Oct 2017 16:18:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id OkzysOQObHxh; Fri, 27 Oct 2017 16:18:40 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v4 2/3] gnu: Add qucs. Date: Fri, 27 Oct 2017 17:18:18 +0300 Message-Id: <20171027141819.21006-2-theodoros@foradis.org> In-Reply-To: <20171027141819.21006-1-theodoros@foradis.org> References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: ludo@gnu.org, Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs): New variable. --- gnu/packages/engineering.scm | 100 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3ce6879d6..b77ad24c4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -47,6 +47,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages fpga) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) @@ -55,6 +56,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages image) @@ -1509,3 +1511,101 @@ parallel computing platforms. It also supports serial execution.") (license (list license:gpl2+ license:lgpl2.0+)))) ; freehdl's libraries +(define-public qucs + (package + (name "qucs") + (version "0.0.19") + (source (origin + (method url-fetch) + (uri + (string-append + "https://sourceforge.net/projects/qucs/files/qucs/" version + "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "0giv9gfyfdizvjhq56x2pdncrlyv3k15lrsh6pk37i94vr7l7ij5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/configure" + (("\\$QTDIR") (assoc-ref inputs "qt4"))) + #t)) + (add-after 'patch-configure 'patch-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("qucs/qucs/qucsdigi" + "qucs/qucs/qucsdigilib" + "qucs/qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref outputs "out") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("cp ") + (string-append (assoc-ref inputs "coreutils") "/bin/cp ")) + (("glibtool") + (string-append (assoc-ref inputs "libtool") "/bin/libtool")) + (("sed") + (string-append (assoc-ref inputs "sed") "/bin/sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; The test suite requires a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t)) + (add-after 'install 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/qucs") + `("CPLUS_INCLUDE_PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/include"))) + `("PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/bin"))) + `("LIBRARY_PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/lib"))) + `("ADMSXMLBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "adms") "/bin"))) + `("ASCOBINDIR" ":" prefix + (,(string-append (assoc-ref inputs "asco") "/bin"))) + `("QUCS_OCTAVE" ":" prefix + (,(string-append (assoc-ref inputs "octave") "/bin/octave"))))) + #t))) + #:parallel-build? #f ; race condition + #:configure-flags '("--disable-doc"))) ; we need octave-epstk + (native-inputs + `(("gperf" ,gperf) + ("libtool-native" ,libtool) + ("python" ,python-2) ; for tests + ("matplotlib" ,python2-matplotlib) ; for tests + ("numpy" ,python2-numpy) ; for tests + ("xorg-server" ,xorg-server))) ; for tests + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("coreutils" ,coreutils) + ("freehdl" ,freehdl) + ("gcc-toolchain" ,gcc-toolchain-5) + ("iverilog" ,iverilog) + ("libtool" ,libtool) + ("octave" ,octave) + ("qt4" ,qt-4) + ("sed" ,sed))) + (home-page "http://qucs.sourceforge.net/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs is a circuit simulator with graphical user interface. + The software aims to support all kinds of circuit simulation types, +e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. + Pure digital simulations are also supported.") + (license license:gpl2+))) -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 10:18:54 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 14:18:54 +0000 Received: from localhost ([127.0.0.1]:37481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85TJ-0002A8-Ks for submit@debbugs.gnu.org; Fri, 27 Oct 2017 10:18:54 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:47810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85TF-00029T-8r for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 10:18:49 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id A6F1A4C72F; Fri, 27 Oct 2017 16:18:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id M8hrtlqpwfKI; Fri, 27 Oct 2017 16:18:41 +0200 (CEST) From: Theodoros Foradis To: 27344@debbugs.gnu.org Subject: [PATCH v4 3/3] gnu: Add qucs-s. Date: Fri, 27 Oct 2017 17:18:19 +0300 Message-Id: <20171027141819.21006-3-theodoros@foradis.org> In-Reply-To: <20171027141819.21006-1-theodoros@foradis.org> References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: ludo@gnu.org, Theodoros Foradis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/engineering.scm (qucs-s): New variable. --- gnu/packages/engineering.scm | 130 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b77ad24c4..221d39e6c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1609,3 +1609,133 @@ parallel computing platforms. It also supports serial execution.") e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. Pure digital simulations are also supported.") (license license:gpl2+))) + +(define-public qucs-s + (package + (name "qucs-s") + (version "0.0.19S") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ra3xdh/qucs/releases/download/" + version "/qucs-" version ".tar.gz")) + (sha256 + (base32 + "1bhahvdqmayaw0306fxz1ghmjhd4fq05yk3rk7zi0z703w5imgjv")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-scripts + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("qucs/qucsdigi" + "qucs/qucsdigilib" + "qucs/qucsveri") + (("\\$BINDIR") + (string-append (assoc-ref inputs "qucs") "/bin")) + (("freehdl-config") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-config")) + (("freehdl-v2cc") + (string-append (assoc-ref inputs "freehdl") "/bin/freehdl-v2cc")) + (("cp ") + (string-append (assoc-ref inputs "coreutils") "/bin/cp ")) + (("glibtool") + (string-append (assoc-ref inputs "libtool") "/bin/libtool")) + (("sed") + (string-append (assoc-ref inputs "sed") "/bin/sed")) + (("iverilog") + (string-append (assoc-ref inputs "iverilog") "/bin/iverilog")) + (("vvp") + (string-append (assoc-ref inputs "iverilog") "/bin/vvp"))) + #t)) + (add-after 'patch-scripts 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "qucs/main.cpp" + (((string-append "QucsSettings\\.Qucsator = QucsSettings\\.BinDir " + "\\+ \"qucsator\" \\+ executableSuffix")) + (string-append "}{ QucsSettings.Qucsator = \"" + (assoc-ref inputs "qucs") "/bin/qucsator\"")) + (((string-append "else QucsSettings\\.XyceExecutable = " + "\"/usr/local/Xyce-Release-6.2.0-OPENSOURCE/bin/runxyce")) + (string-append "QucsSettings.XyceExecutable = \"" + (assoc-ref inputs "xyce-serial") "/bin/Xyce")) + (((string-append "else QucsSettings\\.XyceParExecutable = \"/usr/local" + "/Xyce-Release-6.2.0-OPENMPI-OPENSOURCE/bin/xmpirun")) + (string-append "QucsSettings.XyceParExecutable = \"" + (assoc-ref inputs "mpi") "/bin/mpirun")) + (("%p") + (string-append "%p "(assoc-ref inputs "xyce-parallel") "/bin/Xyce")) + (("else QucsSettings\\.NgspiceExecutable = \"ngspice\"") + (string-append "QucsSettings.NgspiceExecutable = " "\"" + (assoc-ref inputs "ngspice") "/bin/ngspice\""))) + (substitute* "qucs/qucs_actions.cpp" + (("qucstrans") + (string-append (assoc-ref inputs "qucs") "/bin/qucstrans")) + (("qucsattenuator") + (string-append (assoc-ref inputs "qucs") "/bin/qucsattenuator")) + (("qucsrescodes") + (string-append (assoc-ref inputs "qucs") "/bin/qucsrescodes"))) + #t)) + (add-after 'install 'install-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (script) + (let ((file (string-append "../qucs-" ,version + "/qucs/" script)) + (out (assoc-ref outputs "out"))) + (install-file file (string-append out "/bin")) + (chmod (string-append out "/bin/" script) #o555))) + '("qucsdigi" "qucsdigilib" "qucsveri")) + #t)) + (add-after 'install-scripts 'make-wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (file (string-append out "/bin/qucs-s")) + (qucs (assoc-ref inputs "qucs")) + (qucsator (string-append qucs "/bin/qucsator"))) + (wrap-program file + `("CPLUS_INCLUDE_PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/include"))) + `("PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/bin"))) + `("LIBRARY_PATH" ":" prefix + (,(string-append (assoc-ref inputs "gcc-toolchain") + "/lib"))) + `("QUCSATOR" ":" prefix (,qucsator)) + `("QUCSCONV" ":" prefix (,(string-append qucsator "/bin/qucsconv"))) + `("ADMSXMLBINDIR" ":" prefix (,(string-append (assoc-ref inputs "adms") + "/bin"))) + `("ASCOBINDIR" ":" prefix (,(string-append (assoc-ref inputs "asco") + "/bin"))) + `("QUCS_OCTAVE" ":" prefix (,(string-append (assoc-ref inputs "octave") + "/bin/octave")))) + (symlink qucsator (string-append out "/bin/qucsator")) + #t)))))) + (native-inputs + `(("libtool-native" ,libtool))) + (inputs + `(("adms" ,adms) + ("asco" ,asco) + ("coreutils" ,coreutils) + ("freehdl" ,freehdl) + ("gcc-toolchain" ,gcc-toolchain-5) + ("iverilog" ,iverilog) + ("libtool" ,libtool) + ("mpi" ,openmpi) + ("ngspice" ,ngspice) + ("octave" ,octave) + ("qt4" ,qt-4) + ("qucs" ,qucs) + ("sed" ,sed) + ("xyce-serial" ,xyce-serial) + ("xyce-parallel" ,xyce-parallel))) + (home-page "https://ra3xdh.github.io/") + (synopsis "Circuit simulator with graphical user interface") + (description + "Qucs-S is a spin-off of the Qucs cross-platform circuit simulator. + S letter indicates SPICE. The purpose of the Qucs-S subproject is to use +free SPICE circuit simulation kernels with the Qucs GUI. It provides the +simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.") + (license license:gpl2+))) -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 11:19:26 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 15:19:26 +0000 Received: from localhost ([127.0.0.1]:37524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e86Pu-0003l6-97 for submit@debbugs.gnu.org; Fri, 27 Oct 2017 11:19:26 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:55769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e86Ps-0003kx-OA for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 11:19:25 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D6D40F542; Fri, 27 Oct 2017 17:19:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QM9NxCPlt805; Fri, 27 Oct 2017 17:19:22 +0200 (CEST) Received: from ribbon (node-1w7jr9qot7winqrne9k8b99d1.ipv6.telus.net [IPv6:2001:569:7803:2c00:728:f466:18ad:22a5]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BA1AAF36D; Fri, 27 Oct 2017 17:19:20 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [PATCH v4 1/3] gnu: freehdl: Fix gvhdl and freehdl-gennodes scripts. References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 27 Oct 2017 08:19:16 -0700 In-Reply-To: <20171027141819.21006-1-theodoros@foradis.org> (Theodoros Foradis's message of "Fri, 27 Oct 2017 17:18:17 +0300") Message-ID: <87k1zgaaa3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Theodoros, Theodoros Foradis skribis: > * gnu/packages/engineering.scm (freehdl): > [arguments] : Add patch-gvhdl and patch-freehdl-gennodes phases. > Wrap-program "/bin/gvhdl" in make-wrapper phase. > [inputs]: Add guile-2.2. Applied with this change, which makes sure we=E2=80=99re referring to the r= ight =E2=80=9Cguile=E2=80=9D: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 92745852d..1d686271d 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1456,9 +1456,10 @@ parallel computing platforms. It also supports serial execution.") (("-lm") "-lm FREEHDL/lib/freehdl/libieee.la")) #t)) (add-after 'patch-gvhdl 'patch-freehdl-gennodes - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (substitute* "freehdl/freehdl-gennodes.in" - (("guile") (which "guile")) + (("guile") + (string-append (assoc-ref inputs "guile") "/bin/guile")) (("\\(debug") ";(debug") (("\\(@ ") "(apply-emit") (("\\(@@ ") "(apply-mini-format")) @@ -1476,6 +1477,8 @@ parallel computing platforms. It also supports serial execution.") (add-after 'install-scripts 'make-wrapper (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) + ;; 'gvhdl' invokes the C compiler directly, so hard-code its + ;; file name. (wrap-program (string-append out "/bin/gvhdl") `("CPLUS_INCLUDE_PATH" ":" prefix (,(string-append (assoc-ref inputs "gcc-toolchain") --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > + ("gcc-toolchain" ,gcc-toolchain-5) Did you choose version 5 on purpose or would any version work? In the latter case, I=E2=80=99d replace it with =E2=80=98gcc-toolchain=E2= =80=99. Thanks! Ludo=E2=80=99. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 11:22:58 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 15:22:58 +0000 Received: from localhost ([127.0.0.1]:37528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e86TJ-0003r8-Qg for submit@debbugs.gnu.org; Fri, 27 Oct 2017 11:22:57 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:55787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e86TI-0003r0-5g for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 11:22:56 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 03E62F585; Fri, 27 Oct 2017 17:22:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HNVcP3tDbA-v; Fri, 27 Oct 2017 17:22:56 +0200 (CEST) Received: from ribbon (node-1w7jr9qot7winqrne9k8b99d1.ipv6.telus.net [IPv6:2001:569:7803:2c00:728:f466:18ad:22a5]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C50F7F542; Fri, 27 Oct 2017 17:22:55 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [PATCH v4 2/3] gnu: Add qucs. References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-2-theodoros@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 27 Oct 2017 08:22:52 -0700 In-Reply-To: <20171027141819.21006-2-theodoros@foradis.org> (Theodoros Foradis's message of "Fri, 27 Oct 2017 17:18:18 +0300") Message-ID: <87fua4aa43.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (qucs): New variable. [...] > + (wrap-program (string-append out "/bin/qucs") > + `("CPLUS_INCLUDE_PATH" ":" prefix > + (,(string-append (assoc-ref inputs "gcc-toolchain") > + "/include"))) > + `("PATH" ":" prefix > + (,(string-append (assoc-ref inputs "gcc-toolchain") > + "/bin"))) > + `("LIBRARY_PATH" ":" prefix > + (,(string-append (assoc-ref inputs "gcc-toolchain") > + "/lib"))) Is this still needed now that freehdl wraps things? If not, could you send an updated patch? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 11:26:39 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 15:26:39 +0000 Received: from localhost ([127.0.0.1]:37536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e86Wt-0003xq-7J for submit@debbugs.gnu.org; Fri, 27 Oct 2017 11:26:39 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:55808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e86Wr-0003xi-CW for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 11:26:37 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 12639F585; Fri, 27 Oct 2017 17:26:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gZj-z8Zz2Xif; Fri, 27 Oct 2017 17:26:36 +0200 (CEST) Received: from ribbon (node-1w7jr9qot7winqrne9k8b99d1.ipv6.telus.net [IPv6:2001:569:7803:2c00:728:f466:18ad:22a5]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EF91DF542; Fri, 27 Oct 2017 17:26:35 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [PATCH v4 3/3] gnu: Add qucs-s. References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-3-theodoros@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 27 Oct 2017 08:26:32 -0700 In-Reply-To: <20171027141819.21006-3-theodoros@foradis.org> (Theodoros Foradis's message of "Fri, 27 Oct 2017 17:18:19 +0300") Message-ID: <87bmksa9xz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Theodoros Foradis skribis: > * gnu/packages/engineering.scm (qucs-s): New variable. There seems to be a lot of duplication with =E2=80=98qucs=E2=80=99. Would = it be possible to inherit from qucs, thereby reusing its phases, and simply provide any extra phase that=E2=80=99s needed? This is our last patch, we=E2=80=99ll soon be able to claim victory! :-) Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 12:18:11 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 16:18:11 +0000 Received: from localhost ([127.0.0.1]:37580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87Kl-000783-FV for submit@debbugs.gnu.org; Fri, 27 Oct 2017 12:18:11 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:48676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87Kj-00077m-41 for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 12:18:09 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id B46D24C7B2; Fri, 27 Oct 2017 18:18:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id 7DyNLHFLweVy; Fri, 27 Oct 2017 18:17:59 +0200 (CEST) References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <87k1zgaaa3.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [PATCH v4 1/3] gnu: freehdl: Fix gvhdl and freehdl-gennodes scripts. In-reply-to: <87k1zgaaa3.fsf@gnu.org> Date: Fri, 27 Oct 2017 19:17:42 +0300 Message-ID: <87she4sgyh.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Courtès writes: > >> + ("gcc-toolchain" ,gcc-toolchain-5) > > Did you choose version 5 on purpose or would any version work? > In the latter case, I’d replace it with ‘gcc-toolchain’. Any version would work. Using ‘gcc-toolchain’ I get the error: ERROR: Unbound variable: gcc-toolchain Maybe I'm missing the module in which it's defined? I chose version 5 because this is the version of gcc we currently use to build our packages. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 12:21:05 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 16:21:05 +0000 Received: from localhost ([127.0.0.1]:37584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87NY-0007DL-Tw for submit@debbugs.gnu.org; Fri, 27 Oct 2017 12:21:05 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:57546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87NW-0007CS-Lr for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 12:21:03 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id D176D46E4D; Fri, 27 Oct 2017 18:20:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id RF-E_OrLu8tL; Fri, 27 Oct 2017 18:20:54 +0200 (CEST) References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-2-theodoros@foradis.org> <87fua4aa43.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [PATCH v4 2/3] gnu: Add qucs. In-reply-to: <87fua4aa43.fsf@gnu.org> Date: Fri, 27 Oct 2017 19:20:51 +0300 Message-ID: <87r2tosgt8.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis , 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Courtès writes: > Theodoros Foradis skribis: > >> * gnu/packages/engineering.scm (qucs): New variable. > > [...] > >> + (wrap-program (string-append out "/bin/qucs") >> + `("CPLUS_INCLUDE_PATH" ":" prefix >> + (,(string-append (assoc-ref inputs "gcc-toolchain") >> + "/include"))) >> + `("PATH" ":" prefix >> + (,(string-append (assoc-ref inputs "gcc-toolchain") >> + "/bin"))) >> + `("LIBRARY_PATH" ":" prefix >> + (,(string-append (assoc-ref inputs "gcc-toolchain") >> + "/lib"))) > > Is this still needed now that freehdl wraps things? > > If not, could you send an updated patch? Yes, it's needed because qucs and qucs-s don't use gvhdl (freehdl's script that we wrap that calls the compiler). They use freehdl-v2cc to compile to C, and have their own scripts to compile to executable. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 12:22:30 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 16:22:30 +0000 Received: from localhost ([127.0.0.1]:37588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87Ou-0007FS-88 for submit@debbugs.gnu.org; Fri, 27 Oct 2017 12:22:28 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:58318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e87Os-0007FF-48 for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 12:22:26 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 937D546E7B; Fri, 27 Oct 2017 18:22:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id XTh5eo0Wmt4o; Fri, 27 Oct 2017 18:22:18 +0200 (CEST) References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-3-theodoros@foradis.org> <87bmksa9xz.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [PATCH v4 3/3] gnu: Add qucs-s. In-reply-to: <87bmksa9xz.fsf@gnu.org> Date: Fri, 27 Oct 2017 19:22:15 +0300 Message-ID: <87po98sgqw.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: Theodoros Foradis , 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Courtès writes: > Theodoros Foradis skribis: > >> * gnu/packages/engineering.scm (qucs-s): New variable. > > There seems to be a lot of duplication with ‘qucs’. Would it be > possible to inherit from qucs, thereby reusing its phases, and simply > provide any extra phase that’s needed? > > This is our last patch, we’ll soon be able to claim victory! :-) I remember looking into that in the past, but for some reason decided against it. I'll give it another go, and reply with the results. -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 15:38:40 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 19:38:40 +0000 Received: from localhost ([127.0.0.1]:37661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8ASm-0005Om-I9 for submit@debbugs.gnu.org; Fri, 27 Oct 2017 15:38:40 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:56444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8ASk-0005Oe-TW for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 15:38:39 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DADA2EB58; Fri, 27 Oct 2017 21:38:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id os7y87D6kaBU; Fri, 27 Oct 2017 21:38:38 +0200 (CEST) Received: from ribbon (unknown [204.239.253.218]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4DCEFEB23; Fri, 27 Oct 2017 21:38:37 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [PATCH v4 1/3] gnu: freehdl: Fix gvhdl and freehdl-gennodes scripts. References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <87k1zgaaa3.fsf@gnu.org> <87she4sgyh.fsf@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 27 Oct 2017 12:38:30 -0700 In-Reply-To: <87she4sgyh.fsf@foradis.org> (Theodoros Foradis's message of "Fri, 27 Oct 2017 19:17:42 +0300") Message-ID: <877evg9ya1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> >>> + ("gcc-toolchain" ,gcc-toolchain-5) >> >> Did you choose version 5 on purpose or would any version work? >> In the latter case, I=E2=80=99d replace it with =E2=80=98gcc-toolchain= =E2=80=99. > > Any version would work. Using =E2=80=98gcc-toolchain=E2=80=99 I get the e= rror: > ERROR: Unbound variable: gcc-toolchain Oh my bad, you=E2=80=99re right. I fixed that now. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 15:42:44 2017 Received: (at 27344) by debbugs.gnu.org; 27 Oct 2017 19:42:44 +0000 Received: from localhost ([127.0.0.1]:37666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8AWi-0005Uv-2L for submit@debbugs.gnu.org; Fri, 27 Oct 2017 15:42:44 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:56455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8AWg-0005Un-92 for 27344@debbugs.gnu.org; Fri, 27 Oct 2017 15:42:42 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 154F9EB58; Fri, 27 Oct 2017 21:42:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q1VgFHxUOOgv; Fri, 27 Oct 2017 21:42:42 +0200 (CEST) Received: from ribbon (unknown [204.239.253.218]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 77836EB23; Fri, 27 Oct 2017 21:42:41 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [PATCH v4 2/3] gnu: Add qucs. References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-2-theodoros@foradis.org> <87fua4aa43.fsf@gnu.org> <87r2tosgt8.fsf@foradis.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 27 Oct 2017 12:42:36 -0700 In-Reply-To: <87r2tosgt8.fsf@foradis.org> (Theodoros Foradis's message of "Fri, 27 Oct 2017 19:20:51 +0300") Message-ID: <8737649y37.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> Theodoros Foradis skribis: >> >>> * gnu/packages/engineering.scm (qucs): New variable. >> >> [...] >> >>> + (wrap-program (string-append out "/bin/qucs") >>> + `("CPLUS_INCLUDE_PATH" ":" prefix >>> + (,(string-append (assoc-ref inputs "gcc-toolchain") >>> + "/include"))) >>> + `("PATH" ":" prefix >>> + (,(string-append (assoc-ref inputs "gcc-toolchain") >>> + "/bin"))) >>> + `("LIBRARY_PATH" ":" prefix >>> + (,(string-append (assoc-ref inputs "gcc-toolchain") >>> + "/lib"))) >> >> Is this still needed now that freehdl wraps things? >> >> If not, could you send an updated patch? > > Yes, it's needed because qucs and qucs-s don't use gvhdl (freehdl's > script that we wrap that calls the compiler). > > They use freehdl-v2cc to compile to C, and have their own scripts to > compile to executable. Sounds good. Committed with the changes below. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3ef1cdfbe..a5e152c40 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1567,6 +1567,7 @@ parallel computing platforms. It also supports serial execution.") (add-after 'install 'make-wrapper (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) + ;; 'qucs' directly invokes gcc, hence this wrapping. (wrap-program (string-append out "/bin/qucs") `("CPLUS_INCLUDE_PATH" ":" prefix (,(string-append (assoc-ref inputs "gcc-toolchain") @@ -1598,7 +1599,7 @@ parallel computing platforms. It also supports serial execution.") ("asco" ,asco) ("coreutils" ,coreutils) ("freehdl" ,freehdl) - ("gcc-toolchain" ,gcc-toolchain-5) + ("gcc-toolchain" ,gcc-toolchain) ("iverilog" ,iverilog) ("libtool" ,libtool) ("octave" ,octave) @@ -1607,8 +1608,8 @@ parallel computing platforms. It also supports serial execution.") (home-page "http://qucs.sourceforge.net/") (synopsis "Circuit simulator with graphical user interface") (description - "Qucs is a circuit simulator with graphical user interface. - The software aims to support all kinds of circuit simulation types, -e.g. DC, AC, S-parameter, Transient, Noise and Harmonic Balance analysis. - Pure digital simulations are also supported.") + "Qucs is a circuit simulator with graphical user interface. The software +aims to support all kinds of circuit simulation types---e.g. DC, AC, +S-parameter, transient, noise and harmonic balance analysis. Pure digital +simulations are also supported.") (license license:gpl2+))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 08 12:42:37 2017 Received: (at 27344) by debbugs.gnu.org; 8 Nov 2017 17:42:37 +0000 Received: from localhost ([127.0.0.1]:58818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCUN2-00078L-VI for submit@debbugs.gnu.org; Wed, 08 Nov 2017 12:42:37 -0500 Received: from mx2.mailbox.org ([80.241.60.215]:47190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCUN1-000782-TM for 27344@debbugs.gnu.org; Wed, 08 Nov 2017 12:42:36 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id EAA6E4CAE4; Wed, 8 Nov 2017 18:42:29 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id TFGUSpCKahnT; Wed, 8 Nov 2017 18:42:28 +0100 (CET) References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-3-theodoros@foradis.org> <87bmksa9xz.fsf@gnu.org> From: Theodoros Foradis To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [PATCH v4 3/3] gnu: Add qucs-s. In-reply-to: <87bmksa9xz.fsf@gnu.org> Date: Wed, 08 Nov 2017 19:42:12 +0200 Message-ID: <87o9ocsm4r.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27344 Cc: 27344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello Ludovic, Ludovic Courtès writes: > Theodoros Foradis skribis: > >> * gnu/packages/engineering.scm (qucs-s): New variable. > > There seems to be a lot of duplication with ‘qucs’. Would it be > possible to inherit from qucs, thereby reusing its phases, and simply > provide any extra phase that’s needed? Some paths are different in those two packages. For example: Qucs: > (substitute* '("qucs/qucs/qucsdigi" > "qucs/qucs/qucsdigilib" > "qucs/qucs/qucsveri") > (wrap-program (string-append out "/bin/qucs") Qucs-s: > (substitute* '("qucs/qucsdigi" > "qucs/qucsdigilib" > "qucs/qucsveri") > (let* ((out (assoc-ref outputs "out")) > (file (string-append out "/bin/qucs-s")) > (qucs (assoc-ref inputs "qucs")) > (qucsator (string-append qucs "/bin/qucsator"))) > (wrap-program file So qucs-s cannot inherit qucs, and this is why I dismissed that when I looked at it in the past. I think we could create a procedure, that takes the variables as arguments and returns a qucs package. So that qucs-s inherits the application of that procedure on different arguments. Is this preferable to having two different packages with some identical phases? -- Theodoros Foradis From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 16 04:54:51 2017 Received: (at 27344-done) by debbugs.gnu.org; 16 Nov 2017 09:54:51 +0000 Received: from localhost ([127.0.0.1]:42600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFGsl-0000Sv-0i for submit@debbugs.gnu.org; Thu, 16 Nov 2017 04:54:51 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:45486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFGsh-0000Sj-74 for 27344-done@debbugs.gnu.org; Thu, 16 Nov 2017 04:54:47 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A7D68C2D9; Thu, 16 Nov 2017 10:54:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f-oKBrQeFwxX; Thu, 16 Nov 2017 10:54:47 +0100 (CET) Received: from ribbon (unknown [193.50.110.175]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 528E49A5E; Thu, 16 Nov 2017 10:54:47 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Theodoros Foradis Subject: Re: [bug#27344] [PATCH v4 3/3] gnu: Add qucs-s. References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-3-theodoros@foradis.org> <87bmksa9xz.fsf@gnu.org> <87o9ocsm4r.fsf@foradis.org> Date: Thu, 16 Nov 2017 10:54:44 +0100 In-Reply-To: <87o9ocsm4r.fsf@foradis.org> (Theodoros Foradis's message of "Wed, 08 Nov 2017 19:42:12 +0200") Message-ID: <87h8tuim57.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 27344-done Cc: 27344-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Theodoros, Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: > >> Theodoros Foradis skribis: >> >>> * gnu/packages/engineering.scm (qucs-s): New variable. >> >> There seems to be a lot of duplication with =E2=80=98qucs=E2=80=99. Wou= ld it be >> possible to inherit from qucs, thereby reusing its phases, and simply >> provide any extra phase that=E2=80=99s needed? > > Some paths are different in those two packages. For example: > Qucs: >> (substitute* '("qucs/qucs/qucsdigi" >> "qucs/qucs/qucsdigilib" >> "qucs/qucs/qucsveri") > >> (wrap-program (string-append out "/bin/qucs") > > Qucs-s: >> (substitute* '("qucs/qucsdigi" >> "qucs/qucsdigilib" >> "qucs/qucsveri") > >> (let* ((out (assoc-ref outputs "out")) >> (file (string-append out "/bin/qucs-s")) >> (qucs (assoc-ref inputs "qucs")) >> (qucsator (string-append qucs "/bin/qucsator"))) >> (wrap-program file > > So qucs-s cannot inherit qucs, and this is why I dismissed that when I > looked at it in the past. > > I think we could create a procedure, that takes the variables as > arguments and returns a qucs package. So that qucs-s inherits the > application of that procedure on different arguments. > > Is this preferable to having two different packages with some identical > phases? Well you=E2=80=99re right, there=E2=80=99s no great solution in this case. Finally pushed as commit ef2c6b409568123e760a7dfa22d45fc09e713198. We=E2=80=99re done! :-) Thank you! Ludo=E2=80=99. From unknown Wed Jun 25 10:51:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Dec 2017 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator