From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iCUUETlMaGdokQAAqHPOHw:P1 (envelope-from ) for ; Sun, 22 Dec 2024 17:28:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iCUUETlMaGdokQAAqHPOHw (envelope-from ) for ; Sun, 22 Dec 2024 18:28:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SM0xWLi8; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SA7FwUQx; 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"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734888504; 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: 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=8x4PMhFEsQ59WtfqcDtN+LrtNRwis7ZL263U0BXkuro=; b=ixJ/BfLunkULqj5VHwvGTrgFab/vdLcfGKB3X9NKg39jhQPlDkm2XtMSKetio9kyGQKXx3 jv64bQqj9uhmrWs4F0VOkPbYNfMavhiMV7lg0jIfgWfozdPpnaJJgrb3Hq+4g0yxfuDoVQ 6GBBNo+K1bUJZYZCo6qnAQYxmr2VIlrDteqbwzd/RfUoDifol28YWQ19d9l//d2tKz2U+H tRoPKYj57RF6r10cfGkVzcSRRsa0c9irUoLNQoDrEEEIMTwyWvogqSqBJ22B1O+IOcSdeZ TbNbIVkz6Le9foeVYH/EQci0+2w+vUU/pXfU/pYj7KV/pwKMbzLnbu04kgMCwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SM0xWLi8; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SA7FwUQx; 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"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734888504; a=rsa-sha256; cv=none; b=qYBIaNdv6Qvw0BqgtPTPD5Fx7Hb/sJ78o2A+8pBdWEUX4jBnCslQ5uZewRGWtGMzyxnuby 8MSUaNgt+QUdo0fkSlyt+BHP4eh0L7xySF9V3WK1J8ARi+sO/kkIHeJCIXXXW/EBffGSkl WA3KofSKZa2JuzbqdV9LhN649x/nUkvo0vRXqlxBZ+ob1MHVlF6kVUg/Jfb/H0sPZPGnts AfdPlxJAmFcr+cNZw3MzjtHGa3cIM0vJUJ6ahdJv/gMoUFMVVAzk7nuGLSY10urwrj/SEA pMGddeBU71WA8gn4CK+I6zOieEsqMIwkCoUcMW/BIFQHovN/o5roHoaJzv67xg== 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 A85878230B for ; Sun, 22 Dec 2024 18:28:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPkU-0006ns-J9; Sun, 22 Dec 2024 12:28:15 -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 1tPPkN-0006lX-FD for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:08 -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 1tPPkM-0001xL-Kn for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=8x4PMhFEsQ59WtfqcDtN+LrtNRwis7ZL263U0BXkuro=; b=SM0xWLi8kcyuYeBLhxmvTOcxjUDBhuDak1S775FJGw+x+/UlyqGc/5tTd9UnyjGv/9G+HqFEFbc9JnXuKo3Uci/fRmKbhl06da4QlXoZ/wberXIrbSSA1MfMryEDS3f4PQ0r3NizBSphitGHgIGOfS8Fgs3fXF3DP14u1srjTx1bR8C1bW+MT6cKqIHs8xtb8K6voeRvpplNUvLDQlXQBS1gMCAk7Alz4utP79FHd7eI2P7WpJ/gTcfv3PwAMjd9gVnv+OdOFL4Lmojv1lfQwQFOQW05TNmb+i/8qCd3QpToBTYt7FRrOM4z3v/J1zF0w3zvfK3vW7q42Aw0WbCItQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPPkM-0007sB-Ci for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75032] [PATCH 08/13] gnu: Add gfan. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 17:28:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75032@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 75032-submit@debbugs.gnu.org id=B75032.173488846230109 (code B ref 75032); Sun, 22 Dec 2024 17:28:06 +0000 Received: (at 75032) by debbugs.gnu.org; 22 Dec 2024 17:27:42 +0000 Received: from localhost ([127.0.0.1]:51740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPjy-0007pX-3c for submit@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:42 -0500 Received: from mout01.posteo.de ([185.67.36.65]:50785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPjv-0007ou-Dm for 75032@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:40 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 082EC240029 for <75032@debbugs.gnu.org>; Sun, 22 Dec 2024 18:27:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734888454; bh=um8d3sxaFKF2yeC70LCfh3/snoJNjN9QfgEdqkzdV0E=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=SA7FwUQxP4Jcv4j6jMW5Qc+fgntgGljTtpl2AegmJYKn+fEibFVbOpYMr0NDmZngU dd6bss4ofh4mUhOjTX6gRvN0cDBLcgX8xwcqZis9TTOM/oASj/edicHBjfUkUoUeN/ MRNEOAek9TUN1Ck6kDVNjJzL7dhSVpPGTpDCuuYLW9Xpgfn9owrkTac5Ps7kIjmauh 3SzZefCEmxknKxnzvlbnwe6fbtgby5AO9pAL5qkAPe3CCEDwYSljaJb0gai1yXgM3Q B36GPPX5Q0WkGRthEHv4i0aQoRYWtQ7FO0ukfZr4s0nESP5OscqLzXC6vT/E4Uy7IS bJEuMcv1em4Hg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGSlT1Xtdz9rxB; Sun, 22 Dec 2024 18:27:32 +0100 (CET) From: Vinicius Monego Date: Sun, 22 Dec 2024 17:26:52 +0000 Message-Id: <2b0d2dfda499f32262d84298cea872ea62ab0b4c.1734887844.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.68 X-Spam-Score: -3.68 X-Migadu-Queue-Id: A85878230B X-TUID: dilUbTOzSei5 * gnu/packages/maths.scm (gfan): New variable. Change-Id: I3b4952ddfcaecac17ab29bb3cd2f56fc125ab763 --- gnu/packages/maths.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1ca0144bfd..35de236ba2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -871,6 +871,41 @@ (define-public linasm and much more.") (license license:lgpl3+))) +(define-public gfan + (package + (name "gfan") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (string-append "https://users-math.au.dk/jensen/software" + "/gfan/gfan" version ".tar.gz")) + (sha256 + (base32 "17lqripnsdb5hn7nnhgn4siajgh1jh9nkaplca3akm74w5bkg0xb")))) + (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) + ;; cddlib is distributed with the 'cddlib' header name, + ;; but gfan expects it to be named 'cdd'. Substitute + ;; the include headers to make gfan find it. + (add-after 'unpack 'fix-cdd-reference + (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 "Compute Gröbner fans and tropical varieties") + (description "Gfan is a software package for computing Gröbner fans and +tropical varieties.") + (license license:gpl2))) + (define-public 4ti2 (package (name "4ti2") -- 2.39.5