From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wIeLO6l/7l4jTAAA0tVLHw (envelope-from ) for ; Sat, 20 Jun 2020 21:29:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SO+VN6l/7l7fIAAA1q6Kng (envelope-from ) for ; Sat, 20 Jun 2020 21:29:13 +0000 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 1821494038F for ; Sat, 20 Jun 2020 21:29:12 +0000 (UTC) Received: from localhost ([::1]:51356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jml30-0004kx-H5 for larch@yhetil.org; Sat, 20 Jun 2020 17:29:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jml2s-0004jR-Gf for guix-patches@gnu.org; Sat, 20 Jun 2020 17:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jml2s-0004wr-7s for guix-patches@gnu.org; Sat, 20 Jun 2020 17:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jml2s-000727-4d for guix-patches@gnu.org; Sat, 20 Jun 2020 17:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41971] [WIP PATCH 0/5] Add SageMath Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jun 2020 21:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41971 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41971@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159268850326985 (code B ref -1); Sat, 20 Jun 2020 21:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jun 2020 21:28:23 +0000 Received: from localhost ([127.0.0.1]:58839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml2B-000716-6M for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:28:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:49536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml25-00070t-0O for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:28:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jml24-0004RC-OR for guix-patches@gnu.org; Sat, 20 Jun 2020 17:28:12 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:55182) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jml1z-0004tZ-2v for guix-patches@gnu.org; Sat, 20 Jun 2020 17:28:12 -0400 Received: (qmail 17957 invoked by uid 1009); 20 Jun 2020 23:28:04 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.038542 secs); 20 Jun 2020 21:28:04 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:28:04 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Date: Sat, 20 Jun 2020 23:28:02 +0200 Message-Id: <20200620212802.31906-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/20 17:28:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.49 X-TUID: RFxhWr4pEGpP This patchstack builds upon #40283 and packages (some of) SageMath. Currently, sagelib is built successfully, but the `sage' binary is not being installed. I'm submitting this here as I'm no longer actively working on this for now. Some things remain to be done: - Install the sage command itself and make sure it runs. This will probably require understanding what SAGE_ROOT, SAGE_SHARE and SAGE_LOCAL mean. - Run the tests. This would be best done as another package to make sure all the right packages are propagated. Nix does the same [0]. - Make sure the docs are installed. - Remove the cython debug info. I haven't done this yet only because testing it would require waiting for a long build. - Resolve some small TODOs. [0]: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/math/sage Jakub Kądziołka (5): gnu: linbox: Fix linking of dependant packages. gnu: sagemath: Remove unnecessary old versions of packages gnu: Add ECL 16.1.3 for Sage. gnu: lcalc: Don't rename the include directory. [WIP] gnu: Add sagemath. gnu/local.mk | 4 + gnu/packages/algebra.scm | 5 +- .../ecl-16-format-directive-limit.patch | 83 +++++++ .../ecl-16-ignore-stderr-write-error.patch | 17 ++ gnu/packages/patches/ecl-16-libffi.patch | 16 ++ .../patches/linbox-fix-pkgconfig.patch | 23 ++ gnu/packages/sagemath.scm | 203 +++++++++++++----- 7 files changed, 291 insertions(+), 60 deletions(-) create mode 100644 gnu/packages/patches/ecl-16-format-directive-limit.patch create mode 100644 gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch create mode 100644 gnu/packages/patches/ecl-16-libffi.patch create mode 100644 gnu/packages/patches/linbox-fix-pkgconfig.patch -- 2.26.2