From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OF4sBrihZ2WUBgEA9RJhRA:P1 (envelope-from ) for ; Wed, 29 Nov 2023 21:40:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OF4sBrihZ2WUBgEA9RJhRA (envelope-from ) for ; Wed, 29 Nov 2023 21:40:24 +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 A835D52A57 for ; Wed, 29 Nov 2023 21:40:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=housseini.me header.s=solmzk3ljecfoypi3q6x2mqs3bucnhjw header.b=UUN0PLut; dkim=fail ("headers rsa verify failed") header.d=amazonses.com header.s=shh3fegwg5fppqsuzphvschd53n6ihuv header.b=Ml8BcoCA; 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-Seal: i=1; s=key1; d=yhetil.org; t=1701290424; a=rsa-sha256; cv=none; b=BZrFlbDh2eUR5rAK2vm/VLNlaRoYmH/yjT6WgJkvH62pMCmjoxgm8fpNYjyCDBZwu/cDFw oAuY3k7KqgkrJNDqEAdEyu0/VuOdXtWFdMZGNV17yTiFUX1S4fk8B8+siz0wgfvGn4R5HS 2YiBMBkzsfZftaz5MpnnwrPs/542E6Iv4WhPfVZOV7zA/JiYQLovPYJJNmtHp9a9YnUCUZ QtWJ9PavHiu9i/gsNZhDmuAhG13riksPlWiWqWj/leZt/9QnZz4YCPgg1TsYegBhjSJ1KG k6b92xKe8bJTpthz0JO5IlnWkBRaYhAExN2Dh3X2dwmYSb69C8mP/z6yk+H8Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=housseini.me header.s=solmzk3ljecfoypi3q6x2mqs3bucnhjw header.b=UUN0PLut; dkim=fail ("headers rsa verify failed") header.d=amazonses.com header.s=shh3fegwg5fppqsuzphvschd53n6ihuv header.b=Ml8BcoCA; 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=1701290424; 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=RqyaQOQ6zT+L8SlBew5CK1DiLjXwWWK2RNGcz5rtpLS85wYw1l1l0ypnsy5PDbUcv9hn10 o+lKxlNE2S6mK8te7o+XcoX+iQ2klOOHM+anP28TXcVhgc6ysuRu82hPhlkcNUGO50ZaFD fz7IGJDwol6cbAioPJ6sxGTbm03wZyGti42sMyxkQsxIiNbR/0sxTm0nD9skl/GgDfNNFx fiUvT3ogO5UaZ0+N04zGah2ZvyrBQCjyP7wC08aLDQ/R8EtWYZg+CqZhQt10QmQdtB1fhq hcXfRfKcHov1WpDLQDPKyuPTgjwqO8VGNv67IhG80NkQeJDHg7HBJCtAZvAI4A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8RLh-0000JD-LH; Wed, 29 Nov 2023 15:39:57 -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 1r8RLf-0000Gc-Ly for guix-patches@gnu.org; Wed, 29 Nov 2023 15:39:55 -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 1r8RLf-0004Cu-DZ for guix-patches@gnu.org; Wed, 29 Nov 2023 15:39:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8RLm-0007qI-Nb for guix-patches@gnu.org; Wed, 29 Nov 2023 15:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66262] [PATCH v5 1/6] 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: Wed, 29 Nov 2023 20:40: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.170129039630112 (code B ref 66262); Wed, 29 Nov 2023 20:40:02 +0000 Received: (at 66262) by debbugs.gnu.org; 29 Nov 2023 20:39:56 +0000 Received: from localhost ([127.0.0.1]:51559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8RLf-0007pX-TG for submit@debbugs.gnu.org; Wed, 29 Nov 2023 15:39:56 -0500 Received: from a2-92.smtp-out.eu-west-1.amazonses.com ([54.240.2.92]:42035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0102018c1ccef519-02ab42c1-6093-4f6c-aa96-93fae11a2422-000000@mail.housseini.me>) id 1r8RLd-0007pE-Ra for 66262@debbugs.gnu.org; Wed, 29 Nov 2023 15:39:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=solmzk3ljecfoypi3q6x2mqs3bucnhjw; d=housseini.me; t=1701290374; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id; bh=mbxQK3bO8hqAZN6+/K59hMNXt/beC1SoSOk31SrUrIk=; b=UUN0PLutJ/j1ORcvDZ9JtsvUcWNa0yAur1GfW+J9pI6yfsq1nNEGv6/Gmj3evgPy ei9IOw0aVVuGssU0jv1Du2BIjN1xBqwPqXx3dqn0WqBiDZhC58oTHnon7bj47MzLmxM PSXspb+tRlzeGDELzz8XoAthxp/x6oW7tu888wxk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=shh3fegwg5fppqsuzphvschd53n6ihuv; d=amazonses.com; t=1701290374; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id:Feedback-ID; bh=mbxQK3bO8hqAZN6+/K59hMNXt/beC1SoSOk31SrUrIk=; b=Ml8BcoCAAHOnyzxIKFzb2CbpFApOJST2/XG9czU4myZrhmWnzKF65+UKwr0d9r+F /gGjWIq1E/yAXSfIJy7OTchkg7I33+z79G5TmQpDivfrSYu/QGdQISqebtZS61g2MbI 800KFdsTqO0J808Sv1s5/bkhFSDNjGizB4McObPc= Date: Wed, 29 Nov 2023 20:39:34 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <5a90ca452eac7f8947a241bf0900ca928acc311f.1701290362.git.reza@housseini.me> X-Mailer: Amazon WorkMail Thread-Index: AQHaIwQod43bSScuRrGYEX9KqcuZbA== Thread-Topic: [PATCH v5 1/6] gnu: openfoam-org: Use gexps. X-Wm-Sent-Timestamp: 1701290373 X-Original-Mailer: git-send-email 2.41.0 Message-ID: <0102018c1ccef519-02ab42c1-6093-4f6c-aa96-93fae11a2422-000000@eu-west-1.amazonses.com> Feedback-ID: 1.eu-west-1.b24dn6frgCi6dh20skzbuMRr7UL8M6Soir/3ogtEjHQ=:AmazonSES X-SES-Outgoing: 2023.11.29-54.240.2.92 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: mx13.migadu.com X-Migadu-Spam-Score: -6.13 X-Spam-Score: -6.13 X-Migadu-Queue-Id: A835D52A57 X-TUID: x0gFqX63hA9c * 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