From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OBxyEbU6PmJw0gAAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 22:57:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UGffDrU6PmJQIgAA9RJhRA (envelope-from ) for ; Fri, 25 Mar 2022 22:57:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 69E59F155 for ; Fri, 25 Mar 2022 22:57:08 +0100 (CET) Received: from localhost ([::1]:36540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXrvf-0002d2-1R for larch@yhetil.org; Fri, 25 Mar 2022 17:57:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXrva-0002cH-3E for guix-patches@gnu.org; Fri, 25 Mar 2022 17:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXrvZ-0001Jc-Qc for guix-patches@gnu.org; Fri, 25 Mar 2022 17:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXrvZ-0004dK-MK for guix-patches@gnu.org; Fri, 25 Mar 2022 17:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54529] [PATCH v3] Added orca-lang package Resent-From: Christine Lemmer-Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 21:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54529 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Rodriguez Cc: 54529@debbugs.gnu.org X-Debbugs-Original-Cc: 54529@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164824539217772 (code B ref -1); Fri, 25 Mar 2022 21:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Mar 2022 21:56:32 +0000 Received: from localhost ([127.0.0.1]:52670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXrv5-0004ca-U7 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 17:56:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:34396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXrv1-0004cI-L4 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 17:56:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXrv1-0002UZ-Ax for guix-patches@gnu.org; Fri, 25 Mar 2022 17:56:27 -0400 Received: from dustycloud.org ([50.116.34.160]:53274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXruz-00016u-JG for guix-patches@gnu.org; Fri, 25 Mar 2022 17:56:27 -0400 Received: from chicory (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id D19FE2663A; Fri, 25 Mar 2022 17:56:23 -0400 (EDT) References: <20220322224614.5605-1-yewscion@gmail.com> <20220323144547.23041-1-yewscion@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Christine Lemmer-Webber Date: Fri, 25 Mar 2022 17:55:12 -0400 In-reply-to: <20220323144547.23041-1-yewscion@gmail.com> Message-ID: <87zgldwvaw.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648245428; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=1JGZSM+TLV7JsRfnHFlUeI+pH1v/+ytBhyn/v9R68rc=; b=OGAIyw2GITzOhzxoP/ddMhfEH8DbU0vcnErzID5/vghTFGnUJVS51eiTS8Z/YmTBrpfDkx Uj/ndDtrq9RX5NRdh9FgEfCreJMmELvCBubgdJWJ6NbZNr9FVG1u/g47aWsujtnIKcifci 26KZzcDPy2Da+r90ULRkdUfMjQNu6leBXHVADvGBRboi0fRZp8I0CYX1xwUpa4VRk5redT ZpqPIDHZy78kvm2lRrpyKHvMbOo8lvO5OSqAQT8fbXjSnmK+2XgCxpMTZa5Z7eRF8PlHKy 2fC5lkKIvGcaAQQ54xeBNyaR51T38FqTC9t2JM1uObi1AfkwNl4wWQ9f8dK4NQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648245428; a=rsa-sha256; cv=none; b=tdtf4+hRLRsrM53gyBWHGibfdRDOTTz0RWWkjhHH86cWOgeZPl1GDh1skh97rbx1iehW8Y 3QR+pF8f6DlgRpjDlop5DIFZlS05RpGpf3WV9kxreWVQITLO5rxxaRt3GQLwNx6lo072/9 hQDLlOuQtB3iAWaaX68XxOhibjBIhcMpplfPkXwVs5P1T0q/JgNZ03D6uY2gIoX/21KAAM nJnt3HuULILU/aQ7EEB9fVhrbdBwGJzggGqpQrlKlM5W12LAKbkNydEKwA0QECJvLYm/Pg ccGKWguU8v0b5+rSMFDM36veV5r+B/DHaT7RRjli520MdCPmyPm/DC+Mzf9TPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.28 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 69E59F155 X-Spam-Score: -3.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: yPG48CV/Il3a First: this is awesome. Second... Christopher Rodriguez writes: > Here's the patch. Let me know what else can be improved. > > Particularly, I am worried about the name of the binary. It is > currently installed as `orca`, which is (I believe) the same name > given to the binary for the orca screen reader. > > Should I change this? And if so, how? I think you could probably just add a post-install phase that moves the binary file in its output directory from "orca" to "orca-music"? Why not give it a try anyway? :) > gnu/packages/music.scm | 57 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > > diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm > index 9c8203aa80..1240027050 100644 > --- a/gnu/packages/music.scm > +++ b/gnu/packages/music.scm > @@ -6879,3 +6879,60 @@ (define-public musikcube > streaming audio server.") > (home-page "https://musikcube.com/") > (license license:bsd-3))) > +(define-public orca-music > + (let ((commit "5ba56ca67baae3db140f8b7a2b2fc46bbac5602f") (revision "1= ")) > + (package > + (name "orca-music") > + ;; No upstream version numbers; Using commit instead. > + (version (git-version "0" revision commit)) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://git.sr.ht/~rabbits/orca") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1mnhk68slc6g5y5348vj86pmnz90a385jxvm3463fic79k90gckd"= )))) > + (build-system gnu-build-system) > + (arguments > + `(#:phases (modify-phases %standard-phases > + (delete 'configure) ;; No autoconf > + (delete 'check) ;; No make check > + (replace 'build > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (setenv "CC" > + ,(cc-for-target)) > + (invoke "make" "release"))) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) (dest-bin= (string-append > + = out > + = "/bin")) > + (share (string-append out "/share")) > + (dest-examples (string-append share "/exa= mples")) > + (dest-doc (string-append share "/doc"))) > + (install-file "./build/orca" dest-bin) > + (copy-recursively "./examples" dest-examples) > + (install-file "./README.md" dest-doc))))))) > + (inputs (list ncurses portmidi)) > + (native-inputs (list pkg-config)) > + ;; The below are needed as propagated inputs to let orca interact = with > + ;; alsa/pulse MIDI. > + (propagated-inputs `(("alsa-plugins" ,alsa-plugins) ("alsa-plugins= :pulseaudio" ,alsa-plugins > + "pulseaudio")= )) > + (native-search-paths (list > + (search-path-specification > + (variable "TERMINFO_DIRS") > + (files '("share/terminfo"))))) > + (synopsis "musical live-coding environment") > + (description > + "This is the C implementation of the ORC=CE=9B language and termi= nal > +livecoding environment. It's designed to be power efficient. It can hand= le > +large files, even if your terminal is small. > + > +Orca is not a synthesizer, but a flexible livecoding environment capable= of > +sending MIDI, OSC, and UDP to your audio/visual interfaces like Ableton, > +Renoise, VCV Rack, or SuperCollider.") > + (home-page "https://100r.co/site/orca.html") > + (license license:expat))))