From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:06:36 2021 Received: (at submit) by debbugs.gnu.org; 5 Aug 2021 14:06:36 +0000 Received: from localhost ([127.0.0.1]:47978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe16-0006zm-DM for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:06:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:59822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe14-0006ze-8j for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:06:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe13-0000Yo-VP for guix-patches@gnu.org; Thu, 05 Aug 2021 10:06:33 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:52732 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe11-00065G-GG for guix-patches@gnu.org; Thu, 05 Aug 2021 10:06:33 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172381; bh=Q+L4SNAv4LuU8Tr5ahKB/9mcyMjIA1KhCMKGErYz+QE=; h=From:To:Subject:Date; b=a9zY+nefq5A+TbbnYTFy+AdYJNhzMVY7OvXsR18YQb4UiE1ydM5aXMCcIHNDshQOD g+oUUCZCz/TGWIjPi7vpblYu5P9a7s1q4n9DPNQKCCeo1CE3wej+msJYQ0lMI7HV+k xfJg2crXKjMNRsXDqFIlGS3k6n9Pe2obhWq6sB8s= To: guix-patches@gnu.org Subject: [PATCH 0/5] Add build system for Gerbil Scheme Message-Id: Date: Thu, 05 Aug 2021 16:06:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.924, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) 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: This series adds the ‘gerbil-build-system’ for building Gerbil packages. The first patch moves the ‘gerbil’ package from (gnu packages scheme) to (gnu packages gerbil). The third patch adds the build system itself, and the fourth and fifth patches add two Gerbil packages that use the new ‘gerbil-build-system’. Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -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 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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.2 (/) This series adds the =E2=80=98gerbil-build-system=E2=80=99 for building Ger= bil packages. The first patch moves the =E2=80=98gerbil=E2=80=99 package from (gnu packag= es scheme) to (gnu packages gerbil). The third patch adds the build system itself, and the fourth and fifth patches add two Gerbil packages that use the new =E2=80=98gerbil-build-syst= em=E2=80=99. I don=E2=80=99t know if Gerbil packages should be =E2=80=98inputs=E2=80=99 = or =E2=80=98propagated-inputs=E2=80=99. I found two Gerbil packages that depe= nded on other Gerbil packages, but they both require a newer, unreleased Gerbil package (Gerbil hasn=E2=80=99t had a new release for more than a year). Ma= ybe we should add a =E2=80=98gerbil-next=E2=80=99 package? ;-) Xinglu Chen (5): gnu: gerbil: Move to (gnu packages gerbil). gnu: gerbil: Add 'native-search-paths' field. guix: Add 'gerbil-build-system'. gnu: Add gerbil-srfi-54. gnu: Add gerbil-clojerbil. Makefile.am | 2 + doc/guix.texi | 21 +++ etc/snippets/scheme-mode/guix-package | 1 + gnu/local.mk | 2 + gnu/packages/gerbil.scm | 199 ++++++++++++++++++++++++++ gnu/packages/scheme.scm | 105 +------------- guix/build-system/gerbil.scm | 138 ++++++++++++++++++ guix/build/gerbil-build-system.scm | 78 ++++++++++ 8 files changed, 442 insertions(+), 104 deletions(-) create mode 100644 gnu/packages/gerbil.scm create mode 100644 guix/build-system/gerbil.scm create mode 100644 guix/build/gerbil-build-system.scm base-commit: 517dacdb99e15f35c0ead462c9156896b5728be4 --=20 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:09:56 2021 Received: (at 49889) by debbugs.gnu.org; 5 Aug 2021 14:09:56 +0000 Received: from localhost ([127.0.0.1]:47983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4A-00074J-Sd for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:09:56 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:32844 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe48-000742-8f for 49889@debbugs.gnu.org; Thu, 05 Aug 2021 10:09:45 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172574; bh=ox8vgKmYXve4r/rKMivcjH79PE9SfcmBotz+GIpz0A4=; h=From:To:Subject:In-Reply-To:References:Date; b=SZ3RyyJpVkmrkDwHcvBf8YAlO8m8iQOQJX3bAjLncwA1jWE+wCrGwNSuNKJstk0QT yVf3y/VUPhmt1imhhSOXzmtqYPTCAU22jss33V/xsqLDgQnzfSmnh143I45Ju1k6Bw sqoLLgtjhG5PfAfbqjTsde9uDRKsG1LMAlHwzJiM= To: 49889@debbugs.gnu.org Subject: [PATCH 1/5] gnu: gerbil: Move to (gnu packages gerbil). In-Reply-To: References: Message-Id: <983c3e3a6b0b63c75044e33ed4b2dad87583158f.1628172101.git.public@yoctocell.xyz> Date: Thu, 05 Aug 2021 16:09:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) 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: * gnu/packages/scheme.scm (gerbil): Move from here... * gnu/packages/gerbil.scm: New module. (gerbil): ...to here * gnu/local.mk (GNU_SYSTEM_MODULES): Register gnu/packages/gerbil.scm. --- gnu/local.m [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: liltechdude.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 49889 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.9 (+) 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: * gnu/packages/scheme.scm (gerbil): Move from here... * gnu/packages/gerbil.scm: New module. (gerbil): ...to here * gnu/local.mk (GNU_SYSTEM_MODULES): Register gnu/packages/gerbil.scm. --- gnu/local.m [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: liltechdude.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/scheme.scm (gerbil): Move from here... * gnu/packages/gerbil.scm: New module. (gerbil): ...to here * gnu/local.mk (GNU_SYSTEM_MODULES): Register gnu/packages/gerbil.scm. --- gnu/local.mk | 2 + gnu/packages/gerbil.scm | 137 ++++++++++++++++++++++++++++++++++++++++ gnu/packages/scheme.scm | 105 +----------------------------- 3 files changed, 140 insertions(+), 104 deletions(-) create mode 100644 gnu/packages/gerbil.scm diff --git a/gnu/local.mk b/gnu/local.mk index 51a76e3638..ddbc057dc7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -44,6 +44,7 @@ # Copyright =C2=A9 2021 Arun Isaac # Copyright =C2=A9 2021 Sharlatan Hellseher # Copyright =C2=A9 2021 Dmitry Polyakov +# Copyright =C2=A9 2021 Xinglu Chen # # This file is part of GNU Guix. # @@ -239,6 +240,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/genealogy.scm \ %D%/packages/genimage.scm \ %D%/packages/geo.scm \ + %D%/packages/gerbil.scm \ %D%/packages/gettext.scm \ %D%/packages/ghostscript.scm \ %D%/packages/gimp.scm \ diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm new file mode 100644 index 0000000000..69e7ae76a8 --- /dev/null +++ b/gnu/packages/gerbil.scm @@ -0,0 +1,137 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2020 Edouard Klein +;;; Copyright =C2=A9 2021 Xinglu Chen +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages gerbil) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages scheme) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages tls) + #:use-module (gnu packages) + #:use-module (guix build-system gerbil) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1)) + +(define-public gerbil + (package + (name "gerbil") + (version "0.16") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vyzo/gerbil") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vng0kxpnwsg8jbjdpyn4sdww36jz7zfpfbzayg9sdpz6bjxjy0f")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (add-before 'configure 'chdir + (lambda _ + (chdir "src"))) + (replace 'configure + (lambda* (#:key outputs inputs #:allow-other-keys) + (invoke "chmod" "755" "-R" ".") + ;; Otherwise fails when editing an r--r--r-- file. + (invoke "gsi-script" "configure" + "--prefix" (assoc-ref outputs "out") + "--with-gambit" (assoc-ref inputs "gambit-c")))) + (add-before 'patch-generated-file-shebangs 'fix-gxi-shebangs + (lambda _ + ;; Some .ss files refer to gxi using /usr/bin/env gxi + ;; and 'patch-generated-file-shebangs can't fix that + ;; because gxi has not been compiled yet. + ;; We know where gxi is going to end up so we + ;; Doctor Who our fix here before the problem + ;; happens towards the end of the build.sh script. + (let ((abs-srcdir (getcwd))) + (for-each + (lambda (f) + (substitute* f + (("#!/usr/bin/env gxi") + (string-append "#!" abs-srcdir "/../bin/gxi")))) + '("./gerbil/gxc" + "./lang/build.ss" + "./misc/http-perf/build.ss" + "./misc/rpc-perf/build.ss" + "./misc/scripts/docsnarf.ss" + "./misc/scripts/docstub.ss" + "./misc/scripts/docsyms.ss" + "./r7rs-large/build.ss" + "./release.ss" + "./std/build.ss" + "./std/run-tests.ss" + "./std/web/fastcgi-test.ss" + "./std/web/rack-test.ss" + "./tools/build.ss" + "./tutorial/httpd/build.ss" + "./tutorial/kvstore/build.ss" + "./tutorial/lang/build.ss" + "./tutorial/proxy/build-static.ss" + "./tutorial/proxy/build.ss"))))) + (replace + 'build + (lambda* + (#:key inputs #:allow-other-keys) + (setenv "HOME" (getcwd)) + (invoke + ;; The build script needs a tty or it'll crash on an ioctl + ;; trying to find the width of the terminal it's running on. + ;; Calling in script prevents that. + "script" + "-qefc" + "./build.sh"))) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (lib (string-append out "/lib"))) + (mkdir-p bin) + (mkdir-p lib) + (copy-recursively "../bin" bin) + (copy-recursively "../lib" lib))))))) + (native-inputs + `(("coreutils" ,coreutils) + ("util-linux" ,util-linux))) + (propagated-inputs + `(("gambit-c" ,gambit-c) + ("zlib" ,zlib) + ("openssl" ,openssl) + ("sqlite" ,sqlite))) + (synopsis "Meta-dialect of Scheme with post-modern features") + (description "Gerbil is an opinionated dialect of Scheme designed for = Systems +Programming, with a state of the art macro and module system on top of the= Gambit +runtime. The macro system is based on quote-syntax, and provides the full= meta-syntactic +tower with a native implementation of syntax-case. It also provides a ful= l-blown module +system, similar to PLT Scheme's (sorry, Racket) modules. The main differe= nce from Racket +is that Gerbil modules are single instantiation, supporting high performan= ce ahead of +time compilation and compiled macros.") + (home-page "https://cons.io") + (license (list license:lgpl2.1 license:asl2.0)))) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index c43d17219e..1ab4c329f8 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -13,7 +13,6 @@ ;;; Copyright =C2=A9 2018 Gabriel Hondet ;;; Copyright =C2=A9 2020 Pierre Neidhardt ;;; Copyright =C2=A9 2020 Brett Gilio -;;; Copyright =C2=A9 2020 Edouard Klein ;;; Copyright =C2=A9 2021 Philip McGrath ;;; Copyright =C2=A9 2021 Guillaume Le Vaillant ;;; @@ -919,106 +918,4 @@ manager/installer @code{gauche-package} which can dow= nload, compile, install and list gauche extension packages.") (license bsd-3))) =20 -(define-public gerbil - (package - (name "gerbil") - (version "0.16") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/vyzo/gerbil") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0vng0kxpnwsg8jbjdpyn4sdww36jz7zfpfbzayg9sdpz6bjxjy0f")))) - (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'bootstrap) - (add-before 'configure 'chdir - (lambda _ - (chdir "src") - #t)) - (replace 'configure - (lambda* (#:key outputs inputs #:allow-other-keys) - (invoke "chmod" "755" "-R" ".") - ;; Otherwise fails when editing an r--r--r-- file. - (invoke "gsi-script" "configure" - "--prefix" (assoc-ref outputs "out") - "--with-gambit" (assoc-ref inputs "gambit-c")))) - (add-before 'patch-generated-file-shebangs 'fix-gxi-shebangs - (lambda _ - ;; Some .ss files refer to gxi using /usr/bin/env gxi - ;; and 'patch-generated-file-shebangs can't fix that - ;; because gxi has not been compiled yet. - ;; We know where gxi is going to end up so we - ;; Doctor Who our fix here before the problem - ;; happens towards the end of the build.sh script. - (let ((abs-srcdir (getcwd))) - (for-each - (lambda (f) - (substitute* f - (("#!/usr/bin/env gxi") - (string-append "#!" abs-srcdir "/../bin/gxi")))) - '("./gerbil/gxc" - "./lang/build.ss" - "./misc/http-perf/build.ss" - "./misc/rpc-perf/build.ss" - "./misc/scripts/docsnarf.ss" - "./misc/scripts/docstub.ss" - "./misc/scripts/docsyms.ss" - "./r7rs-large/build.ss" - "./release.ss" - "./std/build.ss" - "./std/run-tests.ss" - "./std/web/fastcgi-test.ss" - "./std/web/rack-test.ss" - "./tools/build.ss" - "./tutorial/httpd/build.ss" - "./tutorial/kvstore/build.ss" - "./tutorial/lang/build.ss" - "./tutorial/proxy/build-static.ss" - "./tutorial/proxy/build.ss"))) - #t)) - (replace - 'build - (lambda* - (#:key inputs #:allow-other-keys) - (setenv "HOME" (getcwd)) - (invoke - ;; The build script needs a tty or it'll crash on an ioctl - ;; trying to find the width of the terminal it's running on. - ;; Calling in script prevents that. - "script" - "-qefc" - "./build.sh"))) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (lib (string-append out "/lib"))) - (mkdir-p bin) - (mkdir-p lib) - (copy-recursively "../bin" bin) - (copy-recursively "../lib" lib))))))) - (native-inputs - `(("coreutils" ,coreutils) - ("util-linux" ,util-linux))) - (propagated-inputs - `(("gambit-c" ,gambit-c) - ("zlib" ,zlib) - ("openssl" ,openssl) - ("sqlite" ,sqlite))) - (build-system gnu-build-system) - (synopsis "Meta-dialect of Scheme with post-modern features") - (description "Gerbil is an opinionated dialect of Scheme designed for = Systems -Programming, with a state of the art macro and module system on top of the= Gambit -runtime. The macro system is based on quote-syntax, and provides the full= meta-syntactic -tower with a native implementation of syntax-case. It also provides a ful= l-blown module -system, similar to PLT Scheme's (sorry, Racket) modules. The main differe= nce from Racket -is that Gerbil modules are single instantiation, supporting high performan= ce ahead of -time compilation and compiled macros.") - (home-page "https://cons.io") - (license `(,lgpl2.1 ,asl2.0)))) + --=20 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:09:56 2021 Received: (at 49889) by debbugs.gnu.org; 5 Aug 2021 14:09:56 +0000 Received: from localhost ([127.0.0.1]:47986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4K-00074a-BI for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:09:56 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:32850 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4B-000749-Ph for 49889@debbugs.gnu.org; Thu, 05 Aug 2021 10:09:48 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172580; bh=Wo9+UA48IYUdUtmdPek8gQ2JaO6yZ2SSBJYYyNMfll8=; h=From:To:Subject:In-Reply-To:References:Date; b=RnB1nyOuNaWfoGQYPl4yHTn32CqXclbnhbUsYQZhrabeWDQGOBCH5hH1k+Pfb4wLF na6in/0EQZIgWllhaTJPhoJoMeP2sDSNs64pkWQZNK6dbZcBR630AJfV4bn36areET 60yFj8y2fZo8hRPaV6wD+a8O4q8n0bsRq1lx62g0= To: 49889@debbugs.gnu.org Subject: [PATCH 2/5] gnu: gerbil: Add 'native-search-paths' field. In-Reply-To: References: Message-Id: <021b419a576c675a1ea40a5f4885c098478fcc48.1628172101.git.public@yoctocell.xyz> Date: Thu, 05 Aug 2021 16:09:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) 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: * gnu/packages/gerbil.scm (gerbil): Add ‘native-search-paths’ field. --- gnu/packages/gerbil.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index 69e7ae76a8..90559e9ea2 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -125,6 +125,10 @@ ("zlib" ,zlib) ("ope [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 49889 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.9 (+) 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: * gnu/packages/gerbil.scm (gerbil): Add ‘native-search-paths’ field. --- gnu/packages/gerbil.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index 69e7ae76a8..90559e9ea2 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -125,6 +125,10 @@ ("zlib" ,zlib) ("ope [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/gerbil.scm (gerbil): Add =E2=80=98native-search-paths=E2=80= =99 field. --- gnu/packages/gerbil.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index 69e7ae76a8..90559e9ea2 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -125,6 +125,10 @@ ("zlib" ,zlib) ("openssl" ,openssl) ("sqlite" ,sqlite))) + (native-search-paths + (list (search-path-specification + (variable "GERBIL_LOADPATH") + (files (list "lib/gerbil"))))) (synopsis "Meta-dialect of Scheme with post-modern features") (description "Gerbil is an opinionated dialect of Scheme designed for = Systems Programming, with a state of the art macro and module system on top of the= Gambit --=20 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:10:23 2021 Received: (at 49889) by debbugs.gnu.org; 5 Aug 2021 14:10:23 +0000 Received: from localhost ([127.0.0.1]:47991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4k-00075z-Q1 for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:23 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:32874 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4i-00075k-O7 for 49889@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:21 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172613; bh=RlqoIzaOrFjoNJTbq3fypOYjKQhrMpCTSBgyuQjHV64=; h=From:To:Subject:In-Reply-To:References:Date; b=E0fLzi247XKx4uI2eIIgxMDgoc3/WMqfzvWXiGBxrEq3zbA6lqN8xjUGhMvbOAhC4 IJKFnsOcT5NSx7IXENcV/BdWfA0LV7RbrRpartPczqf5C3ds0wRhVKQ/kCQs/EIndu UhyKsSem4ksPEjABOXIMCAS97yYTDdJBLYYQPG94= To: 49889@debbugs.gnu.org Subject: [PATCH 3/5] guix: Add 'gerbil-build-system'. In-Reply-To: References: Message-Id: <925c0e686f56bcc19b2db7ab1c38767e3bd74b9e.1628172101.git.public@yoctocell.xyz> Date: Thu, 05 Aug 2021 16:10:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) 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: * guix/build/gerbil-build-system.scm: New module. * guix/build-system/gerbil.scm: Likewise. * Makefile.am (MODULES): Register them. * doc/guix.texi (Build Systems): Document it * etc/snippets/scheme-m [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 49889 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.9 (+) 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: * guix/build/gerbil-build-system.scm: New module. * guix/build-system/gerbil.scm: Likewise. * Makefile.am (MODULES): Register them. * doc/guix.texi (Build Systems): Document it * etc/snippets/scheme-m [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * guix/build/gerbil-build-system.scm: New module. * guix/build-system/gerbil.scm: Likewise. * Makefile.am (MODULES): Register them. * doc/guix.texi (Build Systems): Document it * etc/snippets/scheme-mode/guix-package: Add =E2=80=98gerbil-build-system= =E2=80=99 to list of build systems. --- Makefile.am | 2 + doc/guix.texi | 21 ++++ etc/snippets/scheme-mode/guix-package | 1 + guix/build-system/gerbil.scm | 138 ++++++++++++++++++++++++++ guix/build/gerbil-build-system.scm | 78 +++++++++++++++ 5 files changed, 240 insertions(+) create mode 100644 guix/build-system/gerbil.scm create mode 100644 guix/build/gerbil-build-system.scm diff --git a/Makefile.am b/Makefile.am index 5542aa1c56..4f773f27e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -143,6 +143,7 @@ MODULES =3D \ guix/build-system/minify.scm \ guix/build-system/asdf.scm \ guix/build-system/copy.scm \ + guix/build-system/gerbil.scm \ guix/build-system/glib-or-gtk.scm \ guix/build-system/gnu.scm \ guix/build-system/guile.scm \ @@ -190,6 +191,7 @@ MODULES =3D \ guix/build/meson-build-system.scm \ guix/build/minify-build-system.scm \ guix/build/font-build-system.scm \ + guix/build/gerbil-build-system.scm \ guix/build/go-build-system.scm \ guix/build/android-repo.scm \ guix/build/asdf-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index a826171f34..4f2146b7ac 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7733,6 +7733,27 @@ only one of them. This is equivalent to passing the= @code{-p} argument to @code{dune}. @end defvr =20 +@defvr {Scheme Variable} gerbil-build-system +This variable is exported by @code{(guix build-system gerbil)}. It +implements a build procedure for Gerbil packages the standard +@uref{https://cons.io/guide/package-manager.html, Gerbil build +mechanism}. + +It runs the @file{build.ss} Gerbile script, which compiles the package. +The script can also take custom commands and flags, which can be +specified by the @code{#:build-flags} parameter. + +One can also specify a custom Gerbil package to use for compiling the +package by specifying the the @code{#:gerbil} parameter. + +Gerbil projects don't have a standardized way of running tests, so not +@code{check} phase is exists by default. + +@c TODO: Should Gerbil packages be =E2=80=98inputs=E2=80=99 or =E2=80=98pr= opagated-inputs=E2=80=99? + +As of right now, cross-compilation is not supported. +@end defvr + @defvr {Scheme Variable} go-build-system This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard diff --git a/etc/snippets/scheme-mode/guix-package b/etc/snippets/scheme-mo= de/guix-package index 9ff6f997d1..e2d645f731 100644 --- a/etc/snippets/scheme-mode/guix-package +++ b/etc/snippets/scheme-mode/guix-package @@ -18,6 +18,7 @@ "dune-build-system" "emacs-build-system" "font-build-system" + "gerbil-build-system" "glib-or-gtk-build-system" "gnu-build-system" "go-build-system" diff --git a/guix/build-system/gerbil.scm b/guix/build-system/gerbil.scm new file mode 100644 index 0000000000..0dd61767b8 --- /dev/null +++ b/guix/build-system/gerbil.scm @@ -0,0 +1,138 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2021 Xinglu Chen +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build-system gerbil) + #:use-module (guix utils) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module (guix search-paths) + #:use-module (guix packages) + #:use-module (guix derivations) + #:use-module (ice-9 match) + #:export (gerbil-build-system)) + +;;; Commentary: +;;; +;;; Standard build procedure for packages using the Gerbil build system. +;;; +;;; Code: + +(define %gerbil-build-system-modules + ;; Build-side modules imported and used by default. + `((guix build gerbil-build-system) + (guix build union) + ,@%gnu-build-system-modules)) + +(define (default-gerbil) + "Return the default Gerbil package." + ;; Lazily resolve the binding to avoid circular dependency. + (let ((gerbil (resolve-interface '(gnu packages gerbil)))) + (module-ref gerbil 'gerbil))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (gerbil (default-gerbil)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME." + (define private-keywords + '(#:source #:target #:gerbil #:inputs #:native-inputs)) + + ;; TODO: Cross-compilation support. + (and (not target) + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs)) + (build-inputs `(("gerbil" ,gerbil) + ("libc" ,(module-ref (resolve-interface + '(gnu packages base)) + 'glibc)) + ("gcc" ,(module-ref (resolve-interface + '(gnu packages gcc)) + 'gcc)) + ("binutils" ,(module-ref (resolve-interface + '(gnu packages base)) + 'binutils)) + ,@native-inputs)) + (outputs outputs) + (build gerbil-build) + (arguments (strip-keyword-arguments private-keywords arguments)))= )) + +(define* (gerbil-build store name inputs + #:key + (phases '(@ (guix build gerbil-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (build-flags ''()) + (gerbil (default-gerbil)) + ;; Tests are disabled by default because there is no + ;; standard way to test Gerbil packages. However, = some + ;; packages might have custom test phases, so pass = the + ;; #:tests? keyword, just in case. + (tests? #f) + (system (%current-system)) + (guile #f) + (imported-modules %gerbil-build-system-modules) + (modules '((guix build gerbil-build-system) + (guix build utils)))) + (define builder + `(begin + (use-modules ,@modules) + (gerbil-build #:name ,name + #:source ,(match (assoc-ref inputs "source") + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source)) + #:tests? ,tests? + #:system ,system + #:phases ,phases + #:outputs %outputs + #:build-flags ,build-flags + #:search-paths ',(map search-path-specification->sexp + search-paths) + #:inputs %build-inputs))) + + (define guile-for-build + (match guile + ((? package?) + (package-derivation store guile system #:graft? #f)) + (#f ; the default + (let* ((distro (resolve-interface '(gnu packages commencement))) + (guile (module-ref distro 'guile-final))) + (package-derivation store guile system #:graft? #f))))) + + (build-expression->derivation store name builder + #:inputs inputs + #:system system + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build)) + +(define gerbil-build-system + (build-system + (name 'gerbil) + (description "The standard Gerbil build system") + (lower lower))) diff --git a/guix/build/gerbil-build-system.scm b/guix/build/gerbil-build-s= ystem.scm new file mode 100644 index 0000000000..4355d8e444 --- /dev/null +++ b/guix/build/gerbil-build-system.scm @@ -0,0 +1,78 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2021 Xinglu Chen +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build gerbil-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module (guix build union) + #:use-module (guix build utils) + #:use-module (srfi srfi-26) + #:export (%standard-phases + gerbil-build)) + +;;; Commentary: +;;; +;;; Build-side code for building Gerbil packages. +;;; +;;; Something to note is that there is no standard way to run tests +;;; for Gerbil packages, so there is not `check' phase by default. +;;; +;;; Code: + +(define (gerbil-package? name) + "Whether NAME is a Gerbil package." + (string-prefix? "gerbil-" name)) + +(define (gerbil-load-path inputs) + "Given an alist of inputs, INPUTS, return a list of directories to add +to the GERBIL_LOADPTH environment variable." + (let* ((labels (map car inputs)) + (gerbil-packages (filter gerbil-package? labels))) + (map (cut string-append <> "/lib/gerbil") + gerbil-packages))) +=20=20 +(define* (setup-gerbil-environment #:key inputs #:allow-other-keys) + ;; This is where the compiled modules will end up. + (setenv "GERBIL_PATH" (string-append (getcwd) "/.build")) + ;; Where to look for other Gerbil modules. + (setenv "GERBIL_LOADPATH" (string-join (gerbil-load-path inputs) ":"))) +=20=20 +(define* (build #:key build-flags #:allow-other-keys) + ;; The build.ss script contians the build instructions. + (apply invoke "./build.ss" build-flags)) + +(define* (install #:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/lib/gerbil")) + (copy-recursively ".build/lib" (string-append out "/lib/gerbil")) + (copy-recursively ".build/bin" (string-append out "/bin")))) + +(define %standard-phases + (modify-phases gnu:%standard-phases + (delete 'bootstrap) + (delete 'configure) + (add-after 'unpack 'setup-gerbil-environment setup-gerbil-environment) + (replace 'build build) + (delete 'check) + (replace 'install install))) + +(define* (gerbil-build #:key (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given Gerbil packages, applying all of PHASES in order." + (apply gnu:gnu-build #:phases phases args)) + +=20=20=20=20 --=20 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:10:27 2021 Received: (at 49889) by debbugs.gnu.org; 5 Aug 2021 14:10:27 +0000 Received: from localhost ([127.0.0.1]:47994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4p-00076G-Gg for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:27 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:32882 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4o-00075r-3b for 49889@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:26 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172618; bh=dewwxMj3nSsJ5YUPhhXsWSHejS6sERSVu48RnDYHvCk=; h=From:To:Subject:In-Reply-To:References:Date; b=oDfEE0PRBwrz8LUAH1nnnLMHCBVdbtkq5LpmIVEsOikNmfV4uOmyfLDh+7T/Co82T MqS7mTsugCYiOdqTGwDLqAq5ZygMRlqbdlPKrvivaquWMnLRXy8PXL3M6QDrrDjrr5 R9TTeCPZoeZGVPvI7qSlvxM7V7YkbmsqJP8pm5DM= To: 49889@debbugs.gnu.org Subject: [PATCH 4/5] gnu: Add gerbil-srfi-54. In-Reply-To: References: Message-Id: Date: Thu, 05 Aug 2021 16:10:18 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) 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: * gnu/packages/gerbil.scm (gerbil-srfi-54): New variable. --- gnu/packages/gerbil.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index 90559e9ea2..aee5da60cd 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -139,3 +139,28 @@ is that Gerbil modul [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 49889 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.9 (+) 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: * gnu/packages/gerbil.scm (gerbil-srfi-54): New variable. --- gnu/packages/gerbil.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index 90559e9ea2..aee5da60cd 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -139,3 +139,28 @@ is that Gerbil modul [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/gerbil.scm (gerbil-srfi-54): New variable. --- gnu/packages/gerbil.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index 90559e9ea2..aee5da60cd 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -139,3 +139,28 @@ is that Gerbil modules are single instantiation, supporting high performance ahe time compilation and compiled macros.") (home-page "https://cons.io") (license (list license:lgpl2.1 license:asl2.0)))) + +(define-public gerbil-srfi-54 + ;; No releases; commit from 2019-01-13. + (let ((commit "a7db045ad3f150b5dde79c3320c34d8ac3589525") + (revision "0")) + (package + (name "gerbil-srfi-54") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hckiang/srfi-54") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0k1ddfhvbmf9njxm1ybs61n9kpzjvha2j63mf756r7b3x5rk51b0")))) + (build-system gerbil-build-system) + (home-page "https://github.com/hckiang/srfi-54") + (synopsis "SRFI-54 for Gerbil Scheme") + (description "This package provides SRFI-54 for Gerbil Scheme. +The implementation is exactly the same as the +@uref{https://srfi.schemers.org/srfi-54/srfi-54.html, official +reference documentation}.") + (license license:lgpl3+)))) -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:10:33 2021 Received: (at 49889) by debbugs.gnu.org; 5 Aug 2021 14:10:33 +0000 Received: from localhost ([127.0.0.1]:47997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4u-00076Y-Pf for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:33 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:32892 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4s-000768-G6 for 49889@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:30 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172623; bh=3EyrC9j5xwcwkwLX8ReobrIZ0X2q7mPao/gokNShK4s=; h=From:To:Subject:In-Reply-To:References:Date; b=VslE906sgP3aexy7lfLr3ITG4fMLu+vdBzQbLbyGdVwxgPStcZihewVawnzssZhFA mWWrxXhkT3uw26ojaSlX2IpR+zlfURzCD0bWySZ1wqXpctBPLjx5kidujk+f8gi1Rn bnDIlnGUIcFzp3JhAR2Mi472CsQRyU4yCAdkyqHs= To: 49889@debbugs.gnu.org Subject: [PATCH 5/5] gnu: Add gerbil-clojerbil. In-Reply-To: References: Message-Id: <771dac2950d0b1b092a34a3332ab2162c39c0e1e.1628172101.git.public@yoctocell.xyz> Date: Thu, 05 Aug 2021 16:10:22 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) 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: * gnu/packages/gerbil.scm (gerbil-clojerbil): New variable. --- gnu/packages/gerbil.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index aee5da60cd..d254b39eff 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -164,3 +164,36 @@ The implementation i [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 49889 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.9 (+) 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: * gnu/packages/gerbil.scm (gerbil-clojerbil): New variable. --- gnu/packages/gerbil.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index aee5da60cd..d254b39eff 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -164,3 +164,36 @@ The implementation i [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps * gnu/packages/gerbil.scm (gerbil-clojerbil): New variable. --- gnu/packages/gerbil.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index aee5da60cd..d254b39eff 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -164,3 +164,36 @@ The implementation is exactly the same as the @uref{https://srfi.schemers.org/srfi-54/srfi-54.html, official reference documentation}.") (license license:lgpl3+)))) + +(define-public gerbil-clojerbil + ;; No releases; commit from 2021-05-24 + (let ((commit "542f0d2cf0afb1d99ded76dee1f646e4d10efeb2") + (revision "0")) + (package + (name "gerbil-clojerbil") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eraserhd/clojerbil") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jipcmqhg9l2zi7bnbki5wky89i5xpd1ixnmyw2lm660i3p0gib4")))) + (build-system gerbil-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'build 'check + (lambda* (#:key inputs #:allow-other-keys) + (let ((gerbil (assoc-ref inputs "gerbil"))) + (invoke (string-append gerbil "/bin/gxi") "run-tests.ss"))))))) + (home-page "https://github.com/eraserhd/clojerbil") + (synopsis "Thin implementation of Clojure on top of Gerbil Scheme") + (description + "Clojerbil is a deliberately thin implementation of Clojure on top of +Gerbil Scheme. Its intent is to add Clojure-type niceties on top of Gerbil and +allow simple Clojure code to work without making a complicated compatibility +layer.") + (license license:unlicense)))) -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 12:59:37 2021 Received: (at 49889) by debbugs.gnu.org; 7 Aug 2021 16:59:37 +0000 Received: from localhost ([127.0.0.1]:53076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCPfd-0002QX-KF for submit@debbugs.gnu.org; Sat, 07 Aug 2021 12:59:37 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:58488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCPfa-0002QM-R2 for 49889@debbugs.gnu.org; Sat, 07 Aug 2021 12:59:37 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id egzY2500F0mfAB406gzYPi; Sat, 07 Aug 2021 18:59:33 +0200 Message-ID: Subject: Re: [bug#49889] [PATCH 5/5] gnu: Add gerbil-clojerbil. From: Maxime Devos To: Xinglu Chen , 49889@debbugs.gnu.org Date: Sat, 07 Aug 2021 18:59:24 +0200 In-Reply-To: <771dac2950d0b1b092a34a3332ab2162c39c0e1e.1628172101.git.public@yoctocell.xyz> References: <771dac2950d0b1b092a34a3332ab2162c39c0e1e.1628172101.git.public@yoctocell.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-dINl51tk4+g+2gZM9kK9" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1628355573; bh=aoJJ261AoT3oFe4IX2Eh3NgTDOuFLyf13IZ6G8lMX78=; h=Subject:From:To:Date:In-Reply-To:References; b=XVtNahHdGj4kV60EWTo0e3yqLBaUZRfnk6iw/X9lkaw4fMY+dXmhqK5C/5prPaSmp dYxe3LxiuJGR+QddoQ11FIUMe5nw4/iovWqZcvKg91/AC91CqrXGpfJqW9KAMyoxMP 3Uh7hn5OM1nooCKPN0TgNa9dyxVJfFaf+2ZZiMY8LQ5Wu+K/qsKqUFy+XnclD3fRcc /7+NcLqH7E32L9TyEVUrp/yDVFYnFH4QwBv9OQjy4YXdmG05vgYsZaqsdZRTxY/3e1 oXxbI846cTmFC+Y8h/tNDT5peUmXzPGwc1hcmnKGV5DUOk6zEpXvlVtBv9JKT0aIyV jbA19C9wMZ3Ig== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49889 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 (-) --=-dINl51tk4+g+2gZM9kK9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xinglu Chen schreef op do 05-08-2021 om 16:10 [+0200]: > + (add-after 'build 'check > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((gerbil (assoc-ref inputs "gerbil"))) > + (invoke (string-append gerbil "/bin/gxi") "run-tests.ss= "))))))) By wrapping the body in (when tests? ...), "--without-tests" would be suppo= rted. The 'tests-true' linter should detect this, try "./pre-inst-env guix lint g= erbil-clojerbil". Greetings, Maxime. --=-dINl51tk4+g+2gZM9kK9 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+4iGRcl7gUCYQ677RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tYrAQCaYwC2RD6tmUbxkM/I7dSWX3k0 5VwM1poBh5X/APD75wD9GQWnkDMAbDpe3T5YcNlHDYlyTf+8+J649vkXtDIgQwM= =8jRq -----END PGP SIGNATURE----- --=-dINl51tk4+g+2gZM9kK9-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 15 03:42:07 2021 Received: (at 49889) by debbugs.gnu.org; 15 Aug 2021 07:42:07 +0000 Received: from localhost ([127.0.0.1]:45666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFAmV-0003iy-6Z for submit@debbugs.gnu.org; Sun, 15 Aug 2021 03:42:07 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39548 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFAmR-0003iQ-LZ for 49889@debbugs.gnu.org; Sun, 15 Aug 2021 03:42:06 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629013313; bh=cRWoNTIVIS289KzVufJNAInjObNjpCL2d0of+Fr8xr4=; h=From:To:Subject:In-Reply-To:References:Date; b=npH0FOevYx07D5Ip7GKXFNtCXXBmZhOT0ZAR+CXC9XkBoVJq2nX2Yo6JYIGBqaFex GUb29NVlhmxDZztAA7ZQ98z5F3SUTjJhpwsXpDDmASgUT1ZI/C0eyXppTq5MlFlo1k KpocIvEKCRVqvAQdWLxHFQ1ApHjqiSkv94tdUf8g= To: Maxime Devos , 49889@debbugs.gnu.org Subject: Re: [bug#49889] [PATCH 5/5] gnu: Add gerbil-clojerbil. In-Reply-To: References: <771dac2950d0b1b092a34a3332ab2162c39c0e1e.1628172101.git.public@yoctocell.xyz> Date: Sun, 15 Aug 2021 09:41:41 +0200 Message-ID: <87bl5z9mtm.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) 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 Sat, Aug 07 2021, Maxime Devos wrote: > Xinglu Chen schreef op do 05-08-2021 om 16:10 [+0200]: >> + (add-after 'build 'check >> + (lambda* (#:key inputs #:allow-other-keys) >> + (let ((gerbil (assoc-ref inputs "gerbil"))) >> + (invoke (st [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 49889 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.9 (++) 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 Sat, Aug 07 2021, Maxime Devos wrote: > Xinglu Chen schreef op do 05-08-2021 om 16:10 [+0200]: >> + (add-after 'build 'check >> + (lambda* (#:key inputs #:allow-other-keys) >> + (let ((gerbil (assoc-ref inputs "gerbil"))) >> + (invoke (st [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain On Sat, Aug 07 2021, Maxime Devos wrote: > Xinglu Chen schreef op do 05-08-2021 om 16:10 [+0200]: >> + (add-after 'build 'check >> + (lambda* (#:key inputs #:allow-other-keys) >> + (let ((gerbil (assoc-ref inputs "gerbil"))) >> + (invoke (string-append gerbil "/bin/gxi") "run-tests.ss"))))))) > > By wrapping the body in (when tests? ...), "--without-tests" would be supported. > The 'tests-true' linter should detect this, try "./pre-inst-env guix > lint gerbil-clojerbil". Good, catch! I will send a reroll when I get some feedback on the build system. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmEYxTUVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x59vwP/17XhiF/1uTVLx4VDh8Suw1uPt1U qaiEmWYwYgX3bqFElpPXtH1lTaq0DMfZCKV3Di1EQ8E2IC+a8Dg6v00H/zYjtmlQ SMx4slvE1MDlimdLebUq9c/9qOCU6ODi0QNoTj+pssn1Ik8eEmyboayROWO9/HFv qQbifZgD9yc4+Wov6CZkmee8QlHIzP8dU6lawSAFR063/z0Cy0+qMOdfy4lrmeNt EiueFmxeqRW17qAQRcIc5DAd9/c3NVrsfOGyO7NPxi/s2hLWMfLLXkUhUZ8ya9So m4Q4CdXMjr3/NVPxz04CZM+i3WDtjKF9tMSoUYTtXFacNOXFDvjIZvEKtkC3iorj vHwu6lzpGSj6AF5yf4f5CmtODUZb9T8SIsyZFNpHxVVT1gqwuT+cyT84XHEPdqxd 4PEffdsbQ0eq95Q8zWzEAUsYjhM+XPRVGne2xdb+rxEiobfGmbKB+cIE+dBwslg7 wZeLGh8xuKCG5j16056JLIthKyX6BD4jNvybyJBod6k9aF9NLhajRUlQjY3LleWu oeiyPPGFTLcx/izMfb8bje5W7mBeBrU6KEJp0v2gAROs43SXjTf1Jv6CbkZxsvJQ M2uqNhKmFIRIcYXcueY5o2pKnNRfil3cQYRQIoql5+RJHXDiAALdbPiyjDIJm0LC lVJNpaZLp4ygTt41 =Po1N -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 04 16:42:53 2022 Received: (at 49889) by debbugs.gnu.org; 4 Feb 2022 21:42:53 +0000 Received: from localhost ([127.0.0.1]:33045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG6M1-0003jw-E5 for submit@debbugs.gnu.org; Fri, 04 Feb 2022 16:42:53 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:43628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG6M0-0003jf-4e for 49889@debbugs.gnu.org; Fri, 04 Feb 2022 16:42:52 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6D2CB2DA; Fri, 4 Feb 2022 22:42:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1DftTzZuH0Ob; Fri, 4 Feb 2022 22:42:44 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5433515D; Fri, 4 Feb 2022 22:42:44 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Xinglu Chen Subject: Re: bug#49889: [PATCH 0/5] Add build system for Gerbil Scheme References: Date: Fri, 04 Feb 2022 22:42:43 +0100 In-Reply-To: (Xinglu Chen's message of "Thu, 05 Aug 2021 16:06:12 +0200") Message-ID: <87r18imhpo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 6D2CB2DA X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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: Hello! Xinglu Chen skribis: > This series adds the ‘gerbil-build-system’ for building Gerbil packages. > > The first patch moves the ‘gerbil’ package from (gnu packages scheme) to > (gnu packages gerbil). > > The third p [...] 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) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 49889 Cc: 49889@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.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: Hello! Xinglu Chen skribis: > This series adds the ‘gerbil-build-system’ for building Gerbil packages. > > The first patch moves the ‘gerbil’ package from (gnu packages scheme) to > (gnu packages gerbil). > > The third p [...] Content analysis details: (1.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) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hello! Xinglu Chen skribis: > This series adds the =E2=80=98gerbil-build-system=E2=80=99 for building G= erbil packages. > > The first patch moves the =E2=80=98gerbil=E2=80=99 package from (gnu pack= ages scheme) to > (gnu packages gerbil). > > The third patch adds the build system itself, and the fourth and fifth > patches add two Gerbil packages that use the new =E2=80=98gerbil-build-sy= stem=E2=80=99. > > I don=E2=80=99t know if Gerbil packages should be =E2=80=98inputs=E2=80= =99 or > =E2=80=98propagated-inputs=E2=80=99. I found two Gerbil packages that de= pended on other > Gerbil packages, but they both require a newer, unreleased Gerbil > package (Gerbil hasn=E2=80=99t had a new release for more than a year). = Maybe > we should add a =E2=80=98gerbil-next=E2=80=99 package? ;-) > > Xinglu Chen (5): > gnu: gerbil: Move to (gnu packages gerbil). > gnu: gerbil: Add 'native-search-paths' field. > guix: Add 'gerbil-build-system'. > gnu: Add gerbil-srfi-54. > gnu: Add gerbil-clojerbil. Looks like this fell through the cracks during the summer. :-/ It all LGTM. You=E2=80=99ll have to update the build system to the new API though, and run =E2=80=98guix style -S inputs=E2=80=99 to remove input labe= ls, and possibly =E2=80=98guix style=E2=80=99 to adjust layout for =E2=80=98gerbil-= clojerbil=E2=80=99 for instance. That=E2=80=99s all. Could you send updated patches? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 01 22:19:01 2025 Received: (at 49889-done) by debbugs.gnu.org; 2 Jan 2025 03:19:01 +0000 Received: from localhost ([127.0.0.1]:41657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTBjh-00067D-Gr for submit@debbugs.gnu.org; Wed, 01 Jan 2025 22:19:01 -0500 Received: from mx1.dismail.de ([78.46.223.134]:48820) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTBje-00066r-OJ for 49889-done@debbugs.gnu.org; Wed, 01 Jan 2025 22:18:59 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 715ed7c3; Thu, 2 Jan 2025 04:18:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:date:message-id:mime-version:content-type; s=20190914; bh=z+pOXaK/EqxOVSjWdqq7lkMvF4xt2mbAD8SU9JWu+GQ=; b= BTlHvLl2R/GXSbLAEtWjxOzLOwxNtGKli7J74rKKH22rpO7+PidW/9sSWudePocm cvTbSnVrhJqlZLuDQJIBzzk6Os4d3v3/EgDGCQGOYygRAWbfqJ7/ceafFW6K1Zgr PKrwsc3Qc2eF2fGI7YoGoQrnYqr7CqKMi/gBeTQ/uDXqA03EIj9SSBubU2Uu9PUU ccraO1jvP5oAQJdffW3XAPoY93bfT2CIFlAvOSgbi4twXP0LskjSsS14k0N/qcFE Focz4/UO0F8fitKIljQhbQHSZqvz51IvOGc29cmZMjFqgUnJZrjdzM3pVKU2O70d IizeehNuGDPifhFfImlcMg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 0cb8e8ac; Thu, 2 Jan 2025 04:18:51 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 3998f15e; Thu, 2 Jan 2025 04:18:50 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 3d899775 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 2 Jan 2025 04:18:50 +0100 (CET) From: jgart To: 49889-done@debbugs.gnu.org Subject: Re: [PATCH 0/5] Add build system for Gerbil Scheme In-Reply-To: <87r18imhpo.fsf@gnu.org> Date: Wed, 01 Jan 2025 21:18:47 -0600 Message-ID: <877c7dkinc.fsf@dismail.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49889-done Cc: Maxime Devos , Ludovic =?utf-8?Q?Court=C3=A8s?= , Xinglu Chen 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 (-) Hi, Closing this in favour of 41949. Feel free to contribute patch review at 41949. -- all the best, jgart From unknown Sat Jun 21 10:44:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Jan 2025 12:24:18 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator