From patchwork Mon Aug 8 15:45:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: vicvbcun X-Patchwork-Id: 41393 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1F5A727BBEA; Mon, 8 Aug 2022 16:49:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8892927BBE9 for ; Mon, 8 Aug 2022 16:49:31 +0100 (BST) Received: from localhost ([::1]:51212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL50U-0002Zo-My for patchwork@mira.cbaines.net; Mon, 08 Aug 2022 11:49:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL4zB-0000PU-J4 for guix-patches@gnu.org; Mon, 08 Aug 2022 11:48:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL4zB-0006nZ-9M for guix-patches@gnu.org; Mon, 08 Aug 2022 11:48:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oL4zB-00069n-4r for guix-patches@gnu.org; Mon, 08 Aug 2022 11:48:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v2 18/29] gnu: Add gfan. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 15:48:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.165997365723329 (code B ref 56729); Mon, 08 Aug 2022 15:48:09 +0000 Received: (at 56729) by debbugs.gnu.org; 8 Aug 2022 15:47:37 +0000 Received: from localhost ([127.0.0.1]:41718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL4yf-000646-3w for submit@debbugs.gnu.org; Mon, 08 Aug 2022 11:47:37 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.133]:37697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL4yX-00061Z-2w for 56729@debbugs.gnu.org; Mon, 08 Aug 2022 11:47:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1659973639; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=PaYgLkS914RgeuHKxGG9qZb2T6TfMqZSAx/o5HG1yT0=; b=mszLLFT9l/2fCXYggq7Yw404nUoQHn8PKchZg9JCBLkCxa5M9B/YAWzW9BTW9NLMk+ uXKEcTmbJQ6xf2OlDVxXCMC/XsD3h2tBEKjMqzvJYskZDdnuUKqIZt6hq4E44jP6c4Bv LNipoBAOl3g3B7oAJ47RPtFnjenGsHOimD/4lXSpw2zQZ1OfX0DPo4Q/xMUeAyLmmVjy 2Qcwc4ArIR8hc08+hMARgAiNEyEPey4vN7CqvSVABX+Xy3absD7PDnbXq/bNfvMPWTq+ zFjl3FNohcmszJgZuyCMgzRw/7MzTPqTuSwT9f4kxedpIVsENN5MUU1pTskK5Blw9X/0 /3eg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9ymAEzKSWlvmNAhIG6s" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH) with ESMTPSA id 0cac6cy78FlJoRc (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 8 Aug 2022 17:47:19 +0200 (CEST) From: vicvbcun Date: Mon, 8 Aug 2022 17:45:53 +0200 Message-Id: <18be26da58bdc8030e932797f4734a56546b4c7a.1659973115.git.guix@ikherbers.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sagemath.scm (gfan): New variable. --- gnu/packages/sagemath.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index adffd881e1..474af8f246 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -492,3 +492,30 @@ (define-public palp (synopsis "Package for Analyzing Lattice Polytopes") (description synopsis) (license license:gpl3))) + +(define-public gfan + (package + (name "gfan") + (version "0.6.2") + (source (origin + (method url-fetch) + (uri (string-append "https://users-math.au.dk/jensen/software/gfan/gfan" version ".tar.gz")) + (sha256 + (base32 + "02pihqb1lb76a0xbfwjzs1cd6ay3ldfxsm8dvsbl6qs3vkjxax56")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target)) + (string-append "CXX=" #$(cxx-for-target))) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-cddlib-include + (lambda _ + (substitute* '("src/lp_cdd.cpp" "src/gfanlib_zcone.cpp" "src/app_librarytest.cpp") + (("^#include \"cdd/") "#include \"cddlib/"))))))) + (inputs (list cddlib gmp)) + (home-page "https://users-math.au.dk/jensen/software/gfan/gfan.html") + (synopsis "Software package for computing Gröbner fans and tropical varieties") + (description synopsis) + (license license:gpl2+)))