From patchwork Mon Oct 28 09:46:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69585 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 DE66127BBEA; Mon, 28 Oct 2024 09:48:52 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 93F4627BBE2 for ; Mon, 28 Oct 2024 09:48:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5MMQ-0004Yq-76; Mon, 28 Oct 2024 05:48:30 -0400 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 1t5MMN-0004YO-ER for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:28 -0400 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 1t5MMM-0002fw-Vx for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=QEViiglLqUojAFjVhMlKx6AhZP7XqGKyVUdDtg7DK2s=; b=rAiwebDHBFicO+CdNTZrCNGMEeYlHfody03kJQOj0LnlnQZh3v+H2ERrWZt/qN3pvvytzHvuKEDjRpT6ZXVxSNgL5ndejeXWc672F2+58S7mqZg1kvlOlkzOa2XYGURNK5PrV/l7PGS2x6974KdLbAQWtmgCXGgsTHAk799pXtUl04VwdG245QQRMTj1MPbQom/0MzQT+R42vaSA64eWaShmUMoZkhGgQ17ogxoEDp1nSWmbKZGRS8Asxde0pSAv3710tuY1pU23EEi53UCxOnZLyG13IkPPrRkoC939fqi5iwp2OR46VpKw9uyyk1Tyioio8kJx7c+/WaiBCDqoGA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5MMw-0006nc-RA for guix-patches@gnu.org; Mon, 28 Oct 2024 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v4 1/5] gnu: Add bitsery. References: In-Reply-To: Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66870@debbugs.gnu.org Cc: Sughosha Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.173010890026057 (code B ref 66870); Mon, 28 Oct 2024 09:49:02 +0000 Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:20 +0000 Received: from localhost ([127.0.0.1]:52590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MMG-0006mC-9A for submit@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:20 -0400 Received: from 18.mo561.mail-out.ovh.net ([87.98.172.162]:47757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MMF-0006m5-32 for 66870@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:19 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.148.79]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4XcT8G134Kz1G6L for <66870@debbugs.gnu.org>; Mon, 28 Oct 2024 09:47:42 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-cdm9h (unknown [10.110.96.204]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1DF5520106; Mon, 28 Oct 2024 09:46:54 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-cdm9h with ESMTPSA id P0FCKo5dH2dJLAAAlILo/A (envelope-from ); Mon, 28 Oct 2024 09:46:54 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G0045455ccf0-9947-4363-8f74-2303fa248a1a, 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 10:46:33 +0100 Message-ID: <20241028094646.3557-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 6741607168360112650 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejjedgvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeelrdekhedrvdegfedrvddtpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiieekjedtseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=QEViiglLqUojAFjVhMlKx6AhZP7XqGKyVUdDtg7DK2s=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730108862; v=1; b=jotq90fStTKRWxDHJUvuei9HL5xpjbi7V0El8TwTdG7eaF8GiSGLPvkZaAdoNHt7GRrWSE9w DFu7HMucSfGMV26nLBxNKZ5ldcp62Z/2gtFx9+gyVwnfjhIVVUNVHngPVdBksO8/H1o2Kens8UV 4kExAKeko+ELMSeW6RPAVCQFTxlumumq32y1X3h3Jf+brFSiT9XbHTriodTflb4Nr55zgXpq0QY drLalinOwY9xSEgrN4v09TXMvwSnqW/xFBL9Y7Y5wAKx3iUg4s5vOEUgbeJiGQwoT7cqrFlY/+o sVrbrol0xw/RBAIJZmJWVs7Zz7f2i8pzIRZL5FccF0Jww== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Sughosha * gnu/packages/cpp.scm (bitsery): New variable. --- gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 26fc169154..8cc7cfb1b0 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2571,6 +2571,30 @@ (define-public gulrak-filesystem (home-page "https://github.com/gulrak/filesystem") (license license:expat))) +(define-public bitsery + (package + (name "bitsery") + (version "5.2.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fraillt/bitsery") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hv2fya7w53bfhlk79b1qnjg1qy076s8kvg22sfdq05bh0hxqrxf")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBITSERY_BUILD_TESTS=ON"))) + (native-inputs (list googletest)) + (synopsis "Header only C++ binary serialization library") + (description "This package provides header only C++ binary serialization +library. It is designed around the networking requirements for real-time data +delivery, especially for games.") + (home-page "https://github.com/fraillt/bitsery") + (license license:expat))) + (define-public cpp-mustache (package (name "cpp-mustache") From patchwork Mon Oct 28 09:46:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69586 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 907AA27BBEA; Mon, 28 Oct 2024 09:48:54 +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=-6.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A 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 3987127BBE2 for ; Mon, 28 Oct 2024 09:48:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5MMQ-0004ZO-VY; Mon, 28 Oct 2024 05:48:30 -0400 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 1t5MMN-0004YP-EO for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:28 -0400 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 1t5MMM-0002fv-E8 for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:27 -0400 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=UursR2eJc5NRKHjOrL9U3P75dZn1pH3p/fk28R1Wf1c=; b=NmRCkZcKjWnNhB81JD9hWlxB4FGmkl0tkdoNxirz3Gi/se2QjUgEUW1lcagDdDI4wyXr8M1Iv80yRrzz+lRpJLg4YOA+3fDB8+HuEAt3FOlEbmqqWmmSqID0s8jJZFOqGxQnTV0AI10jeYKdomyngKhYKzft6yKo52yRAH1xRBMHqMtQS+c/rGFqr1r0kVNH9LkVM1Ivbz49X7+a8UPEr/9/f34zNEGoE2/W71kzkeMLdh9/NtyNt7GKTPHl3wDd6rIYsW+OOt4kGNDhiIjtrTbyy7SN3OWoRzYY89JhNpYJ0LbcTFKjz57Oc5cvLLvTzvcy+XFtOsy0ARK3mLhkvQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5MMw-0006nU-7P for guix-patches@gnu.org; Mon, 28 Oct 2024 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v4 2/5] gnu: Add function2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66870@debbugs.gnu.org Cc: Sughosha Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.173010888626026 (code B ref 66870); Mon, 28 Oct 2024 09:49:02 +0000 Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:06 +0000 Received: from localhost ([127.0.0.1]:52586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MM1-0006lh-PV for submit@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:06 -0400 Received: from 20.mo583.mail-out.ovh.net ([91.121.55.239]:48579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MLw-0006kv-TK for 66870@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:02 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.176.32]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XcT7m2Mtgz1WHL for <66870@debbugs.gnu.org>; Mon, 28 Oct 2024 09:47:15 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-rdg64 (unknown [10.110.101.126]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 781011FEEA; Mon, 28 Oct 2024 09:46:56 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-5b5ff79f4f-rdg64 with ESMTPSA id ouFdDJBdH2coECMAGFRN/A (envelope-from ); Mon, 28 Oct 2024 09:46:56 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R003868fd224-c4f2-4612-b5ef-e8323ff5e9de, 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 10:46:34 +0100 Message-ID: <20241028094646.3557-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241028094646.3557-1-ngraves@ngraves.fr> References: <20241028094646.3557-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6741888645220590090 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 49 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejjedgieelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucgoufhushhpvggtthffohhmrghinhculdegledmnecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeduteehuedtjeejteelfeduhfefvdehledtjeefgeefjeeiledufffgveevvdfgudenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusgdrihhonecukfhppeduvdejrddtrddtrddupdekledrkeehrddvgeefrddvtddpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeikeejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=UursR2eJc5NRKHjOrL9U3P75dZn1pH3p/fk28R1Wf1c=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730108836; v=1; b=ITrKe0NhuC58FA4GKkSm/4fPNyuecNL+88Ac9dx08HViK64UKIne5JZGZGJb/QPR7v4ozp7v KsetzRuHhu2pYwvQQ/hBype+JrdblXay/dS1K5B0RVIjyEgMfI6a8dzZWfLBW34O7f8DWKJ2EY+ 3M35hrHlhxuG8UHzLzuJ/vh4Cx6bCEMMyvsHeESVDtr4K4Yd0QU10+/LqdRxNhz0K7kqdbYwfBQ zqU/OWqH/FE+76YSCyNMvCVKJ5DAp9Xml/wR93eeEW1d6jj/st62mRQI5vZ6eTl8M+W3G/BwrQI zon6YeIttctwo2q+flM8+O+Q83Kvh49LPskDnWwX7JidQ== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Sughosha * gnu/packages/cpp.scm (function2): New variable. Change-Id: I29eb928aa943fa6b796d699271ca523075d44d38 --- gnu/packages/cpp.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 8cc7cfb1b0..9899fc595d 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2595,6 +2595,36 @@ (define-public bitsery (home-page "https://github.com/fraillt/bitsery") (license license:expat))) +(define-public function2 + (package + (name "function2") + (version "4.2.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Naios/function2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15k8i872s2jpwbpxfq42lr96q9wplvr8gjs2msf5i4ylyp846dgf")))) + (build-system cmake-build-system) + ;; The test size_match_layout fails on i586/i686. For more info: + ;; https://github.com/Naios/function2/issues/57 + (arguments + (list #:tests? #f)) + (synopsis "Improved implementations of std::function") + (description "This package provides the following implementations of +std::function: +@itemize +@item copyable fu2::function +@item move-only fu2::unique_function (capable of holding move only types) +@item non-owning fu2::function_view (capable of referencing callables in a non +owning way) +@end itemize") + (home-page "https://naios.github.io/function2/") + (license license:boost1.0))) + (define-public cpp-mustache (package (name "cpp-mustache") From patchwork Mon Oct 28 09:46:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69583 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 C2CA127BBEA; Mon, 28 Oct 2024 09:47:46 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 5145727BBE2 for ; Mon, 28 Oct 2024 09:47:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5MLU-0004Sm-HE; Mon, 28 Oct 2024 05:47:32 -0400 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 1t5MLO-0004ST-RE for guix-patches@gnu.org; Mon, 28 Oct 2024 05:47:28 -0400 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 1t5MLO-0002dI-I0 for guix-patches@gnu.org; Mon, 28 Oct 2024 05:47:26 -0400 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=wJZztpn/c02bkufvRMU58M7EXrlKtbEliB5x9OG5p7A=; b=RYpGHbE8e1Y96EB6NXUqDI3qykH391UtTktzcPMUFEVjWdTr2JlqcbSxcOQ+/ojVyvOHSSRuW0F9T0CKvdPpvhTblodyJFRKWzORLGpqfOm9gkUT3EbD+TxKgSfnvW5oo7+dEWugx4N9iadlxrRMw3ETD4dlpdxK1g+RlhLsp7WzXK21Qt9QG01QpB3EQVJy2MsNjyqisTAKYX7kzLaRsQeqxdK7gh4sJjdcYyhqTidVVsYaQBZQZ+niO4Qe4+4KgWSJCG0HbNdPQuKpMWbjvqQ1S++pT3NLNyyglsRmPvpt/4QcL6nKwWRmgbf7E3HYbCX0RCvmQEQfnKf0QTrlPg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5MLy-0006lE-1z for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v4 3/5] gnu: Add clap. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66870@debbugs.gnu.org Cc: Sughosha Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.173010888025981 (code B ref 66870); Mon, 28 Oct 2024 09:48:01 +0000 Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:00 +0000 Received: from localhost ([127.0.0.1]:52581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MLw-0006ky-AK for submit@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:00 -0400 Received: from 18.mo561.mail-out.ovh.net ([87.98.172.162]:42779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MLs-0006kk-QJ for 66870@debbugs.gnu.org; Mon, 28 Oct 2024 05:47:59 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.25.52]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4XcT7p1jk1z1MDn for <66870@debbugs.gnu.org>; Mon, 28 Oct 2024 09:47:18 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-5cg9b (unknown [10.110.113.80]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2CF451FF86; Mon, 28 Oct 2024 09:47:00 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-5b5ff79f4f-5cg9b with ESMTPSA id M3brNJNdH2cC3x4A0+cuhg (envelope-from ); Mon, 28 Oct 2024 09:47:00 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G00248daea43-060e-4e59-adb0-b9ebdefc5409, 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 10:46:35 +0100 Message-ID: <20241028094646.3557-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241028094646.3557-1-ngraves@ngraves.fr> References: <20241028094646.3557-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6743014546162705103 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejjedgvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptedtieegfeejgfdthffhvedutdevuedufeejiefhuddvjeeuveejtddvfeehvefgnecuffhomhgrihhnpehgihhthhhusgdrtghomhdptghlvghvvghrrghuughiohdrohhrghenucfkphepuddvjedrtddrtddruddpkeelrdekhedrvdegfedrvddtpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeikeejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=wJZztpn/c02bkufvRMU58M7EXrlKtbEliB5x9OG5p7A=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730108838; v=1; b=ShgBju8G9wXnDbB6QhWl55Ibn4AhjSIukjwy6zvvt5kDBLdVvYJS6Y3js3By1cveI/MoR+Q1 Ds/CpqfHlcPwHBDSSB5IA6jbC9CJ4vH/ft9ngATBQHZ3pdYvU8IFYC/9Y5MK/kADy4YTA34Yw+A ECz1dmKUdtkaPaJcGpuSpSuTjAfewrlvzhMg7eaC2wbIwm5KLUogeHuDwcjPQ7xcvAz4hURzs2m bUcJBaOE3emzHqRh6Uq84Xk53l+7PYCUCrCdYhSc9zGhttOPx5SHu4imPSZi/xGYPyyeeRJyVJG WnobclxnPYxduKouHH3ZWPlkuB8P69fbAyRVttqqKmh5g== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Sughosha * gnu/packages/audio.scm (clap): New variable. Change-Id: I595adff236eacaf2934f4649e2f27a367f33d0ae --- gnu/packages/audio.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 1ab0cbdd05..e69dcc5d8c 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2762,6 +2762,28 @@ (define-public jalv plugin function as a JACK application.") (license license:isc))) +(define-public clap + (package + (name "clap") + (version "1.1.10") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/free-audio/clap") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0skn3cvh7zs173v3i6ywdmddqzrhxvivwdisvmqc6hvq594f8z80")))) + (build-system cmake-build-system) + (synopsis "Audio Plugin API") + (description + "CLAP stands for CLever Audio Plugin. It is an audio plugin ABI which +defines a standard for Digital Audio Workstations and audio plugins to work +together.") + (home-page "https://cleveraudio.org/") + (license license:expat))) + (define-public ladspa (package (name "ladspa") From patchwork Mon Oct 28 09:46:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69584 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 5817127BBEA; Mon, 28 Oct 2024 09:48:45 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 0ABC827BBE2 for ; Mon, 28 Oct 2024 09:48:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5MMQ-0004ZM-Ux; Mon, 28 Oct 2024 05:48:30 -0400 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 1t5MMN-0004YR-Na for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:28 -0400 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 1t5MMN-0002gA-Dq for guix-patches@gnu.org; Mon, 28 Oct 2024 05:48:27 -0400 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=ASudzgAHrT4UIoYzHfKdYHnYQXwenB0FLMZMl5iWCi0=; b=Rl/yMhbWExl1JiwYBfYE+vDlNIHDsc1ea+XPndPIKScK00AwQNxjjDmgJvZlHKwi2uL3k+LvJRB1WxWEpbSYYruwIDCAdmGgfzhSHBP1uMs6xIwdDf/WCeiJvVzobO5c8DOcycNJ73lD9f2kEL3IxgmAwO2ORiajuKS3pQWsNTS2+Zhmv3UvxKcgQ1iZqxGiFKChAtmkwIjACSvdDCNQvO29AgkN+IAZD2ZXskSFMy+G0mtl0GLS+iVujgw6q+m+odKwd5aiXEl9+JBkFfxRGHZZfPYBAZDWuMErhEmnXg7c6ENLESM6bqo7KEomDrekMYT86AxJRnal8ImQkhh++A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5MMx-0006nj-A2 for guix-patches@gnu.org; Mon, 28 Oct 2024 05:49:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v4 4/5] gnu: Add clap-1.1.7. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 09:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66870@debbugs.gnu.org Cc: Sughosha Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.173010890926080 (code B ref 66870); Mon, 28 Oct 2024 09:49:03 +0000 Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:29 +0000 Received: from localhost ([127.0.0.1]:52594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MMO-0006ma-QC for submit@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:29 -0400 Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]:41399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MMM-0006mR-GY for 66870@debbugs.gnu.org; Mon, 28 Oct 2024 05:48:27 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.148.21]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XcT8N1XC8z1PKM for <66870@debbugs.gnu.org>; Mon, 28 Oct 2024 09:47:47 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-4p526 (unknown [10.111.174.124]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B1F801FFC8; Mon, 28 Oct 2024 09:47:01 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-5b5ff79f4f-4p526 with ESMTPSA id 1ZufC5VdH2cB0Q4ASrjgQA (envelope-from ); Mon, 28 Oct 2024 09:47:01 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R003785cf063-9c63-4f58-b642-beb48576bc2f, 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 10:46:36 +0100 Message-ID: <20241028094646.3557-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241028094646.3557-1-ngraves@ngraves.fr> References: <20241028094646.3557-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6743577495783006927 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejiedgudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpefhfeefhefhieejveehffduhfefiefftdehiedvkeeghffhffehgfekuddtgeelteenucffohhmrghinheptghlvghvvghrrghuughiohdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekledrkeehrddvgeefrddvtddpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeikeejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=ASudzgAHrT4UIoYzHfKdYHnYQXwenB0FLMZMl5iWCi0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730108868; v=1; b=IbGD876XObWXzBu++nNWKZYyMhpOSEGVzSybOTmA8wGdpjsju/s9hGI5L0DF3uXmMuM+t5n3 ZQeu3POZkIaPxfWQ5y9KY8dyzQPK1H28dw+ml5xjbqKBYBpcbzg/mpm4TJG2dUqx+KgxpxDDpl8 NMspuHmWzHeOWUqW0oMdJh9yS5VEl9+kzZfi2yMRXg5FHfbqOeaHZRp6GUpOyW6pUCPNZb+oYn1 8SqKOYOyLYvoJ52GIuWR1Pec7ZTZ49XXvqKlx2gZvF0XquJGocEQuDUA1XTpx5ZWX4iH4D84bN4 6WZgaSoqGh/h8Ckr/v3E33Z1W2N+8DM0zrCyullXzh8qg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Sughosha * gnu/packages/audio.scm (clap-1.1.7): New variable. Change-Id: Iae9f11784279fc7a73087d2009a6d7e280fe80b8 --- gnu/packages/audio.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index e69dcc5d8c..c3bcf6a13c 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2784,6 +2784,20 @@ (define-public clap (home-page "https://cleveraudio.org/") (license license:expat))) +(define-public clap-1.1.7 + (let ((version "1.1.7")) + (package/inherit clap + (version version) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/free-audio/clap") + (commit version))) + (file-name (git-file-name "clap" version)) + (sha256 + (base32 + "1afjvllmzf2xmrpy8mcxk7zhii93b447ciaqw9lkj2wh9z217hsr"))))))) + (define-public ladspa (package (name "ladspa") From patchwork Mon Oct 28 09:46:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69587 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 7B0D327BBEA; Mon, 28 Oct 2024 09:49:47 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 CD43627BBE2 for ; Mon, 28 Oct 2024 09:49:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5MNP-0004qo-Vv; Mon, 28 Oct 2024 05:49:32 -0400 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 1t5MNL-0004nC-5t for guix-patches@gnu.org; Mon, 28 Oct 2024 05:49:28 -0400 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 1t5MNK-0002lL-1I for guix-patches@gnu.org; Mon, 28 Oct 2024 05:49:26 -0400 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=fRAxpcbzwUmbcq06yIHRhjI+/F5HKULR9P+vhU6LW38=; b=NbMLdKyifkAd9+FBATtUhgQBBD5RUsLVMPUvEvwP0ZfNkqDJHkZ8btnIZvj+24AYdAN5IiHCUI0yUjI0XKCiw7KFOyRaXtWfBvAKmGOhFwIfegcdFePhQgOy/nyDSQJ9318TRAUNuVDA9ilVY8iOz0BAkAEsGXR/C8Wk847yChnT26zU/VF2+v2Xs/URvdRh77MdmV6qD7sUVxHmNpbrnDATuRhmKGCB36RtgzD7HyZf/fuGEGoGLry+WcnGL0W4+pxdzH8hct0wji2uCAeCXmaGp6mdi0pstWzMD1RpiuY9N+LK4QXWdyUlwufoTTe4ehnf26/6RI5wfuGATup0aA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5MNt-0006pi-U3 for guix-patches@gnu.org; Mon, 28 Oct 2024 05:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66870] [PATCH v4 5/5] gnu: Add yabridge. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 09:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66870@debbugs.gnu.org Cc: Sughosha Received: via spool by 66870-submit@debbugs.gnu.org id=B66870.173010896926205 (code B ref 66870); Mon, 28 Oct 2024 09:50:01 +0000 Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:49:29 +0000 Received: from localhost ([127.0.0.1]:52601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MNM-0006oa-8j for submit@debbugs.gnu.org; Mon, 28 Oct 2024 05:49:29 -0400 Received: from 16.mo581.mail-out.ovh.net ([46.105.72.216]:45049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5MNI-0006oN-4L for 66870@debbugs.gnu.org; Mon, 28 Oct 2024 05:49:26 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.25.233]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XcT9T6yp2z1FSc for <66870@debbugs.gnu.org>; Mon, 28 Oct 2024 09:48:45 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-gnvld (unknown [10.110.113.124]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 678482006F; Mon, 28 Oct 2024 09:47:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-gnvld with ESMTPSA id fxQCA5ddH2fgFBgAq+rktg (envelope-from ); Mon, 28 Oct 2024 09:47:03 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G004e1fde9ec-b878-43cd-bd6e-2a19b33a0e93, 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 10:46:37 +0100 Message-ID: <20241028094646.3557-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241028094646.3557-1-ngraves@ngraves.fr> References: <20241028094646.3557-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6743858969144386255 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejiedgudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffgfeuueeggedttdfgfffhjeelhfffgeekudeftedtjeettdehffekveeijeduteenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgvghnvghrihgtpghukehsthhrihhnghdrtghomhhprghrvgdpghgvnhgvrhhitggpshhtrhhinhhgrdgtohhmphgrrhgvnecukfhppeduvdejrddtrddtrddupdekledrkeehrddvgeefrddvtddpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeikeejtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=fRAxpcbzwUmbcq06yIHRhjI+/F5HKULR9P+vhU6LW38=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730108926; v=1; b=gZWqD75xoDNjWJ7kRehyl4JePQScdgudkX38Lb98YNN+1GmBNy89NUErEJ03//cSmWv6RFby H3Xo079lto8W4O7h06C9Slug2H+Vp73t+tSw08tC6hNprQbVjp5w1amkMzjC0WgEc2ACiqsiwVn yIcIz2VOk2bAjTn7ufFVl5PyXx/w1Co/L9Ms125ozaY8dA5Cc6CBVZY1/x6Bmj9w57i0Ssl59y5 3kf8M9pC765LywRwpaAkqGZwVzyRAcQRxmcYNxVa3AfcptqWQ/bvso4z4LOwWJ1xCI5AW2F0qCF Hr/wzSo7/4UtyWCnAl9FQB5Ypi5ESBnNLMG5EWXS6pOdg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Sughosha * gnu/packages/audio.scm (yabridge): New variable. * gnu/packages/patches/yabridge-5.0.4-dependencies.patch: New file. * gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch: New file. * gnu/local.mk: Register the patch files. Change-Id: Ic7e5fdc3b24349a01ed9b301d0a353e55c4479b8 --- gnu/local.mk | 2 + gnu/packages/audio.scm | 87 ++++++++ ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++ .../patches/yabridge-5.0.4-dependencies.patch | 36 ++++ 4 files changed, 316 insertions(+) create mode 100644 gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch create mode 100644 gnu/packages/patches/yabridge-5.0.4-dependencies.patch diff --git a/gnu/local.mk b/gnu/local.mk index 6bd7c75090..2bf577e2a7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2293,6 +2293,7 @@ dist_patch_DATA = \ %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.patch \ %D%/packages/patches/virt-manager-fix-gtk-cursor-theme-backtace.patch \ %D%/packages/patches/vsearch-unbundle-cityhash.patch \ + %D%/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt1.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt2.patch \ %D%/packages/patches/vtk-7-gcc-10-compat.patch \ @@ -2347,6 +2348,7 @@ dist_patch_DATA = \ %D%/packages/patches/xterm-370-explicit-xcursor.patch \ %D%/packages/patches/xygrib-fix-finding-data.patch \ %D%/packages/patches/xygrib-newer-proj.patch \ + %D%/packages/patches/yabridge-5.0.4-dependencies.patch \ %D%/packages/patches/yggdrasil-extra-config.patch \ %D%/packages/patches/zig-0.9-riscv-support.patch \ %D%/packages/patches/zig-use-baseline-cpu-by-default.patch \ diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index c3bcf6a13c..8f95fed26e 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -78,6 +78,7 @@ (define-module (gnu packages audio) #:use-module (gnu packages build-tools) #:use-module (gnu packages check) #:use-module (gnu packages cdrom) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages curl) @@ -146,6 +147,7 @@ (define-module (gnu packages audio) #:use-module (gnu packages vim) ;xxd #:use-module (gnu packages web) #:use-module (gnu packages webkit) + #:use-module (gnu packages wine) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xiph) @@ -6661,3 +6663,88 @@ (define-public easyeffects @item Stereo tools @end itemize") (license license:gpl3+))) + +(define-public yabridge + (package + (name "yabridge") + (version "5.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robbert-vdh/yabridge") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ayl706nv67jkixbrh9z7225gdwg2s4rzndx77761x33mk6by7a8")) + (patches + (search-patches + "yabridge-5.0.4-dependencies.patch")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags + #~(list (string-append "--cross-file=" #$source "/cross-wine.conf")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'add-vst3-subproject + (lambda* (#:key inputs #:allow-other-keys) + (symlink (assoc-ref inputs "vst3sdk") "subprojects/vst3"))) + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/chainloader/utils.cpp" + (("\"/usr/local/lib64\",") + (string-append "\"/usr/local/lib64\",\n\"" + #$output "/lib\","))))) + (replace 'install + (lambda _ + (for-each + (lambda (file) + (install-file file (string-append #$output "/bin"))) + (find-files "." "-host\\.exe(|\\.so)$")) + (for-each + (lambda (file) + (install-file file (string-append #$output "/lib"))) + (find-files "." "libyabridge"))))))) + (native-inputs + ;; NOTE: Use the latest clap version with the next update of yabrigde. + `(("clap" ,clap-1.1.7) + ("cmake-minimal" ,cmake-minimal) + ("function2" ,function2) + ("gulrak-filesystem" ,gulrak-filesystem) + ("pkg-config" ,pkg-config) + ("tomlplusplus" ,tomlplusplus) + ;; This is VST3 SDK v3.7.7_build_19 with the documentation and VSTGUI + ;; submodules removed and a dummy `meson.build` file that just lists all + ;; source files. + ("vst3sdk" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robbert-vdh/vst3sdk") + (commit (string-append "v3.7.7_build_19-patched")) + ;; Required for vst3_base, vst3_pluginterfaces, + ;; and vst3_public_sdk. + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09axvpshwbf5061kcbl26v74dcmwxmgmlxb15b75bnqbh0zcghrf")) + (patches + (search-patches + "vst3sdk-3.7.7-allow-winelib-compilation.patch")))))) + (inputs + (list asio + bitsery + dbus + libxcb + wine64)) + (supported-systems + (package-supported-systems wine64)) + (home-page "https://github.com/robbert-vdh/yabridge") + (synopsis "Implementation of Windows VST2, VST3 and CLAP plugin APIs") + (description + "@code{yabridge} is Yet Another way to use Windows audio plugins. It +supports using Windows VST2, VST3, and CLAP plugins in plugin hosts as if they +were native plugins, with optional support for plugin groups to enable +inter-plugin communication for VST2 plugins and quick startup times.") + (license license:gpl3+))) diff --git a/gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch b/gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch new file mode 100644 index 0000000000..43639f978f --- /dev/null +++ b/gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch @@ -0,0 +1,191 @@ +This patch is taken from yabridge project: +https://github.com/robbert-vdh/yabridge. + +Submodule base contains modified content +diff --git a/base/source/fdebug.cpp b/base/source/fdebug.cpp +index b1d1dcc..9093022 100644 +--- a/base/source/fdebug.cpp ++++ b/base/source/fdebug.cpp +@@ -117,8 +117,6 @@ bool AmIBeingDebugged () + #if _MSC_VER + #include + #endif +-#define vsnprintf _vsnprintf +-#define snprintf _snprintf + + #elif SMTG_OS_MACOS + #include +Submodule pluginterfaces contains modified content +diff --git a/pluginterfaces/base/fstrdefs.h b/pluginterfaces/base/fstrdefs.h +index 848e8ee..8846d31 100644 +--- a/pluginterfaces/base/fstrdefs.h ++++ b/pluginterfaces/base/fstrdefs.h +@@ -22,6 +22,16 @@ + /** string methods defines unicode / ASCII */ + //---------------------------------------------------------------------------- + ++// We can use most of the VST3 SDK's Windows UTF-16 functionality by just ++// creating aliases for equivalent Linux functions ++#if __WINE__ ++#define wcsicmp wcscasecmp ++#define wcsnicmp wcsncasecmp ++#define _vsnwprintf vswprintf ++#define stricmp strcasecmp ++#define strnicmp strncasecmp ++#endif ++ + // 16 bit string operations + #if SMTG_CPP11 // if c++11 unicode string literals + #define SMTG_CPP11_CAT_PRIVATE_DONT_USE(a,b) a ## b +diff --git a/pluginterfaces/base/ftypes.h b/pluginterfaces/base/ftypes.h +index 133dbba..33ecae3 100644 +--- a/pluginterfaces/base/ftypes.h ++++ b/pluginterfaces/base/ftypes.h +@@ -154,7 +154,7 @@ namespace Steinberg + // always inline macros (only when RELEASE is 1) + //---------------------------------------------------------------------------- + #if RELEASE +- #if SMTG_OS_MACOS || SMTG_OS_LINUX || defined(__MINGW32__) ++ #if SMTG_OS_MACOS || SMTG_OS_LINUX || defined(__WINE__) + #define SMTG_ALWAYS_INLINE __inline__ __attribute__((__always_inline__)) + #define SMTG_NEVER_INLINE __attribute__((noinline)) + #elif SMTG_OS_WINDOWS +diff --git a/pluginterfaces/base/ustring.cpp b/pluginterfaces/base/ustring.cpp +index 24a412f..8e631c9 100644 +--- a/pluginterfaces/base/ustring.cpp ++++ b/pluginterfaces/base/ustring.cpp +@@ -38,6 +38,10 @@ + + #endif + ++#ifdef __WINE__ ++#include ++#endif ++ + //------------------------------------------------------------------------ + namespace Steinberg { + +@@ -173,7 +177,7 @@ bool UString::scanFloat (double& value) const + bool UString::printFloat (double value, int32 precision) + { + #if SMTG_OS_WINDOWS +- return swprintf ((wchar_t*)thisBuffer, L"%.*lf", precision, value) != -1; ++ return swprintf ((wchar_t*)thisBuffer, thisSize, L"%.*lf", precision, value) != -1; + #elif SMTG_OS_MACOS + bool result = false; + CFStringRef cfStr = CFStringCreateWithFormat (0, 0, CFSTR("%.*lf"), precision, value); +@@ -238,7 +242,7 @@ bool UString::scanInt (int64& value) const + bool UString::printInt (int64 value) + { + #if SMTG_OS_WINDOWS +- return swprintf ((wchar_t*)thisBuffer, L"%I64d", value) != -1; ++ return swprintf ((wchar_t*)thisBuffer, thisSize, L"%I64d", value) != -1; + + #elif SMTG_OS_MACOS + CFStringRef cfStr = CFStringCreateWithFormat (0, 0, CFSTR("%lld"), value); +Submodule public.sdk contains modified content +diff --git a/public.sdk/source/common/systemclipboard_win32.cpp b/public.sdk/source/common/systemclipboard_win32.cpp +index c5cb2b8..2ee3d65 100644 +--- a/public.sdk/source/common/systemclipboard_win32.cpp ++++ b/public.sdk/source/common/systemclipboard_win32.cpp +@@ -111,7 +111,7 @@ bool copyTextToClipboard (const std::string& text) + { + if (auto* data = static_cast (GlobalLock (memory))) + { +-#if defined(__MINGW32__) ++#if defined(__WINE__) + memcpy (data, wideStr.data (), byteSize); + #else + memcpy_s (data, byteSize, wideStr.data (), byteSize); +diff --git a/public.sdk/source/vst/hosting/module_win32.cpp b/public.sdk/source/vst/hosting/module_win32.cpp +index 2ba9319..ab6d72a 100644 +--- a/public.sdk/source/vst/hosting/module_win32.cpp ++++ b/public.sdk/source/vst/hosting/module_win32.cpp +@@ -44,35 +44,10 @@ + #include + #include + +-#if SMTG_CPP17 +- +-#if __has_include() +-#define USE_FILESYSTEM 1 +-#elif __has_include() +-#define USE_FILESYSTEM 0 +-#endif +- +-#else // !SMTG_CPP17 +- +-#define USE_FILESYSTEM 0 +- +-#endif // SMTG_CPP17 +- +-#if USE_FILESYSTEM == 1 +- +-#include +-namespace filesystem = std::filesystem; +- +-#else // USE_FILESYSTEM == 0 +- +-// The header is deprecated. It is superseded by the C++17 +-// header. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to silence the +-// warning, otherwise the build will fail in VS2019 16.3.0 +-#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING +-#include +-namespace filesystem = std::experimental::filesystem; +- +-#endif // USE_FILESYSTEM ++// `std::filesystem` doesn't work correctly with wineg++, resulting in weird ++// memory errors. This library is a drop-in replacement. ++#include ++namespace filesystem = ghc::filesystem; + + #pragma comment(lib, "Shell32") + +@@ -320,7 +295,7 @@ VST3::Optional resolveShellLink (const filesystem::path& p) + #elif USE_OLE + Ole::instance (); + +- IShellLink* shellLink = nullptr; ++ IShellLinkW* shellLink = nullptr; + if (!SUCCEEDED (CoCreateInstance (CLSID_ShellLink, nullptr, CLSCTX_INPROC_SERVER, + IID_IShellLink, reinterpret_cast (&shellLink)))) + return {}; +@@ -405,13 +380,13 @@ void findFilesWithExt (const filesystem::path& path, const std::string& ext, + filesystem::path result; + if (checkVST3Package (p, &result)) + { +- pathList.push_back (result.generic_u8string ()); ++ pathList.push_back (result.generic_string ()); + continue; + } + findFilesWithExt (cp, ext, pathList, recursive); + } + else +- pathList.push_back (cp.generic_u8string ()); ++ pathList.push_back (cp.generic_string ()); + } + else if (recursive) + { +@@ -431,18 +406,18 @@ void findFilesWithExt (const filesystem::path& path, const std::string& ext, + filesystem::path result; + if (checkVST3Package (*resolvedLink, &result)) + { +- pathList.push_back (result.generic_u8string ()); ++ pathList.push_back (result.generic_string ()); + continue; + } + findFilesWithExt (*resolvedLink, ext, pathList, recursive); + } + else +- pathList.push_back (resolvedLink->generic_u8string ()); ++ pathList.push_back (resolvedLink->generic_string ()); + } + else if (filesystem::is_directory (*resolvedLink)) + { +- const auto& str = resolvedLink->generic_u8string (); +- if (cp.generic_u8string ().compare (0, str.size (), str.data (), ++ const auto& str = resolvedLink->generic_string (); ++ if (cp.generic_string ().compare (0, str.size (), str.data (), + str.size ()) != 0) + findFilesWithExt (*resolvedLink, ext, pathList, recursive); + } diff --git a/gnu/packages/patches/yabridge-5.0.4-dependencies.patch b/gnu/packages/patches/yabridge-5.0.4-dependencies.patch new file mode 100644 index 0000000000..77db050e91 --- /dev/null +++ b/gnu/packages/patches/yabridge-5.0.4-dependencies.patch @@ -0,0 +1,36 @@ +Meson fails to detect bitsery, function2 and gulrak-filesystem. +https://github.com/robbert-vdh/yabridge/issues/18 + +This patch removes these dependencies in "meson.build". + + +diff --git a/meson.build b/meson.build +index d8d9135b..b35ebfcd 100644 +--- a/meson.build ++++ b/meson.build +@@ -248,22 +248,13 @@ else + asio_dep = dependency('asio', version : '>=1.22.0') + endif + +-if meson.version().version_compare('>=0.60') +- # Bitsery's CMake build definition is capitalized for some reason +- bitsery_dep = dependency('bitsery', 'Bitsery', version : '>=5.2.0') +-else +- # Mmeson <=0.6.0 didn't support multiple names for a dependency, and since at +- # the moment this is only relevant for packing on Arch btw, it's probably +- # better to remove this conditional later than it is to bump the minimum Meson +- # version now. +- bitsery_dep = dependency('bitsery', version : '>=5.2.0') +-endif ++bitsery_dep = declare_dependency() + + # The D-Bus headers are also only accessed through the include path. We don't + # link to libdbus-1 to make soname changes don't completely break yabridge. + dbus_dep = dependency('dbus-1').partial_dependency(compile_args : true, includes : true) +-function2_dep = dependency('function2', version : '>=4.0.0') +-ghc_filesystem_dep = dependency('ghc_filesystem', modules : 'ghcFilesystem::ghc_filesystem', version : '>=1.5.0') ++function2_dep = declare_dependency() ++ghc_filesystem_dep = declare_dependency() + threads_dep = dependency('threads') + # Tomlplusplus recently added a shraed library version. We don't want to link to that. + tomlplusplus_dep = dependency('tomlplusplus', version : '>=3.3.0', default_options : ['compile_library=false']).partial_dependency(compile_args : true, includes : true)