From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oNlCILotSGVhTQAAauVa8A:P1 (envelope-from ) for ; Mon, 06 Nov 2023 01:05:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oNlCILotSGVhTQAAauVa8A (envelope-from ) for ; Mon, 06 Nov 2023 01:05:14 +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 50B774497C for ; Mon, 6 Nov 2023 01:05:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1699229114; a=rsa-sha256; cv=none; b=eqxVDkXDoF3LBLkrkBy+DjKlpefe1k/AA8V2UOEGUgIjZLjiY0t5ZjpI0jy+6bxwXZl6lM n/nLlvo1MI5KP4ae7waq6m7jrfo/C5SZT/joxmLk4VaiB+j5+JLdNYdVQQn59qtS6o1Qv4 6PTvJ4152O4yB92FeVr689ygpCxx82jo1T/uwxxgI9B2NV9MR9qq/3FB+Y3yZYgf9pmHHO kEXfSF9QBXB2TiOFyGeU1oJWCIEXvlAFjhTUfeZKcBIGPPy5z+JsCn6B2smhKlYjSs1Mjo N4VoUidxK9sQazShcUZ2fTkQNYkF5mZQCfWFFW3SyZ/IddTiKLYW8Q8gtC8Ddw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699229114; 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; bh=Uf5yXV+3ds+tzwcu0bKEz6tn60pQUuMOsnqVYBUQFIc=; b=bVLfY9Xru95vPTeF3zfpS+oS13m7XQ0A/M8LLsxo08a2N2RPFXL0xrhJHr2bMQYo4KqCoP L2DGhL0hAwLxUfGH73K2NDqxPFOgaThxeDQxeNBK25TeGAnZ37+VkmEskiO7NMWx8rPJEx c5J8IHzykIGkg2Vaovs7K2BlndpBphDcSyYTs9ZrK7y35AkprUWP3Z9R5HMPuWOmXnnKzF NHJ9jNCa6zPeISq8qhFD09bLLu6+uq17xNxksys634ZG+lFh1z6hMbRAA3kMOATkEOsZRW V+WLMpqz5KB1nZA/4VybXBM7qIYmteDHFmpAQDUJabnJt+n5Ztcpygw1dmXnww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzn6Z-0004lJ-23; Sun, 05 Nov 2023 19:04:35 -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 1qzn6T-0004ji-4q for guix-patches@gnu.org; Sun, 05 Nov 2023 19:04:29 -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 1qzn6S-0000S2-Qw for guix-patches@gnu.org; Sun, 05 Nov 2023 19:04:28 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzn73-0008W5-Qp for guix-patches@gnu.org; Sun, 05 Nov 2023 19:05:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65853] [PATCH v3 8/8] gnu: scilab: Set default SCIHOME value. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Nov 2023 00:05:05 +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.169922909132656 (code B ref 65853); Mon, 06 Nov 2023 00:05:05 +0000 Received: (at 65853) by debbugs.gnu.org; 6 Nov 2023 00:04:51 +0000 Received: from localhost ([127.0.0.1]:38414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzn6o-0008UY-LB for submit@debbugs.gnu.org; Sun, 05 Nov 2023 19:04:50 -0500 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:38747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzn6k-0008Tu-BH for 65853@debbugs.gnu.org; Sun, 05 Nov 2023 19:04:47 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.146.132]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4ECC425C48 for <65853@debbugs.gnu.org>; Mon, 6 Nov 2023 00:04:08 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-wfccv (unknown [10.110.208.152]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id ED7901FE4F; Mon, 6 Nov 2023 00:04:07 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-wfccv with ESMTPSA id mXggOHctSGU2qhAAEdL+9w (envelope-from ); Mon, 06 Nov 2023 00:04:07 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Mon, 6 Nov 2023 00:51:51 +0100 Message-ID: <20231106000354.32423-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106000354.32423-1-ngraves@ngraves.fr> References: <20231106000354.32423-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 3276368731923014370 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedruddufedgudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdeghfffhfefudduheeggeegffefuedvffeuheeuveejveelleeukeeujedutddunecuffhomhgrihhnpehhohhmvgdrlhhotggrlhdpshgtihhlrggsrdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehkeehfeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht 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 From: Nicolas Graves 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -4.61 X-Migadu-Queue-Id: 50B774497C X-Migadu-Spam-Score: -4.61 X-TUID: xEhWaDxBrl29 * gnu/packages/maths.scm (scilab): Set default SCIHOME value. [argmuments](phases)[rewrap-scilab-cli]: Set default -scihome option to respect XDG base dirs specification. Change-Id: I9b55758a3ca1fbc523c3e40e891a2462f3246390 --- gnu/packages/maths.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index dae4c528e2..355f2132bd 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -9734,8 +9734,12 @@ (define (bin path) (string-append #$output "/bin/" path)) (copy-file (bin ".scilab-cli-bin-real") (bin "scilab-cli-bin")) (delete-file (bin ".scilab-cli-bin-real")) (substitute* (bin "scilab-cli") - (("\\.scilab-cli-bin-real") - "scilab-cli-bin") + ;; Also set SCIHOME to sensible XDG base dirs value. + (("\\.scilab-cli-bin-real\"") + (string-append + "scilab-cli-bin\" -scihome " + "\"${XDG_STATE_HOME:-$HOME/.local/state}/scilab/" + #$(package-version this-package) "\"")) (("export SCI=") "unset LANGUAGE\nexport SCI=")))))))) (home-page "https://www.scilab.org/") -- 2.41.0