From patchwork Mon Nov 22 20:45:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 34760 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 57B9727BBE3; Mon, 22 Nov 2021 21:12:39 +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 C8F4027BBE1 for ; Mon, 22 Nov 2021 21:12:38 +0000 (GMT) Received: from localhost ([::1]:55380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpGc9-0006MY-So for patchwork@mira.cbaines.net; Mon, 22 Nov 2021 16:12:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGbb-0006MB-0D for guix-patches@gnu.org; Mon, 22 Nov 2021 16:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpGba-0003Hk-OD for guix-patches@gnu.org; Mon, 22 Nov 2021 16:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpGba-0002aI-Et for guix-patches@gnu.org; Mon, 22 Nov 2021 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52045] [PATCH] gnu: Add cl-clm. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Nov 2021 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52045@debbugs.gnu.org Cc: Guillaume Le Vaillant , Pierre Neidhardt , jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16376155119911 (code B ref -1); Mon, 22 Nov 2021 21:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Nov 2021 21:11:51 +0000 Received: from localhost ([127.0.0.1]:49260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpGb9-0002ZV-TX for submit@debbugs.gnu.org; Mon, 22 Nov 2021 16:11:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:57022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpGb6-0002ZK-Tg for submit@debbugs.gnu.org; Mon, 22 Nov 2021 16:11:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGb6-0006Jq-N2 for guix-patches@gnu.org; Mon, 22 Nov 2021 16:11:32 -0500 Received: from mx1.dismail.de ([78.46.223.134]:17375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGb3-00039c-Mc for guix-patches@gnu.org; Mon, 22 Nov 2021 16:11:32 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ae966ace; Mon, 22 Nov 2021 22:11:21 +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=irlsg8fvMfcpOGW5+fYvNT5wdc4MahiJF2VhjO1ExTg=; b= jfIgleKC2xfqoAQtYyRXCmLsR+blfuEAq8JADgH0J8fZVtNqwajsS7KGL+8ga0PM 4FpqpUMMD04F3qGJ9CY5agZqS3e4J7vrOnd9ef3H8bQMEur1ipTN1CxdDi/jLEsG 5PT6nCGYb9c66KWOlURKtKUkXn/em5Yhilv9txL+24UFOyF+9IAnGuPhexKNQekQ TF04J3jrHjdUFVkjESpP7Cn4wGWQtaJwtw+C7KYYSz7d5ORGl3/r1HyuR3q5s4T+ F29uEwNyAp1WaoU+YahET9Ts1HnMWCJPu+Y66gifxa5vFohGg4JOUl1PuHigR1Ro z0uRzVIouohgh+xmI6l+yg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2dea07f7; Mon, 22 Nov 2021 22:11:20 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 9c4bf558; Mon, 22 Nov 2021 22:11:20 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 881ca1b3 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 22 Nov 2021 22:11:19 +0100 (CET) Date: Mon, 22 Nov 2021 15:45:28 -0500 Message-Id: <20211122204527.27050-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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, This is another WIP patch for the Common Lisp Music package (CLM) for GNU Guix. It has a similar package definition to CMN which was successfully packaged and merged today into Guix thanks to the help of Bill, Guillaume, and Pierre: https://en.wikipedia.org/wiki/Common_Lisp_Music My goal in packaging clm and cmn is to subsequently be able to package slippery-chicken for GNU Guix: https://github.com/mdedwards/slippery-chicken slippery-chicken hints at alsa headers required by clm on this line of its' install script: https://github.com/mdedwards/slippery-chicken/blob/master/sc-install#L29 But, I think that the most immediate issue might be with the asd file in the clm repo: https://ccrma.stanford.edu/software/clm/clm-5.tar.gz Here is the asd file printed for convenience (delimited by backticks): ``` ;;; ASDF system definition file for CLM ;;; For information on ASDF see: http://www.cliki.net/asdf ;;; ;;; To load CLM from a non-standard install location: ;;; ;;; (require :asdf) ;;; (push "/path/to/clm-3/" asdf:*central-registry*) ;;; (asdf:operate 'asdf:load-source-op :clm) ;;; ;;; To download/install/load CLM from its archive: ;;; ;;; (require :asdf) ;;; (progn (push "/path/to/asdf-install/" asdf:*central-registry*) ;;; (asdf:operate 'asdf:load-op 'asdf-install)) ;;; (asdf-install:install 'clm) ;;; (asdf:operate 'asdf:load-source-op 'clm) ;; from Rick Taube in 2006: ; (asdf:defsystem "clm" ; :description "Common Lisp Music" ; :version "3" ; :author "William Schottstaedt " ; :licence "BSD or whatever" ; :components ((:file "all" ))) (in-package :asdf-user) ;; from Tito Latini 14-Dec-16: (asdf:defsystem "clm" :description "Common Lisp Music" :version "5" :author "William Schottstaedt " :licence "BSD or whatever" :perform (compile-op (o c) (load (system-relative-pathname "clm" "all.lisp")))) ``` Guillaume, do you see this asd file as needing a similar fix to your previous patching? If so, I can try my hands at patching it myself while using your previous patch to Bill as a template I can follow. I would send a patch to Bill afterwards for review and inclusion in the tarball. My knowledge of asd file configuration is rather limited. Any advice here is much appreciated. all best, jgart * gnu/packages/lisp-xyz.scm (cl-clm, sbcl-clm, ecl-clm): New variables. --- gnu/packages/lisp-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index bb697c4c60..918fb38c9f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19721,6 +19721,31 @@ (define-public cl-cmn (define-public ecl-cmn (sbcl-package->ecl-package sbcl-cmn)) +(define-public sbcl-clm + (package + (name "sbcl-clm") + (version "5") + (source + (origin + (method url-fetch) + (uri "https://ccrma.stanford.edu/software/clm/clm-5.tar.gz") + (file-name (string-append "clm-" version ".tar.gz")) + (sha256 + (base32 "1ckgl7rsnxppnf47jqayrbyhm3hv6c4f7n2994ylva6wiy5w7wp8")))) + (build-system asdf-build-system/sbcl) + (home-page "https://ccrma.stanford.edu/software/clm/") + (synopsis "Music synthesis and signal processing package") + (description +"Common Lisp Music is a music synthesis and signal processing package +in the Music V family.") + (license license:expat))) + +(define-public cl-clm + (sbcl-package->cl-source-package sbcl-clm)) + +(define-public ecl-clm + (sbcl-package->ecl-package sbcl-clm)) + (define-public sbcl-cl-https-everywhere ;; No release. ;; Don't forget to update the https-everywhere input.