From unknown Mon Aug 11 21:36:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78771] [PATCH] gnu: Add clac. Resent-From: Skylar Hill Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 12 Jun 2025 03:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78771 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78771@debbugs.gnu.org Cc: Skylar Hill , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by submit@debbugs.gnu.org id=B.174969806213776 (code B ref -1); Thu, 12 Jun 2025 03:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2025 03:14:22 +0000 Received: from localhost ([127.0.0.1]:54585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uPYOU-0003a5-Aa for submit@debbugs.gnu.org; Wed, 11 Jun 2025 23:14:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52706) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uPYOR-0003Zb-Mb for submit@debbugs.gnu.org; Wed, 11 Jun 2025 23:14:20 -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 1uPYO8-0002NY-Uq for guix-patches@gnu.org; Wed, 11 Jun 2025 23:14:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uPYO5-0003BK-R4 for guix-patches@gnu.org; Wed, 11 Jun 2025 23:13:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E4DF2240027 for ; Thu, 12 Jun 2025 05:13:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=1984.ea087b; t=1749698032; bh=v17NTxCF4U7+JtG+FO2bDDmpfliIa/byRux3Adu023g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=iBV082XNKWF83p+jG7am6kNgXJDxcrUXEu3h77GY5HXI1C331Ld/uTcqUEufs60es DiSckU7KfrRiwBnySDnT6LPS69COYxy28sXtpxj7aa1mmV3izeI6BYxJm3ACaLRyyX JUkb81RXJoBUeWtxbf9auXKSdKqPQuZIY5mibxUar3wwuj96UckoH+XaKFnyr291c4 /14RA7lqhjLcU3+L1dzMEwXsZYWZBr0OEfbqOTsuGeleuXYGyK3WKKdh/+AOIM1xM1 V4Z9KsLqXjljWsVTxtPJdZXlFIRN18dsv17hXRG7v7tyhjepximZLw20HxlmPK7Xa0 Mw5h13zZ2K0cC9l//cRATeW+0EQqSyZpHe30Ffw2oYJGo8hZXRgGED4qj2is3vZGBr nx6RnLuOiT1+MLa620e6qmHyN3cPbam8q+M/wdXrjVkm1tgZve0PjyxxhXg9eVpEVE gM43ySvyQHfEhXYxn00TtKyIOqwXF5vYIWtcfJs+ee8nGryFqg7 Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4bHng35Wqwz6tyT; Thu, 12 Jun 2025 05:13:51 +0200 (CEST) From: Skylar Hill Date: Thu, 12 Jun 2025 03:12:49 +0000 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=stellarskylark@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * (clac): New variable. Vendors a dependency, linenoise, which is already packaged. However, since the linenoise package doesn't provide shared object files, I chose to simply use the vendored one. Change-Id: I5fe4db7b40b58753da3ac3ef947bf28cebeca7a6 --- gnu/packages/algebra.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b23785279e..931f421dac 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -2178,3 +2178,38 @@ (define-public msolve @end itemize") (license license:gpl2+))) +(define-public clac + (package + (name "clac") + (version "0.3.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/soveran/clac") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + "0crpm5rxxipiz6kqs5ip900d77vvnslyjn5f6nj0lrc86bkbgi8d"))) + (build-system gnu-build-system) + (arguments + (list + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-env + (lambda _ + (setenv "CC" "gcc") + (setenv "PREFIX" + #$output)))))) + (home-page "https://github.com/soveran/clac") + (synopsis "Command-line, stack-based calculator with postfix notation") + (description + "A command line, stack-based calculator with postfix notation +that displays the stack contents at all times. As you type, the stack changes +are reflected immediately.") + ;; Vendors two dependencies, both also BSD-2. SDS is not already + ;; packaged. linenoise is packaged, but the package doesn't provide shared + ;; object files so we have to build it anyway + (license license:bsd-2))) base-commit: 3d4cadf2759665d3ef9b6b81e5ba73b488d84dc9 prerequisite-patch-id: 3fec04fa2a12083bb04816507fd9c714478c44bd -- 2.49.0 From unknown Mon Aug 11 21:36:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Skylar Hill Subject: bug#78771: closed (Re: [PATCH] gnu: Add clac.) Message-ID: References: X-Gnu-PR-Message: they-closed 78771 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 78771@debbugs.gnu.org Date: Wed, 25 Jun 2025 21:10:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1750885805-27389-1" This is a multi-part message in MIME format... ------------=_1750885805-27389-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #78771: [PATCH] gnu: Add clac. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 78771@debbugs.gnu.org. --=20 78771: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78771 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1750885805-27389-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78771-done) by debbugs.gnu.org; 25 Jun 2025 21:09:55 +0000 Received: from localhost ([127.0.0.1]:39678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uUXNS-00076T-Kf for submit@debbugs.gnu.org; Wed, 25 Jun 2025 17:09:55 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:37254) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uUXNP-00075B-Gy for 78771-done@debbugs.gnu.org; Wed, 25 Jun 2025 17:09:52 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D54371D2; Wed, 25 Jun 2025 23:09:44 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id BN34RJy3u1tn; Wed, 25 Jun 2025 23:09:44 +0200 (CEST) Received: from jurong (arrious.as207910.net [45.67.83.248]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 98F6026D; Wed, 25 Jun 2025 23:09:43 +0200 (CEST) Date: Wed, 25 Jun 2025 23:09:36 +0200 From: Andreas Enge To: Skylar Hill Subject: Re: [PATCH] gnu: Add clac. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: hera X-Rspamd-Queue-Id: D54371D2 X-Spamd-Result: default: False [-5.08 / 15.00]; NEURAL_HAM(-3.00)[-1.000]; BAYES_HAM(-2.48)[97.67%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Spamd-Bar: ----- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78771-done Cc: 78771-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, thanks for your patch, this is a cute little software! I have just pushed it after adding a copyright line for you and making a few small changes to texts. Andreas ------------=_1750885805-27389-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Jun 2025 03:14:22 +0000 Received: from localhost ([127.0.0.1]:54585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uPYOU-0003a5-Aa for submit@debbugs.gnu.org; Wed, 11 Jun 2025 23:14:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52706) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uPYOR-0003Zb-Mb for submit@debbugs.gnu.org; Wed, 11 Jun 2025 23:14:20 -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 1uPYO8-0002NY-Uq for guix-patches@gnu.org; Wed, 11 Jun 2025 23:14:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uPYO5-0003BK-R4 for guix-patches@gnu.org; Wed, 11 Jun 2025 23:13:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E4DF2240027 for ; Thu, 12 Jun 2025 05:13:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=1984.ea087b; t=1749698032; bh=v17NTxCF4U7+JtG+FO2bDDmpfliIa/byRux3Adu023g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=iBV082XNKWF83p+jG7am6kNgXJDxcrUXEu3h77GY5HXI1C331Ld/uTcqUEufs60es DiSckU7KfrRiwBnySDnT6LPS69COYxy28sXtpxj7aa1mmV3izeI6BYxJm3ACaLRyyX JUkb81RXJoBUeWtxbf9auXKSdKqPQuZIY5mibxUar3wwuj96UckoH+XaKFnyr291c4 /14RA7lqhjLcU3+L1dzMEwXsZYWZBr0OEfbqOTsuGeleuXYGyK3WKKdh/+AOIM1xM1 V4Z9KsLqXjljWsVTxtPJdZXlFIRN18dsv17hXRG7v7tyhjepximZLw20HxlmPK7Xa0 Mw5h13zZ2K0cC9l//cRATeW+0EQqSyZpHe30Ffw2oYJGo8hZXRgGED4qj2is3vZGBr nx6RnLuOiT1+MLa620e6qmHyN3cPbam8q+M/wdXrjVkm1tgZve0PjyxxhXg9eVpEVE gM43ySvyQHfEhXYxn00TtKyIOqwXF5vYIWtcfJs+ee8nGryFqg7 Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4bHng35Wqwz6tyT; Thu, 12 Jun 2025 05:13:51 +0200 (CEST) From: Skylar Hill To: guix-patches@gnu.org Subject: [PATCH] gnu: Add clac. Date: Thu, 12 Jun 2025 03:12:49 +0000 Message-ID: MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=stellarskylark@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Skylar Hill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * (clac): New variable. Vendors a dependency, linenoise, which is already packaged. However, since the linenoise package doesn't provide shared object files, I chose to simply use the vendored one. Change-Id: I5fe4db7b40b58753da3ac3ef947bf28cebeca7a6 --- gnu/packages/algebra.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b23785279e..931f421dac 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -2178,3 +2178,38 @@ (define-public msolve @end itemize") (license license:gpl2+))) +(define-public clac + (package + (name "clac") + (version "0.3.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/soveran/clac") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + "0crpm5rxxipiz6kqs5ip900d77vvnslyjn5f6nj0lrc86bkbgi8d"))) + (build-system gnu-build-system) + (arguments + (list + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-env + (lambda _ + (setenv "CC" "gcc") + (setenv "PREFIX" + #$output)))))) + (home-page "https://github.com/soveran/clac") + (synopsis "Command-line, stack-based calculator with postfix notation") + (description + "A command line, stack-based calculator with postfix notation +that displays the stack contents at all times. As you type, the stack changes +are reflected immediately.") + ;; Vendors two dependencies, both also BSD-2. SDS is not already + ;; packaged. linenoise is packaged, but the package doesn't provide shared + ;; object files so we have to build it anyway + (license license:bsd-2))) base-commit: 3d4cadf2759665d3ef9b6b81e5ba73b488d84dc9 prerequisite-patch-id: 3fec04fa2a12083bb04816507fd9c714478c44bd -- 2.49.0 ------------=_1750885805-27389-1--