From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KD0SH3hAamWSPgEA9RJhRA:P1 (envelope-from ) for ; Fri, 01 Dec 2023 21:22:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KD0SH3hAamWSPgEA9RJhRA (envelope-from ) for ; Fri, 01 Dec 2023 21:22:16 +0100 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 F0952440E5 for ; Fri, 1 Dec 2023 21:22:15 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=housseini.me header.s=solmzk3ljecfoypi3q6x2mqs3bucnhjw header.b=EzPCQFoJ; dkim=fail ("headers rsa verify failed") header.d=amazonses.com header.s=shh3fegwg5fppqsuzphvschd53n6ihuv header.b=ai2NE7SN; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701462136; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=1eQ8SmQ6pejgZRCE/VLK+kgB8+FtoGEHTSvVSuZFwtA=; b=WY0qJnuBibz6q5CmFqr3/MW2gQin4zMTL+3DBY0MDX+mg2yE3dz4lw04HlyXR+wKljqeiS HBOyczixblPL5O77471vYqlYOf7u8KARgR1256j3Q9sMkyvFvsJV9tHu1D44n3sWxd6UpC gYkB+jXCVJBQYEkVlGyUWJ6y1D07yonGpyO+LP1Dved5yd66G1LHO01f+3GJv+Nh9hMsXp 6JdB7tWWHgn9rnkxFv5MBVM9SmOECHv7OoYn70mULFPeV6LPEstxtbkPXFIdyf3+5oclq8 HuzLyagZE2Wge/2o7eJybmDgkj24IwHf0xkDWVXZ9RT/g9T4FnC3Lp/Zunlzqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701462136; a=rsa-sha256; cv=none; b=lv5U+ko8uCeQvov8Uriaf4n76mX5qudkrJK5X3AWNoSbKG6aTSvm+5ULD0JGeWOE+8H5yb qMp9VWQl7lfixM6ttPtgyzre1ZmA1lgF+3dJK4Qj6G/82uqmM+14bQds8vITKGtO9/RAqR WjYdoEqRk7jJYLQgYJBkcf99w/8lPX8noBKWucLJRrv3gZ9NLIrf9Ej1CZac1L9y7rEfsX IlMl0upec5Mp/TtGYhMplkJj1ltiJ9PExhnuQ4LmqwTg+i0C+fRNuXB5s5CU7P+pi5VvEp T+0uOuzQ31L7BdIBoYGKCiWv3tC2n3hcKlwZ251nc+ZSpNQNtmhG8KiXkUkPRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=housseini.me header.s=solmzk3ljecfoypi3q6x2mqs3bucnhjw header.b=EzPCQFoJ; dkim=fail ("headers rsa verify failed") header.d=amazonses.com header.s=shh3fegwg5fppqsuzphvschd53n6ihuv header.b=ai2NE7SN; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9A1L-0004Uu-KS; Fri, 01 Dec 2023 15:21:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9A1K-0004U8-2V for guix-patches@gnu.org; Fri, 01 Dec 2023 15:21:54 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r9A1J-00059c-Q8 for guix-patches@gnu.org; Fri, 01 Dec 2023 15:21:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9A1S-0000ZW-6M for guix-patches@gnu.org; Fri, 01 Dec 2023 15:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66262] [PATCH v7 1/7] gnu: openfoam-org: Use gexps. In-Reply-To: <0102018ae02b1a04-440a9320-f59f-4304-bf10-01dfb00717ca-000000@eu-west-1.amazonses.com> Resent-From: reza Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Dec 2023 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66262@debbugs.gnu.org <66262@debbugs.gnu.org> Cc: reza Received: via spool by 66262-submit@debbugs.gnu.org id=B66262.17014621082122 (code B ref 66262); Fri, 01 Dec 2023 20:22:02 +0000 Received: (at 66262) by debbugs.gnu.org; 1 Dec 2023 20:21:48 +0000 Received: from localhost ([127.0.0.1]:56138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9A1D-0000Y9-QE for submit@debbugs.gnu.org; Fri, 01 Dec 2023 15:21:48 -0500 Received: from a2-29.smtp-out.eu-west-1.amazonses.com ([54.240.2.29]:54405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0102018c270b0a37-63a6f14a-1c64-4d81-a00f-6333031854bf-000000@mail.housseini.me>) id 1r9A1A-0000Xs-Qt for 66262@debbugs.gnu.org; Fri, 01 Dec 2023 15:21:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=solmzk3ljecfoypi3q6x2mqs3bucnhjw; d=housseini.me; t=1701462084; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id; bh=mbxQK3bO8hqAZN6+/K59hMNXt/beC1SoSOk31SrUrIk=; b=EzPCQFoJ3BZKOk+0DMO9mjhctMQKUa4y487xU72YaFvmBo2pKjhPnved9/cdPdhQ cEoIweaZCRuzsWhqWTdzi4/SqDvmJSc7uBNgQ3GMrPYjkU2wKLxbhbCPgEYVVCys8FH g2R+Hvl9Hsgk39GQSin53fS39RjR//v4DHrvSVPk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=shh3fegwg5fppqsuzphvschd53n6ihuv; d=amazonses.com; t=1701462084; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id:Feedback-ID; bh=mbxQK3bO8hqAZN6+/K59hMNXt/beC1SoSOk31SrUrIk=; b=ai2NE7SNmUvu320xIkz+D9UPF4NRHita6r/DyJtVVRAOM3cqPg9CVxeEp18kBF8g 6NExSWfmSoChGBHbLsUfD3xl9vp/27NqtM1Z0iXxsXGfX1qOMNndxxrreDMDZ/+UM9Z eYmrrpmB+jW8ptqvAnYChC0IcCDNbjQHS3M0b230= Date: Fri, 1 Dec 2023 20:21:24 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <5a90ca452eac7f8947a241bf0900ca928acc311f.1701462064.git.reza@housseini.me> X-Mailer: Amazon WorkMail Thread-Index: AQHaJJPzxeoHSzDjRfGKH1PaN4MhNQ== Thread-Topic: [PATCH v7 1/7] gnu: openfoam-org: Use gexps. X-Wm-Sent-Timestamp: 1701462083 X-Original-Mailer: git-send-email 2.41.0 Message-ID: <0102018c270b0a37-63a6f14a-1c64-4d81-a00f-6333031854bf-000000@eu-west-1.amazonses.com> Feedback-ID: 1.eu-west-1.b24dn6frgCi6dh20skzbuMRr7UL8M6Soir/3ogtEjHQ=:AmazonSES X-SES-Outgoing: 2023.12.01-54.240.2.29 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: , Reply-to: reza X-ACL-Warn: , reza via Guix-patches From: reza via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.13 X-Spam-Score: -6.13 X-Migadu-Queue-Id: F0952440E5 X-TUID: 46SNWvBdwHf1 * gnu/packages/simulation.scm (openfoam-org): Use gexps, other cosmetic c= hanges.=0D=0A=0D=0AChange-Id: I856d9660559cb4656251cba6bc5dd31d004f1b74=0D= =0A---=0D=0A gnu/packages/simulation.scm | 32 ++++++++++++---------------= -----=0D=0A 1 file changed, 12 insertions(+), 20 deletions(-)=0D=0A=0D=0A= diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm=0D= =0Aindex b2fb123815..cb6f07c383 100644=0D=0A--- a/gnu/packages/simulation= =2Escm=0D=0A+++ b/gnu/packages/simulation.scm=0D=0A@@ -238,13 +238,10 @@ = (define-public openfoam-org=0D=0A (string-append "export= SCOTCH_VERSION=3Dscotch_"=0D=0A #$(packa= ge-version pt-scotch32) "\n"))=0D=0A (("^export SCOTCH_AR= CH_PATH=3D.*$")=0D=0A- (string-append "export SCOTCH_ARCH= _PATH=3D"=0D=0A- (assoc-ref %build-inputs = "pt-scotch32")=0D=0A- "\n"))) #t))=0D=0A+ = (string-append "export SCOTCH_ARCH_PATH=3D" #$pt-scotch32= "\n"))) #t))=0D=0A (add-before 'build 'patch-mpi=0D=0A = (lambda _=0D=0A- (let* ((mpi-path (assoc-ref %build-inp= uts "openmpi"))=0D=0A- (mpi-version #$(package-versio= n openmpi)))=0D=0A+ (let* ((mpi-version #$(package-version o= penmpi)))=0D=0A ;; specify openmpi type=0D=0A = (substitute* "etc/bashrc"=0D=0A (("WM_MPLIB=3DSYST= EMOPENMPI")=0D=0A@@ -254,8 +251,7 @@ (define-public openfoam-org=0D=0A = (string-append "export FOAM_MPI=3Dopenmpi-"=0D=0A = mpi-version "\n"))=0D=0A ((= "export MPI_ARCH_PATH=3D.*\\$FOAM_MPI.*$")=0D=0A- (stri= ng-append "export MPI_ARCH_PATH=3D" mpi-path=0D=0A- = "\n")))) #t))=0D=0A+ (string-append "export= MPI_ARCH_PATH=3D" #$openmpi "\n")))) #t))=0D=0A (add-before 'b= uild 'patch-paraview=0D=0A (lambda _=0D=0A (sub= stitute* "etc/config.sh/paraview"=0D=0A@@ -263,12 +259,11 @@ (define-publ= ic openfoam-org=0D=0A (string-append "export ParaView_VE= RSION=3D"=0D=0A #$(package-version paravi= ew) "\n"))=0D=0A (("^export ParaView_DIR=3D.*$")=0D=0A- = (string-append "export ParaView_DIR=3D"=0D=0A- = (assoc-ref %build-inputs "paraview")=0D=0A- = "\n"))) #t))=0D=0A+ (string-append = "export ParaView_DIR=3D" #$paraview "\n"))) #t))=0D=0A (add-bef= ore 'build 'add-rpaths=0D=0A (lambda _=0D=0A- (l= etrec* ((libraries '("boost" "cgal"=0D=0A+ (letrec* ((librar= ies '("boost"=0D=0A+ "cgal"=0D=0A = "gmp"=0D=0A = "metis"=0D=0A "mpfr"=0D=0A= @@ -277,11 +272,10 @@ (define-public openfoam-org=0D=0A = "zlib"=0D=0A "pa= raview"))=0D=0A (rpaths=0D=0A- = (fold-right (lambda (library rpaths)=0D=0A+ = (fold-right (lambda (lib rpaths)=0D=0A = (string-append rpaths=0D=0A = "-rpath=3D"=0D=0A- = (assoc-ref=0D=0A- = %build-inputs library)=0D=0A+ = (assoc-ref %build-inputs lib)=0D=0A = "/lib,")) "" libraries))=0D=0A = (openfoam-lib=0D=0A (strin= g-append #$output=0D=0A@@ -307,13 +301,11 @@ (define-public openfoam-org=0D= =0A (lambda _=0D=0A (let* ((vtk-version #$(vers= ion-major+minor=0D=0A (package-versi= on vtk)))=0D=0A- (vtk-root (assoc-ref %build-inputs "= vtk"))=0D=0A- (vtk-inc (string-append vtk-root "/incl= ude/vtk-" vtk-version))=0D=0A+ (vtk-inc (string-appen= d #$vtk "/include/vtk-" vtk-version))=0D=0A (vtk-inc= -flag (string-append "-I" vtk-inc)))=0D=0A (substitute* "= wmake/rules/linux64Gcc/c++"=0D=0A (("\\$\\(LIB_HEADER_D= IRS\\)" all)=0D=0A- (string-append all " " vtk-inc-flag= " "))))=0D=0A- #t))=0D=0A+ (string-append= all " " vtk-inc-flag " ")))) #t))=0D=0A (delete 'configure) ;n= o configure phase=0D=0A (replace 'build=0D=0A (lamb= da _=0D=0A@@ -400,6 +392,7 @@ (define-public openfoam-org=0D=0A ;; $ = cd pitzDaily=0D=0A ;; $ chmod -R u+w .=0D=0A ;; $ blockMesh=0D=0A= + (home-page "https://openfoam.org")=0D=0A (synopsis "Framework fo= r numerical simulation of fluid flow")=0D=0A (description=0D=0A = "OpenFOAM provides a set of solvers and methods for tackling=0D=0A@@ -410= ,8 +403,7 @@ (define-public openfoam-org=0D=0A sharp gradients, such as t= hose encountered in flows with shock waves and flows=0D=0A with gas/liqui= d interfaces. Large problems may be split into smaller, connected=0D=0A = problems for efficient solution on parallel systems.")=0D=0A- (license= license:gpl3+)=0D=0A- (home-page "https://openfoam.org")))=0D=0A+ = (license license:gpl3+)))=0D=0A=20=0D=0A (define-public openfoam=0D=0A = (deprecated-package "openfoam" openfoam-org))=0D=0A=0D=0Abase-commit: cd4= 6757c1a0f886848fbb6828c028dd2a2532767=0D=0A--=20=0D=0A2.41.0=0D=0A=0D=0A