From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJazGvQwvmG2rgAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 20:05:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ODlkFvQwvmHkbgAAB5/wlQ (envelope-from ) for ; Sat, 18 Dec 2021 19:05:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 365B315284 for ; Sat, 18 Dec 2021 20:05:24 +0100 (CET) Received: from localhost ([::1]:60748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myf1H-0001lz-B5 for larch@yhetil.org; Sat, 18 Dec 2021 14:05:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myf0w-0001lW-Oo for guix-patches@gnu.org; Sat, 18 Dec 2021 14:05:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myf0w-0003zB-GS for guix-patches@gnu.org; Sat, 18 Dec 2021 14:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myf0w-00088F-CY for guix-patches@gnu.org; Sat, 18 Dec 2021 14:05:02 -0500 Subject: bug#51996: [PATCH] gnu: Add xfoil. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 18 Dec 2021 19:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51996 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Foo Chuan Wei Cc: 51996-done@debbugs.gnu.org Mail-Followup-To: 51996@debbugs.gnu.org, ludo@gnu.org, chuanwei.foo@hotmail.com Received: via spool by 51996-done@debbugs.gnu.org id=D51996.163985429731241 (code D ref 51996); Sat, 18 Dec 2021 19:05:02 +0000 Received: (at 51996-done) by debbugs.gnu.org; 18 Dec 2021 19:04:57 +0000 Received: from localhost ([127.0.0.1]:43844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myf0r-00087p-0M for submit@debbugs.gnu.org; Sat, 18 Dec 2021 14:04:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myf0p-00087b-JO for 51996-done@debbugs.gnu.org; Sat, 18 Dec 2021 14:04:55 -0500 Received: from [2001:470:142:3::e] (port=36402 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myf0k-0003yM-CC; Sat, 18 Dec 2021 14:04:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Skb8x85ddwP3pDnmNxXDsDJ+DGnPzL3Y8jv/6XqAxcM=; b=nuz9bYOe8j1Z7uUbgrTO uvbptVYcfjrTvg4VkvW9dH0uuwzRzlQq0Id+fursEWrdnPsJC9adsijv6O++r4jgMyfxHc76DkMAw R20x60ax6KFRYrUHDbyo3jsBlc/YFXYFpriW/kH1sdSFHUqGYN0j45PBS4RqsMAj/Bi0O0fPzmii1 3WaGZRUqx+Y/cnD6UXIlmkxSuZPIR4/sGpzi4GoW1uDKwmvVYbAfOC67aKs6NPLcQ6SD+ZIb9Iwzh iehdAKdieAs4e5nqHrnvB26ysk7gUtE9ryh+gkCl0PhAs/CYFP5RJmj6JSgMmFtwYzACHiiVdXpWZ kd8RXg1eQZQp3g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:56032 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myf0k-0006oA-C3; Sat, 18 Dec 2021 14:04:50 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sat, 18 Dec 2021 20:04:48 +0100 In-Reply-To: (Foo Chuan Wei's message of "Sun, 21 Nov 2021 10:40:50 +0000") Message-ID: <87mtkxohtb.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639854324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Skb8x85ddwP3pDnmNxXDsDJ+DGnPzL3Y8jv/6XqAxcM=; b=eQvCEJMOsI2dHPBWY/ORTaGd3svE3AU2IQPk5qPB0CD0cdOj+5kJshrOxD/21LzjvPLGlC 0iH8oI5Ysat31gO9+dXM+8nrUEJI6CfouFX9w3uAPwAlSzrzuajIPYukwb+O55rnmEAu99 MEVlU5hDBlqm/rMlZxYgpEG8wsaNXRLOHz2bSsR17u3i8GsHtD93OBXHIUQ40+Ue5Obch2 0udf/G0D6UjLm/E8sstfvPiAPia9fwEBuqU5MXuM93VAItszMkETWlTHyPIJRk2cQcfWfX 8gkcOPZJ+njUwWvtOeJj3/AUtFi/PfvJI9rDt5t25LjVAprpphtsttQP8HIOvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639854324; a=rsa-sha256; cv=none; b=P7+IxsrHpeXkix4/iU/6fYkze5w+AkJiGlPu9H7+FQeGVwWsgjytgUSXLmFvkpnM9YdIsl DN1goSw40Nl/zMBq72SyGe62L1W+39r2Y4TFKl2533fSLLqm+7SpM1ipSYqKRbFLqXKJVx gJZ8AJN1HE8rPPuxwUFWOtX9/CEkYfEGt3ZA118TvAbAqzo4F9g57hXU+cdhsQQsUrymIy TZGCH3lF9rUxvD1Azxxmx0GOtQP4iqWTfniN9mXm6Y0YXmUx9/0muW94UFDRCJOUqgMr6L lvlpFJvrqd+k5oAH9paLPGoQsVOKifm5ZhMJEMiU6GNrscU54wIRmr0gPRSzAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nuz9bYOe; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nuz9bYOe; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 365B315284 X-Spam-Score: -4.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: ed38AZWocM0k --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Foo Chuan Wei skribis: > * gnu/packages/engineering.scm (xfoil): New variable. Applied with the changes 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 42f5544a54..e0fe0f354f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2961,6 +2961,10 @@ (define-public xfoil (with-directory-excursion "orrs" (invoke "bin/osgen" "osmaps_ns.lst")) (invoke "make" "-C" "plotlib") + (substitute* "bin/Makefile_gfortran" + (("^FFLAGS =(.*)$" _ suffix) + (string-append "FFLAGS = -fallow-argument-mismatch " + suffix "\n"))) (invoke "make" "-C" "bin" "-f" "Makefile_gfortran"))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) @@ -2976,9 +2980,9 @@ (define-public xfoil (install-file "xfoil_doc.txt" doc-dir))))) #:tests? #f)) (inputs - `(("libx11" ,libx11))) + (list libx11)) (native-inputs - `(("gfortran" ,gfortran))) + (list gfortran)) (home-page "https://web.mit.edu/drela/Public/web/xfoil/") (synopsis "Program for the design and analysis of subsonic airfoils") (description --=-=-=--