Package: guix-patches;
Reported by: Andrew Whatson <whatson <at> tailcall.au>
Date: Tue, 4 Jun 2024 09:26:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71359 in the body.
You can then email your comments to 71359 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
guix-patches <at> gnu.org
:bug#71359
; Package guix-patches
.
(Tue, 04 Jun 2024 09:26:02 GMT) Full text and rfc822 format available.Andrew Whatson <whatson <at> tailcall.au>
:guix-patches <at> gnu.org
.
(Tue, 04 Jun 2024 09:26:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Andrew Whatson <whatson <at> tailcall.au> To: guix-patches <at> gnu.org Cc: Andrew Whatson <whatson <at> tailcall.au> Subject: [PATCH] gnu: Add unsyntax. Date: Tue, 4 Jun 2024 19:22:52 +1000
* gnu/packages/scheme.scm (unsyntax): New variable. Change-Id: If00a41e98d2a261af063cecd61e21a7bbc3f91ee --- gnu/packages/scheme.scm | 59 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 47754800f9..419467fdf0 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -20,7 +20,7 @@ ;;; Copyright © 2022 Morgan Smith <Morgan.J.Smith <at> outlook.com> ;;; Copyright © 2022 jgart <jgart <at> dismail.de> ;;; Copyright © 2022 Robby Zambito <contact <at> robbyzambito.me> -;;; Copyright © 2023 Andrew Whatson <whatson <at> tailcall.au> +;;; Copyright © 2023, 2024 Andrew Whatson <whatson <at> tailcall.au> ;;; Copyright © 2023 Juliana Sims <juli <at> incana.org> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com> ;;; Copyright © 2024 Skylar Hill <stellarskylark <at> posteo.net> @@ -62,6 +62,7 @@ (define-module (gnu packages scheme) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bdw-gc) + #:use-module (gnu packages build-tools) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages emacs) @@ -81,15 +82,18 @@ (define-module (gnu packages scheme) #:use-module (gnu packages lisp-check) #:use-module (gnu packages lisp-xyz) #:use-module (gnu packages m4) + #:use-module (gnu packages man) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages netpbm) #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages sqlite) #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages xorg) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -618,6 +622,59 @@ (define-public chibi-scheme threads.") (license bsd-3))) +(define-public unsyntax + (let ((commit "144772eeef4a812dd79515b67010d33ad2e7e890") + (revision "0")) + (package + (name "unsyntax") + (version (git-version "0.0.3" revision commit)) + (home-page "https://www.unsyntax.org") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/nieper/unsyntax.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ia58xdrywsm0dg19kmkghnrgw6gj2bsaypyjmbpirrila73cqk0")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags + #~(list "gl_public_submodule_commit=") ; disable submodule checks + #:phases + #~(modify-phases %standard-phases + (add-before 'bootstrap 'prepare-bootstrap + (lambda _ + ;; Unsyntax relies on bootstrap to fetch gnulib, we use + ;; the sources from guix's gnulib package instead. + (copy-recursively (getenv "GNULIB_SRCDIR") ".gnulib") + (setenv "GNULIB_SRCDIR" ".gnulib") + (patch-shebang ".gnulib/gnulib-tool") + (patch-shebang ".gnulib/build-aux/bootstrap") + (patch-shebang ".gnulib/build-aux/git-version-gen") + (patch-shebang ".gnulib/build-aux/prefix-gnulib-mk") + ;; The bootstrap_sync option updates the bootstrap script + ;; and runs it with CONFIG_SHELL, make sure it's correct. + (setenv "CONFIG_SHELL" (which "sh")) + ;; Tell git-version-gen the correct version number. + (call-with-output-file ".tarball-version" + (lambda (port) + (display #$version port)))))))) + (native-inputs + (list autoconf automake libtool git gnulib help2man perl texinfo)) + (propagated-inputs + (list chibi-scheme)) + (synopsis "Expander for R7RS programs") + (description + "Unsyntax is an implementation of the Scheme programming language, +specifically of its R7RS standard, and includes a number of extensions. +Unsyntax evaluates Scheme expressions and compiles and runs Scheme programs by +first expanding them into a minimal dialect of R7RS (small) without any +syntactic extensions. The resulting expression or program is then evaluated +by an existing Scheme implementation.") + (license expat)))) + (define-public sicp (let ((commit "bda03f79d6e2e8899ac2b5ca6a3732210e290a79") (revision "3")) base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d -- 2.45.1
guix-patches <at> gnu.org
:bug#71359
; Package guix-patches
.
(Sun, 21 Jul 2024 03:02:01 GMT) Full text and rfc822 format available.Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn> To: Andrew Whatson via Guix-patches via <guix-patches <at> gnu.org> Cc: Andrew Whatson <whatson <at> tailcall.au>, 71359 <at> debbugs.gnu.org Subject: Re: [bug#71359] [PATCH] gnu: Add unsyntax. Date: Sun, 21 Jul 2024 11:00:49 +0800
[Message part 1 (text/plain, inline)]
Andrew Whatson via Guix-patches via <guix-patches <at> gnu.org> writes: > * gnu/packages/scheme.scm (unsyntax): New variable. > > Change-Id: If00a41e98d2a261af063cecd61e21a7bbc3f91ee > --- > gnu/packages/scheme.scm | 59 ++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 58 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm > index 47754800f9..419467fdf0 100644 > --- a/gnu/packages/scheme.scm > +++ b/gnu/packages/scheme.scm > @@ -20,7 +20,7 @@ > ;;; Copyright © 2022 Morgan Smith <Morgan.J.Smith <at> outlook.com> > ;;; Copyright © 2022 jgart <jgart <at> dismail.de> > ;;; Copyright © 2022 Robby Zambito <contact <at> robbyzambito.me> > -;;; Copyright © 2023 Andrew Whatson <whatson <at> tailcall.au> > +;;; Copyright © 2023, 2024 Andrew Whatson <whatson <at> tailcall.au> > ;;; Copyright © 2023 Juliana Sims <juli <at> incana.org> > ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com> > ;;; Copyright © 2024 Skylar Hill <stellarskylark <at> posteo.net> > @@ -62,6 +62,7 @@ (define-module (gnu packages scheme) > #:use-module (gnu packages base) > #:use-module (gnu packages bash) > #:use-module (gnu packages bdw-gc) > + #:use-module (gnu packages build-tools) > #:use-module (gnu packages compression) > #:use-module (gnu packages databases) > #:use-module (gnu packages emacs) > @@ -81,15 +82,18 @@ (define-module (gnu packages scheme) > #:use-module (gnu packages lisp-check) > #:use-module (gnu packages lisp-xyz) > #:use-module (gnu packages m4) > + #:use-module (gnu packages man) > #:use-module (gnu packages multiprecision) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages netpbm) > #:use-module (gnu packages pcre) > + #:use-module (gnu packages perl) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages sqlite) > #:use-module (gnu packages tex) > #:use-module (gnu packages texinfo) > #:use-module (gnu packages tls) > + #:use-module (gnu packages version-control) > #:use-module (gnu packages xorg) > #:use-module (srfi srfi-1) > #:use-module (ice-9 match)) > @@ -618,6 +622,59 @@ (define-public chibi-scheme > threads.") > (license bsd-3))) > > +(define-public unsyntax > + (let ((commit "144772eeef4a812dd79515b67010d33ad2e7e890") > + (revision "0")) > + (package > + (name "unsyntax") > + (version (git-version "0.0.3" revision commit)) > + (home-page "https://www.unsyntax.org") HOME-PAGE should move before SYNOPSIS. > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.com/nieper/unsyntax.git") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1ia58xdrywsm0dg19kmkghnrgw6gj2bsaypyjmbpirrila73cqk0")))) > + (build-system gnu-build-system) > + (arguments > + (list #:make-flags > + #~(list "gl_public_submodule_commit=") ; disable submodule checks > + #:phases > + #~(modify-phases %standard-phases > + (add-before 'bootstrap 'prepare-bootstrap > + (lambda _ > + ;; Unsyntax relies on bootstrap to fetch gnulib, we use > + ;; the sources from guix's gnulib package instead. > + (copy-recursively (getenv "GNULIB_SRCDIR") ".gnulib") > + (setenv "GNULIB_SRCDIR" ".gnulib") > + (patch-shebang ".gnulib/gnulib-tool") > + (patch-shebang ".gnulib/build-aux/bootstrap") > + (patch-shebang ".gnulib/build-aux/git-version-gen") > + (patch-shebang ".gnulib/build-aux/prefix-gnulib-mk") > + ;; The bootstrap_sync option updates the bootstrap script > + ;; and runs it with CONFIG_SHELL, make sure it's correct. > + (setenv "CONFIG_SHELL" (which "sh")) > + ;; Tell git-version-gen the correct version number. > + (call-with-output-file ".tarball-version" > + (lambda (port) > + (display #$version port)))))))) > + (native-inputs > + (list autoconf automake libtool git gnulib help2man perl texinfo)) > + (propagated-inputs > + (list chibi-scheme)) why must add chibi-scheme to propagated-inputs? If necessary, please add a comment to indicate this > + (synopsis "Expander for R7RS programs") > + (description > + "Unsyntax is an implementation of the Scheme programming language, > +specifically of its R7RS standard, and includes a number of extensions. > +Unsyntax evaluates Scheme expressions and compiles and runs Scheme programs by > +first expanding them into a minimal dialect of R7RS (small) without any > +syntactic extensions. The resulting expression or program is then evaluated > +by an existing Scheme implementation.") > + (license expat)))) > + > (define-public sicp > (let ((commit "bda03f79d6e2e8899ac2b5ca6a3732210e290a79") > (revision "3")) > > base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#71359
; Package guix-patches
.
(Sun, 21 Jul 2024 03:02:02 GMT) Full text and rfc822 format available.guix-patches <at> gnu.org
:bug#71359
; Package guix-patches
.
(Wed, 18 Dec 2024 17:28:02 GMT) Full text and rfc822 format available.Message #14 received at 71359 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: whatson <at> tailcall.au Cc: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>, 71359 <at> debbugs.gnu.org Subject: Re: [bug#71359] [PATCH] gnu: Add unsyntax. Date: Wed, 18 Dec 2024 18:26:33 +0100
Hi Andrew, Friendly reminder that we’re awaiting feedback from you on this patch. https://issues.guix.gnu.org/71359 Ludo’. Zheng Junjie <zhengjunjie <at> iscas.ac.cn> skribis: > Andrew Whatson via Guix-patches via <guix-patches <at> gnu.org> writes: > >> * gnu/packages/scheme.scm (unsyntax): New variable. >> >> Change-Id: If00a41e98d2a261af063cecd61e21a7bbc3f91ee >> --- >> gnu/packages/scheme.scm | 59 ++++++++++++++++++++++++++++++++++++++++- >> 1 file changed, 58 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm >> index 47754800f9..419467fdf0 100644 >> --- a/gnu/packages/scheme.scm >> +++ b/gnu/packages/scheme.scm >> @@ -20,7 +20,7 @@ >> ;;; Copyright © 2022 Morgan Smith <Morgan.J.Smith <at> outlook.com> >> ;;; Copyright © 2022 jgart <jgart <at> dismail.de> >> ;;; Copyright © 2022 Robby Zambito <contact <at> robbyzambito.me> >> -;;; Copyright © 2023 Andrew Whatson <whatson <at> tailcall.au> >> +;;; Copyright © 2023, 2024 Andrew Whatson <whatson <at> tailcall.au> >> ;;; Copyright © 2023 Juliana Sims <juli <at> incana.org> >> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com> >> ;;; Copyright © 2024 Skylar Hill <stellarskylark <at> posteo.net> >> @@ -62,6 +62,7 @@ (define-module (gnu packages scheme) >> #:use-module (gnu packages base) >> #:use-module (gnu packages bash) >> #:use-module (gnu packages bdw-gc) >> + #:use-module (gnu packages build-tools) >> #:use-module (gnu packages compression) >> #:use-module (gnu packages databases) >> #:use-module (gnu packages emacs) >> @@ -81,15 +82,18 @@ (define-module (gnu packages scheme) >> #:use-module (gnu packages lisp-check) >> #:use-module (gnu packages lisp-xyz) >> #:use-module (gnu packages m4) >> + #:use-module (gnu packages man) >> #:use-module (gnu packages multiprecision) >> #:use-module (gnu packages ncurses) >> #:use-module (gnu packages netpbm) >> #:use-module (gnu packages pcre) >> + #:use-module (gnu packages perl) >> #:use-module (gnu packages pkg-config) >> #:use-module (gnu packages sqlite) >> #:use-module (gnu packages tex) >> #:use-module (gnu packages texinfo) >> #:use-module (gnu packages tls) >> + #:use-module (gnu packages version-control) >> #:use-module (gnu packages xorg) >> #:use-module (srfi srfi-1) >> #:use-module (ice-9 match)) >> @@ -618,6 +622,59 @@ (define-public chibi-scheme >> threads.") >> (license bsd-3))) >> >> +(define-public unsyntax >> + (let ((commit "144772eeef4a812dd79515b67010d33ad2e7e890") >> + (revision "0")) >> + (package >> + (name "unsyntax") >> + (version (git-version "0.0.3" revision commit)) >> + (home-page "https://www.unsyntax.org") > > HOME-PAGE should move before SYNOPSIS. > >> + (source >> + (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://gitlab.com/nieper/unsyntax.git") >> + (commit commit))) >> + (file-name (git-file-name name version)) >> + (sha256 >> + (base32 "1ia58xdrywsm0dg19kmkghnrgw6gj2bsaypyjmbpirrila73cqk0")))) >> + (build-system gnu-build-system) >> + (arguments >> + (list #:make-flags >> + #~(list "gl_public_submodule_commit=") ; disable submodule checks >> + #:phases >> + #~(modify-phases %standard-phases >> + (add-before 'bootstrap 'prepare-bootstrap >> + (lambda _ >> + ;; Unsyntax relies on bootstrap to fetch gnulib, we use >> + ;; the sources from guix's gnulib package instead. >> + (copy-recursively (getenv "GNULIB_SRCDIR") ".gnulib") >> + (setenv "GNULIB_SRCDIR" ".gnulib") >> + (patch-shebang ".gnulib/gnulib-tool") >> + (patch-shebang ".gnulib/build-aux/bootstrap") >> + (patch-shebang ".gnulib/build-aux/git-version-gen") >> + (patch-shebang ".gnulib/build-aux/prefix-gnulib-mk") >> + ;; The bootstrap_sync option updates the bootstrap script >> + ;; and runs it with CONFIG_SHELL, make sure it's correct. >> + (setenv "CONFIG_SHELL" (which "sh")) >> + ;; Tell git-version-gen the correct version number. >> + (call-with-output-file ".tarball-version" >> + (lambda (port) >> + (display #$version port)))))))) >> + (native-inputs >> + (list autoconf automake libtool git gnulib help2man perl texinfo)) >> + (propagated-inputs >> + (list chibi-scheme)) > > why must add chibi-scheme to propagated-inputs? If necessary, please add a comment to indicate this > >> + (synopsis "Expander for R7RS programs") >> + (description >> + "Unsyntax is an implementation of the Scheme programming language, >> +specifically of its R7RS standard, and includes a number of extensions. >> +Unsyntax evaluates Scheme expressions and compiles and runs Scheme programs by >> +first expanding them into a minimal dialect of R7RS (small) without any >> +syntactic extensions. The resulting expression or program is then evaluated >> +by an existing Scheme implementation.") >> + (license expat)))) >> + >> (define-public sicp >> (let ((commit "bda03f79d6e2e8899ac2b5ca6a3732210e290a79") >> (revision "3")) >> >> base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d
guix-patches <at> gnu.org
:bug#71359
; Package guix-patches
.
(Mon, 30 Dec 2024 04:15:01 GMT) Full text and rfc822 format available.Message #17 received at 71359 <at> debbugs.gnu.org (full text, mbox):
From: Andrew Whatson <whatson <at> tailcall.au> To: Ludovic Courtès <ludo <at> gnu.org>, Zheng Junjie <zhengjunjie <at> iscas.ac.cn> Cc: 71359 <at> debbugs.gnu.org Subject: Re: [bug#71359] [PATCH] gnu: Add unsyntax. Date: Mon, 30 Dec 2024 14:13:29 +1000
[Message part 1 (text/plain, inline)]
On 19/12/24 03:26, Ludovic Courtès wrote: > > Friendly reminder that we’re awaiting feedback from you on this > patch. > > https://issues.guix.gnu.org/71359 Thanks & apologies! A revised patch is attached, and feedback addressed below. > Zheng Junjie <zhengjunjie <at> iscas.ac.cn> skribis: > >> HOME-PAGE should move before SYNOPSIS. Done. >> why must add chibi-scheme to propagated-inputs? If necessary, >> please add a comment to indicate this Unsyntax was installing scripts invoking "chibi-scheme" instead of an absolute path, making it a propagated input was a quick-and-dirty solution. The latest version patches these properly, so chibi-scheme doesn't need to be propagated.
[0001-gnu-Add-unsyntax-v2.patch (text/x-patch, attachment)]
Ludovic Courtès <ludo <at> gnu.org>
:Andrew Whatson <whatson <at> tailcall.au>
:Message #22 received at 71359-done <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Andrew Whatson <whatson <at> tailcall.au> Cc: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>, 71359-done <at> debbugs.gnu.org Subject: Re: [bug#71359] [PATCH] gnu: Add unsyntax. Date: Sat, 04 Jan 2025 22:06:56 +0100
Hi, Andrew Whatson <whatson <at> tailcall.au> skribis: > From efb0b0c166c67c04604db3ae8973c4b98eca6f63 Mon Sep 17 00:00:00 2001 > Message-ID: <efb0b0c166c67c04604db3ae8973c4b98eca6f63.1735531500.git.whatson <at> tailcall.au> > From: Andrew Whatson <whatson <at> tailcall.au> > Date: Mon, 30 Dec 2024 14:04:24 +1000 > Subject: [PATCH] gnu: Add unsyntax. > > * gnu/packages/scheme.scm (unsyntax): New variable. > > Change-Id: Ieda13177e5ce1d58e569cf417192231b4aa3cfe7 Applied. Thank you Andrew and Zheng Junjie! Ludo’.
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Sun, 02 Feb 2025 12:24:15 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.