From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aLJ2BUtsEmQoRAEASxT56A (envelope-from ) for ; Thu, 16 Mar 2023 02:09:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gKanBEtsEmSJtAAAG6o9tA (envelope-from ) for ; Thu, 16 Mar 2023 02:09:31 +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 5406C3F257 for ; Thu, 16 Mar 2023 02:09:30 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=RCJkF83I; 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=1678928970; 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-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=3189mhTCMv0cv2yXSAb+j2eK5KLYM+uQsiA46VKZYVI=; b=jfbs/yps36oJ4s4BrdmLtjMeNzYVdkZ0bxqVnrwp8DcmbRWPP82xVAHw3FWZdbM+CZ9qEs XonMT2qXAqLo0S0iBnuVMvNeBT9J4MfQsmcgXGBI86LsUNek3rwsMK85F/qsuJpgqOgurd +RczmZ1nbpCLpNZtlQgjI/N/Vn5v1U7hSPNVSIQUe9in7q1gO9eduUfqKRsQkb6S0FUKLn JpponfVWpJyn5P7t/imrCF1YEjma21628AyodCVLAhPtCgKYCzkU4s9MymAJzXDnIXzDCJ Mv9LHjjZiX5X/6oxRf7oPiOnpjGMwFQtEWgKFXMcDfBPnkWtctc0N71bEAU6eQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=RCJkF83I; 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=1678928970; a=rsa-sha256; cv=none; b=Vcl7C9D4Qe95WuFfOjJgr8VxGkQrUjcJ/XB7kdqsxoK7NowW6vFgRADFJDDK2ksphQ3Ugz +InWeK1M4RGZSM8jlk8J31V1zgzE046st8W1Mjriy2roJbPSo0a2ys+KT9tG2/XQuzLOrL D8WlPqJ9p/GETpi3fTc07qa/er+rNfIu1o0tn4p8ygL502FctCc8ffvMl4eAoc3+lEFsFp Mx2VlPAgY8acGlq/w3xxFS6sTfSSbjfQejzB59CdSDXkhtbdBMvMXICLDsdp9+iF8ZUlpo v585fIFHLazjxf7jx/kRA4kr7XyWRMh3hY5ehsPL0KbirZHuVtENi7omgFJutA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcc76-000187-T7; Wed, 15 Mar 2023 21:09:04 -0400 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 1pcc75-00017o-7p for guix-patches@gnu.org; Wed, 15 Mar 2023 21:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcc74-0006Pw-T9 for guix-patches@gnu.org; Wed, 15 Mar 2023 21:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcc73-0008U5-Su; Wed, 15 Mar 2023 21:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60266] [PATCH v2 1/2] gnu: Add form. References: <20221223011551.32708-1-antero@mailbox.org> In-Reply-To: <20221223011551.32708-1-antero@mailbox.org> Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: bavier@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 16 Mar 2023 01:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 60266@debbugs.gnu.org Cc: bavier@posteo.net X-Debbugs-Original-Xcc: bavier@posteo.net Received: via spool by 60266-submit@debbugs.gnu.org id=B60266.167892888232526 (code B ref 60266); Thu, 16 Mar 2023 01:09:01 +0000 Received: (at 60266) by debbugs.gnu.org; 16 Mar 2023 01:08:02 +0000 Received: from localhost ([127.0.0.1]:40811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcc66-0008SX-Cc for submit@debbugs.gnu.org; Wed, 15 Mar 2023 21:08:02 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:44476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcc64-0008Ry-Ic for 60266@debbugs.gnu.org; Wed, 15 Mar 2023 21:08:01 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4PcTdh0TkHz9sWV for <60266@debbugs.gnu.org>; Thu, 16 Mar 2023 02:07:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1678928872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3189mhTCMv0cv2yXSAb+j2eK5KLYM+uQsiA46VKZYVI=; b=RCJkF83IWV7Yv9a1EOzHSynlL/7NN/3lyPTdURTtbj+eWn92QpmTLSkBj6FFNQRe6qnrPi 6rdTJjaAMm5q2jrMVC8nKon/Lzr1I7QG4enUX6lkc7vtB2h2n5/s6odYffwa0EgNgDCC6P OMDz8SFZHbZStLj30LODWZspnlip3dygKig8xpxV4hHIYBZnAqgA0Q5/AfkPjOzLgy5HI5 PkukcL3yXTi7BSlZzD8jZ1caiYh9UJuWlYRyQEzXhT/IUJWT/frNvF4lGH6Xm3aKm7vCz9 Hh1kswviKNLxPrtsfjI3bzrozwylxRSE4SxOTlEWlQ6XAN93GL3LOjkusjIOSw== Date: Thu, 16 Mar 2023 01:07:44 +0000 Message-Id: <20230316010745.20987-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: 18mr8tdy4b44jro6htd8o3c6jb1ywhr4 X-MBO-RS-ID: aca60c8f4d8cdb82074 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: Antero Mejr X-Migadu-Queue-Id: 5406C3F257 X-Spam-Score: -4.24 X-Migadu-Spam-Score: -4.24 X-Migadu-Scanner: scn0.migadu.com X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr 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-TUID: tRwlX1pUBcPI * gnu/packages/algebra.scm (form): New variable. --- Changes from v1: moved to algebra.scm split out parform (mpi version) into separate package removed --march=native added comments explaining some package fields changed home-page gnu/packages/algebra.scm | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 5842a166ad..5bce35a229 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -34,6 +34,7 @@ (define-module (gnu packages algebra) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -58,6 +59,7 @@ (define-module (gnu packages algebra) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages shells) #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) @@ -1818,3 +1820,62 @@ (define-public sollya it offers a certified infinity norm, an automatic polynomial implementer, and a fast Remez algorithm.") (license license:cecill-c))) + +(define-public form + ;; using this commit as it removes some invalid/ambiguous license info + (let ((commit "e7c52d3b07abe21f21718f5e70ee138e856f15ac") + (revision "0")) + (package + (name "form") + (version (git-version "4.3.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vermaseren/form") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15pjpn5s8d3sva18syhyymh5v1dijchk0xkf6d0m7cl2sj3qxxxq")) + (modules '((guix build utils))) + ;; skip test that causes memory leak and fails + (snippet #~(substitute* "check/examples.frm" + (("#pend_if valgrind\\?") + "#pend_if 0"))))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags #~'("--enable-native=no") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-hardcoded-path + (lambda _ + (substitute* "sources/extcmd.c" + (("/bin/sh") + (string-append + #$(this-package-input "bash-minimal") + "/bin/sh"))))) + (add-after 'build 'build-doxygen + (lambda _ + (with-directory-excursion "doc/doxygen" + (invoke "make" "html")))) + (add-after 'install 'install-docs + (lambda _ + (let ((doc (string-append + #$output "/share/doc/" #$name "-" + #$version "/html"))) + (mkdir-p doc) + (copy-recursively "doc/doxygen/html" doc))))))) + (native-inputs (list autoconf automake doxygen ruby)) + (inputs (list bash-minimal)) + (home-page "https://www.nikhef.nl/~form/") + (synopsis "Symbolic manipulation system for very big expressions") + (description + "FORM is a symbolic manipulation system. It reads symbolic expressions +from files and executes symbolic/algebraic transformations upon them. The +answers are returned in a textual mathematical representation. The size of +the considered expressions in FORM is only limited by the available disk space +and not by the available RAM.") + ;; x86_64 only due to test failures on other platforms. + ;; Developers say other platforms are not "tier 1" supported: + ;; https://github.com/vermaseren/form/issues/426 + (supported-systems '("x86_64-linux")) + (license license:gpl3+)))) -- 2.38.1