From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 02:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164497674626916 (code B ref -1); Wed, 16 Feb 2022 02:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2022 01:59:06 +0000 Received: from localhost ([127.0.0.1]:46997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK9b0-000702-EC for submit@debbugs.gnu.org; Tue, 15 Feb 2022 20:59:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:50568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK9az-0006zv-5Q for submit@debbugs.gnu.org; Tue, 15 Feb 2022 20:59:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK9ay-0002Ao-Rg for guix-patches@gnu.org; Tue, 15 Feb 2022 20:59:04 -0500 Received: from [2607:f8b0:4864:20::630] (port=35816 helo=mail-pl1-x630.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK9aw-00014L-Jm for guix-patches@gnu.org; Tue, 15 Feb 2022 20:59:04 -0500 Received: by mail-pl1-x630.google.com with SMTP id i10so851276plr.2 for ; Tue, 15 Feb 2022 17:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=bfkMj73rWQu7AeeQIZEc8GeSZQkKBmlOuGx5GNXOWKI=; b=Nf4UJ7rm18ozEqnrd0ZLegldTtERjzH2yzIvyOsCsDfhfxn9RU7+zNc2TxKIvbjVdp gvb23Xs72+TVQaM89JAc7cUe7w7F9nHE+BPR+im2Ty1ikwN5+iaFNo2xc/epNVQ4Syqo r2bpXZEkM9ZZeoQ5lkZ4xgSKoeVFtmLeeYzBXi4jS1sxjVm410o0OnuUFWxAz+OycRQQ ttaGAiUueKX+tbG/UQKAfXv9EoVYuTaG1NdhEEOUfm9jEBZb5H/OT31g+UF4ue+chwA7 LYWLjMHXHaozyVbCT2ijZf0ADpv9EaPIxhmEr6xfXdTBJ+MIxFaR+cowmA6IXwH4Jx40 HuHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=bfkMj73rWQu7AeeQIZEc8GeSZQkKBmlOuGx5GNXOWKI=; b=M+v51WrBAUSAlzxBDjJJVpkdLxQ6xRGA8gRkm5/anx9u5ebgZ9zFBSr738+Oe1T0he YCK0G5sXca0fXE9Vlg0IoLtn/BAa3Dwh6AvxZTSIUo7hFTeir2xlSwqSLDEQ7pxoEdIb Q6uxNmKUYpA7WzsZdKk93glyxVmpNoHAfkZnQs2ZA1yRL845gWMwGa83f+M9NsusbMRN KRckZj9k/P06fBnhcSgXnQPQJNjrq6W09AB9u5TLV/P/A8tLqeoVnHk7tKKKTgdWlFMP I0C4Eps98+UFA4egGcVtDiCaKxi3e0dYoXK5swUvrkDIQ3fwfa6SCIk2+D7r6GBbXHy8 Pxvw== X-Gm-Message-State: AOAM532KWYXaJW3J/VfYXPWQgWpxbvwJVCIoaJwDjwbvf86tqNxtIq+Y aYNclUvC5kq23aH6Qd8MRJFViwD90Dk= X-Google-Smtp-Source: ABdhPJxBzacJpLlYg1nJ0Yhdm4TC/HhPQ8Agu4YeEbawsRZXOQk35ze74GdxMB7KTMqNffKTJMf/sg== X-Received: by 2002:a17:90a:a117:b0:1b9:65ef:fa64 with SMTP id s23-20020a17090aa11700b001b965effa64mr351134pjp.102.1644976738341; Tue, 15 Feb 2022 17:58:58 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id k13sm44429686pfc.176.2022.02.15.17.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 17:58:57 -0800 (PST) From: Frank Pursel Date: Tue, 15 Feb 2022 17:58:53 -0800 Message-ID: <87pmnnr2qq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::630 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=frank.pursel@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.904, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Rhino javascript has been around a long time. It has also been built upon by many others. I needed to build this version for another package and wanted to send it on as it might be useful. Regards, Frank Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (frank.pursel[at]gmail.com) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.5 SPOOFED_FREEMAIL No description available. 0.8 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... 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.7 (/) Hi, Rhino javascript has been around a long time. It has also been built upon by many others. I needed to build this version for another package and wanted to send it on as it might be useful. Regards, Frank >From c386b47786fc318cdfa0b1157a22590ebc279460 Mon Sep 17 00:00:00 2001 Message-Id: From: Frank Pursel Date: Tue, 15 Feb 2022 14:07:28 -0800 Subject: [PATCH] Adding rhino javascript guix package. * guix/gnu/package/javascript.scm (rhino): Added package. --- gnu/packages/javascript.scm | 65 +++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index c453ac432a..e9db0d2ce6 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2018 Nicolas Goaziou ;;; Copyright =C2=A9 2021 Pierre Neidhardt ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,7 @@ (define-module (gnu packages javascript) #:use-module (gnu packages readline) #:use-module (gnu packages uglifyjs) #:use-module (gnu packages web) + #:use-module (gnu packages java) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -38,6 +40,7 @@ (define-module (gnu packages javascript) #:use-module (guix build-system cmake) #:use-module (guix build-system trivial) #:use-module (guix build-system minify) + #:use-module (guix build-system ant) #:use-module (guix utils)) =20 (define-public cjson @@ -788,3 +791,65 @@ (define-public duktape your build, and use the Duktape API to call ECMAScript functions from C co= de and vice versa.") (license license:expat))) + +(define-public rhino + (let* ((rel-ver "1.7.7.2") (rel-git-tag "Rhino1_7_7_2_Release") + (git-commitv "935942527ff434b205e797df4185518e5369466e") + (git-short-commit (substring git-commitv 0 6)) + (hash "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8")) + (package + (name "rhino") + (version git-short-commit) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mozilla/rhino.git") + (commit git-short-commit))) + (file-name (git-file-name name git-short-commit)) + (sha256 + (base32 + hash)))) + (build-system ant-build-system) + (inputs (list java-junit java-hamcrest-core + `(,icedtea "jdk"))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'clean-jars + (lambda _ + (for-each (lambda (jarf) + (delete-file jarf) + (format #t "Deleted: ~s +" jarf)) + (find-files "." ".*\\.jar$")) #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (setenv "ANT_OPTS" "-Doffline=3Dtrue") + (invoke "ant" "junit")) #t)) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg+ver (string-append ,name ,rel-ver)) + (bin (string-append out "/bin")) + (rhino (string-append bin "/rhino"))) + (mkdir-p bin) + (install-file (string-append "build/" pkg+ver + "/js.jar") + (string-append out "/share/java")) + (with-output-to-file rhino + (lambda _ + (format #t "#!~a +~a -jar ~a $@ +" + (search-input-file inputs "/bin/bash= ") + (which "java") + (string-append out "/share/java/js.j= ar")))) + (chmod rhino #o755) #t)))))) + (home-page "https://mozilla.github.io/rhino") + (synopsis "Javascript implemented in java") + (description + "The Rhino engine, created primarily by Norris +Boyd (also at Netscape) is a JavaScript implementation written in +Java. Rhino is ECMA-262 Edition 5 compliant.") + (license license:mpl2.0)))) + --=20 2.34.0 From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 17:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503082913568 (code B ref 54021); Wed, 16 Feb 2022 17:01:01 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 17:00:29 +0000 Received: from localhost ([127.0.0.1]:49342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNfI-0003Wm-SP for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:00:29 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:35200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNfG-0003Wd-Bk for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 12:00:28 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id vt0Q2600E4UW6Th01t0QrB; Wed, 16 Feb 2022 18:00:24 +0100 Message-ID: <49bf67abca6ff914c8a2fabac9640a496672c372.camel@telenet.be> From: Maxime Devos Date: Wed, 16 Feb 2022 18:00:20 +0100 In-Reply-To: <87pmnnr2qq.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-7n8vyij4hHcKJsSwE1LD" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645030824; bh=NYl+N7RsNAfl4IKcpwLkjiMECGk8+tpjCPpb7oiOvM0=; h=Subject:From:To:Date:In-Reply-To:References; b=G9w+toCyQVS8FWQAi1mmLRorXMYl71ByYdyHf4cZ8txKLWEV0rGDEbFh1CVIao3BC TKuHMHqxu1Qo795iSDkLxq/rkFBGwvjXdlDtMk55uZeryFOzBrKksVAngiX05+ttGw +9Vd7fTXeGhKJiJImZR0u8dHrAibXdFfgDtjfZyiHfHUwnq4Xzonn322rDbUtCmCQ/ D2GCKeyWK0nxk40CDJFtBFBbzoyavVkov0/zgvqsJIWtoZc75T+ACui9e4dTJrJQhZ WOwTAQeSwTt3t4DPzYhwsXY04MoCzlH4SU9nFvgbE7TFIsufBeua5B6gkrXPrHNTGS rDL7o/TXR+Utg== X-Spam-Score: -0.7 (/) 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.7 (-) --=-7n8vyij4hHcKJsSwE1LD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 RnJhbmsgUHVyc2VsIHNjaHJlZWYgb3AgZGkgMTUtMDItMjAyMiBvbSAxNzo1OCBbLTA4MDBdOgo+ ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChpZiB0ZXN0 cz8KPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgIChzZXRlbnYgIkFOVF9PUFRTIiAiLURvZmZsaW5lPXRydWUiKQo+ICvCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGludm9rZSAiYW50IiAi anVuaXQiKSkgI3QpKQoKVGhpcyBkb2VzICdzZXRlbnYnIHdoZW4gdGVzdHM/LCBhbmQgcnVucyAi YW50IGp1bml0IiB3aGVuIChub3QgdGVzdHM/KSwKd2hpY2ggZG9lc24ndCBzZWVtIHVzZWZ1bC4K CkRpZCB5b3UgbWVhbgoKICAod2hlbiB0ZXN0cz8KICAgIChzZXRlbnYgLi4uKQogICAgKGludm9r ZSAuLi4pKQoKaW5zdGVhZD8gIEFsc28sIHlvdSBjYW4gZHJvcCB0aGUgdHJhaWxpbmcgI3QsIHdo aWxlIHRoZXkgdXNlZCB0byBiZQpuZWNlc3NhcnksIHRoZXkgZG9uJ3QgaGF2ZSBhIG1lYW5pbmcg YW55bW9yZSBhbmQgYXJlIGdyYWR1YWxseSByZW1vdmVkCmZyb20gZXhpc3RpbmcgcGFja2FnZXMu CgpHcmVldGluZ3MsCk1heGltZS4K --=-7n8vyij4hHcKJsSwE1LD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg0tpBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vEzAQCDBQnq29pKM+Ob/L+Su6ePBWsC vqgpbLVFmuHmDygoAQD+Io7VFiPHcaIuEmj9iXba5ugQ7zZEXtdHe5fuSNevXQY= =ISzg -----END PGP SIGNATURE----- --=-7n8vyij4hHcKJsSwE1LD-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503096213780 (code B ref 54021); Wed, 16 Feb 2022 17:03:02 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 17:02:42 +0000 Received: from localhost ([127.0.0.1]:49347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNhS-0003aC-7u for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:02:42 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:43246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNhQ-0003a1-39 for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 12:02:40 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id vt2e2600B4UW6Th01t2e9K; Wed, 16 Feb 2022 18:02:38 +0100 Message-ID: From: Maxime Devos Date: Wed, 16 Feb 2022 18:02:38 +0100 In-Reply-To: <87pmnnr2qq.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-w4BeKOVQn1LLRirtBS3s" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645030958; bh=DqwKL50hWPMJJcG1shgSqZzFLKOhtr7jUwWQAslXq4E=; h=Subject:From:To:Date:In-Reply-To:References; b=cYXQblxymVNFjyOVZLn2CsPaGHUdiIUaaoQ0YhdDs2Te5NJ6n0HbOYxxdLA2XLOm6 0RpQFYSAfxB/uK29kQY6T2X3nBTmZQQsDo2eAuqZuMHCqtu7Iw//MjhYCRrJMbYSaa X+0Sv4vDs3c26TNZ/IgJCts/Gv/UZxMWSw+yrHhwdoN/IEVLYhYsO8YL/WT8SJL244 xBly7bAGpYh5s8Ixc9otIzKcXoYWYBKIG5UZzNfE4glXVqcqYd8vTSltNB/7sZ1CHD pwdoapRCfPjQjB2Y38LW8yfNMM6myfUyIyXYucTKuMYefG9KYd4T6SO7Jt4TW/cnsH MYY3yxHMUdugA== X-Spam-Score: -0.7 (/) 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.7 (-) --=-w4BeKOVQn1LLRirtBS3s Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Frank Pursel schreef op di 15-02-2022 om 17:58 [-0800]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inputs (list java-junit java-hamcrest-co= re > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(,icedtea "jdk"))) 'java-junit' is for testing and icedtea:jdk is for building Java source code to Jaa bytecode, so these seem 'native-inputs' to me. The distinction between 'inputs' and 'native-inputs' is cross-compiling. I'm not familiar enough with rhino and java-hamcrest-core to tell if 'java-hamcrest-core' would be an input or a native-input. Greetings, Maxime. --=-w4BeKOVQn1LLRirtBS3s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg0uLhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iyXAQDGf/8SfYGrbrykaah4yzaJ/y98 QHz0WWX6Qn9pC/sG4gEAprj65plfhxCeb+Hc0+svkum8ftyvAkcnAHxSpOTZlQM= =FPvD -----END PGP SIGNATURE----- --=-w4BeKOVQn1LLRirtBS3s-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503131114286 (code B ref 54021); Wed, 16 Feb 2022 17:09:01 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 17:08:31 +0000 Received: from localhost ([127.0.0.1]:49352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNn4-0003iL-TM for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:08:31 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:58480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNn3-0003iC-Ae for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 12:08:29 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id vt8T2600C4UW6Th01t8TE0; Wed, 16 Feb 2022 18:08:27 +0100 Message-ID: From: Maxime Devos Date: Wed, 16 Feb 2022 18:08:27 +0100 In-Reply-To: <87pmnnr2qq.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-D+/1+XddRKXaivfzquq5" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645031307; bh=pHDMjDNxsXGbfTwQysXoK7rrIy07UzySd5cgZyhutDs=; h=Subject:From:To:Date:In-Reply-To:References; b=joOh3MhPEvGFmnLlfV04OfgTgDSDoHr2q8lP/+/x/Eq5pPuFLsKU0llcKMG4dbEMb BuhKd9qQ9GNqF0JsPwQD5UoGpT0NHaRao67bbOgFQt14MMDfTu81VUlMrofPLCYmsz Qu+UsyrJbrDL9UBCq6zthe9pNaNmZW7kQ4QKlvo9qwrxWCCPpUD9kYws1b++vEPoDB lqI/OJnKCGxI2WeQcoPq8sFVFtHyakYxynMAGlQUhLSDzIP4EmClxsLL8rlqArEB8u gGPZhV9L+QjENeCA32UhMR/LGI0FcrxKdp0Wa0DxU+lMcU7PjiH777C3H6r6w42IQD +cCyvni41MCxQ== X-Spam-Score: -0.7 (/) 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.7 (-) --=-D+/1+XddRKXaivfzquq5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Frank Pursel schreef op di 15-02-2022 om 17:58 [-0800]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (synopsis "Javascript implemented in java= ") AFAICT, the standard spelling of JavaScript is JavaScript, and the spelling of Java is Java, not java. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (description > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "The Rhino engine, created primaril= y by Norris > +Boyd (also at Netscape) The author information is not important for people searching for packages (using "guix search" or the like) satisfying their criteria. > is a JavaScript implementation written in > +Java. Rhino is ECMA-262 Edition 5 compliant.") The last sentence almost implies that rhino has been certified for compliance or something. Instead, I would write something like =E2=80=98Rhino implements ECMAScript, also known as JavaScript, as specifie= d in=C2=A0 the fifth edition of ECMA-262.=E2=80=99 Greetings, Maxime. --=-D+/1+XddRKXaivfzquq5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg0vixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oJ0AP9DbiDQmZrPNCi/zhZei7sGilQG 2JIVH5cREtcOsKKlJgEAjN86pF6BFtlQxfQZDA3/9DkGXqDZh4eMN88R6TuqUg8= =0PNo -----END PGP SIGNATURE----- --=-D+/1+XddRKXaivfzquq5-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org, maximedevos@telenet.be, frank.pursel@gmail.com X-Debbugs-Original-To: guix-patches@gnu.org, Maxime Devos , Frank Pursel , 54021@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164503136614395 (code B ref -1); Wed, 16 Feb 2022 17:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2022 17:09:26 +0000 Received: from localhost ([127.0.0.1]:49359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNny-0003k6-FQ for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:09:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:55610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNnw-0003jz-Ux for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:09:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKNnv-0003Wd-7T for guix-patches@gnu.org; Wed, 16 Feb 2022 12:09:24 -0500 Received: from [2a00:5884:8208::1] (port=39152 helo=lepiller.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKNnf-000110-Nw for guix-patches@gnu.org; Wed, 16 Feb 2022 12:09:22 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 62f46bc8; Wed, 16 Feb 2022 17:09:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=8XzvxTmwAt7H Kc3vOv1hZkvXp489s0BQ7AcandN3tQo=; b=SBj6QFxs7WlWxxUOfqPcoN7qkPMS I9BmREiBQFxCS+noBuEtHZCIbO4RsWlDWbQVypHWgzW/q/8RaFE8gFKCpD38loPF 4rcxT8rzYSeWF6oEmErwslTLX0bFI2nyoJUy8gE0Z3+E8GxEgaF4oSqL1titYfdm Sb1wtk/5WDHYY6/C7pqYBi+7nT5WIj4ZT2WcN2lAU9n3TGH2mQW+cr+ZBdUffb6L yqHQ5XmOmVXveTxZlek+zEMoXqSl8mV/hSUDSEDbpOMh+1/9uNU7FDcLcbaswt5X TEPfIi9q2/Bdph5fT2EKYjEBtZSRktsKe68+E69IQrOQ9haqRMeAUJrz0w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 781093c7 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 16 Feb 2022 17:09:00 +0000 (UTC) Date: Wed, 16 Feb 2022 18:08:52 +0100 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: References: <87pmnnr2qq.fsf@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----C057G5YTH5ZNVVJOGAE7PNVVOPD288 Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8208::1 (failed) Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) ------C057G5YTH5ZNVVJOGAE7PNVVOPD288 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Very cool work on rhino! It's a dependency I needed to work on kotlin's bo= otstrap :) hamcrest-core is used by junit, so it should be a native-input too=2E Iced= tea is useless here, because it's already an implicit input of the ant-buil= d-system=2E On February 16, 2022 6:02:38 PM GMT+01:00, Maxime Devos wrote: >Frank Pursel schreef op di 15-02-2022 om 17:58 [-0800]: >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inputs (list java-junit java-hamcrest-= core >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(,icedtea "jdk"))) > >'java-junit' is for testing and icedtea:jdk is for building Java source >code to Jaa bytecode, so these seem 'native-inputs' to me=2E The >distinction between 'inputs' and 'native-inputs' is cross-compiling=2E > >I'm not familiar enough with rhino and java-hamcrest-core to tell if >'java-hamcrest-core' would be an input or a native-input=2E > >Greetings, >Maxime=2E ------C057G5YTH5ZNVVJOGAE7PNVVOPD288 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi!

Very cool work on rhino! It's a depende= ncy I needed to work on kotlin's bootstrap :)

hamcrest-core is used = by junit, so it should be a native-input too=2E Icedtea is useless here, be= cause it's already an implicit input of the ant-build-system=2E

On February 16, 2022 6:02:38 PM GMT+01:00, Maxime De= vos <maximedevos@telenet=2Ebe> wrote:
Frank Pursel schreef op di 15-02-2022 o=
m 17:58 [-0800]:
+ = ;     (inputs (list java-junit java-hamcrest-core
+&= nbsp;           &nbs= p;       `(,icedtea "jdk")))
=
'java-junit' is for testing and icedtea:jdk is for building Java source=
code to Jaa bytecode, so these seem 'native-inputs' to me=2E The
di= stinction between 'inputs' and 'native-inputs' is cross-compiling=2E
I'm not familiar enough with rhino and java-hamcrest-core to tell if
'j= ava-hamcrest-core' would be an input or a native-input=2E

Greetings,=
Maxime=2E
------C057G5YTH5ZNVVJOGAE7PNVVOPD288-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 17:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503137614420 (code B ref 54021); Wed, 16 Feb 2022 17:10:03 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 17:09:36 +0000 Received: from localhost ([127.0.0.1]:49363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNo7-0003kW-PH for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:09:35 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:36344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNo6-0003kK-B8 for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 12:09:34 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id vt9Y2600q4UW6Th01t9ZWK; Wed, 16 Feb 2022 18:09:33 +0100 Message-ID: From: Maxime Devos Date: Wed, 16 Feb 2022 18:09:32 +0100 In-Reply-To: <87pmnnr2qq.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-as1VsyzxAFq3JTyY3a+i" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645031373; bh=0fBhKrlTZDnmUthnHcDwxck8DWkGe7BjGzOa8htl4jU=; h=Subject:From:To:Date:In-Reply-To:References; b=gBCsR5NLXQcLKLfIKNhlm0MFD2fCKotor350N8frRoaXudO0gb6XXkuyaGWC9dHpT lRMRXsP/spvyu7OxOy7PLHndkUF37h7nuafXUPJkY8ZH1wxdpAh7SM7hcrs4L8Sz1e AqSrHsFGl9Sn89tRnSxhD3yC2fS65qVFLP6DRo8xiSsu2vLIIQiz+noz5bG057DTx/ Cx5kw/9GzLhjltX7f0Avj5ZYphHLVJ8AfRkjD2+0IIf4QmNdegkj8BLf9w6EVoxikY jI09aGQRAIHLuxAgUSrYgE4ZATTjWpZoaYetotPV6I7SomhhptWcMAfm8ORDvMU4mK 6lykAE3zI9BaQ== X-Spam-Score: -0.7 (/) 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.7 (-) --=-as1VsyzxAFq3JTyY3a+i Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 RnJhbmsgUHVyc2VsIHNjaHJlZWYgb3AgZGkgMTUtMDItMjAyMiBvbSAxNzo1OCBbLTA4MDBdOgo+ ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoCAod2hpY2ggImphdmEiKQoKJ3doaWNoJyBsb29rcyBpbiB0aGUg bmF0aXZlLWlucHV0cywgd2hpY2ggaXMgaW5jb3JyZWN0IGhlcmUgd2hlbiBjcm9zcy0KY29tcGls aW5nLiAgIEkgc3VnZ2VzdCB1c2luZyAnKHNlYXJjaC1pbnB1dC1maWxlIGlucHV0cyAiL2Jpbi9q YXZhIiknCmluc3RlYWQuCgpHcmVldGluZ3MsCk1heGltZS4K --=-as1VsyzxAFq3JTyY3a+i Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg0vzBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qITAQChYRsGExOzlRsezOfPCO3u8USd L5s5Q9xZXQekDkABswD/ceu4FG+h5ny8a6NtfKu47IFlOOm6MTHr41bL9xaBEQ4= =wCw+ -----END PGP SIGNATURE----- --=-as1VsyzxAFq3JTyY3a+i-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503210915534 (code B ref 54021); Wed, 16 Feb 2022 17:22:01 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 17:21:49 +0000 Received: from localhost ([127.0.0.1]:49372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNzw-00042R-Ru for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:21:49 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:60196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKNzs-00042F-GK for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 12:21:48 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id vtMi2600E4UW6Th01tMiu6; Wed, 16 Feb 2022 18:21:43 +0100 Message-ID: <5ad705f1e2d97a07057aca0945de8ce18c145662.camel@telenet.be> From: Maxime Devos Date: Wed, 16 Feb 2022 18:21:38 +0100 In-Reply-To: <87pmnnr2qq.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ePn+CmJ81RdWGyzMvzUF" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645032103; bh=+m2Qg04SXJYkw/AhTlRG3MtnWcQi5cYocx4AlBDoOl8=; h=Subject:From:To:Date:In-Reply-To:References; b=hHr7KGESSVj552SyzGwOYmY6KL4UwN1vb/VU5FcWxFKUtNYDQrGOB2Tp2wvHyXQyG NChGE9z9kkUzF1d50La/0HVgZHnr1QNi3FBCTSwtuabSTy+fZyAPtqaBVx428Xcqf0 uXLy3c9HrxstHfhWCNIPDfJNUtn1OD8Vc/bGNH45RS2DG7kbR3EhgI1hkB+HVsbFMM WNK7tUeFha7ij/Let6c3oVLw4RKTSHU/pQt7y/4igXChfa7SFJWmskzcK3jFWGTe3Y MvekkZnuNNgFrP7TVKETeADzXs8ji+bYrBx/kS9j35dhXUo0JDpgCypqsYNz74hP5l jXybAhbvhlyAw== X-Spam-Score: -0.7 (/) 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.7 (-) --=-ePn+CmJ81RdWGyzMvzUF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 RnJhbmsgUHVyc2VsIHNjaHJlZWYgb3AgZGkgMTUtMDItMjAyMiBvbSAxNzo1OCBbLTA4MDBdOgo+ ICsoZGVmaW5lLXB1YmxpYyByaGlubwo+ICvCoCAobGV0KiAoKHJlbC12ZXIgIjEuNy43LjIiKSAo cmVsLWdpdC10YWcgIlJoaW5vMV83XzdfMl9SZWxlYXNlIikKPiArwqDCoMKgwqDCoMKgwqDCoCAo Z2l0LWNvbW1pdHYgIjkzNTk0MjUyN2ZmNDM0YjIwNWU3OTdkZjQxODU1MThlNTM2OTQ2NmUiKQo+ ICvCoMKgwqDCoMKgwqDCoMKgIChnaXQtc2hvcnQtY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KgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCAoc2VhcmNoLWlucHV0LWZpbGUgaW5wdXRzICIvYmluL2Jhc2giKQoKJ2Jhc2gtbWluaW1hbCcg aXMgbWlzc2luZyBmcm9tICdpbnB1dHMnLiAgTm90IGluY2x1ZGluZyBpdCBvbmx5IHdvcmtzCndo ZW4gY29tcGlsaW5nIG5hdGl2ZWx5LgoKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHdoaWNoICJqYXZh IikKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHN0cmluZy1hcHBlbmQgb3V0ICIvc2hhcmUvamF2YS9q cy5qYXIiKSkpKQoKCidmb3JtYXQnIGhhcyBhIHBvcnQgYXJndW1lbnQsIHNvIHlvdSBjb3VsZCBk bwoKKGNhbGwtd2l0aC1vdXRwdXQtZmlsZSByaGlubwogIChsYW1iZGEgKHBvcnQpCiAgICAoZm9y bWF0IHBvcnQgIiMhfmEgfmEgLWphciAtYSAkQCIKICAgICAgICAgICAgKHNlYXJjaC1pbnB1dC1m aWxlIFsuLi5dKSBbLi4uXSkpKQoKQWxzbywgd2hhdCdzIHRoaXMgIiRAIj8KCkdyZWV0aW5ncywK TWF4aW1lLgo= --=-ePn+CmJ81RdWGyzMvzUF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg0yohccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7p+4AQDADteHwVNlpgncZXcyppqFYMlB UC2Vly8sSHxkGVqfjgEA7jaKehvA/Q0utODPpSV7NbjzeJsojYrUXoMBFscPmgs= =ban5 -----END PGP SIGNATURE----- --=-ePn+CmJ81RdWGyzMvzUF-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503661422505 (code B ref 54021); Wed, 16 Feb 2022 18:37:01 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 18:36:54 +0000 Received: from localhost ([127.0.0.1]:49419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKPAc-0005qv-1w for submit@debbugs.gnu.org; Wed, 16 Feb 2022 13:36:54 -0500 Received: from mail-ed1-f53.google.com ([209.85.208.53]:43895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKPAZ-0005qe-Sy for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 13:36:52 -0500 Received: by mail-ed1-f53.google.com with SMTP id y17so5428209edd.10 for <54021@debbugs.gnu.org>; Wed, 16 Feb 2022 10:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QGxJ+SrGBYVivD5nJc7D5DCFxhrAFp7SNC9Ixz55N6o=; b=FKxa1bTw/B5NRxDnchjhAXJ/y9BuXpZVGVwjIkxb+PuoTr7/3JmugWKFPpfPjyn9q/ sx9KnOfpoqoKcklZOL3TVNXvTPAD2oqlgPiRPPFfZULfVtSllF27P/wv1cMBSjH+6JJ6 lSGugieSrYEf7wI8l1LE/FpSUVV5hyvJlTSatXyVK1aViy6DKzr4+40sJHgK3VA59CR/ n4u6oYNNF/DHTEAtC3dlzgMl3sEcBAkesKakHo26pjLn+i+MIEPv9UTP82bQcR81EC+P DpNTgYBWvnEVQQywpy8UjWWduCrMppCLsH+WC0G5olHjahBsOqS8gS2Q69lM+eerGgXy Nglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QGxJ+SrGBYVivD5nJc7D5DCFxhrAFp7SNC9Ixz55N6o=; b=x0c3/behIX0ogKIWeMIi3km3+LfehJilipKckANaDwjF8j/hfVXQZ4yhRi+F97ly+B g/dXPdlytOwMszeFiO9fhUb7q0X13Mn4gMT3jcughq7SOSgXdEpwL5hWoFDcfYpmxPxm PsC8y9u7N9a2KrK+4mTdxzHLDoNtl4u6ImcyyHBoJqep5AgAXbG0pfZuTDUFAKS+l1kZ TDVqQHIKsITwK/82KzUhNBeaMXUdc6SpDRRobJDlfJNkVPFD6Jd1xgQ1h8VUa9FLWU+u sop0T2H9QbYpBaYsT6azjIeZqZf3NJ/mYtf58V0GFlkhpGvPUt84ROOiLo2TFo94xlge xRIw== X-Gm-Message-State: AOAM5339mzDbe0JkBQt7uCJMR4hbluhnGEXdDnczmWsAJhHUvV/dO5N+ Vnzgunjo8SOZTZAlrWBjJkKVIkSPy3c8BwajM3o= X-Google-Smtp-Source: ABdhPJzHXjI07saV2iiFSauLcm+JQRjSxxqXjcyI0F2s+z4cug6ZM0XnMre9r1Av7rN87EdpLQaupB/9f5gAv81dk7M= X-Received: by 2002:a05:6402:2744:b0:404:ba60:fec6 with SMTP id z4-20020a056402274400b00404ba60fec6mr4424539edd.235.1645036605724; Wed, 16 Feb 2022 10:36:45 -0800 (PST) MIME-Version: 1.0 References: <87pmnnr2qq.fsf@gmail.com> <5ad705f1e2d97a07057aca0945de8ce18c145662.camel@telenet.be> In-Reply-To: <5ad705f1e2d97a07057aca0945de8ce18c145662.camel@telenet.be> From: Frank Pursel Date: Wed, 16 Feb 2022 18:36:33 +0000 Message-ID: Content-Type: multipart/alternative; boundary="00000000000086d9c105d826ee1b" X-Spam-Score: -0.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: -1.0 (-) --00000000000086d9c105d826ee1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the careful review. The $@ was intended to allow the introduction of additional command line arguments but since it starts a repl and might be a source of nefariousness I've just removed it. I did not understand the bash-minimal comment. Are you saying that (search-input-file inputs "/bin/bash") will not work in the way I intended? I've changed all the inputs to native-inputs now. I'll get back to you after I do some more testing. Thank you for your helpful/thoughtful comments. Regards, Frank On Wed, Feb 16, 2022 at 5:21 PM Maxime Devos wrote= : > Frank Pursel schreef op di 15-02-2022 om 17:58 [-0800]: > > +(define-public rhino > > + (let* ((rel-ver "1.7.7.2") (rel-git-tag "Rhino1_7_7_2_Release") > > + (git-commitv "935942527ff434b205e797df4185518e5369466e") > > + (git-short-commit (substring git-commitv 0 6)) > > + (hash "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8")= ) > > This is quite a bit more complicated than necessary ... > > * 'rel-git-tag' is unused. > * Conventionally, a let-bound commit string has as name 'commit', not > 'git-commitv'. (guix upstream) expects 'commit', not 'git-commitv', > and will fail at auto-updating if a different name is used. > * (see later) > > > + (package > > + (name "rhino") > > + (version git-short-commit) > > 'git-short-commit' is a (shortened) commit string, not a version > number. This needs to be (version "1.7.7.2") instead. > > > + (source (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/mozilla/rhino.git") > > + (commit git-short-commit))) > > There is no need to shorten the commit string, you can use the full > "git-commitv" here. > > > + (file-name (git-file-name name git-short-commit)) > > We have a version number, so you can do (git-file-name name version) > here. > > > + (sha256 > > + (base32 > > + hash)))) > > The hash is only used in one place, so you can write it here directly. > This has as benefit that (guix packages) can do some checks on the hash > at compile time. > > [...] > > > + (arguments > > + `(#:phases (modify-phases %standard-phases > > + (add-after 'unpack 'clean-jars > > + (lambda _ > > + (for-each (lambda (jarf) > > + (delete-file jarf) > > + (format #t "Deleted: ~s > > +" jarf)) > > + (find-files "." ".*\\.jar$")) #t)) > > Cleaning the source code of binaries, making sure that the source code > actually consists of source code, seems more something for origin > snippets. It's not really explicitly mentioned anywhere I think, > but the following from =E2=80=98(guix)Snipepts versus Phases=E2=80=99 see= ms close: > > The boundary between using an origin snippet versus a build phase to > modify the sources of a package can be elusive. Origin snippets are > typically used to remove unwanted files such as bundled libraries, > nonfree sources, or to apply simple substitutions. [...] > > > + (replace 'install > > + (lambda* (#:key inputs outputs #:allow-other-key= s) > > + (let* ((out (assoc-ref outputs "out")) > > + (pkg+ver (string-append ,name ,rel-ver)= ) > > You can refer to the 'version' field of the package here: > > (pkg+ver (string-append ,name ,version)) > > > + (bin (string-append out "/bin")) > > + (rhino (string-append bin "/rhino"))) > > + (mkdir-p bin) > > + (install-file (string-append "build/" pkg+ve= r > > + "/js.jar") > > + (string-append out > "/share/java")) > > + (with-output-to-file rhino > > + (lambda _ > > + (format #t "#!~a > > +~a -jar ~a $@ > > +" > > + (search-input-file inputs > "/bin/bash") > > 'bash-minimal' is missing from 'inputs'. Not including it only works > when compiling natively. > > > + (which "java") > > + (string-append out > "/share/java/js.jar")))) > > > 'format' has a port argument, so you could do > > (call-with-output-file rhino > (lambda (port) > (format port "#!~a ~a -jar -a $@" > (search-input-file [...]) [...]))) > > Also, what's this "$@"? > > Greetings, > Maxime. > --00000000000086d9c105d826ee1b Content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RzJiMzOTsuwqAgTm90IGluY2x1ZGluZyBpdCBvbmx5IHdvcmtzPGJyPg0Kd2hl biBjb21waWxpbmcgbmF0aXZlbHkuPGJyPg0KPGJyPg0KJmd0OyArwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg KHdoaWNoICZxdW90O2phdmEmcXVvdDspPGJyPg0KJmd0OyArwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHN0 cmluZy1hcHBlbmQgb3V0ICZxdW90Oy9zaGFyZS9qYXZhL2pzLmphciZxdW90OykpKSk8YnI+DQo8 YnI+DQo8YnI+DQomIzM5O2Zvcm1hdCYjMzk7IGhhcyBhIHBvcnQgYXJndW1lbnQsIHNvIHlvdSBj b3VsZCBkbzxicj4NCjxicj4NCihjYWxsLXdpdGgtb3V0cHV0LWZpbGUgcmhpbm88YnI+DQrCoCAo bGFtYmRhIChwb3J0KTxicj4NCsKgIMKgIChmb3JtYXQgcG9ydCAmcXVvdDsjIX5hIH5hIC1qYXIg LWEgJEAmcXVvdDs8YnI+DQrCoCDCoCDCoCDCoCDCoCDCoCAoc2VhcmNoLWlucHV0LWZpbGUgWy4u Ll0pIFsuLi5dKSkpPGJyPg0KPGJyPg0KQWxzbywgd2hhdCYjMzk7cyB0aGlzICZxdW90OyRAJnF1 b3Q7Pzxicj4NCjxicj4NCkdyZWV0aW5ncyw8YnI+DQpNYXhpbWUuPGJyPg0KPC9ibG9ja3F1b3Rl PjwvZGl2Pg0K --00000000000086d9c105d826ee1b-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Add rhino javascript package Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel Cc: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164503701023123 (code B ref 54021); Wed, 16 Feb 2022 18:44:01 +0000 Received: (at 54021) by debbugs.gnu.org; 16 Feb 2022 18:43:30 +0000 Received: from localhost ([127.0.0.1]:49424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKPH0-00060s-2K for submit@debbugs.gnu.org; Wed, 16 Feb 2022 13:43:30 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:41778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKPGx-00060j-Py for 54021@debbugs.gnu.org; Wed, 16 Feb 2022 13:43:28 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id vujR2600F4UW6Th01ujRRC; Wed, 16 Feb 2022 19:43:25 +0100 Message-ID: From: Maxime Devos Date: Wed, 16 Feb 2022 19:43:21 +0100 In-Reply-To: References: <87pmnnr2qq.fsf@gmail.com> <5ad705f1e2d97a07057aca0945de8ce18c145662.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-P7TtTeG0Rm7I417tdT68" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645037005; bh=gDoIP435JWB0jQ/8s9A2nIiNygOJ06Xnu2NvsUyErZ8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Um3Q+LF9+T0Dk6kACQGWJVogWboZdLqgjfMwwCFb4EnhhTz8QDjF9J6I11ywzFoUH FXqYnguSfH5DqhL+0Hl/wEqsrc0lh+QK7gfEu63LgGMqTbcR5595YEIisL4U5Je5c1 G9YfIzY3tia/iR5gKaz+IOdroj+o5zYOQ2m2IPmnPMhXDtkWoNUA17hgghdVQoomIk FdlhOvpPVZC6t/jYfAMKDcDOBjZVt/BSuCP7TxMIeUEFn3px1mf6W8ROK5mk7LjFdD lLC1T0hkLNmgI4WxBmM5AN9Ny2Z36cuwBtQ+Ag/81aXzQ5IMLZUkz3RcHGAaLCN7Iy ZV27up/dBgS/A== X-Spam-Score: -0.7 (/) 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.7 (-) --=-P7TtTeG0Rm7I417tdT68 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Frank Pursel schreef op wo 16-02-2022 om 18:36 [+0000]: > I did not understand the bash-minimal comment.=C2=A0 Are you saying that > (search-input-file inputs "/bin/bash") will not work in the way I > intended 'bash-minimal' (*) is an implicit native-input of ant-build-system. When compiling natively, inputs and native-inputs are merged together into 'inputs'. As such, bash-minimal (and hence "/bin/bash") is contained in 'inputs' when compiling natively. So if you compiled natively (most likely), then using (search-input-file inputs "/bin/bash") this succeeds. However, if cross-compiling with "guix build --target=3Daarch64-linux- gnu" or the like (**), then the native-inputs and inputs are kept separate, so 'inputs' would not contain bash, (search-input-file ...) would fail by raising a &search-error exception and the build would therefore fail. This can be resolved by adding the 'bash-minimal' package to 'inputs'. (*) Actually a variant of 'bash-minimal' but that does not matter here. (**) This won't work _yet_ because 'ant-build-system' does not support cross-compilation yet. Greetings, Maxime. --=-P7TtTeG0Rm7I417tdT68 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYg1FyRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j6jAP46WOfj4twRGdOSUdyLkAYUtysE 9FyfZqDKyfWdqmtLOAD+I5io7kCrQ/WBSK8uFEvQNwi0WHkhK6Dp17LwWJ35dwA= =nFDa -----END PGP SIGNATURE----- --=-P7TtTeG0Rm7I417tdT68-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Adding rhino package, revised patch References: <87pmnnr2qq.fsf@gmail.com> In-Reply-To: <87pmnnr2qq.fsf@gmail.com> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Feb 2022 05:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164507537013812 (code B ref 54021); Thu, 17 Feb 2022 05:23:02 +0000 Received: (at 54021) by debbugs.gnu.org; 17 Feb 2022 05:22:50 +0000 Received: from localhost ([127.0.0.1]:49838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKZFi-0003ah-6r for submit@debbugs.gnu.org; Thu, 17 Feb 2022 00:22:50 -0500 Received: from mail-pl1-f182.google.com ([209.85.214.182]:41487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKZFg-0003aU-8n for 54021@debbugs.gnu.org; Thu, 17 Feb 2022 00:22:48 -0500 Received: by mail-pl1-f182.google.com with SMTP id j4so3728505plj.8 for <54021@debbugs.gnu.org>; Wed, 16 Feb 2022 21:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=d2XuMP99wP9Aiii5Oog+yEd2WaH9UeHIJdthK/k5Wu4=; b=O0xBcp0wfX+qiGpEN8aYazhvriRgd5fT2IfxZcEWBtlmD4GUHyKTFCTH/mfasCXqX8 qIVRzf37uMRejpj9HqgINh8b+jBuSf4ihB4Zg0/PRE/taGuVUQipEw+G+QBUgsx/TEoe KTrnMN9/nBBakR9fohs2vz/uSnF8LfoUcjBY33RjnBrgxwqg+Ks8KoucXwxIP9Cprann C569iU1n8nFv7vkhEiPFLo6FURrldwOj8qlPHy8OnOg755lXNRhSbDGtvavJfJORDCeh vGhOSvPyA0IcHmUMxjPJHei4kBxnmgxeMOMwmPyjIVb6S+rx+8rYS2YBS+f03Q4iA3Wa hrBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=d2XuMP99wP9Aiii5Oog+yEd2WaH9UeHIJdthK/k5Wu4=; b=L6XhifZiSbzNZ7iuANY+o7QtqBML1Nt5OlnqzWCBA5+/mpau1GXwq7SmGF9EDQwCD2 4mQ4bSt5ZiLa0bf+2OfR9Jf1L9un87fah97t7DjajvP9pqY164sE57vKQGTDH2CuPB49 ZRXI8LMZ2cqkbiW2vI26GQDpaj34QmK/BnsRvKOy9Bc4GwGy6DbHIkcLZnA055E8dwHL by7PQTCYZpOsq/FMWbYWHlX74FgJb8R0kp3RqDh9y2GtPAOUykLf627XtDmkY/p/Gt2G 2eQjGWCX0vXgckOjzGMzCKJbMYrAdarFo79RZ4BUMBZ0knUmrjySF3yvGrkLpJh16elj uNtA== X-Gm-Message-State: AOAM5324ZRCbOFqjyjTDHYELjPTxvjo9vh7msedlA7POXGUK7NTOmUjE W27sI/140LTe69eyX/2z62c= X-Google-Smtp-Source: ABdhPJxjlxJa4lMxtLuEKS/ZPPaO7tKEH0PXoFEDjLk75Qz01raCHi//XFDSaPVnojCTz6SBL++ryw== X-Received: by 2002:a17:902:b112:b0:14d:b42c:d4bd with SMTP id q18-20020a170902b11200b0014db42cd4bdmr1274312plr.160.1645075362044; Wed, 16 Feb 2022 21:22:42 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id h14sm51133082pfh.95.2022.02.16.21.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 21:22:41 -0800 (PST) From: Frank Pursel Date: Wed, 16 Feb 2022 21:22:39 -0800 Message-ID: <87mtiqqd7k.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I've incorporated the feedback I've receive so far and worked to get the check phase to complete successfully but this effort is complicated by the default use of benchmarking and instrumentation. I d [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.182 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (frank.pursel[at]gmail.com) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.182 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. 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.6 (/) Hi, I've incorporated the feedback I've receive so far and worked to get the check phase to complete successfully but this effort is complicated by the default use of benchmarking and instrumentation. I don't think this additional instrumentation is appropriate to the check phase of this package. I can get testing to naively succeed using an alternate target but because this version of the software has had longterm and widespread experience I recommend that we simply be honest and set tests? to #f. That is what I've done here. Comments in the source describe choices I made that you might decide are undesirable. Let me know what you think. Regards, Frank >From 84848769a9c40e770d7a29edf200292a04bdcb2e Mon Sep 17 00:00:00 2001 Message-Id: <84848769a9c40e770d7a29edf200292a04bdcb2e.1645075292.git.frank.= pursel@gmail.com> From: Frank Pursel Date: Tue, 15 Feb 2022 14:07:28 -0800 Subject: [PATCH] Adding rhino javascript guix package. * guix/gnu/package/javascript.scm (rhino): Added package. --- gnu/packages/javascript.scm | 105 +++++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 1 deletion(-) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index c453ac432a..3068ce8197 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2018 Nicolas Goaziou ;;; Copyright =C2=A9 2021 Pierre Neidhardt ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,9 @@ (define-module (gnu packages javascript) #:use-module (gnu packages readline) #:use-module (gnu packages uglifyjs) #:use-module (gnu packages web) + #:use-module (gnu packages java) + #:use-module (gnu packages bash) + #:use-module (gnu packages perl) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -38,7 +42,9 @@ (define-module (gnu packages javascript) #:use-module (guix build-system cmake) #:use-module (guix build-system trivial) #:use-module (guix build-system minify) - #:use-module (guix utils)) + #:use-module (guix build-system ant) + #:use-module (guix utils) + #:use-module (guix gexp)) =20 (define-public cjson (package @@ -788,3 +794,100 @@ (define-public duktape your build, and use the Duktape API to call ECMAScript functions from C co= de and vice versa.") (license license:expat))) + +(define-public rhino + (let* ((rel-ver "1.7.7.2") + (commit "935942527ff434b205e797df4185518e5369466e")) + (package + (name "rhino") + (version rel-ver) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mozilla/rhino.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d= 7wl8")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Identify bundled jars to maintain build purity + ;; remove bundled jars but those for testing + ;; all appear to be for testing or unused build system + ;; + ;; source/rhino [env]$ find . -name '*.jar' + ;; ./testsrc/org/mozilla/javascript/tests/commonjs/mod= ule/modules.jar + ;; ./testsrc/tests/src/jstests.jar + ;; ./gradle/wrapper/gradle-wrapper.jar + (format #t "~%~a~%" "Sourced jars") + (for-each + (lambda (f) (format #t "~/~a~%" f)) + (find-files "." ".*\\.jar$")) + #t)))) + (build-system ant-build-system) + (inputs (list bash-minimal)) + (native-inputs (list java-junit + java-hamcrest-core + java-snakeyaml ;Required for tests. + perl ;Required for 'jsdriver' che= ck target. + )) + (arguments + `(#:tests? #f + ;; tests? currently fail + ;; the 'junit' target defaults to impure instrumentation = and benchmarking. + ;; there is another target 'jsdriver' of unknown scope wh= ich succeeds + ;; As this pkg+ver has seen longstanding use, tests? are = disabled. + #:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs native-inputs #:allow-= other-keys) + (when tests? + (setenv "ANT_OPTS" "-Doffline=3Dtrue") + (let ((junit-lib (assoc-ref inputs "java-junit")) + (hamcrest-lib (assoc-ref inputs "java-hamc= rest-core")) + (snakeyaml-lib (assoc-ref inputs "java-sna= keyaml"))) + (with-directory-excursion "testsrc" + (substitute* "build.xml" + (("" all) + (string-append "")) + (("" all) + (string-append "")) + (("" all) + (string-append "")) + ((""= all) + (string-append "")) + (("") + (string-append "")) + (("") + (string-append "")) + (("") + (string-append "")))) + ;; Check could alternatively invoke the jsdriv= er target here. + (invoke "ant" "junit"))))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg+ver (string-append ,name ,version)) + (bin (string-append out "/bin")) + (rhino (string-append bin "/rhino"))) + (mkdir-p bin) + (install-file (string-append "build/" pkg+ver + "/js.jar") + (string-append out "/share/java")) + (with-output-to-file rhino + (lambda _ + (format #t "#!~a~%~a -jar ~a~%" + (search-input-file inputs "/bin/bash= ") + (search-input-file inputs "/bin/java= ") + (string-append out "/share/java/js.j= ar")))) + (chmod rhino #o755))))))) + (home-page "https://mozilla.github.io/rhino") + (synopsis "Javascript implemented in Java") + (description + "Rhino implements ECMAScript, also known as JavaScript, in Java as +specified in the fifth edition of ECMA-262") + (license license:mpl2.0)))) + --=20 2.34.0 From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] if, at first, you don't succeed... References: <87pmnnr2qq.fsf@gmail.com> In-Reply-To: <87pmnnr2qq.fsf@gmail.com> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164521694722269 (code B ref 54021); Fri, 18 Feb 2022 20:43:02 +0000 Received: (at 54021) by debbugs.gnu.org; 18 Feb 2022 20:42:27 +0000 Received: from localhost ([127.0.0.1]:56473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLA5C-0005n6-DW for submit@debbugs.gnu.org; Fri, 18 Feb 2022 15:42:26 -0500 Received: from mail-pl1-f178.google.com ([209.85.214.178]:41727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLA5A-0005mt-Ni for 54021@debbugs.gnu.org; Fri, 18 Feb 2022 15:42:25 -0500 Received: by mail-pl1-f178.google.com with SMTP id j4so8051165plj.8 for <54021@debbugs.gnu.org>; Fri, 18 Feb 2022 12:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=oSzwYtNKKuszWJ+svRnNpUuskMW3TnuaIaaQK6pUCtc=; b=dULeZKns0ZUAbYVZ09fPf/mAkV89XhHG2Ge3zLzDzlgHfyG4SxsMMW0K9vEySlcfrq daNrvIyBfNfdYfvqOv8jgvc8Zbm3CJYYdv3MVEU7h97bzNcJ0ZHFpXLqdOzvIHyksuBX SSzy6oV1nNpqLm3I6n1TJ2OTbJzMZXdBDHK8DqosJ3XzVhaJz4LyXCSGccpuScfh9pnZ QKoYQBj/i+HGvJXCOKteHGPiH/EYmMslKT3HbgSSwuOWv5S+/sk1MzWBgc+Y5/mncq7y YYQhRSs36MZQjGG14Vl/bdCtF7dWVAjaXQHKuEVazr8ETlGdG968giBGgsd51OXiFdCW db+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=oSzwYtNKKuszWJ+svRnNpUuskMW3TnuaIaaQK6pUCtc=; b=q4MtS3MVnA/HWNeu0cRWXgSKV+pb1ubiutNwk5FJ1MM8JiSoMGhE0TlAWW0k5o8YhQ d3iza/CZqZLgXcr4OYgTNnYqg4O4LNcAIazCFjydz+6sll3EsNYBUpP+mS9FMVuNUgzb qk1g66fTgK1xbyMUi7VXpUY6VZtXcxz70k22FOBxzd9k0WgFH+1v3eAmSU/m8v9IFPm1 YGhUxIcxMlVv6VHPGGWDKllGhHPgdtbacNM9eVECm8r9eTFBsOEDgaJfXWmg6EBOfboT bfroNz+YvkMSGmIKwjGFgd5DT956nUIDh/vNRwp884f5d6FeySgB4R0AjVIAGnvB5Zk2 7l2A== X-Gm-Message-State: AOAM530+8hNv/wukH8jC/Wqhxo7xUs3JVuRGQco/AjwRMoBenxRT+l7H 10SvCojOcJ8of9HQb9Q5Eos= X-Google-Smtp-Source: ABdhPJw+9DJoltbPa7CnBfeCod8U6ohwk+nhcjV2jmlabIlCodQGrP68HcWYBR4HDRjDQ84BnjOcGQ== X-Received: by 2002:a17:90b:4a02:b0:1b8:d3c7:7a2b with SMTP id kk2-20020a17090b4a0200b001b8d3c77a2bmr14327431pjb.194.1645216938735; Fri, 18 Feb 2022 12:42:18 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id h5sm4144917pfi.18.2022.02.18.12.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 12:42:17 -0800 (PST) From: Frank Pursel Date: Fri, 18 Feb 2022 12:42:16 -0800 Message-ID: <87k0drrjo7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I think this addresses all the identified issues and, best of all, does it with a now, meaningful check phase. Regards, Frank Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.178 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.178 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (frank.pursel[at]gmail.com) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. 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.6 (/) Hi, I think this addresses all the identified issues and, best of all, does it with a now, meaningful check phase. Regards, Frank >From e45fd6a53579327667067ca0642e97d0cb373d5c Mon Sep 17 00:00:00 2001 Message-Id: From: Frank Pursel Date: Tue, 15 Feb 2022 14:07:28 -0800 Subject: [PATCH] Adding rhino javascript guix package. * guix/gnu/package/javascript.scm (rhino): Added package. --- gnu/packages/javascript.scm | 106 +++++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 1 deletion(-) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index c453ac432a..158abaded7 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2018 Nicolas Goaziou ;;; Copyright =C2=A9 2021 Pierre Neidhardt ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,9 @@ (define-module (gnu packages javascript) #:use-module (gnu packages readline) #:use-module (gnu packages uglifyjs) #:use-module (gnu packages web) + #:use-module (gnu packages java) + #:use-module (gnu packages bash) + #:use-module (gnu packages perl) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -38,7 +42,9 @@ (define-module (gnu packages javascript) #:use-module (guix build-system cmake) #:use-module (guix build-system trivial) #:use-module (guix build-system minify) - #:use-module (guix utils)) + #:use-module (guix build-system ant) + #:use-module (guix utils) + #:use-module (guix gexp)) =20 (define-public cjson (package @@ -788,3 +794,101 @@ (define-public duktape your build, and use the Duktape API to call ECMAScript functions from C co= de and vice versa.") (license license:expat))) + +(define-public rhino + (let* ((rel-ver "1.7.7.2") + (commit "935942527ff434b205e797df4185518e5369466e")) + (package + (name "rhino") + (version rel-ver) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mozilla/rhino.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove benchmark testing + (with-directory-excursion + "testsrc" + (delete-file-recursively "benchmarks")) + (with-directory-excursion + "testsrc/org/mozilla/javascript" + (delete-file-recursively "benchmarks")) + ;; Identify bundled jars + (format #t "~%~a~%" "Sourced jars") + (for-each (lambda (f) + (format #t "~/~a~%" f)) + (find-files "." ".*\\.jar$")))))) + (build-system ant-build-system) + (inputs (list bash-minimal)) + (native-inputs (list java-junit java-hamcrest-core java-snakeyaml)) + (arguments + `(#:phases + (modify-phases + %standard-phases + (replace 'check + (lambda* (#:key tests? inputs native-inputs + #:allow-other-keys) + (when tests? + (setenv "ANT_OPTS" "-Doffline=3Dtrue") + (let ((junit-lib + (assoc-ref inputs "java-junit")) + (hamcrest-lib + (assoc-ref inputs "java-hamcrest-core")) + (snakeyaml-lib + (assoc-ref inputs "java-snakeyaml"))) + (with-directory-excursion "testsrc" + (substitute* "build.xml" + (("" all) + (string-append "")) + (("" all) + (string-append "")) + (("" all) + (string-append "")) + (("" all) + (string-append "")) + (("") + (string-append + "")) + (("") + (string-append "")) + (("") + (string-append "")) + ;; Disabling instrumentation. + (("(")))) + (invoke "ant" "junit"))))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg+ver (string-append ,name ,version)) + (bin (string-append out "/bin")) + (rhino (string-append bin "/rhino")) + (man (string-append out "/share/man/man1"))) + (mkdir-p bin) + (with-directory-excursion "man" + (install-file "rhino.1" man)) + (install-file (string-append "build/" pkg+ver + "/js.jar") + (string-append out "/share/java")) + (with-output-to-file rhino + (lambda _ + (format #t "#!~a~%~a -jar ~a $@~%" + (search-input-file inputs "/bin/bash= ") + (search-input-file inputs "/bin/java= ") + (string-append out "/share/java/js.j= ar")))) + (chmod rhino #o755))))))) + (home-page "https://mozilla.github.io/rhino") + (synopsis "Javascript implemented in Java") + (description + "Rhino implements ECMAScript, also known as JavaScript, in Java as +specified in the fifth edition of ECMA-262") + (license license:mpl2.0)))) + --=20 2.34.0 From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] if, at first, you don't succeed... Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Feb 2022 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel Cc: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164544958130739 (code B ref 54021); Mon, 21 Feb 2022 13:20:02 +0000 Received: (at 54021) by debbugs.gnu.org; 21 Feb 2022 13:19:41 +0000 Received: from localhost ([127.0.0.1]:35352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM8bN-0007zi-3j for submit@debbugs.gnu.org; Mon, 21 Feb 2022 08:19:41 -0500 Received: from flashner.co.il ([178.62.234.194]:38342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM8bK-0007zV-V7 for 54021@debbugs.gnu.org; Mon, 21 Feb 2022 08:19:39 -0500 Received: from localhost (unknown [31.210.181.166]) by flashner.co.il (Postfix) with ESMTPSA id 0393A40313; Mon, 21 Feb 2022 13:19:32 +0000 (UTC) Date: Mon, 21 Feb 2022 15:19:00 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Frank Pursel , 54021@debbugs.gnu.org References: <87pmnnr2qq.fsf@gmail.com> <87k0drrjo7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b+tMgGiLkILPEmjt" Content-Disposition: inline In-Reply-To: <87k0drrjo7.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Fri, Feb 18, 2022 at 12:42:16PM -0800, Frank Pursel wrote: > Hi, > > I think this addresses all the identified issues and, best of all, does it > with a now, meaningful check phase. Very nice! > Regards, > Frank > > From e45fd6a53579327667067ca0642e97d0cb373d5c Mon Sep 17 00:00:00 2001 > Message-Id: > From: Fra [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 T_SCC_BODY_TEXT_LINE No description available. 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.6 (/) --b+tMgGiLkILPEmjt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2022 at 12:42:16PM -0800, Frank Pursel wrote: > Hi, >=20 > I think this addresses all the identified issues and, best of all, does it > with a now, meaningful check phase. Very nice! > Regards, > Frank >=20 > From e45fd6a53579327667067ca0642e97d0cb373d5c Mon Sep 17 00:00:00 2001 > Message-Id: > From: Frank Pursel > Date: Tue, 15 Feb 2022 14:07:28 -0800 > Subject: [PATCH] Adding rhino javascript guix package. >=20 > * guix/gnu/package/javascript.scm (rhino): Added package. > --- > gnu/packages/javascript.scm | 106 +++++++++++++++++++++++++++++++++++- > 1 file changed, 105 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm > index c453ac432a..158abaded7 100644 > --- a/gnu/packages/javascript.scm > +++ b/gnu/packages/javascript.scm > @@ -6,6 +6,7 @@ > ;;; Copyright =C2=A9 2018 Nicolas Goaziou > ;;; Copyright =C2=A9 2021 Pierre Neidhardt > ;;; Copyright =C2=A9 2021 Maxim Cournoyer > +;;; Copyright =C2=A9 2022 Frank Pursel > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -31,6 +32,9 @@ (define-module (gnu packages javascript) > #:use-module (gnu packages readline) > #:use-module (gnu packages uglifyjs) > #:use-module (gnu packages web) > + #:use-module (gnu packages java) > + #:use-module (gnu packages bash) > + #:use-module (gnu packages perl) Please sort the (gnu packages ...) alphabetically :) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) > @@ -38,7 +42,9 @@ (define-module (gnu packages javascript) > #:use-module (guix build-system cmake) > #:use-module (guix build-system trivial) > #:use-module (guix build-system minify) > - #:use-module (guix utils)) > + #:use-module (guix build-system ant) > + #:use-module (guix utils) > + #:use-module (guix gexp)) > =20 > (define-public cjson > (package > @@ -788,3 +794,101 @@ (define-public duktape > your build, and use the Duktape API to call ECMAScript functions from C = code > and vice versa.") > (license license:expat))) > + > +(define-public rhino > + (let* ((rel-ver "1.7.7.2") > + (commit "935942527ff434b205e797df4185518e5369466e")) rel-ver and commit can actually go in version and commit respectively, they don't need to be separated out at the top. > + (package > + (name "rhino") > + (version rel-ver) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/mozilla/rhino.git") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8"= )) > + (modules '((guix build utils))) > + (snippet '(begin > + ;; Remove benchmark testing > + (with-directory-excursion > + "testsrc" > + (delete-file-recursively "benchmarks")) This can be (delete-file-recursively "testsrc/benchmarks"). Similar with the one below it. > + (with-directory-excursion > + "testsrc/org/mozilla/javascript" > + (delete-file-recursively "benchmarks")) > + ;; Identify bundled jars > + (format #t "~%~a~%" "Sourced jars") > + (for-each (lambda (f) > + (format #t "~/~a~%" f)) > + (find-files "." ".*\\.jar$")))))) This one is small, in find-files you don't need the leading '.*' before \\.jar$ > + (build-system ant-build-system) > + (inputs (list bash-minimal)) > + (native-inputs (list java-junit java-hamcrest-core java-snakeyaml)) > + (arguments > + `(#:phases > + (modify-phases > + %standard-phases > + (replace 'check > + (lambda* (#:key tests? inputs native-inputs > + #:allow-other-keys) > + (when tests? > + (setenv "ANT_OPTS" "-Doffline=3Dtrue") > + (let ((junit-lib > + (assoc-ref inputs "java-junit")) > + (hamcrest-lib > + (assoc-ref inputs "java-hamcrest-core")) > + (snakeyaml-lib > + (assoc-ref inputs "java-snakeyaml"))) > + (with-directory-excursion "testsrc" > + (substitute* "build.xml" > + (("" all) > + (string-append "")) > + (("" all) > + (string-append "")) > + (("" all) > + (string-append "")) > + (("" all) > + (string-append "")) > + (("") > + (string-append > + "")) > + (("") > + (string-append " + "\" includes=3D\"**/*.jar\"/>")) > + (("") > + (string-append " + "\" includes=3D\"**/*.jar\"/>")) > + ;; Disabling instrumentation. > + (("( + (string-append pre "\">")))) > + (invoke "ant" "junit"))))) > + (replace 'install > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (pkg+ver (string-append ,name ,version)) > + (bin (string-append out "/bin")) > + (rhino (string-append bin "/rhino")) > + (man (string-append out "/share/man/man1"= ))) > + (mkdir-p bin) > + (with-directory-excursion "man" > + (install-file "rhino.1" man)) This one can just be (install-file "man/rhino.1" man) > + (install-file (string-append "build/" pkg+ver > + "/js.jar") > + (string-append out "/share/java"= )) > + (with-output-to-file rhino > + (lambda _ > + (format #t "#!~a~%~a -jar ~a $@~%" > + (search-input-file inputs "/bin/ba= sh") > + (search-input-file inputs "/bin/ja= va") > + (string-append out "/share/java/js= =2Ejar")))) > + (chmod rhino #o755))))))) > + (home-page "https://mozilla.github.io/rhino") > + (synopsis "Javascript implemented in Java") > + (description > + "Rhino implements ECMAScript, also known as JavaScript, in Java as > +specified in the fifth edition of ECMA-262") Needs a period at the end of the description. > + (license license:mpl2.0)))) > + > --=20 > 2.34.0 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --b+tMgGiLkILPEmjt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmITkUEACgkQQarn3Mo9 g1H1Jg//dEKekg6ljwXYDhoqtSEA120ugGXAlESOd4SagGZkltvrpqecZzgDmHZR 3OuqHI1uKBRcuB2CK0m8ntEgK7f5ZyzMFos1XVxI9w9PzpDohXGcXKf64yMQwKyw p4D7KLYIl4X5P+C2HVkN6yqMvXWVntqDhdl4XmmwGy5UwTTQIzReYHerK6AwIIjh 6qNd6yhURqrU9POOxwfjswS0try90RF5dPI6U5tPRjgRgOKXCZjf+XwTqk16TmYo 8vKCTsp+0Dz6MIaaUNxvXpigY1M1RK9UvpitrPbPP+3wm1+tqH2/fqtC3Nf7EXca 9odii0beJ6Sn9p81Hs4Y+ucPOhlyOIenOn2Tps8HPfFtUIO5SfSxI9w7GSr77d5A yVxbeUimymNuM0Lo2scRAQwpHQcvb/A7TOb632jIvWX394Wg8JODnMXuw796doLh r3WKr4X1soCvdC2nmUeex1ELmwDsMrcJ21hhzmMUuwNnzBtxl6TzU2RriDWiINRC fvY30PZiWLGZ0um5KUl9WHgW2acyqNto8l4pB4E6ra1yO1stEyVF07m5q6Xaf8fq rN8Mtd0zMbgmEzb2i2OVrXpZgLgza3SdJEnP6eQQVLJo955aDoqVUnnZSvIijA5U 87Hr3V/T9Hut7fliKTU6pGxHaqRo8tJL9C4L/UWnl5wnJ4uNwjw= =O+Ts -----END PGP SIGNATURE----- --b+tMgGiLkILPEmjt-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Better rhino References: <87pmnnr2qq.fsf@gmail.com> In-Reply-To: <87pmnnr2qq.fsf@gmail.com> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Feb 2022 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.16454588713892 (code B ref 54021); Mon, 21 Feb 2022 15:55:01 +0000 Received: (at 54021) by debbugs.gnu.org; 21 Feb 2022 15:54:31 +0000 Received: from localhost ([127.0.0.1]:38692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMB1C-00010i-RI for submit@debbugs.gnu.org; Mon, 21 Feb 2022 10:54:31 -0500 Received: from mail-pj1-f42.google.com ([209.85.216.42]:35573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMB1A-00010E-H4 for 54021@debbugs.gnu.org; Mon, 21 Feb 2022 10:54:28 -0500 Received: by mail-pj1-f42.google.com with SMTP id t4-20020a17090a3b4400b001bc40b548f9so2720350pjf.0 for <54021@debbugs.gnu.org>; Mon, 21 Feb 2022 07:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=TJZlamT6hQW5ex2uLsFgqrtwesw8syof6BhBnQFzezw=; b=O8G94rIh786mmcw7EmMBDDxNXpkl6PCI9gRHyD+EFNY0vJKmD04n/mfnzJAJlz0yeh V3jvXbim/Zfk2ZlU+XIvdtVd371PHSz/Kz2vwmOKex6wWbBc+Hx7Q28cnPy51BgjX37d e5DGj/RLUWcsaIfm7HMVNE8OKMqm6VewwrztOlpa42UqDuAjk4YTd8Ky3pMgFa/u2AOj SwdfWvr5Bhp//lhHdnSU91HTl0coPwZC48l4pxfsrZzUfTkYjcn3JCY2l9bgsknJH+N9 Q/AsZXxodZFEJShknVsNwlrrb6Tpte6W/HJIFLzs9jenvulmoP9RLoMO3ysSoSHoEwlF 7Riw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=TJZlamT6hQW5ex2uLsFgqrtwesw8syof6BhBnQFzezw=; b=Mf5/dR2G4gegS4QsjWx/1BCUnd6GflndDH29TszH9DmDYmDvOGDO6ZjCZ78XBIF6pe 5L/7rx2fT0YucTA91yhftOYfXQOfToE1zhz69CNGKHwPFAyRzAEP3k27CoeoKszTFt+H WQrgPIOulWfqQ6iCoJDOwMYH2kMZM9Ys/O5jZhMFn6nhlHtTwoLgzx/IS2cvgvQnwWV7 2aM445lVNFndgDaU4Tbnuyc+AqMhMWXraS3QjiRYvZhKfLdMrSZI6kDEP5EyhoYE9/Pp z7FGFQxirslEQQOGwJmJADrftRkol//0oeDnHxf8wQbmpcmxXmIwPLoinikl/Liw41W6 7qPw== X-Gm-Message-State: AOAM5308SZnDbETUPQooC/jv2L7rc2gCd0mpV2e1okYDVE8ib3Wg1QER a7JklN15Y6Gx7D3SM6XkxgofIgoiIJM= X-Google-Smtp-Source: ABdhPJzrTXELIvqsO6JwHz9uSElf4QJk5XSJIQEX8pBM8IWqiY8a0/9wNcery+IHWzEdiQGnjzHptw== X-Received: by 2002:a17:90b:1894:b0:1b9:c2dc:6315 with SMTP id mn20-20020a17090b189400b001b9c2dc6315mr22278516pjb.138.1645458861925; Mon, 21 Feb 2022 07:54:21 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id 13sm8110992pje.50.2022.02.21.07.54.20 for <54021@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 07:54:20 -0800 (PST) From: Frank Pursel Date: Mon, 21 Feb 2022 07:54:18 -0800 Message-ID: <87h78sqkph.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.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: -1.0 (-) Efraim, Thank you for your comments. I always wonder what is preferred here -- a clean single patch or the diff of changes. Here I'm providing the diff; if you would like me to create a single patch I'm happy to provide it. Regards, Frank >From 135ea5541a9a5e4e009b9ee90eae36bec2b74dce Mon Sep 17 00:00:00 2001 Message-Id: <135ea5541a9a5e4e009b9ee90eae36bec2b74dce.1645458837.git.frank.pursel@gmail.com> From: Frank Pursel Date: Mon, 21 Feb 2022 07:48:07 -0800 Subject: [PATCH] Additional refinements. --- gnu/packages/javascript.scm | 44 ++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 158abaded7..d8ebee3c3f 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -27,24 +27,22 @@ (define-module (gnu packages javascript) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages compression) + #:use-module (gnu packages java) #:use-module (gnu packages node) #:use-module (gnu packages readline) #:use-module (gnu packages uglifyjs) #:use-module (gnu packages web) - #:use-module (gnu packages java) - #:use-module (gnu packages bash) - #:use-module (gnu packages perl) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) - #:use-module (guix build-system gnu) + #:use-module (guix build-system ant) #:use-module (guix build-system cmake) - #:use-module (guix build-system trivial) + #:use-module (guix build-system gnu) #:use-module (guix build-system minify) - #:use-module (guix build-system ant) - #:use-module (guix utils) - #:use-module (guix gexp)) + #:use-module (guix build-system trivial) + #:use-module (guix utils)) (define-public cjson (package @@ -796,16 +794,14 @@ (define-public duktape (license license:expat))) (define-public rhino - (let* ((rel-ver "1.7.7.2") - (commit "935942527ff434b205e797df4185518e5369466e")) (package (name "rhino") - (version rel-ver) + (version "1.7.7.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mozilla/rhino.git") - (commit commit))) + (commit "935942527ff434b205e797df4185518e5369466e"))) (file-name (git-file-name name version)) (sha256 (base32 @@ -813,17 +809,14 @@ (define-public rhino (modules '((guix build utils))) (snippet '(begin ;; Remove benchmark testing - (with-directory-excursion - "testsrc" - (delete-file-recursively "benchmarks")) - (with-directory-excursion - "testsrc/org/mozilla/javascript" - (delete-file-recursively "benchmarks")) + (delete-file-recursively "testsrc/benchmarks") + (delete-file-recursively + "testsrc/org/mozilla/javascript/benchmarks") ;; Identify bundled jars (format #t "~%~a~%" "Sourced jars") (for-each (lambda (f) (format #t "~/~a~%" f)) - (find-files "." ".*\\.jar$")))))) + (find-files "." "\\.jar$")))))) (build-system ant-build-system) (inputs (list bash-minimal)) (native-inputs (list java-junit java-hamcrest-core java-snakeyaml)) @@ -848,7 +841,8 @@ (define-public rhino (string-append "")) (("" all) (string-append "")) - (("" all) + (("" + all) (string-append "")) (("" all) (string-append "")) @@ -862,7 +856,8 @@ (define-public rhino (string-append "")) ;; Disabling instrumentation. - (("(")))) (invoke "ant" "junit"))))) (replace 'install @@ -873,8 +868,7 @@ (define-public rhino (rhino (string-append bin "/rhino")) (man (string-append out "/share/man/man1"))) (mkdir-p bin) - (with-directory-excursion "man" - (install-file "rhino.1" man)) + (install-file "man/rhino.1" man) (install-file (string-append "build/" pkg+ver "/js.jar") (string-append out "/share/java")) @@ -889,6 +883,6 @@ (define-public rhino (synopsis "Javascript implemented in Java") (description "Rhino implements ECMAScript, also known as JavaScript, in Java as -specified in the fifth edition of ECMA-262") - (license license:mpl2.0)))) +specified in the fifth edition of ECMA-262.") + (license license:mpl2.0))) -- 2.34.0 From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Adding rhino package, revised patch Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Feb 2022 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164546092224789 (code B ref 54021); Mon, 21 Feb 2022 16:29:02 +0000 Received: (at 54021) by debbugs.gnu.org; 21 Feb 2022 16:28:42 +0000 Received: from localhost ([127.0.0.1]:38780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMBYI-0006Rk-DZ for submit@debbugs.gnu.org; Mon, 21 Feb 2022 11:28:42 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:55848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMBYF-0006Ra-UY for 54021@debbugs.gnu.org; Mon, 21 Feb 2022 11:28:40 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id xsUd2601A4UW6Th06sUeFL; Mon, 21 Feb 2022 17:28:38 +0100 Message-ID: From: Maxime Devos Date: Mon, 21 Feb 2022 17:28:31 +0100 In-Reply-To: <87mtiqqd7k.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> <87mtiqqd7k.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-OaEYtfD0nHuF+7gXsBqx" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645460918; bh=VDgpgH0VLo3R/bcR8DiOO6XwYdcoCysdChL9z27epO8=; h=Subject:From:To:Date:In-Reply-To:References; b=e3bPgX3Tq86y+PWZFzcDb8i8vwi1Ju24L1MUwK5ZUSthKqTm6gyBQNe5Hte6dQAGZ eiJXrXYKwiwGnXtC3SWhRHo2RIRI1y0TTnoyCUKFs7jVRQgkXawtlvyYeQFO5tNz3E rJfe+DCWVsJQ/QICzyTltp9Ag+m+A2eo2FxB3Rre90WGy5hkdDwF66P3r64LecY9mC PyEVof3W5LJ6wII8GpamXrzsDu3GahQbECI4+DhFxnmTnTaOif4vjgM7dZs0PbxA8q R7h/Ox8SCdIW8Gdo5Lw/lYgCt86i07TXLsrhpDZwWzG3P3AYdCu7VNLmvN7vSTHWPU FbpmiTWZCmMvw== X-Spam-Score: -0.7 (/) 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.7 (-) --=-OaEYtfD0nHuF+7gXsBqx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Frank Pursel schreef op wo 16-02-2022 om 21:22 [-0800]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Identify bundled jars to main= tain build purity > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; remove bundled jars but those= for testing Jars for testing need to be removed too, they could influence the build by modifying source files etc. when run. Also, some licenses (e.g. GPL) require you to to publish the source code whenever binaries are published. I don't know if this is the case for the bundled jars, rhino or dependents of rhino, but it's simplest to just remove the binaries. Greetings, Maxime. --=-OaEYtfD0nHuF+7gXsBqx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhO9rxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tVgAP4rrVDldkZCO7MtXgmVH0f8+/wm HP0b6VwGyEK3EKkSLQEAt2uW0nLU7ttMngz1p9kBtxN0GJ1aU8D4cwqLRAyAYQs= =xJqj -----END PGP SIGNATURE----- --=-OaEYtfD0nHuF+7gXsBqx-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Removing all bundled jars prior to build. References: <87pmnnr2qq.fsf@gmail.com> In-Reply-To: <87pmnnr2qq.fsf@gmail.com> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Feb 2022 18:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.16454691699960 (code B ref 54021); Mon, 21 Feb 2022 18:47:01 +0000 Received: (at 54021) by debbugs.gnu.org; 21 Feb 2022 18:46:09 +0000 Received: from localhost ([127.0.0.1]:39085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMDhI-0002aa-SJ for submit@debbugs.gnu.org; Mon, 21 Feb 2022 13:46:09 -0500 Received: from mail-pg1-f175.google.com ([209.85.215.175]:43533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMDhH-0002a5-Gq for 54021@debbugs.gnu.org; Mon, 21 Feb 2022 13:46:07 -0500 Received: by mail-pg1-f175.google.com with SMTP id 27so9792315pgk.10 for <54021@debbugs.gnu.org>; Mon, 21 Feb 2022 10:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=HrvRs36ulcJ5hOFZuhLSuZo0uJlf4+D4pKMfCbsyVzs=; b=EPtDyjNXvWsRjroIoHHt6DLDBg3ddJMeTxsEEzMDbdCOC8+kSMIcCKOyAhV+kJszNc 1pQ/Jz72eq1yrukBJ79uUpc4UAlE4vNqhegh+0OKpivu/tM5/zHHzAQZTHqP1gEHlhNx mFtWtZ8QdOmGKEr2mTnStti5UCJt94AfOBqhm/1+tfO9/ySNLsZlio3ZVkvrWGKIMof7 FVDiMeh5DHAym+odFHipLFVq//ysInwn6Q0C4rOi7TBTOLAu5uUMGtxAvh19Nl0fOFB/ Ec76i12WvtMUeR8lGvvkfEdul9XU10bcoInnMxLORBpArYHTZC/ccizqNabWK1qwF+q6 GGQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=HrvRs36ulcJ5hOFZuhLSuZo0uJlf4+D4pKMfCbsyVzs=; b=U2Y/Ci6UIm40VyAy8U/V5E08cpOPEgDg2zR8iF0dVh2VQzbmqOsSNS11bgxfZVsnk9 u88SHJspQg5oLbCMIH7dztZ5DC7peuv+cxnkULBEDMSa8Npd1xVt4yrHsWmHtEvPX1uM qfv1Jsmma/UUylkoGWiQ9t3tLp8p0vyNegTstk7PZvhxFQf7oTxDnjORCuL5j7ACI5zf sn+hKyIVSPqAofgyEkxqaU57MQHjStPAL4ZhPSpOtFe2n25YUkHymcoSQbEHavyZzdPh wG3XXg/P6+FjsRTs/dTyKTGtxCqSqCxfyYTCEVir1aSuqo7QCYNc9P3vZ1YbkwyvFdVv vHHg== X-Gm-Message-State: AOAM532PzrtKODoxxDQYZDkvnCajrH6tpVMMDViKbStqjvYKH8uyNVFe FffYtqHfdmTgz8oIahM68uA= X-Google-Smtp-Source: ABdhPJzEcHAg6EJymawMruXIj8uWeXjiOWyB0m8GN10SXNdSIslfaxYXV7c0K0gfWoNDghaFqH04ew== X-Received: by 2002:a63:2263:0:b0:364:5189:abbd with SMTP id t35-20020a632263000000b003645189abbdmr16958273pgm.373.1645469161387; Mon, 21 Feb 2022 10:46:01 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id x1sm13861005pfh.54.2022.02.21.10.45.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 10:46:00 -0800 (PST) From: Frank Pursel Date: Mon, 21 Feb 2022 10:45:59 -0800 Message-ID: <87ee3wqcrc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.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: -1.0 (-) Maxime, Bundled jars removed. Regards, Frank >From 7aaefc20bfdbe85dd65fff4ed3d0683cab994b98 Mon Sep 17 00:00:00 2001 Message-Id: <7aaefc20bfdbe85dd65fff4ed3d0683cab994b98.1645469136.git.frank.pursel@gmail.com> From: Frank Pursel Date: Mon, 21 Feb 2022 10:43:07 -0800 Subject: [PATCH] Removed all pre-bundled jars. --- gnu/packages/javascript.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index d8ebee3c3f..bdeeb03a58 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -815,7 +815,8 @@ (define-public rhino ;; Identify bundled jars (format #t "~%~a~%" "Sourced jars") (for-each (lambda (f) - (format #t "~/~a~%" f)) + (format #t "~/Deleting: ~a~%" f) + (delete-file f)) (find-files "." "\\.jar$")))))) (build-system ant-build-system) (inputs (list bash-minimal)) -- 2.34.0 From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] Removing all bundled jars prior to build. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Feb 2022 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel Cc: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.16459096642531 (code B ref 54021); Sat, 26 Feb 2022 21:08:02 +0000 Received: (at 54021) by debbugs.gnu.org; 26 Feb 2022 21:07:44 +0000 Received: from localhost ([127.0.0.1]:56375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nO4I4-0000el-5E for submit@debbugs.gnu.org; Sat, 26 Feb 2022 16:07:44 -0500 Received: from lepiller.eu ([89.234.186.109]:56454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nO4I1-0000eb-QK for 54021@debbugs.gnu.org; Sat, 26 Feb 2022 16:07:42 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 78a4431d; Sat, 26 Feb 2022 21:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=tbQD84bqfEAp NInMjj/nsH6OPyNVFp5ZGyuMsKG7CF0=; b=HzA8Fbc2nd2btmwFmOoVokK3OCJ2 nxDE17uWPsKjYrYb3ixbGgzzKheQddbCfSqvJnAEO4LICTQm0tIPeouNaD3ykeeh 11dKUFovQ/gGFKPjLLVkucfTbFqp7QeUIfDLQarLsDld/yWFt+9tDot2t1tQo/Wl xAiyb+DLss/UsxMx0/bZje2QhV5+U+43EFwexqDX8cA6YPguRj4eeJEg85EPeAXl g75O01Spn4I5dLQmdRLtgDwb456IuOT3EcN2hD4NVqm8nPnl2I0w0MMbwOd+/BHm eQK5Xl4LjX/uewzszgqn5dsWJmdOFiR5jsGxg3xWkpZpL/pISwvh/jv5cw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d1a76c0a (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 26 Feb 2022 21:07:39 +0000 (UTC) Date: Sat, 26 Feb 2022 22:07:34 +0100 From: Julien Lepiller Message-ID: <20220226220734.5a80c08a@sybil.lepiller.eu> In-Reply-To: <87ee3wqcrc.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> <87ee3wqcrc.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.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: -1.0 (-) Hi Frank, could you send the complete patch? This would be easier to then test and apply/comment. Thanks! Le Mon, 21 Feb 2022 10:45:59 -0800, Frank Pursel a =C3=A9crit : > Maxime, >=20 > Bundled jars removed. >=20 > Regards, > Frank >=20 > From 7aaefc20bfdbe85dd65fff4ed3d0683cab994b98 Mon Sep 17 00:00:00 2001 > Message-Id: > <7aaefc20bfdbe85dd65fff4ed3d0683cab994b98.1645469136.git.frank.pursel@gma= il.com> > From: Frank Pursel Date: Mon, 21 Feb 2022 > 10:43:07 -0800 Subject: [PATCH] Removed all pre-bundled jars. >=20 > --- > gnu/packages/javascript.scm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm > index d8ebee3c3f..bdeeb03a58 100644 > --- a/gnu/packages/javascript.scm > +++ b/gnu/packages/javascript.scm > @@ -815,7 +815,8 @@ (define-public rhino > ;; Identify bundled jars > (format #t "~%~a~%" "Sourced jars") > (for-each (lambda (f) > - (format #t "~/~a~%" f)) > + (format #t "~/Deleting: > ~a~%" f) > + (delete-file f)) > (find-files "." "\\.jar$")))))) > (build-system ant-build-system) > (inputs (list bash-minimal)) From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] package for rhino References: <87pmnnr2qq.fsf@gmail.com> In-Reply-To: <87pmnnr2qq.fsf@gmail.com> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Feb 2022 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164607712912983 (code B ref 54021); Mon, 28 Feb 2022 19:39:01 +0000 Received: (at 54021) by debbugs.gnu.org; 28 Feb 2022 19:38:49 +0000 Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOlr6-0003NL-Nc for submit@debbugs.gnu.org; Mon, 28 Feb 2022 14:38:49 -0500 Received: from mail-pl1-f173.google.com ([209.85.214.173]:39748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOlr5-0003N8-BP for 54021@debbugs.gnu.org; Mon, 28 Feb 2022 14:38:47 -0500 Received: by mail-pl1-f173.google.com with SMTP id l9so11186903pls.6 for <54021@debbugs.gnu.org>; Mon, 28 Feb 2022 11:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ENW518vj3+MnlDisXXXuBbgYaXl+s5KTCST4+/MD90o=; b=c+pGTzns7WiLVvq/VvxIupDuTsjC300QCgb40dJzyCnTxZL0ix3N8C8+uMaDz6za6z 3Nyov3HFhF3gPOnFj+nR/0IykB1tyWy0KDRpH1Z+o+w/1ViyZm4XDwHfMzyvjUESBUUD 0kz47Fp9RRowsp+sP2mw9JPl3ZkBsmYebJY+V2OstRt3uvCBkcb5V/RRdgEPn27XKYhJ Qa39sO5rDKFcir0MCVB1fOu1S5nRIVdjtwHoRbkxIBKrJ5sJ8cYUjcPkQND2VAw9vYm8 s8mGpkR+wVqIuEv18J9U/9VAdA3Jzi9f8j61CgapTgXt9HN97bcZmi4FBlfk492UIXBA 3pdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ENW518vj3+MnlDisXXXuBbgYaXl+s5KTCST4+/MD90o=; b=a/0KMMcBa87PhTvFuuHVNdsBCxOeHa8L7hw0zvZIjC5cgMwDpYLYDvWLEcv9GbxeDh fdB7zpXMQllyjZCwgzAsjvvtnuRqCx0y9ANBDrLJe0wQbuX6w3zp2dJB04MmnTv1Vm+n pYdnSfnoNRkR37m/pkTGnWHsAY59+mt26QT089PW5EWBsRPckoTWsuN8ogUVPzTPS2gQ zqmJMymq3NQXzYLiejUfU3T1yyVS6UES4pqvcEwFeFUBy4xzgjojaqjLfj8YoFk37jsO PUopI2G3QIN7L/+GSllwLubM35We9kvRfJjf8Oj/O6g1nXj31MfZnC+1wVo6SRZXhNXy Tcgw== X-Gm-Message-State: AOAM533WsNHQ+3k36pu0vqqSjRo+6Uphkc1PPWOW2/kYJTMoFp7eChLy /yN1NTbDEzVaKAK7cilo5FM= X-Google-Smtp-Source: ABdhPJzfRttshnwTbtygGGFAvw40uShl5lu00U16fseO5b1wycY06tDQVqhlbgSRDZlwZ6wlWX6gJg== X-Received: by 2002:a17:903:2289:b0:151:64c6:20fd with SMTP id b9-20020a170903228900b0015164c620fdmr7436984plh.64.1646077121246; Mon, 28 Feb 2022 11:38:41 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id g10-20020a056a000b8a00b004de9129eb80sm14475631pfj.85.2022.02.28.11.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:38:40 -0800 (PST) From: Frank Pursel Date: Mon, 28 Feb 2022 11:38:39 -0800 Message-ID: <87pmn6eq80.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Julien, A single patch, to rule them all, as requested. :) This patch should add the rhino package to the existing javascript.scm file. I think all the issues have been addressed. Thank you for your patience. Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (frank.pursel[at]gmail.com) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.173 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.173 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. 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.6 (/) Julien, A single patch, to rule them all, as requested. :) This patch should add the rhino package to the existing javascript.scm file. I think all the issues have been addressed. Thank you for your patience. Regards, Frank >From a422095cf0ac8778936661952d375abd35293253 Mon Sep 17 00:00:00 2001 Message-Id: From: Frank Pursel Date: Tue, 15 Feb 2022 14:07:28 -0800 Subject: [PATCH] Adding rhino javascript guix package. * guix/gnu/package/javascript.scm (rhino): Added package. --- gnu/packages/javascript.scm | 103 +++++++++++++++++++++++++++++++++++- 1 file changed, 101 insertions(+), 2 deletions(-) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 779ffcb7b8..68d338de8d 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2018 Nicolas Goaziou ;;; Copyright =C2=A9 2021 Pierre Neidhardt ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,7 +27,9 @@ (define-module (gnu packages javascript) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages compression) + #:use-module (gnu packages java) #:use-module (gnu packages node) #:use-module (gnu packages readline) #:use-module (gnu packages uglifyjs) @@ -34,10 +37,11 @@ (define-module (gnu packages javascript) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) - #:use-module (guix build-system gnu) + #:use-module (guix build-system ant) #:use-module (guix build-system cmake) - #:use-module (guix build-system trivial) + #:use-module (guix build-system gnu) #:use-module (guix build-system minify) + #:use-module (guix build-system trivial) #:use-module (guix utils)) =20 (define-public cjson @@ -791,3 +795,98 @@ (define-public duktape your build, and use the Duktape API to call ECMAScript functions from C co= de and vice versa.") (license license:expat))) + +(define-public rhino + (package + (name "rhino") + (version "1.7.7.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mozilla/rhino.git") + (commit "935942527ff434b205e797df4185518e5369466e"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove benchmark testing + (delete-file-recursively "testsrc/benchmarks") + (delete-file-recursively + "testsrc/org/mozilla/javascript/benchmarks") + ;; Identify bundled jars + (format #t "~%~a~%" "Sourced jars") + (for-each (lambda (f) + (format #t "~/Deleting: ~a~%" f) + (delete-file f)) + (find-files "." "\\.jar$")))))) + (build-system ant-build-system) + (inputs (list bash-minimal)) + (native-inputs (list java-junit java-hamcrest-core java-snakeyaml)) + (arguments + `(#:phases + (modify-phases + %standard-phases + (replace 'check + (lambda* (#:key tests? inputs native-inputs + #:allow-other-keys) + (when tests? + (setenv "ANT_OPTS" "-Doffline=3Dtrue") + (let ((junit-lib + (assoc-ref inputs "java-junit")) + (hamcrest-lib + (assoc-ref inputs "java-hamcrest-core")) + (snakeyaml-lib + (assoc-ref inputs "java-snakeyaml"))) + (with-directory-excursion "testsrc" + (substitute* "build.xml" + (("" all) + (string-append "")) + (("" all) + (string-append "")) + (("" + all) + (string-append "")) + (("" all) + (string-append "")) + (("") + (string-append + "")) + (("") + (string-append "")) + (("") + (string-append "")) + ;; Disabling instrumentation. + (("(")))) + (invoke "ant" "junit"))))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg+ver (string-append ,name ,version)) + (bin (string-append out "/bin")) + (rhino (string-append bin "/rhino")) + (man (string-append out "/share/man/man1"))) + (mkdir-p bin) + (install-file "man/rhino.1" man) + (install-file (string-append "build/" pkg+ver + "/js.jar") + (string-append out "/share/java")) + (with-output-to-file rhino + (lambda _ + (format #t "#!~a~%~a -jar ~a $@~%" + (search-input-file inputs "/bin/bash= ") + (search-input-file inputs "/bin/java= ") + (string-append out "/share/java/js.j= ar")))) + (chmod rhino #o755))))))) + (home-page "https://mozilla.github.io/rhino") + (synopsis "Javascript implemented in Java") + (description + "Rhino implements ECMAScript, also known as JavaScript, in Java as +specified in the fifth edition of ECMA-262.") + (license license:mpl2.0))) + --=20 2.34.0 From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] package for rhino Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Feb 2022 20:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Frank Pursel , 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164608112719498 (code B ref 54021); Mon, 28 Feb 2022 20:46:01 +0000 Received: (at 54021) by debbugs.gnu.org; 28 Feb 2022 20:45:27 +0000 Received: from localhost ([127.0.0.1]:34871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOmta-00054P-Pd for submit@debbugs.gnu.org; Mon, 28 Feb 2022 15:45:27 -0500 Received: from lepiller.eu ([89.234.186.109]:56644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOmtW-00054B-Bi for 54021@debbugs.gnu.org; Mon, 28 Feb 2022 15:45:24 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 039abb9c; Mon, 28 Feb 2022 20:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=N9B4tqeBCsJi 7c4jEexqvKU8VnFdLwI++EhPdw+mm5k=; b=KxPb2grmpHtSfrFcRcVs8OfhMGKG 7ofRJwNpB/1CBi4IQcJ3MI+uTFjOfz4DIN3BpqgzON2kcZUjRSyAnAW7OsOCio7t nQyxQsu7U3wlrdPJSdQ/9thgIjkOlH/StAFuDzLCdszYvtECZyTBg0i86pFSTBxD yPXiOHFAQbrcAzA1QmZZCM5NNmHu6pqhWAQbNyi4MJgBioVCXRYhECAWiadFSDLK EA/rsl1qGxMvV0yObACK6lzmhZC6lRwmviwtYaz8fXrXAoLT+6TAd2otCgFCSbxJ iDjx0q9AUG1lpCb8guCSYjKJkDFrtcSl2/huCWBAG/Cdkf++orgT+SGHEQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e80dd4bd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 28 Feb 2022 20:45:20 +0000 (UTC) Date: Mon, 28 Feb 2022 21:45:16 +0100 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <87pmn6eq80.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> <87pmn6eq80.fsf@gmail.com> Message-ID: <9FFAD8D6-4C04-4FF9-982A-C0F5B6345F71@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----YTFXVFA5ZY76W9NWFZXIBQE87V3F1D Content-Transfer-Encoding: 7bit X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks! I guess my only question remaining is why package this version instead of the latest, 1.7.15? Also the commit message should be: Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 T_SCC_BODY_TEXT_LINE No description available. 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.6 (/) ------YTFXVFA5ZY76W9NWFZXIBQE87V3F1D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks! I guess my only question remaining is why package this version instead of = the latest, 1=2E7=2E15? Also the commit message should be: gnu: Add rhino=2E * gnu/packages/javascript=2Escm (rhino): New variable You didn't change the synopsis to spell JavaScript properly=2E Other than = that, it's fine with me=2E We can take care of that, no need to resend a pa= tch, unless Maxime has other comments :) On February 28, 2022 8:38:39 PM GMT+01:00, Frank Pursel wrote: >Julien, > >A single patch, to rule them all, as requested=2E :) This patch should ad= d >the rhino package to the existing javascript=2Escm file=2E I think all t= he >issues have been addressed=2E Thank you for your patience=2E > >Regards, >Frank > >>From a422095cf0ac8778936661952d375abd35293253 Mon Sep 17 00:00:00 2001 >Message-Id: >From: Frank Pursel >Date: Tue, 15 Feb 2022 14:07:28 -0800 >Subject: [PATCH] Adding rhino javascript guix package=2E > > * guix/gnu/package/javascript=2Escm (rhino): Added package=2E >--- > gnu/packages/javascript=2Escm | 103 +++++++++++++++++++++++++++++++++++- > 1 file changed, 101 insertions(+), 2 deletions(-) > >diff --git a/gnu/packages/javascript=2Escm b/gnu/packages/javascript=2Esc= m >index 779ffcb7b8=2E=2E68d338de8d 100644 >--- a/gnu/packages/javascript=2Escm >+++ b/gnu/packages/javascript=2Escm >@@ -6,6 +6,7 @@ > ;;; Copyright =C2=A9 2018 Nicolas Goaziou > ;;; Copyright =C2=A9 2021 Pierre Neidhardt > ;;; Copyright =C2=A9 2021 Maxim Cournoyer >+;;; Copyright =C2=A9 2022 Frank Pursel > ;;; > ;;; This file is part of GNU Guix=2E > ;;; >@@ -26,7 +27,9 @@ (define-module (gnu packages javascript) > #:use-module ((guix licenses) #:prefix license:) > #:use-module (gnu packages) > #:use-module (gnu packages base) >+ #:use-module (gnu packages bash) > #:use-module (gnu packages compression) >+ #:use-module (gnu packages java) > #:use-module (gnu packages node) > #:use-module (gnu packages readline) > #:use-module (gnu packages uglifyjs) >@@ -34,10 +37,11 @@ (define-module (gnu packages javascript) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) >- #:use-module (guix build-system gnu) >+ #:use-module (guix build-system ant) > #:use-module (guix build-system cmake) >- #:use-module (guix build-system trivial) >+ #:use-module (guix build-system gnu) > #:use-module (guix build-system minify) >+ #:use-module (guix build-system trivial) > #:use-module (guix utils)) >=20 > (define-public cjson >@@ -791,3 +795,98 @@ (define-public duktape > your build, and use the Duktape API to call ECMAScript functions from C = code > and vice versa=2E") > (license license:expat))) >+ >+(define-public rhino >+ (package >+ (name "rhino") >+ (version "1=2E7=2E7=2E2") >+ (source (origin >+ (method git-fetch) >+ (uri (git-reference >+ (url "https://github=2Ecom/mozilla/rhino=2Egit") >+ (commit "935942527ff434b205e797df4185518e5369466e"= ))) >+ (file-name (git-file-name name version)) >+ (sha256 >+ (base32 >+ "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8"= )) >+ (modules '((guix build utils))) >+ (snippet '(begin >+ ;; Remove benchmark testing >+ (delete-file-recursively "testsrc/benchmarks= ") >+ (delete-file-recursively >+ "testsrc/org/mozilla/javascript/benchmarks"= ) >+ ;; Identify bundled jars >+ (format #t "~%~a~%" "Sourced jars") >+ (for-each (lambda (f) >+ (format #t "~/Deleting: ~a~%" f) >+ (delete-file f)) >+ (find-files "=2E" "\\=2Ejar$")))))= ) >+ (build-system ant-build-system) >+ (inputs (list bash-minimal)) >+ (native-inputs (list java-junit java-hamcrest-core java-snakeyaml)= ) >+ (arguments >+ `(#:phases >+ (modify-phases >+ %standard-phases >+ (replace 'check >+ (lambda* (#:key tests? inputs native-inputs >+ #:allow-other-keys) >+ (when tests? >+ (setenv "ANT_OPTS" "-Doffline=3Dtrue") >+ (let ((junit-lib >+ (assoc-ref inputs "java-junit")) >+ (hamcrest-lib >+ (assoc-ref inputs "java-hamcrest-core")) >+ (snakeyaml-lib >+ (assoc-ref inputs "java-snakeyaml"))) >+ (with-directory-excursion "testsrc" >+ (substitute* "build=2Exml" >+ (("" all) >+ (string-append "")) >+ (("" all) >+ (string-append "")) >+ (("" >+ all) >+ (string-append "")) >+ (("" all) >+ (string-append "")) >+ (("") >+ (string-append >+ "")) >+ (("= ") >+ (string-append "+ "\" includes=3D\"**/*=2Ejar\"/>")= ) >+ (("") >+ (string-append "+ "\" includes=3D\"**/*=2Ejar\"/>")) >+ ;; Disabling instrumentation=2E >+ (("(+ all pre) >+ (string-append pre "\">")))) >+ (invoke "ant" "junit"))))) >+ (replace 'install >+ (lambda* (#:key inputs outputs #:allow-other-keys) >+ (let* ((out (assoc-ref outputs "out")) >+ (pkg+ver (string-append ,name ,version)) >+ (bin (string-append out "/bin")) >+ (rhino (string-append bin "/rhino")) >+ (man (string-append out "/share/man/man1"= ))) >+ (mkdir-p bin) >+ (install-file "man/rhino=2E1" man) >+ (install-file (string-append "build/" pkg+ver >+ "/js=2Ejar") >+ (string-append out "/share/java"= )) >+ (with-output-to-file rhino >+ (lambda _ >+ (format #t "#!~a~%~a -jar ~a $@~%" >+ (search-input-file inputs "/bin/ba= sh") >+ (search-input-file inputs "/bin/ja= va") >+ (string-append out "/share/java/js= =2Ejar")))) >+ (chmod rhino #o755))))))) >+ (home-page "https://mozilla=2Egithub=2Eio/rhino") >+ (synopsis "Javascript implemented in Java") >+ (description >+ "Rhino implements ECMAScript, also known as JavaScript, in Java a= s >+specified in the fifth edition of ECMA-262=2E") >+ (license license:mpl2=2E0))) >+ >--=20 >2=2E34=2E0 > > > > ------YTFXVFA5ZY76W9NWFZXIBQE87V3F1D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks!

I guess my only question remaining = is why package this version instead of the latest, 1=2E7=2E15?

Also = the commit message should be:

gnu: Add rhino=2E

* gnu/package= s/javascript=2Escm (rhino): New variable

You didn't change the synop= sis to spell JavaScript properly=2E Other than that, it's fine with me=2E W= e can take care of that, no need to resend a patch, unless Maxime has other= comments :)

On February 28, 2022 8:38:39= PM GMT+01:00, Frank Pursel <frank=2Epursel@gmail=2Ecom> wrote:
Julien,

A single patch, to rule = them all, as requested=2E :) This patch should add
the rhino package to = the existing javascript=2Escm file=2E I think all the
issues have been = addressed=2E Thank you for your patience=2E

Regards,
Frank
From a422095cf0ac8778936661952d375abd35293253 Mon Sep 17 00:00:00 2001Message-Id: <a422095cf0ac8778936661952d375abd35293253=2E1646075744=2Egi= t=2Efrank=2Epursel@gmail=2Ecom>
From: Frank Pursel <frank=2Epursel= @gmail=2Ecom>
Date: Tue, 15 Feb 2022 14:07:28 -0800
Subject: [PATC= H] Adding rhino javascript guix package=2E

* guix/gnu/package= /javascript=2Escm (rhino): Added package=2E
gnu/packages/javascript=2Es= cm | 103 +++++++++++++++++++++++++++++++++++-
1 file changed, 101 inser= tions(+), 2 deletions(-)

diff --git a/gnu/packages/javascript=2Escm = b/gnu/packages/javascript=2Escm
index 779ffcb7b8=2E=2E68d338de8d 100644<= br>--- a/gnu/packages/javascript=2Escm
+++ b/gnu/packages/javascript=2Es= cm
@@ -6,6 +6,7 @@
;;; Copyright =C2=A9 2018 Nicolas Goaziou <mai= l@nicolasgoaziou=2Efr>
;;; Copyright =C2=A9 2021 Pierre Neidhardt &l= t;mail@ambrevar=2Exyz>
;;; Copyright =C2=A9 2021 Maxim Cournoyer <= ;maxim=2Ecournoyer@gmail=2Ecom>
+;;; Copyright =C2=A9 2022 Frank Purs= el <frank=2Epursel@gmail=2Ecom>
;;;
;;; This file is part of = GNU Guix=2E
;;;
@@ -26,7 +27,9 @@ (define-module (gnu packages javas= cript)
#:use-module ((guix licenses) #:prefix license:)
#:use-m= odule (gnu packages)
#:use-module (gnu packages base)
+ #:use-mod= ule (gnu packages bash)
#:use-module (gnu packages compression)
+ = #:use-module (gnu packages java)
#:use-module (gnu packages node) #:use-module (gnu packages readline)
#:use-module (gnu packages u= glifyjs)
@@ -34,10 +37,11 @@ (define-module (gnu packages javascript) #:use-module (guix packages)
#:use-module (guix download)
#= :use-module (guix git-download)
- #:use-module (guix build-system gnu)<= br>+ #:use-module (guix build-system ant)
#:use-module (guix build-s= ystem cmake)
- #:use-module (guix build-system trivial)
+ #:use-mod= ule (guix build-system gnu)
#:use-module (guix build-system minify)+ #:use-module (guix build-system trivial)
#:use-module (guix util= s))

(define-public cjson
@@ -791,3 +795,98 @@ (define-public du= ktape
your build, and use the Duktape API to call ECMAScript functions = from C code
and vice versa=2E")
(license license:expat)))
+<= br>+(define-public rhino
+ (package
+ (name "rhino")
+ = (version "1=2E7=2E7=2E2")
+ (source (origin
+ (= method git-fetch)
+ (uri (git-reference
+ = (url "https://github=2Ecom/mozilla/rhino=2Egit")
+ = (commit "935942527ff434b205e797df4185518e5369466e")))
+ = (file-name (git-file-name name version))
+ (sha25= 6
+ (base32
+ "09i4yr98hs6855fs7fhgm= rpiwpr90lhxdv2bvfj97nn4rv1d7wl8"))
+ (modules '((guix bui= ld utils)))
+ (snippet '(begin
+ = ;; Remove benchmark testing
+ (delete-f= ile-recursively "testsrc/benchmarks")
+ (dele= te-file-recursively
+ "testsrc/org/mozilla/j= avascript/benchmarks")
+ ;; Identify bundled = jars
+ (format #t "~%~a~%" "Sourced jars")+ (for-each (lambda (f)
+ = (format #t "~/Deleting: ~a~%" f)
+ = (delete-file f))
+ = (find-files "=2E" "\\=2Ejar$"))))))
+ (build-system ant-buil= d-system)
+ (inputs (list bash-minimal))
+ (native-inputs (= list java-junit java-hamcrest-core java-snakeyaml))
+ (arguments+ `(#:phases
+ (modify-phases
+ %standard-= phases
+ (replace 'check
+ (lambda* (#:key test= s? inputs native-inputs
+ #:allow-other-keys)
+= (when tests?
+ (setenv "ANT_OPTS" "-Doffl= ine=3Dtrue")
+ (let ((junit-lib
+ = (assoc-ref inputs "java-junit"))
+ (hamcrest-l= ib
+ (assoc-ref inputs "java-hamcrest-core"))
= + (snakeyaml-lib
+ (assoc-r= ef inputs "java-snakeyaml")))
+ (with-directory-excurs= ion "testsrc"
+ (substitute* "build=2Exml"
+ = (("<pathelement location=3D\"\\$\\{xbean=2Ejar\\}\" */= >" all)
+ (string-append "<!-- " all " --&g= t;"))
+ (("<pathelement location=3D\"\\$\\{jsr1= 73=2Ejar\\}\" */>" all)
+ (string-append "<= !-- " all " -->"))
+ (("<pathelement path=3D= \"\\$\\{coverage=2Eclasses=2Edir\\}\" */>"
+ = all)
+ (string-append "<!-- " all " -->"))<= br>+ (("<pathelement path=3D\"lib/emma=2Ejar\"/>= ;" all)
+ (string-append "<!-- " all " -->"= ))
+ (("<pathelement path=3D\"lib/junit=2Ejar\"= ?/>")
+ (string-append
+ = "<fileset dir=3D\"" junit-lib "\" includes=3D\"**/*=2Ejar\"/>"= ))
+ (("<pathelement path=3D\"lib/hamcrest=2Eja= r\" ?/>")
+ (string-append "<fileset dir=3D= \"" hamcrest-lib
+ "\" includes=3D= \"**/*=2Ejar\"/>"))
+ (("<pathelement path= =3D\"lib/snakeyaml=2Ejar\" ?/>")
+ (string-app= end "<fileset dir=3D\"" snakeyaml-lib
+ "\" i= ncludes=3D\"**/*=2Ejar\"/>"))
+ ;; Disabling in= strumentation=2E
+ (("(<target name=3D\"junit\"= depends=3D\"junit-compile),=2E*"
+ all pre)
= + (string-append pre "\">"))))
+ = (invoke "ant" "junit")))))
+ (replace 'install
+ = (lambda* (#:key inputs outputs #:allow-other-keys)
+ = (let* ((out (assoc-ref outputs "out"))
+ = (pkg+ver (string-append ,name ,version))
+ = (bin (string-append out "/bin"))
+ = (rhino (string-append bin "/rhino"))
+ = (man (string-append out "/share/man/man1")))
+ = (mkdir-p bin)
+ (install-file "man/rh= ino=2E1" man)
+ (install-file (string-append "b= uild/" pkg+ver
+ "= /js=2Ejar")
+ (string-append out = "/share/java"))
+ (with-output-to-file rhino+ (lambda _
+ (= format #t "#!~a~%~a -jar ~a $@~%"
+ = (search-input-file inputs "/bin/bash")
+ = (search-input-file inputs "/bin/java")
+ = (string-append out "/share/java/js=2Ejar"))))
+ = (chmod rhino #o755)))))))
+ (home-page "https://mozil= la=2Egithub=2Eio/rhino")
+ (synopsis "Javascript implemented in Jav= a")
+ (description
+ "Rhino implements ECMAScript, also kn= own as JavaScript, in Java as
+specified in the fifth edition of ECMA-26= 2=2E")
+ (license license:mpl2=2E0)))
+
--
2=2E34=2E0




------YTFXVFA5ZY76W9NWFZXIBQE87V3F1D-- From unknown Sun Jun 15 09:03:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54021] [PATCH] question -> answers References: <87pmnnr2qq.fsf@gmail.com> In-Reply-To: <87pmnnr2qq.fsf@gmail.com> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Feb 2022 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54021@debbugs.gnu.org Received: via spool by 54021-submit@debbugs.gnu.org id=B54021.164608476725267 (code B ref 54021); Mon, 28 Feb 2022 21:47:01 +0000 Received: (at 54021) by debbugs.gnu.org; 28 Feb 2022 21:46:07 +0000 Received: from localhost ([127.0.0.1]:34913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOnqJ-0006ZT-7y for submit@debbugs.gnu.org; Mon, 28 Feb 2022 16:46:07 -0500 Received: from mail-pj1-f44.google.com ([209.85.216.44]:56156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOnqH-0006Yj-HQ for 54021@debbugs.gnu.org; Mon, 28 Feb 2022 16:46:05 -0500 Received: by mail-pj1-f44.google.com with SMTP id gb21so12314872pjb.5 for <54021@debbugs.gnu.org>; Mon, 28 Feb 2022 13:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=FJ7Ras8uecYP6iPJa/RxUDoUg4fapMfwi8ZhrTkFNLE=; b=e80298a9VcIB4ym77tNqq04awW+r53QBTShGs+9gFyXAJYKSnNAg5IxDN+XBcc5lA+ f0b//ab1aRUg0Znc0lAIe53TnafJLNFlOGY9NFhfxYB9S/tz2RhzkbLdgLJjuBwjhY7y JGgI2mGWj6OyKU8l0uFaWMG4yGnjT6DcO1ms9DK8WHdk02YYdyIhLLEs0nddXexm5vUU EIZbioRHTPCVMtN9OD7h8Rcb+STi9cOc9JA4s6nT8DOza63DGu+24Sy2PzkJmV13Dkkn TYda10eYxreGiUb3HLt+g508n6FhuyCY3yfcSwKxQjM5CMk+fF3I6v+/ndZk+pGNKX9C 8byQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=FJ7Ras8uecYP6iPJa/RxUDoUg4fapMfwi8ZhrTkFNLE=; b=xcrRInUfGMUkMAGs7Rp1Nb2FN8C88Ojc82MWAjoj2g+FMO0SGbdmYWVzLFW961oD2e sO+6KXtA6fH1Ao2kVNZRVlQOkDga8An3XxGMhBJAIpnEbpGaVd/jqBtK8y/lFnWXJBGf wAuSChU+z/fBi+4Gsk+7SJLelycytb6IqCGJg2qoVzCMtFKoC5uxWR3zxN0EYUOSkTNe w9N3dsm3AiHUrbTN5mROXO5P6zUqeeu8OmkBMtHD/fYcR8hrq1biHxWwxkbRkiNf1EK8 2aUX10kKkaU38xoVPVa2GNAyF0hwUnhtdrEWjcDItIfKVFYMBl/PAoB2Mfo3qwDyed4F uhbQ== X-Gm-Message-State: AOAM531iRCPQMmh5B6mm6qWvaxLTVsj5jhEKzvJL3mrdAlZMkhJGGfbL nd/h+NUU0Ixi5uFShuAlz4k= X-Google-Smtp-Source: ABdhPJzziVHt+bgXTu4cWPVAnhLFwSovNo3imvuU8m7AksJQXtFSzlBUNgdMXO7XYgJYaiDMAIMEtA== X-Received: by 2002:a17:90a:c296:b0:1bc:7a6e:623b with SMTP id f22-20020a17090ac29600b001bc7a6e623bmr18822596pjt.68.1646084759573; Mon, 28 Feb 2022 13:45:59 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id o5-20020a056a00214500b004bd7036b50asm14115317pfk.172.2022.02.28.13.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 13:45:59 -0800 (PST) From: Frank Pursel Date: Mon, 28 Feb 2022 13:45:58 -0800 Message-ID: <87mtiaekbt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.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: -1.0 (-) Julien, I missed the JavaScript in the synopsis, my fault; I did get the one in the description. Why the older version? A couple of reasons. First, is that I'm trying to address the problems that have been pointed out with my earlier patches for a ditaa package. 'ditaa' has a sequence of dependencies that lead to the version of rhino I've packaged. I looked at the latest version too (because that would certainly be a good thing) but newer releases of rhino have transitioned to the gradle build system. I have experience with ant that I can use but none, yet, with gradle. Plus, and this may be naive, I thought it might be a good experiment (perhaps even better for guix) to see if a guix transformation based on this ant build could build one of the later rhino versions that otherwise would require gradle. I may pursue such experiments later after I achieve my first goal, which is to package ditaa. I also think there is a risk that the latest version of rhino will not work with ditaa as the one we are packaging does. If I can suceed with rhino and my more recent submission of xalan then I will have a clean build of batik that will allow ditaa to be built properly using only guix quality, built-from-source, libraries. That is my current small guix ambition. Regards, Frank From unknown Sun Jun 15 09:03: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: Frank Pursel Subject: bug#54021: closed (Re: [bug#54021] [PATCH] Add rhino javascript package) Message-ID: References: <20220301222601.48f98ec4@tachikoma.lepiller.eu> <87pmnnr2qq.fsf@gmail.com> X-Gnu-PR-Message: they-closed 54021 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 54021@debbugs.gnu.org Date: Tue, 01 Mar 2022 21:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1646170022-4095-1" This is a multi-part message in MIME format... ------------=_1646170022-4095-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #54021: [PATCH] Add rhino javascript package 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 54021@debbugs.gnu.org. --=20 54021: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54021 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1646170022-4095-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 54021-done) by debbugs.gnu.org; 1 Mar 2022 21:26:24 +0000 Received: from localhost ([127.0.0.1]:38492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPA0Z-00012x-1p for submit@debbugs.gnu.org; Tue, 01 Mar 2022 16:26:24 -0500 Received: from lepiller.eu ([89.234.186.109]:56756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPA0V-00012m-L8 for 54021-done@debbugs.gnu.org; Tue, 01 Mar 2022 16:26:09 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 13849f23; Tue, 1 Mar 2022 21:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=eCG+oYv8oklD OwV6HGNKbTb/1XZfMQf102IMoQcKLFc=; b=VibmyzXaeXgIKVxpgndrUp7BDxKb rFqw0dWL+rXI5KctDBCK49w8EqBJfC2NghReSFIDYsj0HRjYUzyaJ0GPUYP9APPD 7aOBHQu642RRWm8UB6wt40UiD8gT8J3tPpJisXfNagekdENERbVdGZpN4+OFrXvg DB2BxNDilsoG8VjBzXUaKgR8ZsF2iWGzugWr47V4YffspVJehK8ciKJe0bYip6qX 8t+PN5nTVHnOSwFSaozXWoW75JTZmyyyeSrVKfKkL0bTYSq3GfTGRlzZsI/tnJwb rFsEP9fSi5xVrLJ5KAL5Y5bBK4ftfnEAo752rasvhH418StmJRU4fk2tjQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ba75dc5f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 1 Mar 2022 21:26:05 +0000 (UTC) Date: Tue, 1 Mar 2022 22:26:01 +0100 From: Julien Lepiller To: Frank Pursel Subject: Re: [bug#54021] [PATCH] Add rhino javascript package Message-ID: <20220301222601.48f98ec4@tachikoma.lepiller.eu> In-Reply-To: <87mtiaekbt.fsf@gmail.com> References: <87pmnnr2qq.fsf@gmail.com> <87mtiaekbt.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54021-done Cc: 54021-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 (-) Thanks for the answer (I didn't spot your message immediately because you renamed the subject). I suppose this is good for now, especially since I need a version of rhino for kotlin, which I need for gradle, which we would need for future versions of rhino :) Pushed to master as 22525731fdbfeebfc51d17dc6674a92d75383213, thanks! Le Mon, 28 Feb 2022 13:45:58 -0800, Frank Pursel a =C3=A9crit : > Julien, >=20 > I missed the JavaScript in the synopsis, my fault; I did get the one > in the description. >=20 > Why the older version? A couple of reasons. First, is that I'm > trying to address the problems that have been pointed out with my > earlier patches for a ditaa package. 'ditaa' has a sequence of > dependencies that lead to the version of rhino I've packaged. I > looked at the latest version too (because that would certainly be a > good thing) but newer releases of rhino have transitioned to the > gradle build system. I have experience with ant that I can use but > none, yet, with gradle. Plus, and this may be naive, I thought it > might be a good experiment (perhaps even better for guix) to see if a > guix transformation based on this ant build could build one of the > later rhino versions that otherwise would require gradle. I may > pursue such experiments later after I achieve my first goal, which is > to package ditaa. I also think there is a risk that the latest > version of rhino will not work with ditaa as the one we are packaging > does. >=20 > If I can suceed with rhino and my more recent submission of xalan > then I will have a clean build of batik that will allow ditaa to be > built properly using only guix quality, built-from-source, libraries. > That is my current small guix ambition. =20 >=20 > Regards, > Frank >=20 >=20 >=20 >=20 >=20 ------------=_1646170022-4095-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Feb 2022 01:59:06 +0000 Received: from localhost ([127.0.0.1]:46997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK9b0-000702-EC for submit@debbugs.gnu.org; Tue, 15 Feb 2022 20:59:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:50568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK9az-0006zv-5Q for submit@debbugs.gnu.org; Tue, 15 Feb 2022 20:59:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK9ay-0002Ao-Rg for guix-patches@gnu.org; Tue, 15 Feb 2022 20:59:04 -0500 Received: from [2607:f8b0:4864:20::630] (port=35816 helo=mail-pl1-x630.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK9aw-00014L-Jm for guix-patches@gnu.org; Tue, 15 Feb 2022 20:59:04 -0500 Received: by mail-pl1-x630.google.com with SMTP id i10so851276plr.2 for ; Tue, 15 Feb 2022 17:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=bfkMj73rWQu7AeeQIZEc8GeSZQkKBmlOuGx5GNXOWKI=; b=Nf4UJ7rm18ozEqnrd0ZLegldTtERjzH2yzIvyOsCsDfhfxn9RU7+zNc2TxKIvbjVdp gvb23Xs72+TVQaM89JAc7cUe7w7F9nHE+BPR+im2Ty1ikwN5+iaFNo2xc/epNVQ4Syqo r2bpXZEkM9ZZeoQ5lkZ4xgSKoeVFtmLeeYzBXi4jS1sxjVm410o0OnuUFWxAz+OycRQQ ttaGAiUueKX+tbG/UQKAfXv9EoVYuTaG1NdhEEOUfm9jEBZb5H/OT31g+UF4ue+chwA7 LYWLjMHXHaozyVbCT2ijZf0ADpv9EaPIxhmEr6xfXdTBJ+MIxFaR+cowmA6IXwH4Jx40 HuHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=bfkMj73rWQu7AeeQIZEc8GeSZQkKBmlOuGx5GNXOWKI=; b=M+v51WrBAUSAlzxBDjJJVpkdLxQ6xRGA8gRkm5/anx9u5ebgZ9zFBSr738+Oe1T0he YCK0G5sXca0fXE9Vlg0IoLtn/BAa3Dwh6AvxZTSIUo7hFTeir2xlSwqSLDEQ7pxoEdIb Q6uxNmKUYpA7WzsZdKk93glyxVmpNoHAfkZnQs2ZA1yRL845gWMwGa83f+M9NsusbMRN KRckZj9k/P06fBnhcSgXnQPQJNjrq6W09AB9u5TLV/P/A8tLqeoVnHk7tKKKTgdWlFMP I0C4Eps98+UFA4egGcVtDiCaKxi3e0dYoXK5swUvrkDIQ3fwfa6SCIk2+D7r6GBbXHy8 Pxvw== X-Gm-Message-State: AOAM532KWYXaJW3J/VfYXPWQgWpxbvwJVCIoaJwDjwbvf86tqNxtIq+Y aYNclUvC5kq23aH6Qd8MRJFViwD90Dk= X-Google-Smtp-Source: ABdhPJxBzacJpLlYg1nJ0Yhdm4TC/HhPQ8Agu4YeEbawsRZXOQk35ze74GdxMB7KTMqNffKTJMf/sg== X-Received: by 2002:a17:90a:a117:b0:1b9:65ef:fa64 with SMTP id s23-20020a17090aa11700b001b965effa64mr351134pjp.102.1644976738341; Tue, 15 Feb 2022 17:58:58 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id k13sm44429686pfc.176.2022.02.15.17.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 17:58:57 -0800 (PST) From: Frank Pursel To: guix-patches@gnu.org Subject: [PATCH] Add rhino javascript package Date: Tue, 15 Feb 2022 17:58:53 -0800 Message-ID: <87pmnnr2qq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::630 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=frank.pursel@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.904, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Rhino javascript has been around a long time. It has also been built upon by many others. I needed to build this version for another package and wanted to send it on as it might be useful. Regards, Frank Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (frank.pursel[at]gmail.com) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.5 SPOOFED_FREEMAIL No description available. 0.8 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-Debbugs-Envelope-To: submit 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.7 (/) Hi, Rhino javascript has been around a long time. It has also been built upon by many others. I needed to build this version for another package and wanted to send it on as it might be useful. Regards, Frank >From c386b47786fc318cdfa0b1157a22590ebc279460 Mon Sep 17 00:00:00 2001 Message-Id: From: Frank Pursel Date: Tue, 15 Feb 2022 14:07:28 -0800 Subject: [PATCH] Adding rhino javascript guix package. * guix/gnu/package/javascript.scm (rhino): Added package. --- gnu/packages/javascript.scm | 65 +++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index c453ac432a..e9db0d2ce6 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2018 Nicolas Goaziou ;;; Copyright =C2=A9 2021 Pierre Neidhardt ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,7 @@ (define-module (gnu packages javascript) #:use-module (gnu packages readline) #:use-module (gnu packages uglifyjs) #:use-module (gnu packages web) + #:use-module (gnu packages java) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -38,6 +40,7 @@ (define-module (gnu packages javascript) #:use-module (guix build-system cmake) #:use-module (guix build-system trivial) #:use-module (guix build-system minify) + #:use-module (guix build-system ant) #:use-module (guix utils)) =20 (define-public cjson @@ -788,3 +791,65 @@ (define-public duktape your build, and use the Duktape API to call ECMAScript functions from C co= de and vice versa.") (license license:expat))) + +(define-public rhino + (let* ((rel-ver "1.7.7.2") (rel-git-tag "Rhino1_7_7_2_Release") + (git-commitv "935942527ff434b205e797df4185518e5369466e") + (git-short-commit (substring git-commitv 0 6)) + (hash "09i4yr98hs6855fs7fhgmrpiwpr90lhxdv2bvfj97nn4rv1d7wl8")) + (package + (name "rhino") + (version git-short-commit) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mozilla/rhino.git") + (commit git-short-commit))) + (file-name (git-file-name name git-short-commit)) + (sha256 + (base32 + hash)))) + (build-system ant-build-system) + (inputs (list java-junit java-hamcrest-core + `(,icedtea "jdk"))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'clean-jars + (lambda _ + (for-each (lambda (jarf) + (delete-file jarf) + (format #t "Deleted: ~s +" jarf)) + (find-files "." ".*\\.jar$")) #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (setenv "ANT_OPTS" "-Doffline=3Dtrue") + (invoke "ant" "junit")) #t)) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg+ver (string-append ,name ,rel-ver)) + (bin (string-append out "/bin")) + (rhino (string-append bin "/rhino"))) + (mkdir-p bin) + (install-file (string-append "build/" pkg+ver + "/js.jar") + (string-append out "/share/java")) + (with-output-to-file rhino + (lambda _ + (format #t "#!~a +~a -jar ~a $@ +" + (search-input-file inputs "/bin/bash= ") + (which "java") + (string-append out "/share/java/js.j= ar")))) + (chmod rhino #o755) #t)))))) + (home-page "https://mozilla.github.io/rhino") + (synopsis "Javascript implemented in java") + (description + "The Rhino engine, created primarily by Norris +Boyd (also at Netscape) is a JavaScript implementation written in +Java. Rhino is ECMA-262 Edition 5 compliant.") + (license license:mpl2.0)))) + --=20 2.34.0 ------------=_1646170022-4095-1--