From patchwork Mon Nov 22 18:35:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 34757 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A5E4C27BBE3; Mon, 22 Nov 2021 18:48:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6B53427BBE1 for ; Mon, 22 Nov 2021 18:48:21 +0000 (GMT) Received: from localhost ([::1]:46916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpEMW-00055A-F5 for patchwork@mira.cbaines.net; Mon, 22 Nov 2021 13:48:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpEIM-0001M4-PL for guix-patches@gnu.org; Mon, 22 Nov 2021 13:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpEIM-0000xV-FC for guix-patches@gnu.org; Mon, 22 Nov 2021 13:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpEIM-0002lf-Cw for guix-patches@gnu.org; Mon, 22 Nov 2021 13:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51903] [PATCH v3] gnu: Add cl-cmn. References: <20211117015205.19233-1-jgart@dismail.de> In-Reply-To: <20211117015205.19233-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Nov 2021 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51903@debbugs.gnu.org Cc: Guillaume Le Vaillant , Pierre Neidhardt , jgart Received: via spool by 51903-submit@debbugs.gnu.org id=B51903.163760660010583 (code B ref 51903); Mon, 22 Nov 2021 18:44:02 +0000 Received: (at 51903) by debbugs.gnu.org; 22 Nov 2021 18:43:20 +0000 Received: from localhost ([127.0.0.1]:49125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpEHf-0002kd-Qq for submit@debbugs.gnu.org; Mon, 22 Nov 2021 13:43:20 -0500 Received: from mx1.dismail.de ([78.46.223.134]:11665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpEHc-0002kO-Qs for 51903@debbugs.gnu.org; Mon, 22 Nov 2021 13:43:18 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 5b971b0c; Mon, 22 Nov 2021 19:43:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=uHj0wI8/82L0U+QwnDKrxEVKvGVCSriP5aSFzt+z8CY=; b= imZK456ZhLshqUZrz7PtgkonPCs5mJ0CKlbOESSjypBIuiRQlSJMiZVRqy55GGoM gx7lcjIqGWYRqhRMDmXvoACkLgL5rfyKDYCjrXmRj9z8TBddI5Y1+Lrxo+06IYyR ignVTxBgAs6K/6y3y3hkN35li0IzAcO4tHlSx+b/ud30YTlAAMsB1cJ/6+HH1asp CkIB2G5uK7pipXKb572cyxCuu4/6AEujHAjKq8pygT9nK/rMVwwmaSxkqK5lp9lG nXc+fx7ikm1CdVApBKsvC6ggUfDV8zh22M5pj91/oW1i5GKXX4Q6W+R7VwpBmZ1p cyE0YiLsfIxq3MniBbwRoQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 4ef98a60; Mon, 22 Nov 2021 19:43:08 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 1778d8c8; Mon, 22 Nov 2021 19:43:08 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 29628d04 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 22 Nov 2021 19:43:07 +0100 (CET) Date: Mon, 22 Nov 2021 13:35:50 -0500 Message-Id: <20211122183549.17196-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches Hi all, I packaged the new tarball that Bill released. It builds successfully now. Below is the new patch, v3: Thank you to everyone for the help with this. Guillaume and/or Pierre, Here's a minimal example from the manual if you'd like to do a quick test in a repl: ``` (cmn (size 24) staff treble c4 w double-bar) ``` or a larger cmn example: ``` (cmn (size 24) (system brace (staff treble (meter 6 8) (c4 e. tenuto) (d4 s) (ef4 e sf) (c4 e) (d4 s) (en4 s) (fs4 e (fingering 3))) (staff treble (meter 3 4) (c5 e. marcato) (d5 s bartok-pizzicato) (ef5 e) (c5 e staccato tenuto) (d5 s down-bow) (en5 s) (fs5 e))) (system bracket (staff bar bass (meter 6 16) (c4 e. wedge) (d4 s staccato) (ef4 e left-hand-pizzicato) (c4 e tenuto accent rfz) (d4 s mordent) (en4 s pp) (fs4 e fermata)))) ``` all best, jgart * gnu/packages/lisp-xyz.scm (cl-cmn, sbcl-cmn): New variable. --- gnu/packages/lisp-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index f891164fc8..3b11e169e6 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19695,6 +19695,33 @@ (define-public sbcl-vernacular (define-public cl-vernacular (sbcl-package->cl-source-package sbcl-vernacular)) +(define-public sbcl-cmn + (package + (name "sbcl-cmn") + (version "2021.11.22") + (source + (origin + (method url-fetch) + (uri (string-append "https://ccrma.stanford.edu/software/cmn/cmn" + ".tar.gz")) + (sha256 + (base32 + "04j1l57cdyfi2zzxqwmvmf1hl899ffgs3bl4r42ba47zsw45kq14")) + (file-name (string-append name "-" version)))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:asd-systems '("cmn") + #:asd-files '("cmn.asd"))) + (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))) + +(define-public cl-cmn + (sbcl-package->cl-source-package sbcl-cmn)) + (define-public sbcl-cl-https-everywhere ;; No release. ;; Don't forget to update the https-everywhere input.