GNU bug report logs - #27344
[PATCH 0/12] Add computational software and circuit simulators

Previous Next

Package: guix-patches;

Reported by: Theodoros Foradis <theodoros.for <at> openmailbox.org>

Date: Mon, 12 Jun 2017 15:27:03 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Theodoros Foradis <theodoros <at> foradis.org>
To: 27344 <at> debbugs.gnu.org
Subject: [bug#27344] [PATCH v3 8/8] gnu: Add qucs-s.
Date: Sun, 01 Oct 2017 01:30:10 +0300
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




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

Previous Next


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