From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eI5CL0ZEi2XOxQAAkFu2QA (envelope-from ) for ; Tue, 26 Dec 2023 22:23:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IM8bLEZEi2WaOwAA62LTzQ (envelope-from ) for ; Tue, 26 Dec 2023 22:23:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=libero.it header.s=s2021 header.b=Lc6HMZs6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703625798; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=0Pa4erP/DGORe3YPuRVXItRB6EfwWXWvWzKptTvgVr0=; b=EBIPPWh/c6pHa3O3dxZujSGQ6TjXuogKIs8csnVGJ6FBctIQiOvEQUyi/c7ZtH0yB4mWqB yc7cF39AvAb2H9ngjWVwk2qeOjHiztwNCNc6+eTmZ2PJYrLnHRxiEnJlyXWO3dUIbuaDH2 DnoWBAHukWMNub5x1MRdjALUPqm36YqY9igheGJvIKAXmpT+z4qKxIhe5dAsU7iWf4qv1C gUwe9DMEFICHfEEQxXUD0zIOCy+Qa88M0IEZtnvCJND9bx8johhwBKmJM1RPfgt/90qHgS mNgvmtWA9D3bXu4C2JfmwhX5I8Qh3YxK5rt4xVcNz+oS5Fg8FJY86jZoGUrs8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=libero.it header.s=s2021 header.b=Lc6HMZs6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703625798; a=rsa-sha256; cv=none; b=l+skGMl89lO/gy4dSPAzxwgjfXTUPs+XsfHr75TyBPHpLwHPGYX5HVEcht1fyXGhJd8JuP V96IEqy14WORET8FN0O1dGnMIZFpmk6SH34JtWtRE4v5m09Ag1M0lxTph59HCmxQ1ORFcb V5ZAAimEAvH5bzOu8Ack+JgGf2vHSIKbLJTQCfDk51PM7dCIwjOmoDpL/NnHVCELG+7UD+ eIpCGn/fJwLMdganmoGKXGM3UJ0Yt1B8epl1Nj52J+jMQmfK+4CAfeU5+XjMDA4tPgIipg TRQNbtpnh/1jA7qppm1ywQ6k84sEpC3IWJvZYwQIteDUllmkuBXszohG6seEiQ== 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 586723FBCC for ; Tue, 26 Dec 2023 22:23:17 +0100 (CET) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 From: Marco Rimoldi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.72 X-Spam-Score: -6.72 X-Migadu-Queue-Id: 586723FBCC X-TUID: D1Jnu9CfW/Gs 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(-) 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 base-commit: 103dc351111d7aff82b7b7883f79084faaa54abc prerequisite-patch-id: d2b32b4a06c7f9485e7a5a468379691b11bbe14f prerequisite-patch-id: 144bacd0445df999f7d91002d4878615c6961e85 prerequisite-patch-id: a80232287e9a25002622164250d2afdda0b70805 -- 2.41.0