From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJzcE61oPmJDYAAAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 02:13:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YL34DK1oPmLnzwAAG6o9tA (envelope-from ) for ; Sat, 26 Mar 2022 02:13:17 +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 9D1FFA070 for ; Sat, 26 Mar 2022 02:13:16 +0100 (CET) Received: from localhost ([::1]:41346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXuzT-0007to-8f for larch@yhetil.org; Fri, 25 Mar 2022 21:13:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXuzG-0007t9-Cm for guix-patches@gnu.org; Fri, 25 Mar 2022 21:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXuzG-00043b-48 for guix-patches@gnu.org; Fri, 25 Mar 2022 21:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXuzF-0001Eo-SU for guix-patches@gnu.org; Fri, 25 Mar 2022 21:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54571] [PATCH] gnu: music21: Patch executables and add missing dependencies. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Mar 2022 01:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54571 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54571@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16482571764744 (code B ref -1); Sat, 26 Mar 2022 01:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2022 01:12:56 +0000 Received: from localhost ([127.0.0.1]:52771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXuz9-0001ER-NS for submit@debbugs.gnu.org; Fri, 25 Mar 2022 21:12:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:39216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXuz7-0001EK-SN for submit@debbugs.gnu.org; Fri, 25 Mar 2022 21:12:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXuz7-0007sz-NI for guix-patches@gnu.org; Fri, 25 Mar 2022 21:12:53 -0400 Received: from mx1.dismail.de ([78.46.223.134]:15470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXuz5-00042j-Ag for guix-patches@gnu.org; Fri, 25 Mar 2022 21:12:53 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 8fb2af9f for ; Sat, 26 Mar 2022 02:12:48 +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=gSGOpiv2OcAGclamta/nfoCaKLRN88KU8RWcDY0o0KI=; b= U1uOxQydHauppvF9ufcQaShMlwJd3ThieiOaufdZFF82bRI6RV7W9/a3j43eoq10 +e94sUlp3mjThSdJQzKyhIb14olor37FgDyvmodLZAUnTm+8160bdx4wOurysv3W QxdU9i650FwWudlTk1CXDZk2NTg+mIlohxqSUUKJ0FafrI95NXI7mfhfIqNnMgVH jmdFrDqZbzxFR5eYKpvEYcEbrbxo/EPKVCdYm17oYPwzAPGfN25JXABmgHqJWdit N2Exnp93z3rceonGAW6aNHWq5RneMtuIEz2r0xk+Gu8TAqOeszLhvyflvn/BDGj+ EwPK7EiRLwN1C4GaF1A38A== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id d9425605 for ; Sat, 26 Mar 2022 02:12:47 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 8fae41c0 for ; Sat, 26 Mar 2022 02:12:47 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 2c92e21a (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 26 Mar 2022 02:12:47 +0100 (CET) Date: Fri, 25 Mar 2022 21:12:33 -0400 Message-Id: <20220326011233.25118-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via 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=1648257196; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=b0eGbBxAITgUncPFPJANSIFN5sJriC2Svl5POAWDQso=; b=R62s3/sGiOMsy3UUv3CEw4bZtW6ebnKJ1z0FiCvW1UJ00QaLIK5Rwh343q3CnNjf1YG+PW whDcVRc4HfX09aUViNhLvXHGsfK5q1A/+K/qNk+hnFGCFuYfb+CY2+xw6tPqj6IPydnifr 8haJUwkk0ERBMsCNPvCrjcMryDQ1ZXlwaBydQzdYL7IOOxXVq044zajYm0VxLl85GJA+pN pdQnDuaY4Ats7nOqJpeigqdqGk4AFvcq6NAE/gqMggyAgxAQHhLUEqaE5BnlxuBEsBtf0e EcZIELUeqdM33BBD5+cGrOsJsJQuxf2paCzlNE8z3qTLr+1dqMeCkTxL/sgSbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648257196; a=rsa-sha256; cv=none; b=C2wiP/PTcrjKeblSBsK5XeBXNRfmWHK8BCcUhyeFqxjsaBeRday98Vwoaeg9hEt+GyzMkb dkMtfCAwASNCpX7jz97ya+AUdWPBDYVm76+7iYJnKYHl+g4RfLytG5pB6sJELAIb2oa9AO NdpA0Air+/GM2+oYrj3X2xSX/ZWpvjaUz+1V0+LStq4C+sQXdi5M8Y7n11fTxgB7o14WSo ueceFW8DyF9GXYrpiImCYBV9CQrolyYyNwX0CX81RUcFGnJp4BKM8GvYmj3/4KWVcb6/5X 0XDTPHIduud5h180DVDckoVacHW1wP1wngISclV182dGZSBJXHT4vOj7HqzvAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=U1uOxQyd; dmarc=pass (policy=none) header.from=gnu.org; 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.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=U1uOxQyd; dmarc=pass (policy=none) header.from=gnu.org; 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: 9D1FFA070 X-Spam-Score: -3.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: NAT4UExJFD3L * gnu/packages/music.scm (music21)[arguments]: Patch executables. [propagated-inputs]: Add python-matplotlib, python-jsonpickle, and python-numpy. [inputs]: Add lilypond, musescore, and xdg-utils. --- gnu/packages/music.scm | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 9c8203aa80..2c6b530aac 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1531,6 +1531,15 @@ (define-public music21 (arguments `(#:phases (modify-phases %standard-phases + (add-before 'build 'patch-executables + (lambda _ + (substitute* '("music21/environment.py" + "music21/lily/translate.py") + (("/usr/bin/lilypond") (which "lilypond")) + (("/usr/bin/mscore3") (which "mscore")) + (("/usr/bin/xdg-open") (which "xdg-open")) + (("LILYEXEC = 'lilypond'") + (string-append "LILYEXEC = '" (which "lilypond") "'"))))) (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? @@ -1538,8 +1547,17 @@ (define-public music21 ;; See: https://github.com/cuthbertLab/music21/issues/1164 (invoke "python" "-m" "music21.stream.tests"))))))) (propagated-inputs - (list python-chardet python-joblib python-more-itertools - python-webcolors)) + (list python-chardet + python-joblib + python-matplotlib + python-jsonpickle + python-more-itertools + python-webcolors + python-numpy)) + (inputs + (list lilypond + musescore + xdg-utils)) (home-page "https://web.mit.edu/music21/") (synopsis "Toolkit for Computational Musicology") (description -- 2.34.0