From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KA0aH+o+VGfhfQEAe85BDQ:P1 (envelope-from ) for ; Sat, 07 Dec 2024 12:26:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KA0aH+o+VGfhfQEAe85BDQ (envelope-from ) for ; Sat, 07 Dec 2024 13:26:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FwWtc1ey; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=j5xtX5iG; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733574378; a=rsa-sha256; cv=none; b=IahVHTNp2a4JPNDaDFUTTwyoZEuCB5yOdWtDVCrT8oJonDlIz0ZZtAaISLiMtk+xoFcXB0 0mpaYXzEL4ZpjIzUS5P2EdyEQRBfeJ7astdHa+YljV6qrDS/g7PLNHoBGy60Q4pIIdhpl8 1jqqJvkKrhL3mtcUdf9L5XuQp5PnwpZar+t3rVBQch7KDYs08xpif0lGCeYCIPBUdVAv+6 hags1cgoaM+DCAooB+U95KCrd5beIn2zD9CB1vAcX1hjC4pvlNs6h9mQRy0nr6GPhr+dPX icpe/tkEdIoUkUQDzdb0YZ51ByiV72/iHUm7Jn6wtPvRbqgy+oEapEi++Kn+tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FwWtc1ey; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=j5xtX5iG; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733574378; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mqBjj0zCHb0C2CL5FxLr5gFvKd+urx2vwuV/z3N9Nos=; b=APtcdNXlmLMrewhfwuyHNgld/Ajvr3h73uLJ+ueXu0rWFnrwszq7WDf7FDYLGD3akCHy5K ucJPR0bKSgU9wLI4wAXSjALt+13x+0TnedjLmPpXW7SSYnFzvp/Sy0ECXYHHRtsT7zXFZf BJxAImJNN7cOb6igpevGKsVqSR8vqWgTqMdVFQnKZ7VVorL6IouLuS1+KQgiVBz2Qr4aNh wnXL0A+3tEZSqfnDvOUho0E7keS6sDj3TY+U4KrLNl/lR9aLLvEMbFw0BOJ+tZ1EgEZiNl 5qsw+Y4VWYFPSq6RhaI1Go78IQ8wAOoDsku3qjCtmEdcIJE4CGfZloSEzJoJMw== 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 695B818FE7 for ; Sat, 07 Dec 2024 13:26:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJts7-0003Tv-W2; Sat, 07 Dec 2024 07:25:20 -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 1tJts2-0003O9-Fb for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:14 -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 1tJtry-0001Zt-UQ for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=mqBjj0zCHb0C2CL5FxLr5gFvKd+urx2vwuV/z3N9Nos=; b=FwWtc1eyfC02PYL8nsgyCQ+q1a8mBzRm/oloBfmcPLNhuILZXFvsbDnRtYgQCcDfTut7gvrCcQRej5tGeb02QzLwTD6DGgGaNDxo29D5cKpAe7kcD5RuWq9tUh6vDAPKRNzrmx8yIun67qIZFiAK4E5OmM5rpLyvy8G1NXXiYIJvcNE3N33dRaC7bswY7bB895LZRauAMeGWvQLcI0T7R322DROcXJmtMq/TvY4o9rgyrs4qyhnbdoXDSEAPJB+SquvALL/8HEyF+THHhjQpOiWHYd0twQDsF491kmno1U6tpsJxwJ3XmlxlPv1u4Gzt6Eg4BX45SXewJh+2dhcNCg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJtry-0001pb-PD for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Dec 2024 12:25:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74724 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74724@debbugs.gnu.org Cc: Sughosha Received: via spool by 74724-submit@debbugs.gnu.org id=B74724.17335742716592 (code B ref 74724); Sat, 07 Dec 2024 12:25:10 +0000 Received: (at 74724) by debbugs.gnu.org; 7 Dec 2024 12:24:31 +0000 Received: from localhost ([127.0.0.1]:45695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrK-0001iG-RV for submit@debbugs.gnu.org; Sat, 07 Dec 2024 07:24:31 -0500 Received: from layka.disroot.org ([178.21.23.139]:33606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrI-0001i3-9X for 74724@debbugs.gnu.org; Sat, 07 Dec 2024 07:24:29 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1D1322517B; Sat, 7 Dec 2024 13:24:27 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ouPt-TOfdTyU; Sat, 7 Dec 2024 13:24:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1733574266; bh=qUy/IdcEKXNv1Ogmj3tN/BZnoVdTkqwVSc34q+ypY3k=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=j5xtX5iG6cDOLapfOF+gxP6nHH+BJrL/FyhfAUt2DDnVrmRpWhmPJOPQIbMO8onjw 2geSbU91+2vyjqopWwnRqaaN12bqK9Wi3pkmh1LN3Yb+LeG71+hfklhwT9Y359vbbN Oz0UxUaaxylKfLS1TR69S2pl15q+s1UF31UZ3RAXrFTo7fqca4Zq2kJp4+y5xe7xTt duX4Makv2NrWLFSjneVbtmFTi5Ye7cHkCmyUwc05/SOyBbpLt6MFHbk+/hIPorBR8L lvR57bL3lqvviUPitoHBVwA0c3JyhUcAf2vXiGh5byD9Y+Vt6RTAAbbMpTL/wMfBkT OMQuhNxrjugig== Date: Sat, 7 Dec 2024 17:51:37 +0530 Message-ID: <0703ebdd3123bb76d05252b4aaf694b16817b892.1733561303.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha 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-Spam-Score: -6.15 X-Spam-Score: -6.15 X-Migadu-Queue-Id: 695B818FE7 X-Migadu-Scanner: mx10.migadu.com X-TUID: 4hpcv1589CSX * gnu/packages/music.scm (stargate)[inputs]: Replace portmidi with portmidi-2. [arguments]<#:phases>: Replace patch-portaudio-path with patch-portaudio-and-portmidi-paths. Change-Id: Icd5dbe154d2f8cdb9a18006b03ce74ea73d328d4 --- gnu/packages/music.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index cd9cdbdacd..c7f5063107 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -5282,13 +5282,16 @@ (define-public stargate (string-append "CXX=" #$(cxx-for-target))) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-portaudio-path + (add-after 'unpack 'patch-portaudio-and-portmidi-paths (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/sgui/widgets/hardware_dialog.py" (("\\\"libportaudio") (string-append "\"" (assoc-ref inputs "portaudio") - "/lib/libportaudio"))))) - (add-after 'patch-portaudio-path 'change-directory + "/lib/libportaudio")) + (("'libportmidi") + (string-append "'" (assoc-ref inputs "portmidi") + "/lib/libportmidi"))))) + (add-after 'patch-portaudio-and-portmidi-paths 'change-directory (lambda _ (chdir "src"))) (delete 'configure) ;no configure script @@ -5335,7 +5338,7 @@ (define-public stargate jq libsndfile portaudio - portmidi + portmidi-2 python python-jinja2 python-mido -- 2.46.0