From patchwork Sun Nov 5 23:51:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 1372 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 A5E7427BBEA; Mon, 6 Nov 2023 00:05:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham 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 234DE27BBE2 for ; Mon, 6 Nov 2023 00:05:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzn6S-0004it-K1; Sun, 05 Nov 2023 19:04:28 -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 1qzn6Q-0004hZ-3o for guix-patches@gnu.org; Sun, 05 Nov 2023 19:04:26 -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 1qzn6P-0000Qh-QQ for guix-patches@gnu.org; Sun, 05 Nov 2023 19:04:25 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzn70-0008V8-8x for guix-patches@gnu.org; Sun, 05 Nov 2023 19:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65853] [PATCH v3 0/8] Scilab: Big update. References: <0852115dc8e706b80b05d57cfbfae64de79fdac5.1694362722.git.ngraves@ngraves.fr> In-Reply-To: <0852115dc8e706b80b05d57cfbfae64de79fdac5.1694362722.git.ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Nov 2023 00:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65853@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 65853-submit@debbugs.gnu.org id=B65853.169922908332561 (code B ref 65853); Mon, 06 Nov 2023 00:05:02 +0000 Received: (at 65853) by debbugs.gnu.org; 6 Nov 2023 00:04:43 +0000 Received: from localhost ([127.0.0.1]:38394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzn6g-0008T0-DG for submit@debbugs.gnu.org; Sun, 05 Nov 2023 19:04:42 -0500 Received: from 20.mo581.mail-out.ovh.net ([46.105.49.208]:34207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzn6a-0008SV-Fs for 65853@debbugs.gnu.org; Sun, 05 Nov 2023 19:04:40 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.4.8]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 95ECF2297E for <65853@debbugs.gnu.org>; Mon, 6 Nov 2023 00:03:57 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-2hhbk (unknown [10.110.115.73]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4B6FD1FDD5; Mon, 6 Nov 2023 00:03:57 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-2hhbk with ESMTPSA id Wg+MDm0tSGUL0AUAb83B2w (envelope-from ); Mon, 06 Nov 2023 00:03:57 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-109S003a3e5b9ad-134a-4555-a43e-1cc65535002f, 430062579F40ACD55BD93205AFDC29DFA9FB578A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Mon, 6 Nov 2023 00:51:43 +0100 Message-ID: <20231106000354.32423-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 3273272504425702114 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedruddufedgudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheekheefseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuth 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This patch series now introduces several changes to the scilab package: 1) non-failing tests are included. failing tests are harder to fix, but it identifies these places quite well. 2) I've read the scilab-cli script to understand that it basically only serves to properly define a few environment variables. We don't need 40ko for this, so I've rewrapped the script to have a clean 110 lines guix-defined scilab-cli. We loose some low-level debugging functionality, but we didn't set the right inputs for this low-level debugging anyway, and I don't expect Scilab developpers to be using guix right now, so that's fine for now. Later we can wrap the script or hardcode inputs if someone needs it. 3) Updated the version to 2024.0.0. We don't need the hdf5 patch anymore. 4) Set the version so that the welcoming message is up-to-date (not the timestamp though). 5) Set a SCIHOME default value that matches XDG base dirs specification, and doesn't override user-set -scihome (since it happens after when scilab-cli -scihome is called). Now SCIHOME doesn't seem to be read from the user environment at all, so the only way is through -scihome. Nicolas Graves (8): gnu: scilab: Remove uneeded code. gnu: scilab: Activate tests and disable failing tests. gnu: scilab: Use gexp for tcl and tk libraries. gnu: scilab: Add phase rewrap-scilab-cli. gnu: scilab: Reindent. gnu: scilab: Update to 2024.0.0. gnu: scilab: Add phase set-version. gnu: scilab: Set default SCIHOME value. gnu/packages/maths.scm | 236 +++++++++++------- .../patches/scilab-hdf5-1.8-api.patch | 71 ------ 2 files changed, 141 insertions(+), 166 deletions(-) delete mode 100644 gnu/packages/patches/scilab-hdf5-1.8-api.patch