guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51903] [PATCH] gnu: Add cl-cmn.


From: Pierre Neidhardt
Subject: [bug#51903] [PATCH] gnu: Add cl-cmn.
Date: Wed, 17 Nov 2021 10:24:06 +0100

The build file "cmn-all.lisp" is broken.
I've managed to patch it, the following builds but I haven't tested if
the result works properly.

--8<---------------cut here---------------start------------->8---
(define-public sbcl-cmn
  (package
    (name "sbcl-cmn")
    (version "2016.8.17")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://ccrma.stanford.edu/software/cmn/cmn";
                           ".tar.gz"))
       (sha256
        (base32
         "1f4ivhg1vq2fwklmwjj30bj7ij1yab45rnjjwps3qpsh0lpd6yj3"))
       (file-name (string-append name "-" version))))
    (build-system asdf-build-system/sbcl)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'fix-build
           (lambda _
             (substitute* "cmn-all.lisp"
               (("\\(setf cmn::\\*cmn-binary-directory\\* \\(namestring 
\\(truename cmn-bin-directory\\)\\)\\)")
                "")
               (("\\(setf cmn::\\*cmn-source-directory\\* \\(namestring 
\\(truename cmn-directory\\)\\)\\)")
                "")
               (("\\(cmn-compile-and-load file\\)")
                "(load (asdf:system-relative-pathname :cmn file :type 
\"lisp\"))")))))))
    (home-page "https://ccrma.stanford.edu/software/cmn/";)
    (synopsis "Western music notation package written in Common Lisp")
    (description
     "CMN provides a package of functions to hierarchically describe a musical
        score. When evaluated, the musical score is rendered to an image.")
    (license license:llgpl)))
--8<---------------cut here---------------end--------------->8---

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]