[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51903] cmn license etc
From: |
Guillaume Le Vaillant |
Subject: |
[bug#51903] cmn license etc |
Date: |
Sun, 21 Nov 2021 16:20:29 +0000 |
bil@ccrma.Stanford.EDU skribis:
> I did not remove it; for some reason it wasn't in the
> directory I used to make the tarball.
In order for the compilation of cmn to put the files in the standard
locations used in GNU Guix, I changed the asd file to replace
:components ((:file "cmn-all\" ))
by
:serial t
:components ((:file "cmn-init")
(:file "cmn-utils")
(:file "cmn-objects")
(:file "cmn0")
(:file "cmn-grfx")
(:file "cmn-glyphs")
(:file "cmn1")
(:file "cmn2")
(:file "cmn3")
(:file "cmn4")
(:file "rqq")
(:file "wedge")
(:file "accent")
(:file "pedal")
(:file "percussion")
(:file "ring")
(:file "rests")
(:file "lyrics")
(:file "transpose")
(:file "pmn")
(:file "quarter"))
and it almost works.
The only issue making the compilation fail is a type error warning by
sbcl, which I think is due to a bug in the program.
In the IDENTIFY-SCORE function of the "cmn2.lisp" file, the TIED-TAG
variable is defined by a "(find :tied-to (store-data object))" form,
which means that TIED-TAG will be either :TIED-TO or NIL.
However a few lines lower, the "(setf (second tied-tag) ...)" form
indicates that TIED-TAG must be a non-empty list.
From the surrounding code, I got the impression that
"(store-data object)" probably contains lists, and that the definition
of TIED-TAG should be something like
(find :tied-to (store-data object) :key #'car)
With this, the compilation succeeds with sbcl and ecl, and the little
"(cmn treble c4 q)" example from the README file works.
I don't know if you're interested in the modified asd file, we can keep
it as a Guix-only thing anyway. However the TIED-TAG thing looks like an
actual bug.
What do you think?
signature.asc
Description: PGP signature
- [bug#51903] [PATCH] gnu: Add cl-cmn., jgart, 2021/11/16
- [bug#51903] [PATCH] gnu: Add cl-cmn., Pierre Neidhardt, 2021/11/17
- [bug#51903] [PATCH v2] gnu: Add cl-cmn., jgart, 2021/11/17
- [bug#51903] cmn license etc, bil, 2021/11/17
- [bug#51903] cmn license etc, Guillaume Le Vaillant, 2021/11/21
- [bug#51903] cmn license etc, bil, 2021/11/21
- [bug#51903] cmn license etc,
Guillaume Le Vaillant <=
- [bug#51903] cmn license etc, bil, 2021/11/21
- [bug#51903] cmn license etc, Guillaume Le Vaillant, 2021/11/21
- [bug#51903] cmn license etc, bil, 2021/11/21
- [bug#51903] cmn license etc, jgart, 2021/11/21
- [bug#51903] cmn license etc, Guillaume Le Vaillant, 2021/11/22
- [bug#51903] cmn license etc, bil, 2021/11/22
[bug#51903] [PATCH v3] gnu: Add cl-cmn., jgart, 2021/11/22