From patchwork Tue Dec 26 21:22:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Rimoldi X-Patchwork-Id: 58089 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 54B3D27BBEA; Tue, 26 Dec 2023 21:23:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2D1F827BBE2 for ; Tue, 26 Dec 2023 21:23:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIEtF-0007g0-OK; Tue, 26 Dec 2023 16:23:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIEtE-0007fr-5t for guix-patches@gnu.org; Tue, 26 Dec 2023 16:23:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIEtD-0004sg-Tt for guix-patches@gnu.org; Tue, 26 Dec 2023 16:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rIEtB-0006ut-Q0 for guix-patches@gnu.org; Tue, 26 Dec 2023 16:23:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68051] [PATCH] gnu: portmidi: Add variant portmidi-2 updated to release 2.0.4 Resent-From: Marco Rimoldi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Dec 2023 21:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68051@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170362573426504 (code B ref -1); Tue, 26 Dec 2023 21:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2023 21:22:14 +0000 Received: from localhost ([127.0.0.1]:35080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIEsP-0006tQ-Gr for submit@debbugs.gnu.org; Tue, 26 Dec 2023 16:22:13 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIEsN-0006tD-CX for submit@debbugs.gnu.org; Tue, 26 Dec 2023 16:22:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIEsJ-0007bs-Fl for guix-patches@gnu.org; Tue, 26 Dec 2023 16:22:07 -0500 Received: from smtp-32.italiaonline.it ([213.209.10.32] helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIEsG-0004eA-RR for guix-patches@gnu.org; Tue, 26 Dec 2023 16:22:07 -0500 Received: from localhost ([93.38.119.137]) by smtp-32.iol.local with ESMTPA id IEsDrx59uUvUzIEsDrGXWH; Tue, 26 Dec 2023 22:22:01 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1703625721; bh=0Pa4erP/DGORe3YPuRVXItRB6EfwWXWvWzKptTvgVr0=; h=From; b=Lc6HMZs6ionIIFiO3dc5d+NK43sMB6z2vPnNne1qNvbsTfMAupfW4j2cpHrxVemAJ dO1qjXRMo+I4GY73WIZkHZWZ4r5T6yInwdOeaiJFZ8bHwHwdrZbA4iDFwuilATQuL0 0KD5REajtywCu1G5MNUCvkI0a84RqDQ4WzjWgdPTIpQ6fLVklu67iPPnWPmtvnOpCf znY4Xrha8Fft5SZx69KjzWDeAaZDk48vmY/hicpjC2TUFqN5D2xo6BSG3CO+HEjP02 BzLEyGUP602KwbK0RlNeYkxW8sbu5WzeHRFDL6wFtMMWiBRhUFYtqePk6I5uptLG01 YjJxWv8m4LVMg== X-CNFS-Analysis: v=2.4 cv=MvuUqUWe c=1 sm=1 tr=0 ts=658b43f9 cx=a_exe a=zr5aN+YwjWvrDHBFAPbA8Q==:117 a=zr5aN+YwjWvrDHBFAPbA8Q==:17 a=kj9zAlcOel0A:10 a=NEAV23lmAAAA:8 a=6mzkHtF41XAJzUW3stQA:9 a=CjuIK1q_8ugA:10 Date: Tue, 26 Dec 2023 22:22:00 +0100 Message-ID: <78e978968bbff5e9275bd1e75442eed18f15e8bb.1703625140.git.rimarko@libero.it> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CMAE-Envelope: MS4xfFDDJn7MTmtyK+bi2Ub2LJrm5diNlGeeoZUBK0JmB+yufTWyR1LHQeKWHdH/f0SR/VP1OQ7AYlCo9IwMCBr6gbN9qqP1L8ilekUnsd8CKR6DEAtRQ1/y f95JhUrb8S8wkXgYGp9D+LeeA3Io91GIBenovQaxMn11kvzf8l0FncGCFMd9yjxca8pZnuIkR5m3YQ== Received-SPF: pass client-ip=213.209.10.32; envelope-from=rimarko@libero.it; helo=libero.it X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Reply-to: Marco Rimoldi X-ACL-Warn: , Marco Rimoldi via Guix-patches X-Patchwork-Original-From: Marco Rimoldi via Guix-patches via From: Marco Rimoldi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Tested with package Frescobaldi. Other packages dependent on the old 217 version still need to be tested and updated so that it can be phased out. Change-Id: I2530d206e19e885082a95f1aac65348e7a51d4ca --- gnu/packages/music.scm | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) base-commit: 103dc351111d7aff82b7b7883f79084faaa54abc prerequisite-patch-id: d2b32b4a06c7f9485e7a5a468379691b11bbe14f prerequisite-patch-id: 144bacd0445df999f7d91002d4878615c6961e85 prerequisite-patch-id: a80232287e9a25002622164250d2afdda0b70805 diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6f1736a276..c485bf1620 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -3047,6 +3047,39 @@ (define-public portmidi using a system-independent interface.") (license license:expat))) +(define-public portmidi-2 + (package + (name "portmidi") + (version "2.0.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/PortMidi/portmidi/archive/refs/tags/v" + version ".zip")) + (sha256 + (base32 + "00xdlxd470zpbvvjb8km516y3mbpkv3487y1irn0qs1d38b18mys")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; tests are interactive and can be found in the + #:configure-flags ; pm_tests/ directory of the build tree + (list "-DBUILD_PORTMIDI_TESTS=On") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-version + (lambda _ (substitute* "CMakeLists.txt" + (("2.0.3") (version)))))))) + (inputs + (list alsa-lib)) + (native-inputs + (list unzip)) + (home-page "https://github.com/PortMidi/") + (synopsis "Library for MIDI I/O") + (description + "PortMidi is a library supporting real-time input and output of MIDI data +using a system-independent interface.") + (license license:expat))) + (define-public python-pyportmidi (let ((commit "d9e5ee00b208b09618fa0d4a5bbce3c9c077b386") (revision "0")) @@ -3062,7 +3095,7 @@ (define-public python-pyportmidi (file-name (git-file-name name version)))) (build-system python-build-system) (inputs - (list portmidi alsa-lib)) + (list portmidi-2 alsa-lib)) (native-inputs (list python-cython)) (home-page "https://github.com/PortMidi") @@ -3098,7 +3131,7 @@ (define-public frescobaldi (inputs (list lilypond poppler - portmidi + portmidi-2 python-ly python-poppler-qt5 python-pyportmidi