From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e87OX-0004Y1-MU for guix-patches@gnu.org; Fri, 27 Oct 2017 12:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e87OU-0007BY-Fi for guix-patches@gnu.org; Fri, 27 Oct 2017 12:22:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57136) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e87OU-0007BS-CL for guix-patches@gnu.org; Fri, 27 Oct 2017 12:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e87OU-0007Ec-72 for guix-patches@gnu.org; Fri, 27 Oct 2017 12:22:02 -0400 Subject: [bug#27344] [PATCH v4 2/3] gnu: Add qucs. Resent-Message-ID: References: <87tvyksmyt.fsf@foradis.org> <20171027141819.21006-1-theodoros@foradis.org> <20171027141819.21006-2-theodoros@foradis.org> <87fua4aa43.fsf@gnu.org> From: Theodoros Foradis 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27344@debbugs.gnu.org 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