GNU bug report logs - #66870
[PATCH 0/6] Add yabridge.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Sughosha <sughosha@HIDDEN>; Keywords: patch; dated Wed, 1 Nov 2023 09:09:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:19 2024
Received: from localhost ([127.0.0.1]:39581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBf-0006BA-9Z
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:19 -0500
Received: from layka.disroot.org ([178.21.23.139]:50740)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBT-00065S-1M
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:07 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 9E67124F14;
 Thu, 28 Nov 2024 18:20:06 +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 MVdY8LDQz325; Thu, 28 Nov 2024 18:20:02 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814385; bh=M/V/J5REy986SgCedaVAV0Tf+kwgnfOobqByxY/HxcI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=EBJpR19Jv0Eo7vawVRScbn0moCr+WgVAbOSI0yLfsy1Tb1cZwg11XnL6mQt5/3k+Q
 TIMnb9a1Ygeekxpvpf2I09PhSi1yvp+XTWWB5X4AvCEtHGuY6+VRUt3y2YVIS3S48Y
 R0LLA2DcEyJaVnzRzPqUUaFGtKrg2oZxhDfe5eGGUV7NHJlSBzgVIBVfx+z+luLUuW
 N5/uuj7iY4JsNDq+zA1NEXgxU5fxUrMQT98c/dWOwtt8o1GgyZFExdr4DtMFRpAKTM
 m7mncL/C8qmPc1S2Tme8ujjR7HoL+FZGYrx/UvgKzXVzgn1t05tllFJcl8Tsj8zCZZ
 7f+SH3UPwA1eg==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 03/11] gnu: Add clap.
Date: Thu, 28 Nov 2024 22:45:06 +0530
Message-ID: <eb9058dec50bc2abdd284bc72d565bde8f725d96.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/audio.scm (clap): New variable.

Change-Id: Ia0f634b363f36a3f4c1dbb3a2a793f17b5a56c43
---
 gnu/packages/audio.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index f842d77031..2e6e36a608 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2871,6 +2871,28 @@ (define-public jalv
 plugin function as a JACK application.")
     (license license:isc)))
 
+(define-public clap
+  (package
+    (name "clap")
+    (version "1.2.2")
+    (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
+                "1azyxb5nby9bd3xd2sfib18m8a0lhlmkbw9y3brfqxvbs012yxsv"))))
+    (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")
-- 
2.46.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:19 2024
Received: from localhost ([127.0.0.1]:39579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBe-0006B2-P6
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:19 -0500
Received: from layka.disroot.org ([178.21.23.139]:53054)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBQ-00064J-H9
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:05 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 0C339252DE;
 Thu, 28 Nov 2024 18:20:04 +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 JlFzU5G4rUBo; Thu, 28 Nov 2024 18:19:59 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814399; bh=wQjb5drrn59/JgYhhsNrXjBNIA4z3juC5josDPi/Ao8=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=DjZRsUpYbvrYtkbXCiYypCk/OFbSuBRjvH4s/SJ8P3T0V4irgR6YQqQcpYkKu/5h7
 g9TIeeFqRXRkI/VMeGjrOgQENTgzxddojIpKZdMIdK1TB5tN5UjZuZ+AeGJXHoCEb0
 u7Fr0BNTJu17HIeTV78cceAb23BgBANfqZ84WZuo/Za0OQyu81C7sMWJW8NX32E3+e
 KkRacUMyzRlWgoOkAMst71G1LgreAYOJe/qYtREfu2cjHgEEFC8Qyoak2lhX5Ms/DP
 Ds/ymJtXW1Y5PZ4ALgoihSB8rEKSgsFkrv5xGzwux8QYDLusEqv6rZ8S9LeOURjuJa
 tuzc+j1oqm53w==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 11/11] gnu: Add yabridgectl.
Date: Thu, 28 Nov 2024 22:45:14 +0530
Message-ID: <0a9cd14799233f14b04b3b57ee2dbf8cff1bb429.1732814114.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/audio.scm (yabridgectl): New variable.

Change-Id: Ide287422cff7d6641a2d732de0e4f4b3ae784f76
---
 gnu/packages/audio.scm | 63 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 444c0d0659..517334198d 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -81,6 +81,7 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
+  #:use-module (gnu packages crates-io)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
@@ -154,6 +155,7 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  #:use-module (guix build-system cargo)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system glib-or-gtk)
@@ -6851,3 +6853,64 @@ (define-public yabridge
 were native plugins, with optional support for plugin groups to enable
 inter-plugin communication for VST2 plugins and quick startup times.")
     (license license:gpl3+)))
+
+(define-public yabridgectl
+  (package/inherit yabridge
+    (name "yabridgectl")
+    (source (origin
+              (inherit (package-source yabridge))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Use reflink from the system istead of git.
+               `(substitute* "tools/yabridgectl/Cargo.toml"
+                  (("reflink = .*$")
+                   (string-append "reflink = \""
+                                  ,(package-version rust-reflink-0.1)
+                                  "\"\n"))))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs
+           `(("rust-anyhow" ,rust-anyhow-1)
+             ("rust-clap" ,rust-clap-4)
+             ("rust-colored" ,rust-colored-2)
+             ("rust-is-executable" ,rust-is-executable-1)
+             ("rust-goblin" ,rust-goblin-0.6)
+             ("rust-libloading" ,rust-libloading-0.7)
+             ("rust-promptly" ,rust-promptly-0.3)
+             ("rust-rayon" ,rust-rayon-1)
+             ("rust-reflink" ,rust-reflink-0.1)
+             ("rust-serde" ,rust-serde-1)
+             ("rust-serde-derive" ,rust-serde-derive-1)
+             ("rust-serde-jsonrc" ,rust-serde-jsonrc-0.1)
+             ("rust-textwrap" ,rust-textwrap-0.16)
+             ("rust-toml" ,rust-toml-0.5)
+             ("rust-walkdir" ,rust-walkdir-2)
+             ("rust-which" ,rust-which-4)
+             ("rust-xdg" ,rust-xdg-2))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'change-directory
+                (lambda _
+                  (chdir "tools/yabridgectl")))
+               (add-after 'change-directory 'patch-paths
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (with-directory-excursion "src"
+                     (substitute* '("config.rs" "main.rs")
+                       (("/usr") (assoc-ref inputs "yabridge"))))))
+               (add-after 'install 'wrap-program
+                (lambda* (#:key inputs #:allow-other-keys)
+                  (wrap-program (string-append #$output "/bin/yabridgectl")
+                    `("LD_LIBRARY_PATH" ":" prefix
+                      (,(string-append (assoc-ref inputs "yabridge") "/lib")
+                       ,(string-append (assoc-ref inputs "dbus") "/lib")))
+                    `("PATH" ":" prefix
+                      (,(string-append (assoc-ref inputs "yabridge")
+                                                         "/bin")))))))))
+    (native-inputs '())
+    (inputs
+     (list bash-minimal dbus))
+    (propagated-inputs
+     (list yabridge))
+    (synopsis "Utility to set up and update yabridge")
+    (description
+     "@command{yabridgectl} is a tool to setup and update @code{yabridge}.")))
-- 
2.46.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:18 2024
Received: from localhost ([127.0.0.1]:39577 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBe-0006Aw-B3
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:18 -0500
Received: from layka.disroot.org ([178.21.23.139]:53036)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBM-00062Z-1O
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:01 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 9ADB524B90;
 Thu, 28 Nov 2024 18:19:59 +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 rpPMxqgZXEqQ; Thu, 28 Nov 2024 18:19:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814384; bh=GHD6Js3H2pK5UsJHqQggIDMwQgm+fHC5IrlVlp3WyUE=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=PSIZr+T5cmA7LvoL30rLgs/J6baBZ1TWu83Gw4To72G4ZInjJ80sKU7yIjhrYEZMe
 01oufrk/6S4sWv09Xj9paEEEVqslpeoRhVqyrzJxXvUZ2rQCncsg62QL0ED2yVuJQR
 RDYYCsnB374RnsyFYgS/hW9fZ8hsvBpJv3YAQczfWFgj0LbQVM3dmZ6+8uiBZ3Sj2t
 sal5uR6HO4xxo+i4zBTnAVlzMCgRttMpiR+tItzWPSlsOTe0SreEzlmp4dCGDaiBdM
 NiW3AXE43Qn2FLUVlXRvHjmKJmbP4u1oPhMZKPFQocJXu20E/Q5BSrB8X0BSHC2BHf
 hVa2OtAYtn13A==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 02/11] gnu: Add function2.
Date: Thu, 28 Nov 2024 22:45:05 +0530
Message-ID: <224340001752a08606aeff67e4f5ab0ba0a1fe76.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

* gnu/packages/cpp.scm (function2): New variable.

Change-Id: Ida408b7746b3cb8828285b05fcc0abee4b1863ba
---
 gnu/packages/cpp.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 48fb323cd5..9f56779a40 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2607,6 +2607,43 @@ (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
+                "0l4kn81lfi687mv2d2mkrrqgjp9v186jlfshrgcr5717lwqw39xg"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Unbundle googletest.
+               '(begin
+                  (delete-file-recursively "test")
+                  (substitute* "CMakeLists.txt"
+                    (("add_subdirectory\\(test\\)") ""))))))
+    (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")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:18 2024
Received: from localhost ([127.0.0.1]:39575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBe-0006Ao-08
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:18 -0500
Received: from layka.disroot.org ([178.21.23.139]:53046)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBM-00062h-Bv
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:00 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id D7540251FA;
 Thu, 28 Nov 2024 18:19:59 +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 wqsYFsJifGPZ; Thu, 28 Nov 2024 18:19:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814395; bh=cWjGjVSPefAd6S7DaZQZ8Z0I1ZOjiEYtoppOdxVGsRY=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=fJUFwCTEPZqFLmbXCZ2HVBhRYvM7dz+TOFnxp+ioPQ8cw+PYM+0Pr04Jb+GM7JICL
 4Q1vPdsDdsvdKtuZJV+CrSGEV9n5MrSqZuNPqgKyH6kSCH9IQ/Qch7MUc8WgH3+rD2
 L8tDqzYnZ9d6mUPX/yjiouX/mW3muifB1fYBIinalVafxSVX0Nifv5xCvHsGt0Gvfb
 5ZRd7H8ckhqaO3gJ1r/my5xN8WIjO73qKPTOatjgurBywSvEME3PSiiIUpya9sHL0+
 BzVKWP64hE32yoA7JHJhLGGxWuAzhqkfw9BhMx9dSUiHEb40To48kh+xF9vPXim1zX
 wSnh5K64mJJ4A==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 09/11] gnu: Add rust-ryu-0.2.
Date: Thu, 28 Nov 2024 22:45:12 +0530
Message-ID: <1763f2459623732806f485340df26a09d1202739.1732814114.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-ryu-0.2): New variable.

Change-Id: I76208b6f4563be43628a87c8a0bc5e3f1bb8f826
---
 gnu/packages/crates-io.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf41835bf7..dca087e09d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67147,6 +67147,19 @@ (define-public rust-ryu-1
 quickly convert floating point numbers to decimal strings.")
     (license (list license:asl2.0 license:boost1.0))))
 
+(define-public rust-ryu-0.2
+  (package
+    (inherit rust-ryu-1)
+    (name "rust-ryu")
+    (version "0.2.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ryu" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13wsi4408qxi9w44pdf5zfds4ym7np2070wkhg1g4j4dvi4rasmr"))))))
+
 (define-public rust-s3handler-0.7
   (package
     (name "rust-s3handler")
-- 
2.46.0





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:18 2024
Received: from localhost ([127.0.0.1]:39573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBd-0006Ag-Ji
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:17 -0500
Received: from layka.disroot.org ([178.21.23.139]:53030)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBL-00062Q-GG
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:00 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 032F424FA9;
 Thu, 28 Nov 2024 18:19:59 +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 hTahooHnayV7; Thu, 28 Nov 2024 18:19:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814398; bh=QfU9yXBGEdTFW9pHN+sJ5lE2EC9+DuWsjosrfLeZOWA=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=e7ss7nf9XZTtNQI8AVvBFL+OrgJKXhGlTow/FSZ/7JlpsPL2SkDSOp3ahiC3EJevd
 UWohtuFgjixpW/5pG9PvKEbQMqWppFYfpbD4jWjK00/MdryV6cakw2stw7bRjEEFXp
 /pao+aLl9u5m7XgseoSSWn+TWRS6aMxDSwfkpksfKdXGFwGwA7XRBApsCYjarqF3BE
 1w8DT/X+88MGM6iTKnz4kwP7bCf6GXco/tQ8H4kBW4TjgjPhf8AGMnhAlmoLfXZDzZ
 LI0X7+aWAUAzqXxgu1rPNtyATQOiYxi9r+emeET0VS6GNG185CC1ILDPEEsiPMsmtW
 uqavywsg8R0zg==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 10/11] gnu: Add rust-serde-jsonrc-0.1.
Date: Thu, 28 Nov 2024 22:45:13 +0530
Message-ID: <0d71bf22316817891bb8d200c283f6f9952e6cf9.1732814114.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-serde-jsonrc-0.1): New variable.

Change-Id: If18e89af220b7b93874c4fc04a18530f76a9c4ea
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dca087e09d..a1da138795 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69625,6 +69625,35 @@ (define-public rust-serde-json-core-0.4
                        ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1))))))
 
+(define-public rust-serde-jsonrc-0.1
+  (package
+    (name "rust-serde-jsonrc")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_jsonrc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a5q0ba7jhgfl63l16plgl7sx1k58l2caxf7z2j5l677rh5yk4dm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;`Deserialize` and `Serialize` are defined multiple times
+       #:cargo-inputs
+       (("rust-indexmap" ,rust-indexmap-1)
+        ("rust-itoa" ,rust-itoa-0.4)
+        ("rust-ryu" ,rust-ryu-0.2)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
+        ("rust-serde-bytes" ,rust-serde-bytes-0.10)
+        ("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://github.com/serde-rs/json")
+    (synopsis "JSON serialization file format")
+    (description
+     "This package provides a JSON serialization file format.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-path-to-error-0.1
   (package
     (name "rust-serde-path-to-error")
-- 
2.46.0





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:17 2024
Received: from localhost ([127.0.0.1]:39571 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBc-0006Ad-HC
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:17 -0500
Received: from layka.disroot.org ([178.21.23.139]:53016)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBK-00062N-Ki
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:59 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 35C7B24C4F;
 Thu, 28 Nov 2024 18:19:58 +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 lfMh4CkyFZhV; Thu, 28 Nov 2024 18:19:54 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814393; bh=zBC+Kb4ekzAeEmGarovYXbcJwrd16smhEgzQLqNnOr0=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=UHCMo9O73BWqiOPV9eU1x43oV8zWFFqnX7+qGsgQUW7XCWjMBIMhBwtu/7gmLb6/4
 r0heGpKJWQFpe6vdfEh9NBMNJcB0v35nPDW5nu57ozf1mayrMnC7KX/LQzbMBzvO0i
 iT4bKxOEbvLNBW/aIvPhq6ach+mJerNGB2QDYvK+Czb27uFIHd1l3AWUUzIlImXSy4
 /eW4QXqKXkjjNWLG44v1G3Yd1W7UL/Syg37w09qeNuX3lBILH9OlCjEFK/c+2kD3Gr
 03x/hT6kMfySj6Kg1jYUmL0LRR2Np9f62lidp81mfGg2xkm5gjp9vjSrZ85QCETCbv
 WWbHLzDagdr8g==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 08/11] gnu: Add rust-reflink-0.1.
Date: Thu, 28 Nov 2024 22:45:11 +0530
Message-ID: <a4c1019661374d47d4e94f2823f469e780b84589.1732814114.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

* gnu/packages/crates-io.scm (rust-reflink-0.1): New variable.
* gnu/packages/patches/rust-reflink-0.1-fix-64bit-toolchain-assumption.patc=
h:
 New file.
* gnu/local.mk: Register the patch file.

Change-Id: I193db0f4e51a133b8791ca9461032655da20137f
---
 gnu/local.mk                                  |  1 +
 gnu/packages/crates-io.scm                    | 25 +++++++++++++++++++
 ...k-0.1-fix-64bit-toolchain-assumption.patch | 24 ++++++++++++++++++
 3 files changed, 50 insertions(+)
 create mode 100644 gnu/packages/patches/rust-reflink-0.1-fix-64bit-toolcha=
in-assumption.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index bc93477fa3..bfe80f3ebe 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2133,6 +2133,7 @@ dist_patch_DATA =3D						\
   %D%/packages/patches/rust-1.64-fix-riscv64-bootstrap.patch	\
   %D%/packages/patches/rust-1.70-fix-rustix-build.patch	\
   %D%/packages/patches/rust-cargo-edit-remove-ureq.patch	\
+  %D%/packages/patches/rust-reflink-0.1-fix-64bit-toolchain-assumption.pat=
ch	\
   %D%/packages/patches/rust-ring-0.17-ring-core.patch		\
   %D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch	\
   %D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch	\
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce339eb3d6..bf41835bf7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62339,6 +62339,31 @@ (define-public rust-reference-counted-singleton-0.1
 can be recreated as needed.")
     (license license:expat)))
=20
+(define-public rust-reflink-0.1
+  (package
+    (name "rust-reflink")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "reflink" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1glcyqvryv2zj6kjbfji0cldrkincqx3ds3wjwl4qnsnig15wn5w"))
+       (patches
+        (search-patches
+          "rust-reflink-0.1-fix-64bit-toolchain-assumption.patch"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/nicokoch/reflink")
+    (synopsis "Copy-on-write mechanism on supported file systems")
+    (description "This package provides copy-on-write mechanism on support=
ed
+file systems.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-refpool-0.4
   (package
     (name "rust-refpool")
diff --git a/gnu/packages/patches/rust-reflink-0.1-fix-64bit-toolchain-assu=
mption.patch b/gnu/packages/patches/rust-reflink-0.1-fix-64bit-toolchain-as=
sumption.patch
new file mode 100644
index 0000000000..1fc877815f
--- /dev/null
+++ b/gnu/packages/patches/rust-reflink-0.1-fix-64bit-toolchain-assumption.=
patch
@@ -0,0 +1,24 @@
+This patch fixes assuming a 64-bit toolchain.=0D
+https://github.com/nicokoch/reflink/pull/5=0D
+=0D
+=0D
+--- reflink-0.1.3/src/sys/unix.rs	2019-04-02 16:13:06.000000000 +0200=0D
++++ "reflink-0.1.3 (Kopie)/src/sys/unix.rs"	2023-06-29 09:47:26.867681403 =
+0200=0D
+@@ -7,7 +7,7 @@=0D
+     use std::os::unix::io::AsRawFd;=0D
+ =0D
+     // TODO is this equal on all archs? Just tested on x86_64 and x86.=0D
+-    const IOCTL_FICLONE: u64 =3D 0x40049409;=0D
++    macro_rules! IOCTL_FICLONE { () =3D> (0x40049409) };=0D
+ =0D
+     let src =3D fs::File::open(&from)?;=0D
+ =0D
+@@ -18,7 +18,7 @@=0D
+         .open(&to)?;=0D
+     let ret =3D unsafe {=0D
+         // http://man7.org/linux/man-pages/man2/ioctl_ficlonerange.2.html=
=0D
+-        libc::ioctl(dest.as_raw_fd(), IOCTL_FICLONE, src.as_raw_fd())=0D
++        libc::ioctl(dest.as_raw_fd(), IOCTL_FICLONE!(), src.as_raw_fd())=
=0D
+     };=0D
+ =0D
+     if ret =3D=3D -1 {
\ No newline at end of file
--=20
2.46.0





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:20:02 2024
Received: from localhost ([127.0.0.1]:39548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBL-00062b-TZ
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:20:02 -0500
Received: from layka.disroot.org ([178.21.23.139]:43978)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBF-00061q-NR
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:56 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 4932D25290;
 Thu, 28 Nov 2024 18:19:53 +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 PXAqa91n1dSW; Thu, 28 Nov 2024 18:19:48 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814388; bh=ztRGuyTPYQFjNvzQOeDraW1KVNLGM3cMq8ISxBFonVM=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Z63s15WDXNaBcGG3hJwsfP8i4TsCjB/pw3G+Fx9koNNQrhGMHsphJ3VLJGwh+I8Kw
 c5UXrBoHBZTckv+PCQnMaXlkHd4nr1CSIr7nONdEjJjtg+yh0MeW2UlkvhkN7nrY8K
 inVAXyCm8BuwX36FQ13jjqpfenUO4XpEoHYDVhLbtRZS3M8xz7J8mFUlkHXhP+LDVF
 xMr+HvsTlOIJqqF/PdR/u4IEw2Ikm7mkq6FKD342QGStu0MPz1wq5J2BvMz7sgXCcM
 CEbC0rx1nW+jHI24ekmFbD8q0bVPIxiVoYM7V1lDR7+VpcnrcI9vPRTuUWlUwcw3sn
 j/8zQDuPf6sCw==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 05/11] gnu: Add yabridge.
Date: Thu, 28 Nov 2024 22:45:08 +0530
Message-ID: <5212b5b349e392f9d2b2de4a2ac4b7168bbe0915.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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 f=
ile.
* gnu/local.mk: Register the patch files.

Change-Id: Ib514f80e9e060326ba9a34b2e1f3d40245fba1c7
---
 gnu/local.mk                                  |   2 +
 gnu/packages/audio.scm                        |  82 ++++++++
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 4 files changed, 311 insertions(+)
 create mode 100644 gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compil=
ation.patch
 create mode 100644 gnu/packages/patches/yabridge-5.0.4-dependencies.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index c89fd88282..bc93477fa3 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2309,6 +2309,7 @@ dist_patch_DATA =3D						\
   %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		\
@@ -2362,6 +2363,7 @@ dist_patch_DATA =3D						\
   %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 98245dd05e..444c0d0659 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)
@@ -147,6 +148,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)
@@ -6769,3 +6771,83 @@ (define-public easyeffects
 @item Stereo tools
 @end itemize")
     (license license:gpl3+)))
+
+(define-public yabridge
+  (package
+    (name "yabridge")
+    (version "5.1.1")
+    (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
+                "0r7q72jmd44wynxphwhgm17wkfgm6zfdrpfnhsj8b53406ykgq71"))
+              (patches
+               (search-patches "yabridge-5.0.4-dependencies.patch"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:configure-flags
+           #~(list "-Dsystem-asio=3Dtrue"
+                    (string-append "--cross-file=3D" #$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
+     (list cmake-minimal gulrak-filesystem pkg-config))
+    (inputs
+     `(("asio" ,asio)
+       ("bitsery" ,bitsery)
+       ("clap" ,clap-1.1)
+       ("dbus" ,dbus)
+       ("function2" ,function2)
+       ("libxcb" ,libxcb)
+       ("tomlplusplus" ,tomlplusplus)
+       ;; This is VST3 SDK v3.7.7_build_19 with the documentation and VSTG=
UI
+       ;; submodules removed and a dummy `meson.build` file that just list=
s 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=
"))))
+       ("wine64" ,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.p=
atch b/gnu/packages/patches/vst3sdk-3.7.7-allow-winelib-compilation.patch
new file mode 100644
index 0000000000..c35a2c3795
--- /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:=0D
+https://github.com/robbert-vdh/yabridge.=0D
+=0D
+Submodule base contains modified content=0D
+diff --git a/base/source/fdebug.cpp b/base/source/fdebug.cpp=0D
+index b1d1dcc..9093022 100644=0D
+--- a/base/source/fdebug.cpp=0D
++++ b/base/source/fdebug.cpp=0D
+@@ -117,8 +117,6 @@ bool AmIBeingDebugged ()=0D
+ #if _MSC_VER=0D
+ #include <intrin.h>=0D
+ #endif=0D
+-#define vsnprintf _vsnprintf=0D
+-#define snprintf _snprintf=0D
+ =0D
+ #elif SMTG_OS_MACOS=0D
+ #include <errno.h>=0D
+Submodule pluginterfaces contains modified content=0D
+diff --git a/pluginterfaces/base/fstrdefs.h b/pluginterfaces/base/fstrdefs=
.h=0D
+index 848e8ee..8846d31 100644=0D
+--- a/pluginterfaces/base/fstrdefs.h=0D
++++ b/pluginterfaces/base/fstrdefs.h=0D
+@@ -22,6 +22,16 @@=0D
+ /** string methods defines unicode / ASCII */=0D
+ //-----------------------------------------------------------------------=
-----=0D
+ =0D
++// We can use most of the VST3 SDK's Windows UTF-16 functionality by just=
=0D
++// creating aliases for equivalent Linux functions=0D
++#if __WINE__=0D
++#define wcsicmp wcscasecmp=0D
++#define wcsnicmp wcsncasecmp=0D
++#define _vsnwprintf vswprintf=0D
++#define stricmp strcasecmp=0D
++#define strnicmp strncasecmp=0D
++#endif=0D
++=0D
+ // 16 bit string operations=0D
+ #if SMTG_CPP11	// if c++11 unicode string literals=0D
+ 	#define SMTG_CPP11_CAT_PRIVATE_DONT_USE(a,b)			a ## b=0D
+diff --git a/pluginterfaces/base/ftypes.h b/pluginterfaces/base/ftypes.h=0D
+index 133dbba..33ecae3 100644=0D
+--- a/pluginterfaces/base/ftypes.h=0D
++++ b/pluginterfaces/base/ftypes.h=0D
+@@ -154,7 +154,7 @@ namespace Steinberg=0D
+ // always inline macros (only when RELEASE is 1)=0D
+ //-----------------------------------------------------------------------=
-----=0D
+ #if RELEASE=0D
+-    #if SMTG_OS_MACOS || SMTG_OS_LINUX || defined(__MINGW32__)=0D
++    #if SMTG_OS_MACOS || SMTG_OS_LINUX || defined(__WINE__)=0D
+ 		#define SMTG_ALWAYS_INLINE	__inline__ __attribute__((__always_inline__)=
)=0D
+ 		#define SMTG_NEVER_INLINE __attribute__((noinline))=0D
+ 	#elif SMTG_OS_WINDOWS=0D
+diff --git a/pluginterfaces/base/ustring.cpp b/pluginterfaces/base/ustring=
.cpp=0D
+index 24a412f..8e631c9 100644=0D
+--- a/pluginterfaces/base/ustring.cpp=0D
++++ b/pluginterfaces/base/ustring.cpp=0D
+@@ -38,6 +38,10 @@=0D
+ =0D
+ #endif=0D
+ =0D
++#ifdef __WINE__=0D
++#include <wchar.h>=0D
++#endif=0D
++=0D
+ //-----------------------------------------------------------------------=
-=0D
+ namespace Steinberg {=0D
+ =0D
+@@ -173,7 +177,7 @@ bool UString::scanFloat (double& value) const=0D
+ bool UString::printFloat (double value, int32 precision)=0D
+ {=0D
+ #if SMTG_OS_WINDOWS=0D
+-	return swprintf ((wchar_t*)thisBuffer, L"%.*lf", precision, value) !=3D =
-1;=0D
++	return swprintf ((wchar_t*)thisBuffer, thisSize, L"%.*lf", precision, va=
lue) !=3D -1;=0D
+ #elif SMTG_OS_MACOS=0D
+ 	bool result =3D false;=0D
+ 	CFStringRef cfStr =3D CFStringCreateWithFormat (0, 0, CFSTR("%.*lf"), pr=
ecision, value);=0D
+@@ -238,7 +242,7 @@ bool UString::scanInt (int64& value) const=0D
+ bool UString::printInt (int64 value)=0D
+ {=0D
+ #if SMTG_OS_WINDOWS=0D
+-	return swprintf ((wchar_t*)thisBuffer, L"%I64d", value) !=3D -1;=0D
++	return swprintf ((wchar_t*)thisBuffer, thisSize, L"%I64d", value) !=3D -=
1;=0D
+ =0D
+ #elif SMTG_OS_MACOS=0D
+ 	CFStringRef cfStr =3D CFStringCreateWithFormat (0, 0, CFSTR("%lld"), val=
ue);=0D
+Submodule public.sdk contains modified content=0D
+diff --git a/public.sdk/source/common/systemclipboard_win32.cpp b/public.s=
dk/source/common/systemclipboard_win32.cpp=0D
+index c5cb2b8..2ee3d65 100644=0D
+--- a/public.sdk/source/common/systemclipboard_win32.cpp=0D
++++ b/public.sdk/source/common/systemclipboard_win32.cpp=0D
+@@ -111,7 +111,7 @@ bool copyTextToClipboard (const std::string& text)=0D
+ 	{=0D
+ 		if (auto* data =3D static_cast<WCHAR*> (GlobalLock (memory)))=0D
+ 		{=0D
+-#if defined(__MINGW32__)=0D
++#if defined(__WINE__)=0D
+ 			memcpy (data, wideStr.data (), byteSize);=0D
+ #else=0D
+ 			memcpy_s (data, byteSize, wideStr.data (), byteSize);=0D
+diff --git a/public.sdk/source/vst/hosting/module_win32.cpp b/public.sdk/s=
ource/vst/hosting/module_win32.cpp=0D
+index 2ba9319..ab6d72a 100644=0D
+--- a/public.sdk/source/vst/hosting/module_win32.cpp=0D
++++ b/public.sdk/source/vst/hosting/module_win32.cpp=0D
+@@ -44,35 +44,10 @@=0D
+ #include <algorithm>=0D
+ #include <iostream>=0D
+ =0D
+-#if SMTG_CPP17=0D
+-=0D
+-#if __has_include(<filesystem>)=0D
+-#define USE_FILESYSTEM 1=0D
+-#elif __has_include(<experimental/filesystem>)=0D
+-#define USE_FILESYSTEM 0=0D
+-#endif=0D
+-=0D
+-#else // !SMTG_CPP17=0D
+-=0D
+-#define USE_FILESYSTEM 0=0D
+-=0D
+-#endif // SMTG_CPP17=0D
+-=0D
+-#if USE_FILESYSTEM =3D=3D 1=0D
+-=0D
+-#include <filesystem>=0D
+-namespace filesystem =3D std::filesystem;=0D
+-=0D
+-#else // USE_FILESYSTEM =3D=3D 0=0D
+-=0D
+-// The <experimental/filesystem> header is deprecated. It is superseded b=
y the C++17 <filesystem>=0D
+-// header. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WA=
RNING to silence the=0D
+-// warning, otherwise the build will fail in VS2019 16.3.0=0D
+-#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING=0D
+-#include <experimental/filesystem>=0D
+-namespace filesystem =3D std::experimental::filesystem;=0D
+-=0D
+-#endif // USE_FILESYSTEM=0D
++// `std::filesystem` doesn't work correctly with wineg++, resulting in we=
ird=0D
++// memory errors. This library is a drop-in replacement.=0D
++#include <ghc/filesystem.hpp>=0D
++namespace filesystem =3D ghc::filesystem;=0D
+ =0D
+ #pragma comment(lib, "Shell32")=0D
+ =0D
+@@ -320,7 +295,7 @@ VST3::Optional<filesystem::path> resolveShellLink (con=
st filesystem::path& p)=0D
+ #elif USE_OLE=0D
+ 	Ole::instance ();=0D
+ =0D
+-	IShellLink* shellLink =3D nullptr;=0D
++	IShellLinkW* shellLink =3D nullptr;=0D
+ 	if (!SUCCEEDED (CoCreateInstance (CLSID_ShellLink, nullptr, CLSCTX_INPRO=
C_SERVER,=0D
+ 	                                  IID_IShellLink, reinterpret_cast<LPVOI=
D*> (&shellLink))))=0D
+ 		return {};=0D
+@@ -405,13 +380,13 @@ void findFilesWithExt (const filesystem::path& path,=
 const std::string& ext,=0D
+ 				filesystem::path result;=0D
+ 				if (checkVST3Package (p, &result))=0D
+ 				{=0D
+-					pathList.push_back (result.generic_u8string ());=0D
++					pathList.push_back (result.generic_string ());=0D
+ 					continue;=0D
+ 				}=0D
+ 				findFilesWithExt (cp, ext, pathList, recursive);=0D
+ 			}=0D
+ 			else=0D
+-				pathList.push_back (cp.generic_u8string ());=0D
++				pathList.push_back (cp.generic_string ());=0D
+ 		}=0D
+ 		else if (recursive)=0D
+ 		{=0D
+@@ -431,18 +406,18 @@ void findFilesWithExt (const filesystem::path& path,=
 const std::string& ext,=0D
+ 							filesystem::path result;=0D
+ 							if (checkVST3Package (*resolvedLink, &result))=0D
+ 							{=0D
+-								pathList.push_back (result.generic_u8string ());=0D
++								pathList.push_back (result.generic_string ());=0D
+ 								continue;=0D
+ 							}=0D
+ 							findFilesWithExt (*resolvedLink, ext, pathList, recursive);=0D
+ 						}=0D
+ 						else=0D
+-							pathList.push_back (resolvedLink->generic_u8string ());=0D
++							pathList.push_back (resolvedLink->generic_string ());=0D
+ 					}=0D
+ 					else if (filesystem::is_directory (*resolvedLink))=0D
+ 					{=0D
+-						const auto& str =3D resolvedLink->generic_u8string ();=0D
+-						if (cp.generic_u8string ().compare (0, str.size (), str.data (),=0D
++						const auto& str =3D resolvedLink->generic_string ();=0D
++						if (cp.generic_string ().compare (0, str.size (), str.data (),=0D
+ 						                                    str.size ()) !=3D 0)=0D
+ 							findFilesWithExt (*resolvedLink, ext, pathList, recursive);=0D
+ 					}
\ No newline at end of file
diff --git a/gnu/packages/patches/yabridge-5.0.4-dependencies.patch b/gnu/p=
ackages/patches/yabridge-5.0.4-dependencies.patch
new file mode 100644
index 0000000000..ca06da050d
--- /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.=0D
+https://github.com/robbert-vdh/yabridge/issues/18=0D
+=0D
+This patch removes these dependencies in "meson.build".=0D
+=0D
+=0D
+diff --git a/meson.build b/meson.build=0D
+index d8d9135b..b35ebfcd 100644=0D
+--- a/meson.build=0D
++++ b/meson.build=0D
+@@ -248,22 +248,13 @@ else=0D
+   asio_dep =3D dependency('asio', version : '>=3D1.22.0')=0D
+ endif=0D
+ =0D
+-if meson.version().version_compare('>=3D0.60')=0D
+-  # Bitsery's CMake build definition is capitalized for some reason=0D
+-  bitsery_dep =3D dependency('bitsery', 'Bitsery', version : '>=3D5.2.0')=
=0D
+-else=0D
+-  # Mmeson <=3D0.6.0 didn't support multiple names for a dependency, and =
since at=0D
+-  # the moment this is only relevant for packing on Arch btw, it's probab=
ly=0D
+-  # better to remove this conditional later than it is to bump the minimu=
m Meson=0D
+-  # version now.=0D
+-  bitsery_dep =3D dependency('bitsery', version : '>=3D5.2.0')=0D
+-endif=0D
++bitsery_dep =3D declare_dependency()=0D
+ =0D
+ # The D-Bus headers are also only accessed through the include path. We d=
on't=0D
+ # link to libdbus-1 to make soname changes don't completely break yabridg=
e.=0D
+ dbus_dep =3D dependency('dbus-1').partial_dependency(compile_args : true,=
 includes : true)=0D
+-function2_dep =3D dependency('function2', version : '>=3D4.0.0')=0D
+-ghc_filesystem_dep =3D dependency('ghc_filesystem', modules : 'ghcFilesys=
tem::ghc_filesystem', version : '>=3D1.5.0')=0D
++function2_dep =3D declare_dependency()=0D
++ghc_filesystem_dep =3D declare_dependency()=0D
+ threads_dep =3D dependency('threads')=0D
+ # Tomlplusplus recently added a shraed library version. We don't want to =
link to that.=0D
+ tomlplusplus_dep =3D dependency('tomlplusplus', version : '>=3D3.3.0', de=
fault_options : ['compile_library=3Dfalse']).partial_dependency(compile_arg=
s : true, includes : true)
\ No newline at end of file
--=20
2.46.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:20:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:19:59 2024
Received: from localhost ([127.0.0.1]:39545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBL-00062S-Dx
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:59 -0500
Received: from layka.disroot.org ([178.21.23.139]:43968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBE-00061e-4j
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:54 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 9063623AE4;
 Thu, 28 Nov 2024 18:19:51 +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 oV0M9Q3UOsam; Thu, 28 Nov 2024 18:19:47 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814387; bh=t78EksOb5HoSYmf/KEIwUrQPZfNlTYY1fl3OYmCyJfU=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=I7IldWdr9CY0ojEURczPD2EZuyOJHPE/w9AC6i4h9SwTNKW+tabNWfDuXiifk00wv
 rVc5FT//sXCRMcKRSRxyUGJ/eN71qxnCXNNKw/ryI+0+0Rv8wy0g7fUN+x5nA0I//Y
 1aKcxHDx6QiK8j4y2rqHizgjHUTpCML7TyOSwJ7lwl6ijPrVd/YqbpRYPOU4TjteS/
 Whh3huNxiyRSvdP1hMOLpOdpnAUYfGY2NNo+lA8ySZlKkhMQkau5eGBiTdj+iPMc9c
 pY6N8G4LcSbVNFXSj9jooqRLoVGfJElI01JQz19fIGoDsRkZiURCbqzhAq4NDsT/K3
 40IbMlZNdULaw==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 04/11] gnu: Add clap-1.1.
Date: Thu, 28 Nov 2024 22:45:07 +0530
Message-ID: <f61b44037db3b6e1e73a7690b3142622f0c331de.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/audio.scm (clap-1.1): New variable.

Change-Id: I17bcba1818a1b3ffa4318e4a3a7afe1242388cd4
---
 gnu/packages/audio.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 2e6e36a608..98245dd05e 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2893,6 +2893,19 @@ (define-public clap
     (home-page "https://cleveraudio.org/")
     (license license:expat)))
 
+(define-public clap-1.1
+  (package/inherit clap
+    (version "1.1.10")
+    (source (origin
+              (inherit (package-source clap))
+              (uri (git-reference
+                    (url "https://github.com/free-audio/clap")
+                    (commit version)))
+              (file-name (git-file-name (package-name clap) version))
+              (sha256
+               (base32
+                "0skn3cvh7zs173v3i6ywdmddqzrhxvivwdisvmqc6hvq594f8z80"))))))
+
 (define-public ladspa
   (package
     (name "ladspa")
-- 
2.46.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:19:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:19:59 2024
Received: from localhost ([127.0.0.1]:39542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBK-00062O-Is
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:59 -0500
Received: from layka.disroot.org ([178.21.23.139]:43972)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBF-00061p-F4
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:53 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id F18D124F29;
 Thu, 28 Nov 2024 18:19:52 +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 4Oq-brANytY9; Thu, 28 Nov 2024 18:19:52 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814392; bh=b0DcIDscs5kpsWKvFF+8PGqvn49FODZCXmJlhAtaZkw=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=UPtshgjC91oQfV84nvww38xMvs9kOz3xrTqaz7pW6EsDHbZpW+3B/Brvmpx6PUK3I
 IbwLmj60o6ZKYeefQdm6rwavgeHmu7YVW+ThorDZBms6M272qPTs112yptXm/BYOrB
 UIUAwEX/DSrAyTauEO3lwTgSJr9J/2gk+pGKv3u+8BYSk+BId3CBgC4iE99Oav32I1
 X7aEHD8IbvJ0GcZ0PTqvGvDtjLB6IhMakp+LFdVujDX9JJd/3cLIs4XgMpQObCI8yM
 cnrFjjRMfB4+cI7bEoFZxKf9ofCqlZBHUWxoT1MBBF25CU9qYhM6a6N2HDqXbyR+li
 WOLt0wfRJFZJQ==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 07/11] gnu: Add rust-promptly-0.3.
Date: Thu, 28 Nov 2024 22:45:10 +0530
Message-ID: <a4582a147bce6ee0c6bded9c33ba05828a5f6909.1732814114.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-promptly-0.3): New variable.

Change-Id: I96fb7eceab48fbcbd7c43a25affea38dfb9b1a8e
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b68aae9b45..ce339eb3d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57272,6 +57272,27 @@ (define-public rust-project-origins-1
     (description "Resolve project origins and kinds from a path.")
     (license license:asl2.0)))
 
+(define-public rust-promptly-0.3
+  (package
+    (name "rust-promptly")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "promptly" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1fl0548ww11gpja8hlsfc8jgxk00rdd48n1g6icgwadhlp2wdjws"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-rustyline" ,rust-rustyline-9)
+        ("rust-url" ,rust-url-2))))
+    (home-page "https://github.com/anowell/promptly")
+    (synopsis "Opinionated CLI prompting helper")
+    (description "This package provides opinionated CLI prompting helper.")
+    (license license:expat)))
+
 (define-public rust-propfuzz-0.0.1
   (package
     (name "rust-propfuzz")
-- 
2.46.0





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:19:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:19:54 2024
Received: from localhost ([127.0.0.1]:39539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiBF-00061s-Ko
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:54 -0500
Received: from layka.disroot.org ([178.21.23.139]:43962)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiBD-00061d-Lu
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:52 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 2099524CD7;
 Thu, 28 Nov 2024 18:19:51 +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 Q6WMvzalH4QL; Thu, 28 Nov 2024 18:19:50 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814390; bh=VfOvnC8WNCXoxxBcY1wbaDhbl2yPS8Xbwor6l1YvObM=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=SqxDDhSsbfU0sZmLvGgcF1GT/qunUbF8HIL81AHRI+vPYvAqAaBdgDjLjn2r9hi6I
 2Os6PCtFPGnIhXZVNkZ5Df1n+ePL+S5WudcOado8HammO9srRerpf/mdMqWmybNW9F
 uTqxukPCoR9d+ZeLv733winnKq9L4jwXdL7JyE4vcrKBftBYjLU5qP3JELmVmb4Mp2
 gAjaZ857alvqvnMvZYE42b5o2kczyGuFk8E6mt4ECIdewrzG3xJid4Zo/AnYLSfTWJ
 xyadKHW34BdtsD47uFNRBzVGPjl2xSmk6s7yW1uqsJkkqmkxE9+muMXZ2oR3VYFxKs
 VbnueEjg0kK7Q==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 06/11] gnu: rust-rustyline-9: Update to 9.1.2.
Date: Thu, 28 Nov 2024 22:45:09 +0530
Message-ID: <0e3c29cff60e0123d7f360399b8742b2fd78b907.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/crates-io.scm (rust-rustyline-9): Update to 9.1.2.

Change-Id: I326c5bd19cd2bed27929a7e538496bac1116672b
---
 gnu/packages/crates-io.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16f7a0a389..b68aae9b45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66711,14 +66711,14 @@ (define-public rust-rustyline-9
   (package
     (inherit rust-rustyline-12)
     (name "rust-rustyline")
-    (version "9.0.0")
+    (version "9.1.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rustyline" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1mj0cgdyw6gaadsg7yxsnb9n4bdl91qga9kiwyd4hqqsi31qf13r"))))
+        (base32 "0f8069ljhiv9nf97y975wvv9yvx82w3lm9g50d5n298fkiw2cy6v"))))
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -66730,7 +66730,7 @@ (define-public rust-rustyline-9
         ("rust-libc" ,rust-libc-0.2)
         ("rust-log" ,rust-log-0.4)
         ("rust-memchr" ,rust-memchr-2)
-        ("rust-nix" ,rust-nix-0.22)
+        ("rust-nix" ,rust-nix-0.23)
         ("rust-radix-trie" ,rust-radix-trie-0.2)
         ("rust-regex" ,rust-regex-1)
         ("rust-scopeguard" ,rust-scopeguard-1)
-- 
2.46.0





Information forwarded to efraim@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:19:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:19:45 2024
Received: from localhost ([127.0.0.1]:39534 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiB7-00061L-8k
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:45 -0500
Received: from layka.disroot.org ([178.21.23.139]:45268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiB5-00061B-Gg
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:44 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 09DBC251FA;
 Thu, 28 Nov 2024 18:19:43 +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 m4Qa6bMDvtXo; Thu, 28 Nov 2024 18:19:42 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814382; bh=rAP48o7tK3xMjamPFh9U1XGhOU8OF+YtNfYy2d6/fMc=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=d1tuvN4xdyVL7BQ2W0jLHPxt7Ar4RhU8eqO3wuy5lMmpNF5++TUe9wvsHM/wsyYV6
 4itDAPOZSyDhz0uj1DmJjL40GTQ5ljKgznGwAcfBPDGuDeNhDRtYMe50I8/SxirMZ1
 I1jzNLRMDiNPqY2/dIzzU6kpcJFSMaETAp2iLasHR0ioRlJuSdLYv89q2JNMYZQnkl
 GUVf6adx1Js5Wq8zGKUQfjhaLDJr4OSCU2yzr451K2fzhB06hmEevW9BJUb5NfMDAm
 dWvlI+LqFFhqGjmHqBLGeHVCGqvIKb3R+w7fPDpQcBL1tZzLXo25E2+yuqQPWNqpmo
 Drzd5rVBHFKgg==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 01/11] gnu: Add bitsery.
Date: Thu, 28 Nov 2024 22:45:04 +0530
Message-ID: <d8cc36cb0de9fb4049d7fd544c55af617cc46bda.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (bitsery): New variable.

Change-Id: I9118c5341ef473fbc8394fbad0f533f9e8c8e490
---
 gnu/packages/cpp.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index eacc6e46ab..48fb323cd5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2582,6 +2582,31 @@ (define-public gulrak-filesystem
     (home-page "https://github.com/gulrak/filesystem")
     (license license:expat)))
 
+(define-public bitsery
+  (package
+    (name "bitsery")
+    (version "5.2.4")
+    (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
+                "0s628p6qayajan4v8arsmbvzsml8zhc56k01zhmnlakbl7v0vwip"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:cmake cmake ;needs cmake minimum version 3.25
+           #: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")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Nov 2024 17:19:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 12:19:36 2024
Received: from localhost ([127.0.0.1]:39531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGiAx-00060s-UU
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:36 -0500
Received: from layka.disroot.org ([178.21.23.139]:37510)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1tGiAv-00060e-0t
 for 66870 <at> debbugs.gnu.org; Thu, 28 Nov 2024 12:19:34 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id CB66D24E54;
 Thu, 28 Nov 2024 18:19:31 +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 Q1Ax6GE9mBFH; Thu, 28 Nov 2024 18:19:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1732814367; bh=oeexOFSkeb/NU/w/bGyRgziJI/Y6aa6CdYgxozWjgdM=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=K9eIgrjaiiofSJFGg3Ie0W5RZ/q63+yDZy96t2sEQmtkd3vJBKnB0cSLagh6EtT+q
 Wl1hTITLm3K6+S+Aitkxs9Z5/O7M0Q27/7dgwTxoMUv/n1N8lnAaEwscnUUHsu5joQ
 C+GM+criOdZpBe5Oi/oUczxNKVwK3fLdJIGCr5M2Gp6nQww5sXSMlxAAU7FGPDnON/
 ve5g2n8U0z9OhQIqg2Ih+rX4S/dMNIGC3FsD7ELFz2XPu5wIKyW/VMEKZrEDWXV86c
 u0tjyMbbYYx6aS2vhcvyEnDfLDWDMhE1ExrBCqqnd4LvnLW2X+z23s8JH1Zg7YICBm
 Gu6s/FfURMZFA==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: [PATCH v6 00/11] gnu: Add yabridge and yabridgectl.
Date: Thu, 28 Nov 2024 22:45:03 +0530
Message-ID: <cover.1732814113.git.sughosha@HIDDEN>
In-Reply-To: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
References: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This patch series adds yabridge and yabridgectl.

Sughosha (11):
  gnu: Add bitsery.
  gnu: Add function2.
  gnu: Add clap.
  gnu: Add clap-1.1.
  gnu: Add yabridge.
  gnu: rust-rustyline-9: Update to 9.1.2.
  gnu: Add rust-promptly-0.3.
  gnu: Add rust-reflink-0.1.
  gnu: Add rust-ryu-0.2.
  gnu: Add rust-serde-jsonrc-0.1.
  gnu: Add yabridgectl.

 gnu/local.mk                                  |   3 +
 gnu/packages/audio.scm                        | 180 +++++++++++++++++
 gnu/packages/cpp.scm                          |  62 ++++++
 gnu/packages/crates-io.scm                    |  94 ++++++++-
 ...k-0.1-fix-64bit-toolchain-assumption.patch |  24 +++
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 7 files changed, 587 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/rust-reflink-0.1-fix-64bit-toolchain-assumption.patch
 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


base-commit: 369d2698b0bfc3726f8e6d232d43d0dda832225f
-- 
2.46.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 25 Nov 2024 16:32:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 25 11:32:46 2024
Received: from localhost ([127.0.0.1]:40195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tFc10-0008PL-EM
	for submit <at> debbugs.gnu.org; Mon, 25 Nov 2024 11:32:46 -0500
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:41289)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabriel@HIDDEN>) id 1tFc0x-0008Op-MS
 for 66870 <at> debbugs.gnu.org; Mon, 25 Nov 2024 11:32:44 -0500
Received: from localhost (antispam.ee.ethz.ch [129.132.2.16])
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id 9170520221;
 Mon, 25 Nov 2024 17:32:36 +0100 (CET)
X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196])
 by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028)
 with ESMTP id s4qanFuJ2o9A; Mon, 25 Nov 2024 17:32:35 +0100 (CET)
Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA;
 Mon, 25 Nov 2024 17:32:35 +0100 (CET)
Date: Mon, 25 Nov 2024 17:32:32 +0100
From: Gabriel Wicki <gabriel@HIDDEN>
To: 66870 <at> debbugs.gnu.org
Subject: Patchset review
Message-ID: <ceea7qbasyeebkvf7qxo2mg2zvhyznbwyjrcsfzkkxm7bqcscg@nxha7odqzrmv>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: ngraves@HIDDEN, Sughosha@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

There hasn't been any activity in quite some time so I use my
(perceived) responsability of being the only member of the audio team to
bump this issue/patch-request.

I guess this all (still) looks fine.  Giving it a quick and dirty (I
tried mumi for the first time) attempt to build and test the products I
failed.  Maybe re-basing the patch-series and re-submitting a
**complete** series would streamline merging?  I will try to figure out
how I can help with that - given my team-membership and the lack of
merging-power (:




Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:49:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 05:49:29 2024
Received: from localhost ([127.0.0.1]:52601 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5MNM-0006oa-8j
	for submit <at> 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 <ngraves@HIDDEN>) id 1t5MNI-0006oN-4L
 for 66870 <at> 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 <at> 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 <ngraves@HIDDEN>); Mon, 28 Oct 2024 09:47:03 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G004e1fde9ec-b878-43cd-bd6e-2a19b33a0e93,
 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 89.85.243.20
From: Nicolas Graves <ngraves@HIDDEN>
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v4 5/5] gnu: Add yabridge.
Date: Mon, 28 Oct 2024 10:46:37 +0100
Message-ID: <20241028094646.3557-5-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241028094646.3557-1-ngraves@HIDDEN>
References: <20241028094646.3557-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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 <intrin.h>
+ #endif
+-#define vsnprintf _vsnprintf
+-#define snprintf _snprintf
+ 
+ #elif SMTG_OS_MACOS
+ #include <errno.h>
+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 <wchar.h>
++#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<WCHAR*> (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 <algorithm>
+ #include <iostream>
+ 
+-#if SMTG_CPP17
+-
+-#if __has_include(<filesystem>)
+-#define USE_FILESYSTEM 1
+-#elif __has_include(<experimental/filesystem>)
+-#define USE_FILESYSTEM 0
+-#endif
+-
+-#else // !SMTG_CPP17
+-
+-#define USE_FILESYSTEM 0
+-
+-#endif // SMTG_CPP17
+-
+-#if USE_FILESYSTEM == 1
+-
+-#include <filesystem>
+-namespace filesystem = std::filesystem;
+-
+-#else // USE_FILESYSTEM == 0
+-
+-// The <experimental/filesystem> header is deprecated. It is superseded by the C++17 <filesystem>
+-// 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 <experimental/filesystem>
+-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 <ghc/filesystem.hpp>
++namespace filesystem = ghc::filesystem;
+ 
+ #pragma comment(lib, "Shell32")
+ 
+@@ -320,7 +295,7 @@ VST3::Optional<filesystem::path> 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<LPVOID*> (&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)
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 05:48:29 2024
Received: from localhost ([127.0.0.1]:52594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5MMO-0006ma-QC
	for submit <at> 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 <ngraves@HIDDEN>) id 1t5MMM-0006mR-GY
 for 66870 <at> 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 <at> 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 <ngraves@HIDDEN>); Mon, 28 Oct 2024 09:47:01 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-100R003785cf063-9c63-4f58-b642-beb48576bc2f,
 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 89.85.243.20
From: Nicolas Graves <ngraves@HIDDEN>
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v4 4/5] gnu: Add clap-1.1.7.
Date: Mon, 28 Oct 2024 10:46:36 +0100
Message-ID: <20241028094646.3557-4-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241028094646.3557-1-ngraves@HIDDEN>
References: <20241028094646.3557-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 05:48:20 2024
Received: from localhost ([127.0.0.1]:52590 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5MMG-0006mC-9A
	for submit <at> 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 <ngraves@HIDDEN>) id 1t5MMF-0006m5-32
 for 66870 <at> 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 <at> 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 <ngraves@HIDDEN>); Mon, 28 Oct 2024 09:46:54 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G0045455ccf0-9947-4363-8f74-2303fa248a1a,
 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 89.85.243.20
From: Nicolas Graves <ngraves@HIDDEN>
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v4 1/5] gnu: Add bitsery.
Date: Mon, 28 Oct 2024 10:46:33 +0100
Message-ID: <20241028094646.3557-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 05:48:06 2024
Received: from localhost ([127.0.0.1]:52586 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5MM1-0006lh-PV
	for submit <at> 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 <ngraves@HIDDEN>) id 1t5MLw-0006kv-TK
 for 66870 <at> 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 <at> 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 <ngraves@HIDDEN>); Mon, 28 Oct 2024 09:46:56 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-100R003868fd224-c4f2-4612-b5ef-e8323ff5e9de,
 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 89.85.243.20
From: Nicolas Graves <ngraves@HIDDEN>
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v4 2/5] gnu: Add function2.
Date: Mon, 28 Oct 2024 10:46:34 +0100
Message-ID: <20241028094646.3557-2-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241028094646.3557-1-ngraves@HIDDEN>
References: <20241028094646.3557-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

From: Sughosha <sughosha@HIDDEN>

* 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")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 28 Oct 2024 09:48:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 05:48:00 2024
Received: from localhost ([127.0.0.1]:52581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5MLw-0006ky-AK
	for submit <at> 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 <ngraves@HIDDEN>) id 1t5MLs-0006kk-QJ
 for 66870 <at> 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 <at> 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 <ngraves@HIDDEN>); Mon, 28 Oct 2024 09:47:00 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-97G00248daea43-060e-4e59-adb0-b9ebdefc5409,
 2EBFFEBE9A2CEA4974D3D0C7E73B7B071B2C9EDA) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 89.85.243.20
From: Nicolas Graves <ngraves@HIDDEN>
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v4 3/5] gnu: Add clap.
Date: Mon, 28 Oct 2024 10:46:35 +0100
Message-ID: <20241028094646.3557-3-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241028094646.3557-1-ngraves@HIDDEN>
References: <20241028094646.3557-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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")
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:15 2023
Received: from localhost ([127.0.0.1]:52384 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eM6-0003no-6k
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:15 -0500
Received: from layka.disroot.org ([178.21.23.139]:53252)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLy-0003nE-G4
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:07 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id E48E641A5F;
 Thu, 30 Nov 2023 11:32:57 +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]) (amavisd-new, port 10024)
 with ESMTP id MnWV_zB_QV4T; Thu, 30 Nov 2023 11:32:56 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340376; bh=tH3uCOuCJ8aAeBWYxssoc/ORy5tzriGwkfnLtrji4Fo=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=OTxzPaSaVQ24bfyr/mEGOM/PsJgK+lojedAvAG4tNsP93Ef2IgJfXAZYMVs4BvfVJ
 jtbAC4nEl/wpFLjZEWFHbQPRd1zOpg8z0SwJitWXSELtfUN5mPO4ubci5xAmsAqviX
 MgYm+4i0CnfZojeUDf8cYh62SpbzUxKWMBk6kBtDd04WZvGmDhY1FZoq7q2YoYx318
 q5vNHtz267F0NOokaLvp6VOP3DGEW3Kkq9FNwUkizR3hw6sKwfbL2J+Sbo3fiuAskC
 2/bIIq2vlp51T4dXRxa/9Tvy33HMpv0nWNApFKslkkzupWhrTV755gfQpgBt/rSdWm
 CugQTOFqbVDCQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 7/7] gnu: Add yabridge.
Date: Thu, 30 Nov 2023 11:32:28 +0100
Message-ID: <0dd723d14d26f8ecb64fe829a046452e2189b69b.1701340263.git.sughosha@HIDDEN>
In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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                        |  88 ++++++++
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 4 files changed, 317 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 a8142bb0f2..c93a7b3659 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2119,6 +2119,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/vinagre-newer-rdp-parameters.patch      \
   %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.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		\
@@ -2170,6 +2171,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-do-not-link-against-librt.patch	\
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6e1da4c288..f842548c93 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -73,7 +73,9 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
@@ -136,6 +138,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)
@@ -5941,6 +5944,91 @@ (define-public mbelib
       (license (list license:bsd-3      ; test/ framework
                      license:isc)))))   ; the rest
 
+(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+)))
+
 (define-public ableton-link
   (package
     (name "ableton-link")
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 <intrin.h>
+ #endif
+-#define vsnprintf _vsnprintf
+-#define snprintf _snprintf
+ 
+ #elif SMTG_OS_MACOS
+ #include <errno.h>
+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 <wchar.h>
++#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<WCHAR*> (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 <algorithm>
+ #include <iostream>
+ 
+-#if SMTG_CPP17
+-
+-#if __has_include(<filesystem>)
+-#define USE_FILESYSTEM 1
+-#elif __has_include(<experimental/filesystem>)
+-#define USE_FILESYSTEM 0
+-#endif
+-
+-#else // !SMTG_CPP17
+-
+-#define USE_FILESYSTEM 0
+-
+-#endif // SMTG_CPP17
+-
+-#if USE_FILESYSTEM == 1
+-
+-#include <filesystem>
+-namespace filesystem = std::filesystem;
+-
+-#else // USE_FILESYSTEM == 0
+-
+-// The <experimental/filesystem> header is deprecated. It is superseded by the C++17 <filesystem>
+-// 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 <experimental/filesystem>
+-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 <ghc/filesystem.hpp>
++namespace filesystem = ghc::filesystem;
+ 
+ #pragma comment(lib, "Shell32")
+ 
+@@ -320,7 +295,7 @@ VST3::Optional<filesystem::path> 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<LPVOID*> (&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)
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:07 2023
Received: from localhost ([127.0.0.1]:52382 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eLy-0003nP-Tc
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:07 -0500
Received: from layka.disroot.org ([178.21.23.139]:53236)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLw-0003mX-RE
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:05 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 4A32844E13;
 Thu, 30 Nov 2023 11:32:56 +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]) (amavisd-new, port 10024)
 with ESMTP id FBjSOj2qAZN6; Thu, 30 Nov 2023 11:32:55 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340375; bh=1Cx9w2U4VVYFe9+7UfUytN3426Pug/nAU/ZwDJc+1OI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=EiNaY3c9DFo0uh/Sg3EmHRFUqRUMPod7TmNVlr20SzBma0lSyGmLcEAjetH7iqJ2X
 uESy6G/cO2u9TNUrkvXZzedfaJa5es09OBzQBLH1ZV5kQK8X48PktyLTZGgZbyCc2f
 qWdrjbDf07qnlfA8n5HD7fKf3LyarMzsd499E/Z9OH8r3aqhgvlCsdhPpjMXTmSp5y
 F8R0KOVByWgfr+dcWWYfmGuYgSb92v9A5ztq5WEQ51by59UbzrQyZY5GPHTTPiQdTn
 RiH9gvWycBfrPga2We4A9kduDzxbogqOlgVRMWo9/qWKOA70+f29eruCBty+2wSRdq
 OBLkBSLWo5kag==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 6/7] gnu: Add clap-1.1.7.
Date: Thu, 30 Nov 2023 11:32:27 +0100
Message-ID: <d260ec53102dfdce06fbac3dd27322bc84d4c94e.1701340263.git.sughosha@HIDDEN>
In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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 e964c74438..6e1da4c288 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2737,6 +2737,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")
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:06 2023
Received: from localhost ([127.0.0.1]:52379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eLy-0003nI-Gl
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:06 -0500
Received: from layka.disroot.org ([178.21.23.139]:53220)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLv-0003mI-S8
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:04 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 3B32A44DE7;
 Thu, 30 Nov 2023 11:32:55 +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]) (amavisd-new, port 10024)
 with ESMTP id vzTHRd_gcmXI; Thu, 30 Nov 2023 11:32:54 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340374; bh=+1Vjn0E0V6aSieyq2GGrl35I9SbKH45gXmFQNGdoeSY=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=OOGlRFNbuEXW9QnL89BMNB6TinzXl1WoUzTu3hthq7jaRSs0tekJXYDn5XKCXENI1
 Efu3qM5+59Jb1v01TsdMLOG3WtvUXdEfEsF2cVuuQH8zFwBKw0EafW0pEu34RN0SoB
 NnHtfvppBEZ+8/T6UQsmN+HLTcvl3Y2OL+zQAg9nBw/0ykVTB7RpCsdz9PIjK1wbiF
 SBWrCrBWuDuh6KOIm3ZSzlJUBdWPdm6pzil6guoUzt3qbO2yAitfzF6YknRrPe2NhQ
 lR5nm5dz/HJSwXTpMhRvYtjMEKxYX4bYU47CbtPzO5EIW64blTP2Eemzvdg14Ks5t/
 ZMWwJOezB3XJQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 4/7] gnu: Add tomlplusplus.
Date: Thu, 30 Nov 2023 11:32:25 +0100
Message-ID: <4a63919d60c7b947d990be5faf4d42ccf3d71107.1701340263.git.sughosha@HIDDEN>
In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (tomlplusplus): New variable.

Change-Id: I7c12b76fe135cd22b54a56560aac699e452009bb
---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 24e519b10b..272127737b 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -78,6 +78,7 @@ (define-module (gnu packages cpp)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages c)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages code)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
@@ -2373,6 +2374,27 @@ (define-public function2
     (home-page "https://naios.github.io/function2/")
     (license license:boost1.0)))
 
+(define-public tomlplusplus
+  (package
+    (name "tomlplusplus")
+    (version "3.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/marzer/tomlplusplus")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hvbifzcc97r9jwjzpnq31ynqnj5y93cjz4frmgddnkg8hxmp6w7"))))
+    (build-system meson-build-system)
+    (native-inputs (list cmake-minimal))
+    (synopsis "Header-only TOML config file parser and serializer for C++17")
+    (description "This package provides Header-only TOML config file parser and
+serializer for C++17.")
+    (home-page "https://marzer.github.io/tomlplusplus/")
+    (license license:expat)))
+
 (define-public cpp-mustache
   (package
     (name "cpp-mustache")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:06 2023
Received: from localhost ([127.0.0.1]:52377 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eLy-0003n9-4x
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:06 -0500
Received: from layka.disroot.org ([178.21.23.139]:53208)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLv-0003mH-EA
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:04 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id AE27344DD2;
 Thu, 30 Nov 2023 11:32:54 +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]) (amavisd-new, port 10024)
 with ESMTP id Lp-p_sHLSkcu; Thu, 30 Nov 2023 11:32:53 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340373; bh=UJtIrhw6zRrKmHHkUUSlgZJN+48Ujl9j3t/GuQW1yXI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=kjbAwW4m1OIkvNMvuWVm12N0FxnxA5JILo6fSiire1LyKH5zEb5JieU+JiSZRswp0
 anI0wLrs4yyPZHTjvVsZXH9GY4hHvI4AwYPXiIZBBNMbY9eQm8if3zVOsH8DT8fdm6
 u9e31zDctJOPdENo649Xb52xO5m2/Bv1VLRjBnOSz0hlVmVxntQ8FMLNlN8kMweU/D
 YHRaA4JCuknkLAZfhzKYxqo3de9GwHMHZWxpbm+44fr81DwFKzeMJsJlfxcQhfAfgs
 t+6uvBHpffZuIpVce6ILHr/PcmGOZXpSeNX1TRUac1E8r7L/VcW5OHfaDUfKsw1Ct3
 2GpWMwmtkgSWQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 3/7] gnu: Add function2.
Date: Thu, 30 Nov 2023 11:32:24 +0100
Message-ID: <eda28672b93c14b67a5acc639fd6f52ed51cfe2d.1701340263.git.sughosha@HIDDEN>
In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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 16fd5bcec5..24e519b10b 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2343,6 +2343,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")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:06 2023
Received: from localhost ([127.0.0.1]:52375 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eLx-0003n6-SN
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:06 -0500
Received: from layka.disroot.org ([178.21.23.139]:53232)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLw-0003mP-B2
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:04 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id BECFE44DF4;
 Thu, 30 Nov 2023 11:32:55 +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]) (amavisd-new, port 10024)
 with ESMTP id yJ-zvykiFPvO; Thu, 30 Nov 2023 11:32:54 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340374; bh=4CYY7eNBupgKWbpdGorqQjT0kHhljzSHiQWGuvfsNDE=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=JTn1jkpAn7FgK0ByDhi6SeS7FROg01jRaNVnG8EylcKeBWorDN2W94Ar4uTZHEkKf
 KJ8IqMQLBtRBC80kC5qujYw5MAlMB3s57+BcsLxgVXlTb1gXHd0KSaBEIDc2B10Zo3
 RXgieEHnJEyLi96J1g1/UpaBu7ivW5Ps31bHo1fXCFLxYjtJGhWr90nkrfpAM7n8UU
 mBNOWR0XBNlh574NJpBsFAiVqklgY5ch7NOFF0gDeDw8V/sWZAHH9Lo/h3rvhfs6MU
 MjKLjpgtT+vpASrkwyPOa+Hjbz0GFatRZorDrV/vYUvfcRkOjyUdBD5qkO6DBalj8o
 dxMd4lMQAwfCQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 5/7] gnu: Add clap.
Date: Thu, 30 Nov 2023 11:32:26 +0100
Message-ID: <3ea9ec83b90d6d852065c7810ad5d0907579dc51.1701340263.git.sughosha@HIDDEN>
In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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 e4fe4c2da7..e964c74438 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2715,6 +2715,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")
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:05 2023
Received: from localhost ([127.0.0.1]:52373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eLx-0003mq-Ff
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:05 -0500
Received: from layka.disroot.org ([178.21.23.139]:45342)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLu-0003m9-VO
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:04 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id A2EB744DE2;
 Thu, 30 Nov 2023 11:32:53 +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]) (amavisd-new, port 10024)
 with ESMTP id 0k1u9Im5i9Lo; Thu, 30 Nov 2023 11:32:52 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340372; bh=cNE7Spvil9QdakcWhASs0YhTSdj0Kau4aNiVaT6HxuA=;
 h=From:To:Cc:Subject:Date;
 b=hVvVfhw9NaSDL8XL/oYOr1lb+EquLruuMCpYBwJZsapIAYvW7Q6E679ZNE/C5uuBk
 jgD2i24b8V06Jx0JTOmcPPuaMyU0TGQS/ZQurrY2WMuWCWR0sI+jX0X+BWMEMJRqc6
 XL4JsWo5QnevOeyktvCs1LJqKP4WFOgoGy0RTC804OZ+MCyJ8efX5zJjNbxqmblmWs
 pQ3NZkyc9WPffrO6GuGJPNDfMIX0MGP3jAYiwGH6L+TAUq9z+eC1K7ZhlphvL+xFFt
 RDho4kqXyyZKRbme+h9AHVEODk7/LjIdsCtjuh/ijrCQiNWZHSv9gyh4G34wIjN7jr
 cY5XFJhK58WRQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 1/7] gnu: asio: Update to 1.28.0.
Date: Thu, 30 Nov 2023 11:32:22 +0100
Message-ID: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* gnu/packages/networking.scm (asio): Update to 1.28.0.
[home-page]: Fix homepage.

Change-Id: I7c21512a60a2621911d856d53cef14638e4d2afb
---
 gnu/packages/networking.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 6b415076e8..bfd53e0a3f 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3381,14 +3381,14 @@ (define-public can-utils
 (define-public asio
   (package
     (name "asio")
-    (version "1.22.2")
+    (version "1.28.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://sourceforge/asio/asio/"
-                           version " (Stable)/asio-" version ".tar.bz2"))
+                           version " (Stable)/asio-" version ".tar.gz"))
        (sha256
-        (base32 "0v5w9j4a02j2rkc7mrdj3ms0kfpqbgq2ipkixlz2l0p8xs0vfsvp"))))
+        (base32 "15yavn07m6fasf0lrxljx3p79zi23mzn0g0fhggrnngyqqyaam78"))))
     (build-system gnu-build-system)
     (inputs
      (list boost openssl))
@@ -3397,7 +3397,7 @@ (define-public asio
        (list
         (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))
         (string-append "--with-openssl=" (assoc-ref %build-inputs "openssl")))))
-    (home-page "https://think-async.com/Asio")
+    (home-page "https://think-async.com/Asio/")
     (synopsis "C++ library for ASynchronous network I/O")
     (description "Asio is a cross-platform C++ library for network and
 low-level I/O programming that provides developers with a consistent

base-commit: bdbb9dc27a590b08651d058f06a42caa26e04abb
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:33:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:33:05 2023
Received: from localhost ([127.0.0.1]:52371 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8eLx-0003mn-3w
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:05 -0500
Received: from layka.disroot.org ([178.21.23.139]:45354)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8eLu-0003mC-VM
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:33:04 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 29EFB41A5F;
 Thu, 30 Nov 2023 11:32:54 +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]) (amavisd-new, port 10024)
 with ESMTP id I7tkpHOAxdmS; Thu, 30 Nov 2023 11:32:53 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701340373; bh=7ymlqZ2NmDPxZl8QMiNiB/osHFyN3CwkmBZygx3gbqs=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=emK9kE1h5viRvIvFw5HduKZWMUmFJAxfw2jhbfrjyZYjZ834UKmFjJAkqQi9MHVRg
 kN7humOuMCnDf4LAaHWUYNEbO60rPtxNYfaJI5vD+u+xgEj0PIyEvtN7nPY3/FJH+X
 MowP+R5gTgSiy++InX4d8fpZGSM+IB279J3Nus8c3Kz4nvO28FOairlngPCXJr1w1T
 3SOniJpEwpsb+eJRb9y6foHSpSGR8LBq1S41AlMi9cmt2zZCdlE+UsAMLkQ+JfgzOT
 5Hzl6jy6Hi3Cuzfn/0GCBcbiM97ZWNaueermI0EkJUPyB0utWVxvMrtcq/pO9Wa7Cc
 07CtBZ+o635UA==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v3 2/7] gnu: Add bitsery.
Date: Thu, 30 Nov 2023 11:32:23 +0100
Message-ID: <a4169fed966e2980c17b9c0db182734f6502562c.1701340263.git.sughosha@HIDDEN>
In-Reply-To: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
References: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701340263.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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 5e35a03254..16fd5bcec5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2319,6 +2319,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")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 10:10:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 05:10:02 2023
Received: from localhost ([127.0.0.1]:52332 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8dzd-00033s-RO
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:10:02 -0500
Received: from layka.disroot.org ([178.21.23.139]:52928)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8dza-00033V-UJ
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 05:10:00 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 2786141AFB;
 Thu, 30 Nov 2023 11:09:49 +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]) (amavisd-new, port 10024)
 with ESMTP id RwmHFDqgTHv3; Thu, 30 Nov 2023 11:09:48 +0100 (CET)
Date: Thu, 30 Nov 2023 11:09:47 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701338988; bh=13weDtKM3C41xgaNZUiJhW9yvmATY73AJ5rUONJCvQM=;
 h=Date:From:To:CC:Subject:In-Reply-To:References;
 b=DAXN6ESQ1ntFs+WORLfrcYGB8cvkVMzyBE4RT1xD4zWbMgpG0HQPMxKw8KaTpxQTF
 MB4joo5LVbD+FR0rQrXp24kdqtqFGRIqdeKBUR4rc7LQ5iYc1puwFnlj/KKoHFtf5s
 eg2XEj2AuE+CR4JME4moNGhd5oZfPw9V8YqKFCEw8F5ZnGcJf7vfammwNOdut6ksHG
 k2VSrxPDw6B2C3RqzbCYUAhw4ncp2wBFeYSxdJ5WlvtMMPX/0rr8z11mq2l6drZ1j9
 EtY1RZl9xwXpNx3WB5B0KazspTZDJ2jJBD+cAwPFHFWprOpAEJXJdMnXUpzRHaKJkt
 ggQHE62I5WUNg==
From: Sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: Re: Review
In-Reply-To: <kfwilbbj5xvbrd6qxt6wg5qtobqmqjwbiyhes2qcoiin4r2mgh@hvcxlt5gdttz>
References: <emsvoocbxrkac7u37ljc2g73icjg4pzfffjy7asikd22mltau6@fiag3vi7r4ln>
 <2460289E-B408-41CD-B44B-8DCCB638A482@HIDDEN>
 <kfwilbbj5xvbrd6qxt6wg5qtobqmqjwbiyhes2qcoiin4r2mgh@hvcxlt5gdttz>
Message-ID: <88DDB778-4EFD-4FE8-802F-2E75FADFE48E@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary=----D59FRTRK5DHNRGQUKJ79WWBGKEWDHP
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

------D59FRTRK5DHNRGQUKJ79WWBGKEWDHP
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

A small thing to remove in [PATCH v2 7/7]:
in yabridge definition, "(modules '((guix build utils)))" inside "(source)=
" is not needed=2E If you can remove it before merging, it would be great=
=2E

Thank you=2E
------D59FRTRK5DHNRGQUKJ79WWBGKEWDHP
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><body><div dir=3D"auto">A small thing to remove in [PA=
TCH v2 7/7]:<br>in yabridge definition, "(modules '((guix build utils)))" i=
nside "(source)" is not needed=2E If you can remove it before merging, it w=
ould be great=2E<br><br>Thank you=2E</div></body></html>
------D59FRTRK5DHNRGQUKJ79WWBGKEWDHP--




Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:04:07 2023
Received: from localhost ([127.0.0.1]:52262 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxq-0000xn-2z
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:04:07 -0500
Received: from layka.disroot.org ([178.21.23.139]:34910)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxi-0000wM-A7
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:59 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id C1C7F40D58;
 Thu, 30 Nov 2023 10:03:49 +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]) (amavisd-new, port 10024)
 with ESMTP id YvTYIU8mNsvB; Thu, 30 Nov 2023 10:03:48 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335027; bh=PvRgCH2s+dZNvdFNz7f3JBuINHWbmT1yn3njqGcO0fQ=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=H5/Lf5Ts5npbgZ9/Iab+UOgnCLG3LtCdGTFrl0r5ffvcEeSypZo6KRo6HLEnnyCs7
 LYuvdix+HGmJLTxtWAgcAOqKss4HnAAkXRtaC3PiX+kdfgrWjo+uJobtDcXc8Dv4m5
 5BGsf7CGF0733GPDK/vdgEkcIwoysXo1DxjjtifpqHGIG8zmbcqggvH8zS/43EyYIk
 9CpcMrmKZJeQ1oO2A9PhpIOv52vSKu50ivSKB3EqJGmfr6/1ODXheIhzYJBy48b1pT
 6fpSWRNWzptpp9LcyfCAHwOd3vM+gYTG6I0vWBtfRETdISdVnt2IuYD4n+vGeFdHoH
 MQ0mNWZGc49kA==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 7/7] gnu: Add yabridge.
Date: Thu, 30 Nov 2023 10:02:44 +0100
Message-ID: <4481b93da8aad542e3e65080e17271055482c3cb.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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                        |  89 ++++++++
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 4 files changed, 318 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 a8142bb0f2..c93a7b3659 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2119,6 +2119,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/vinagre-newer-rdp-parameters.patch      \
   %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.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		\
@@ -2170,6 +2171,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-do-not-link-against-librt.patch	\
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6e1da4c288..36b673104d 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -73,7 +73,9 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
@@ -136,6 +138,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)
@@ -5941,6 +5944,92 @@ (define-public mbelib
       (license (list license:bsd-3      ; test/ framework
                      license:isc)))))   ; the rest
 
+(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"))
+              (modules '((guix build utils)))))
+    (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+)))
+
 (define-public ableton-link
   (package
     (name "ableton-link")
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 <intrin.h>
+ #endif
+-#define vsnprintf _vsnprintf
+-#define snprintf _snprintf
+ 
+ #elif SMTG_OS_MACOS
+ #include <errno.h>
+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 <wchar.h>
++#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<WCHAR*> (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 <algorithm>
+ #include <iostream>
+ 
+-#if SMTG_CPP17
+-
+-#if __has_include(<filesystem>)
+-#define USE_FILESYSTEM 1
+-#elif __has_include(<experimental/filesystem>)
+-#define USE_FILESYSTEM 0
+-#endif
+-
+-#else // !SMTG_CPP17
+-
+-#define USE_FILESYSTEM 0
+-
+-#endif // SMTG_CPP17
+-
+-#if USE_FILESYSTEM == 1
+-
+-#include <filesystem>
+-namespace filesystem = std::filesystem;
+-
+-#else // USE_FILESYSTEM == 0
+-
+-// The <experimental/filesystem> header is deprecated. It is superseded by the C++17 <filesystem>
+-// 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 <experimental/filesystem>
+-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 <ghc/filesystem.hpp>
++namespace filesystem = ghc::filesystem;
+ 
+ #pragma comment(lib, "Shell32")
+ 
+@@ -320,7 +295,7 @@ VST3::Optional<filesystem::path> 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<LPVOID*> (&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)
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:04:06 2023
Received: from localhost ([127.0.0.1]:52260 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxp-0000xg-PB
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:04:06 -0500
Received: from layka.disroot.org ([178.21.23.139]:34896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxg-0000vq-Oa
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:57 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 41CF444E3D;
 Thu, 30 Nov 2023 10:03:48 +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]) (amavisd-new, port 10024)
 with ESMTP id i3dKofdbCKjl; Thu, 30 Nov 2023 10:03:47 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335027; bh=1Cx9w2U4VVYFe9+7UfUytN3426Pug/nAU/ZwDJc+1OI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Wklb6Mbg1iZHoxL8NSSmuC4TLd2PRkDBhTisrVqkumDxYo4jOu3Wfm1CxBJNhGdSg
 ZA9vMATUhjuSpRc8h2MZuzWhclujW8n4OcM+pr6IAmjoNhZTT96/ZbCVIDAn3ZZ5t/
 eyIM50jIwk/nTYZRRA2vIWjymFZ3I06UKp3fvFqf5qnRGoxEBMFmWYVEE3XJil2/KS
 UpVnezx7TTdYQDbIMDnSIzm/HGQ0AGNE3Eh2Pc4MMw1QyfxLPHruMam8SB5wp9qhAA
 uJslnqe7sK5IJMKRZpyxpKq07bZLtLCU2EIFK+PlSmRRTrUBecQbR1h/ke8kTGcvZ4
 dTShifjWP2E0w==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 6/7] gnu: Add clap-1.1.7.
Date: Thu, 30 Nov 2023 10:02:43 +0100
Message-ID: <d260ec53102dfdce06fbac3dd27322bc84d4c94e.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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 e964c74438..6e1da4c288 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2737,6 +2737,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")
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:04:05 2023
Received: from localhost ([127.0.0.1]:52258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxp-0000xZ-Bz
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:04:05 -0500
Received: from layka.disroot.org ([178.21.23.139]:34864)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxf-0000vR-8Y
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:57 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id BC1E044E3F;
 Thu, 30 Nov 2023 10:03:46 +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]) (amavisd-new, port 10024)
 with ESMTP id 1IRPbnj8jkTg; Thu, 30 Nov 2023 10:03:45 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335025; bh=UJtIrhw6zRrKmHHkUUSlgZJN+48Ujl9j3t/GuQW1yXI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=NG9EkDqv7gHvuF8kL1uiy6XcKTyOcIjgmK59bQgJgk9kkEEatE6E2gK4LRcbsR+Y8
 1w2b6KqyTX3dDXgyPrMEIgOyaCXgGKlOvkCoLlA68zCG1y5tfcrvQe0utWivPb7o5Z
 WWyZVx/uufhP61fjA/b1LGDgQ2Cog1wxyoBi6adzALyS5MHhwnaCvfoV/szBVnjFxj
 BU7e7AThKdS39QlyefeDCeNuuQlc4ryjR0ej847Y6LD1RYUXzPbpBBzueIS/DpZWtr
 UlCDGOUP1dl9kQJxeJ9a3sE+plyzQvcUFgXkOpUVQ+fLuVyZQ4OStgmApX5MlpqOkr
 qItxaTa0k/tlw==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 3/7] gnu: Add function2.
Date: Thu, 30 Nov 2023 10:02:40 +0100
Message-ID: <eda28672b93c14b67a5acc639fd6f52ed51cfe2d.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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 16fd5bcec5..24e519b10b 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2343,6 +2343,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")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:04:05 2023
Received: from localhost ([127.0.0.1]:52256 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxp-0000xQ-1B
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:04:05 -0500
Received: from layka.disroot.org ([178.21.23.139]:34892)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxg-0000vj-Bu
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:56 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id B694B44E37;
 Thu, 30 Nov 2023 10:03:47 +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]) (amavisd-new, port 10024)
 with ESMTP id hwh0_HN7Ozen; Thu, 30 Nov 2023 10:03:46 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335026; bh=4CYY7eNBupgKWbpdGorqQjT0kHhljzSHiQWGuvfsNDE=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Y/NIcd+dj45712Jr3YQhsTJOgpP21BIkdpRCc4EdhoHZNNpsyiyr7uQw4AqVVPyvx
 6dJEtVYWkX0OBH/wyspn1r8Eu6QoFM07i0vSSWymZ9TguD1KHqQByMLYz6mOXmidWy
 /DroUB8zmf/cemMZSHMORqtedydv1/A3kQM18YGyebTtpDXfYxzdFDuCqxb77HFveP
 3FUKJmemseEbhU5K9/Uu+LiSus7Ru0zvklIrESFxUQcL5dveKRFSWRmEmFA+/iQTkg
 GlJNo4oP2dgWIwsUbXeC3j8U6rTX4NZvbaJHM7cZsJJsF5fFmy6h+gZ8/pmaw6ye6T
 3FRx2ps4uP8ZA==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 5/7] gnu: Add clap.
Date: Thu, 30 Nov 2023 10:02:42 +0100
Message-ID: <3ea9ec83b90d6d852065c7810ad5d0907579dc51.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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 e4fe4c2da7..e964c74438 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2715,6 +2715,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")
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:04:05 2023
Received: from localhost ([127.0.0.1]:52254 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxo-0000xH-GE
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:04:04 -0500
Received: from layka.disroot.org ([178.21.23.139]:34878)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxf-0000vW-Q9
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:56 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 4B67C44E23;
 Thu, 30 Nov 2023 10:03:47 +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]) (amavisd-new, port 10024)
 with ESMTP id Au4PieryV6_h; Thu, 30 Nov 2023 10:03:46 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335026; bh=+1Vjn0E0V6aSieyq2GGrl35I9SbKH45gXmFQNGdoeSY=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=RihZ8d1TkkcQS4oG0SdY948QECZ+xDLNBbOZ8KvHCTbteZ+sM0tLRf55F/ukltN+S
 gAyopvTZY3B0TJmKUyGqndppayfmctwROnKdr19j/lyTeGTJQub4v/ZScs9jejJqK4
 q+ehSiusy5KqkJyU5WvD2rbfzDyogAcQr7vnMaBqQJIngZ2HsFUFvdRUk/b+qXE9IE
 seV3W1TCDb02Z66pAlnMGMtTauteYJvlRCKlIPM4u77vDrT28MTGFpCjZLXPBaUdJX
 R9jBVzotD8M8QgXFskj90GZ9pT9Fm7HHL497+AD1WvkVV4SK2Qx7L3tM7Vn+n73OR0
 12Ik4GyXC87Xg==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 4/7] gnu: Add tomlplusplus.
Date: Thu, 30 Nov 2023 10:02:41 +0100
Message-ID: <4a63919d60c7b947d990be5faf4d42ccf3d71107.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (tomlplusplus): New variable.

Change-Id: I7c12b76fe135cd22b54a56560aac699e452009bb
---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 24e519b10b..272127737b 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -78,6 +78,7 @@ (define-module (gnu packages cpp)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages c)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages code)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
@@ -2373,6 +2374,27 @@ (define-public function2
     (home-page "https://naios.github.io/function2/")
     (license license:boost1.0)))
 
+(define-public tomlplusplus
+  (package
+    (name "tomlplusplus")
+    (version "3.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/marzer/tomlplusplus")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hvbifzcc97r9jwjzpnq31ynqnj5y93cjz4frmgddnkg8hxmp6w7"))))
+    (build-system meson-build-system)
+    (native-inputs (list cmake-minimal))
+    (synopsis "Header-only TOML config file parser and serializer for C++17")
+    (description "This package provides Header-only TOML config file parser and
+serializer for C++17.")
+    (home-page "https://marzer.github.io/tomlplusplus/")
+    (license license:expat)))
+
 (define-public cpp-mustache
   (package
     (name "cpp-mustache")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:04:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:04:04 2023
Received: from localhost ([127.0.0.1]:52252 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxo-0000xA-3A
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:04:04 -0500
Received: from layka.disroot.org ([178.21.23.139]:34866)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxf-0000vV-J6
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:56 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id E10B841C59;
 Thu, 30 Nov 2023 10:03:46 +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]) (amavisd-new, port 10024)
 with ESMTP id YVAfIDrC8fFn; Thu, 30 Nov 2023 10:03:45 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335025; bh=7ymlqZ2NmDPxZl8QMiNiB/osHFyN3CwkmBZygx3gbqs=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=jhG1NJadVdt1hrEHnv7y+o2qcSS5brUVIxxWK2SSBcc1X0RhPkRpeENjlKt7zUZno
 QcBUaYcfj+H8/Z4TIWTFU8nrKIa1zyHLjR42uFYoXDW3MY7MZZuopRC7lRBjqFKENU
 4xNO1uN1UOszV+YYI//vqurBbwKtg99vkXwT08A7PAmbN9QF6Oi1cetaYycKttFlpd
 kBsH2nv/05Yp/8iCW6trCLnPNisDYiFbvmnCenokc3c6yAltEbgfgjf2asg/woOPvJ
 KWL3D2+/592RKtdAXIO++UoV29esI+LX9O5IALZikHYP09eS4CXrLUvzV6DXRdZt2M
 Y6gNqfvJqPT3Q==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 2/7] gnu: Add bitsery.
Date: Thu, 30 Nov 2023 10:02:39 +0100
Message-ID: <a4169fed966e2980c17b9c0db182734f6502562c.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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 5e35a03254..16fd5bcec5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2319,6 +2319,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")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:03:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:03:58 2023
Received: from localhost ([127.0.0.1]:52245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxh-0000wF-P8
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:58 -0500
Received: from layka.disroot.org ([178.21.23.139]:34848)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxe-0000vL-7b
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:55 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id C3BE344E3D;
 Thu, 30 Nov 2023 10:03:44 +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]) (amavisd-new, port 10024)
 with ESMTP id R6LusSm59uPu; Thu, 30 Nov 2023 10:03:44 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335024; bh=Jj6E+QYAoXVcIHKq/MgZA22P0sWu7dLsamukq8jALuw=;
 h=From:To:Cc:Subject:Date;
 b=XfDEvC84f7LGI8w+jZ0Ejb77qFQomZGhmX6dlJX+ERDgOfzm6dLvD1GO2YuDAGNCe
 mAIM9EZGMg36rSXhgsvxhk+8b/g1425wVGl5EmsWaJHyrO/z+5PY0othRQ6C9/rQ3x
 NsUj6rkkXd1yda0mLtSOuXfTNQ/F196GWRARpIsjvhrMSMBQNRiCzMZZsOKIMCYfcr
 KMDp+maapd2k4a0dYQwsFssMJNhAJ/hYQR4f4i8G/ykXPGtVUc62N8vdNemkzKyVbV
 61yqZltaqD9TAO04OZOs+fus3Gll8gcfUKAom9XFx8TnO+tprcs+tm6NXfm5OqmRP0
 H1/hxCGLCAeKA==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 0/7] gnu: Add yabridge.
Date: Thu, 30 Nov 2023 10:02:37 +0100
Message-ID: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Gabriel Wicki <gabriel@HIDDEN>, Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This v2 series contains updates and fixes mistakes in v1.

Sughosha (7):
  gnu: asio: Update to 1.28.0.
  gnu: Add bitsery.
  gnu: Add function2.
  gnu: Add tomlplusplus.
  gnu: Add clap.
  gnu: Add clap-1.1.7.
  gnu: Add yabridge.

 gnu/local.mk                                  |   2 +
 gnu/packages/audio.scm                        | 125 ++++++++++++
 gnu/packages/cpp.scm                          |  76 +++++++
 gnu/packages/networking.scm                   |   8 +-
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 6 files changed, 434 insertions(+), 4 deletions(-)
 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


base-commit: bdbb9dc27a590b08651d058f06a42caa26e04abb
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 09:03:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 04:03:57 2023
Received: from localhost ([127.0.0.1]:52243 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cxh-0000w3-6Q
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:57 -0500
Received: from layka.disroot.org ([178.21.23.139]:34854)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cxe-0000vO-AD
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 04:03:55 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 94B2A44D3F;
 Thu, 30 Nov 2023 10:03:45 +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]) (amavisd-new, port 10024)
 with ESMTP id u60x8Y8LPJPG; Thu, 30 Nov 2023 10:03:44 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701335024; bh=BJo5uengyX9Q1uDozJTOfg/OKdEiWqClbjlfD4XASYI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=HWQQWP492tKxVAmiDSYCJ9dTnGkWhXBiWKWsawuUXaq2+SkkrMhzZvJI5dHIeXY8b
 3QOXaX5aEFE40RF/sB0Az7+cYpaDZN4PAwrwNHdUIvo3IhN8FAxB6IcJiEy35KPM1J
 rzJc4P72KfiWH9wvur1Ztk4UOx6TcVLe5s4X9kWqefum2JWyM/K/KF7uBCPPpSASjO
 HeIacWevtUByOW1TCpqH2zqBoSsla4dwBO/tDZLMR4zIOd1RqhXcu6sTilURuyKT8y
 T6nTrcnQk5H8ATOOm4pV7aEglEvigqOvUY2yQL8bIDoDpzTAU+V31an9t+FXe9CGH9
 hGqdcgCbEh0Lg==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH v2 1/7] gnu: asio: Update to 1.28.0.
Date: Thu, 30 Nov 2023 10:02:38 +0100
Message-ID: <6f5cc74f73fb4f4a28c2e40b525058f2b3005ad0.1701334597.git.sughosha@HIDDEN>
In-Reply-To: <cover.1701334597.git.sughosha@HIDDEN>
References: <cover.1701334597.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* gnu/packages/networking.scm (asio): Update to 1.28.0.
[home-page]: Fix homepage.

Change-Id: I7c21512a60a2621911d856d53cef14638e4d2afb
---
 gnu/packages/networking.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 6b415076e8..bfd53e0a3f 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3381,14 +3381,14 @@ (define-public can-utils
 (define-public asio
   (package
     (name "asio")
-    (version "1.22.2")
+    (version "1.28.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://sourceforge/asio/asio/"
-                           version " (Stable)/asio-" version ".tar.bz2"))
+                           version " (Stable)/asio-" version ".tar.gz"))
        (sha256
-        (base32 "0v5w9j4a02j2rkc7mrdj3ms0kfpqbgq2ipkixlz2l0p8xs0vfsvp"))))
+        (base32 "15yavn07m6fasf0lrxljx3p79zi23mzn0g0fhggrnngyqqyaam78"))))
     (build-system gnu-build-system)
     (inputs
      (list boost openssl))
@@ -3397,7 +3397,7 @@ (define-public asio
        (list
         (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))
         (string-append "--with-openssl=" (assoc-ref %build-inputs "openssl")))))
-    (home-page "https://think-async.com/Asio")
+    (home-page "https://think-async.com/Asio/")
     (synopsis "C++ library for ASynchronous network I/O")
     (description "Asio is a cross-platform C++ library for network and
 low-level I/O programming that provides developers with a consistent
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 30 Nov 2023 08:15:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 30 03:15:31 2023
Received: from localhost ([127.0.0.1]:52185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8cCo-0005EW-Pu
	for submit <at> debbugs.gnu.org; Thu, 30 Nov 2023 03:15:31 -0500
Received: from layka.disroot.org ([178.21.23.139]:38754)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1r8cCm-0005EI-FA
 for 66870 <at> debbugs.gnu.org; Thu, 30 Nov 2023 03:15:29 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id A779544E03;
 Thu, 30 Nov 2023 09:15:17 +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]) (amavisd-new, port 10024)
 with ESMTP id 2_asprOkvzhG; Thu, 30 Nov 2023 09:15:16 +0100 (CET)
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1701332116; bh=f7dYiFgnGCZ3ttqUTwNIo3CAKoWwrmuzoO6wU5cJp1c=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References;
 b=EcVBj6HW4nI+Y1KBALeRa7nXayLphw4W4lnj168hAtMFo4ZV50up49wTpoQLGWNLq
 RDgeGDWJUL2jwD7N0GUbH2T8x+PlRCmY1rKmKgDWSS7iGnBPTL/rQA3HSgWgO3OK8O
 AtJvDNCL8GnpS7Ac9h0un+/8cyg6xVyWoG/hEpUMvINHPhne3AP3QUxSKlurRyeVBp
 ge5Lg244KYr6WmxYIb9jWctqLlpveBtnNIBrG8RWath8hBpajZG1oZ/U4RsZn5lufK
 8NoPinCC7hCELpVQxRe7CKU2oQcqnNNtTIDoZHb2/gYTACUSiGaEaD4s+xQk/gK4KK
 TI/dE69g+stXw==
Date: Thu, 30 Nov 2023 09:15:15 +0100
From: sughosha <sughosha@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: Re: Review
In-Reply-To: <kfwilbbj5xvbrd6qxt6wg5qtobqmqjwbiyhes2qcoiin4r2mgh@hvcxlt5gdttz>
References: <emsvoocbxrkac7u37ljc2g73icjg4pzfffjy7asikd22mltau6@fiag3vi7r4ln>
 <2460289E-B408-41CD-B44B-8DCCB638A482@HIDDEN>
 <kfwilbbj5xvbrd6qxt6wg5qtobqmqjwbiyhes2qcoiin4r2mgh@hvcxlt5gdttz>
Message-ID: <8C60685B-138C-4D25-9598-3DA6EDC52C53@HIDDEN>
X-Sender: sughosha@HIDDEN
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Thanks for the review.

> So i've de-frizzled the patches by renaming #66870 to "[PATCH 0/6] Add
> yabridge."

Thank you.

> [PATCH 1/6] looks good to me! Have you checked the packages depending
> on asio still build and work?

I checked only musikcube, jami and widelands and they worked fine. 
Others
must work as well.

> [PATCH 3/6] Looks goot, although I am a bit confused WRT the comment 
> for
> the (recursive #t) clause in the (source ..) field (indicating we need
> to recursively copy the repo for the tests to complete) and argument
> (#:tests? #f) indicating that the tests wouldn't be run.

Removed "(recursive #t)".

> - I'm not sure whether your (let ((arch))) clause isn't an abuse; you
> test whether (%current-system) is either x86_64-linux or aarch64-linux
> and set it to x86_64-unix and i386-unix otherwise. Does this actually
> work for aarch64-linux systems? You could make use of the
> target-64-bit? function in (guix utils) and only allow the package to
> build on x86 systems. Also, you inherit wine64's supported-systems
> field - which only lists x86_64-linux. Building for i368 seems to be
> unsupported by our wine packages (or wine in general?)

Removed the substitute as it is no more needed.

> - I'm a bit confused about your patch series adding clap 1.1.9 -
> although yabridge seems to need 1.1.7. Why not add clap@HIDDEN with this
> series and with the next upgrade of yabridge also update clap?

Moved clap@HIDDEN to a seperate definition.

> - Similar with input vst3sdk: Why not add it as a separate package?
> If I interpret the situation correctly, using default definitions of
> these inputs could also let you simplify your native-inputs list to the
> new style.

This vst3sdk is not the original one. It is found in a different
repository than the original one and is suppose to clone as subproject. 
So
it does not make sense to package it in a seperate definition.

> $(guix lint) on the patched packages gave the following output:
> 
> ~/src/guix/gnu/packages/networking.scm:3431:15: asio@HIDDEN: permanent
> redirect from https://think-async.com/Asio to
> https://think-async.com/Asio/
> fetching CVE database for 2023...
> ~/src/guix/gnu/packages/networking.scm:3417:5: asio@HIDDEN:
> source not archived on Swith "(let ((arch)))"oftware Heritage and 
> missing from the Disarchive
> database
> ~/src/guix/gnu/packages/cpp.scm:2311:13: function2@HIDDEN:
> can be upgraded to 4.2.4
> ~/src/guix/gnu/packages/audio.scm:2724:13: clap@HIDDEN: can
> be upgraded to 1.1.10
> ~/src/guix/gnu/packages/audio.scm:6002:0: yabridge@HIDDEN:
> line 6002 is way too long (95 characters)
> ~/src/guix/gnu/packages/audio.scm:6013:0: yabridge@HIDDEN:
> line 6013 is way too long (100 characters)

Fixed and updated these packages.

I will submit the v2 patches with the above changes.

Regards,
Sughosha




Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 29 Nov 2023 14:48:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 29 09:48:52 2023
Received: from localhost ([127.0.0.1]:49271 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r8Lrw-0003CX-H9
	for submit <at> debbugs.gnu.org; Wed, 29 Nov 2023 09:48:52 -0500
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:45193)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabriel@HIDDEN>) id 1r8Lrv-0003Bh-0r
 for 66870 <at> debbugs.gnu.org; Wed, 29 Nov 2023 09:48:51 -0500
Received: from localhost (antispam.ee.ethz.ch [129.132.2.16])
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id A222F20AE8;
 Wed, 29 Nov 2023 15:48:35 +0100 (CET)
X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196])
 by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028)
 with ESMTP id VTap1DP2AU2z; Wed, 29 Nov 2023 15:48:34 +0100 (CET)
Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA;
 Wed, 29 Nov 2023 15:48:33 +0100 (CET)
Date: Wed, 29 Nov 2023 15:48:31 +0100
From: Gabriel Wicki <gabriel@HIDDEN>
To: Sughosha <sughosha@HIDDEN>
Subject: Review
Message-ID: <kfwilbbj5xvbrd6qxt6wg5qtobqmqjwbiyhes2qcoiin4r2mgh@hvcxlt5gdttz>
References: <emsvoocbxrkac7u37ljc2g73icjg4pzfffjy7asikd22mltau6@fiag3vi7r4ln>
 <2460289E-B408-41CD-B44B-8DCCB638A482@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2460289E-B408-41CD-B44B-8DCCB638A482@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: 66870 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi

So i've de-frizzled the patches by renaming #66870 to "[PATCH 0/6] Add
yabridge."

[PATCH 1/6] looks good to me!  Have you checked the packages depending
on asio still build and work?

You can check the dependents with this command:

$ guix refresh -l asio
Building the following 8 packages would ensure 16 dependent packages are rebuilt: emacs-ob-sclang@HIDDEN cl-collider@HIDDEN ecl-cl-collider@HIDDEN gnome-arcade@HIDDEN widelands@HIDDEN musikcube@HIDDEN jami@HIDDEN restbed@HIDDEN

I checked and they all still build fine :)

[PATCH 2/6] LGTM.

[PATCH 3/6] Looks goot, although I am a bit confused WRT the comment for
the (recursive #t) clause in the (source ..) field (indicating we need
to recursively copy the repo for the tests to complete) and argument
(#:tests? #f) indicating that the tests wouldn't be run.

[PATCH 4/6] LGTM.

[PATCH 5/6] LGTM.

[PATCH 6/6] Wow, now this is a big one!  Apart from the following
comments this looks good to me!

 - I'm not sure whether your (let ((arch))) clause isn't an abuse;  you
test whether (%current-system) is either x86_64-linux or aarch64-linux
and set it to x86_64-unix and i386-unix otherwise.  Does this actually
work for aarch64-linux systems?  You could make use of the
target-64-bit? function in (guix utils) and only allow the package to
build on x86 systems.  Also, you inherit wine64's supported-systems
field - which only lists x86_64-linux.  Building for i368 seems to be
unsupported by our wine packages (or wine in general?)

 - I'm a bit confused about your patch series adding clap 1.1.9 -
although yabridge seems to need 1.1.7.  Why not add clap@HIDDEN with this
series and with the next upgrade of yabridge also update clap?
 
 - Similar with input vst3sdk: Why not add it as a separate package?
If I interpret the situation correctly, using default definitions of
these inputs could also let you simplify your native-inputs list to the
new style.



All packages built fine and running $(guix style) didn't change
anything.
$(guix lint) on the patched packages gave the following output:

~/src/guix/gnu/packages/networking.scm:3431:15: asio@HIDDEN: permanent
redirect from https://think-async.com/Asio to
https://think-async.com/Asio/
fetching CVE database for 2023...
~/src/guix/gnu/packages/networking.scm:3417:5: asio@HIDDEN:
source not archived on Software Heritage and missing from the Disarchive
database
~/src/guix/gnu/packages/cpp.scm:2311:13: function2@HIDDEN:
can be upgraded to 4.2.4
~/src/guix/gnu/packages/audio.scm:2724:13: clap@HIDDEN: can
be upgraded to 1.1.10
~/src/guix/gnu/packages/audio.scm:6002:0: yabridge@HIDDEN:
line 6002 is way too long (95 characters)
~/src/guix/gnu/packages/audio.scm:6013:0: yabridge@HIDDEN:
line 6013 is way too long (100 characters)



Please send in a updated patch-set.

Thanks for your time and effort!
g




Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.
Changed bug title to '[PATCH 0/6] Add yabridge.' from '[PATCH v4 0/7] gnu: Add yabridgectl.' Request was from Gabriel Wicki <gabriel@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Disconnected #63065 from all other report(s). Request was from sughosha <sughosha@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to '[PATCH v4 0/7] gnu: Add yabridgectl.' from '[PATCH 0/6] gnu: Add yabridge.' Request was from Sughosha <sughosha@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 63065 66870. Request was from Sughosha <sughosha@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 1 Nov 2023 09:11:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:10:59 2023
Received: from localhost ([127.0.0.1]:49850 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7Fb-0004Jm-E1
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:59 -0400
Received: from layka.disroot.org ([178.21.23.139]:48496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7FO-0004J3-Ry
 for 66870 <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:57 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 0A10144E55;
 Wed,  1 Nov 2023 10:10:12 +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]) (amavisd-new, port 10024)
 with ESMTP id 1IQHrSBAgJL2; Wed,  1 Nov 2023 10:10:11 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829811; bh=8S3PVBNy7HBpTpt1uQAM6X+fU5VVL2ieHZfPizCcHNI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=igmRZX5JkKjuYrBtcHkZqosdtQOjLu3M9+pidzS1XvcKLrpyDPftJ+Wotyw2CW1lA
 +LPwKk1MzIAmSwOzJ2bhUaCz2FJrHtKqzvNzj/p3JmUyfkRZZlXSBd+YwvjxYhStaN
 sDkYYQ1MdzZXgiTfSTFrGtyLuh+nlwAs+aWD90PsyBqTWrSCXptqEHq6/YE1LyxTVq
 ugz8ggYph7AR31Cyrg/55qwcbUNe4RWelrubuKIjDBRxUIn/GF3QHsMJRLjTkyJfdN
 rSyzDt97+mHkO+/V6PRSjqDWnRQ/w5DbBylfEWp7oOAgRDKBJieWimh7UxzQbWkt5F
 hVes4vwwnyDNQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH 4/6] gnu: Add tomlplusplus.
Date: Wed,  1 Nov 2023 10:09:40 +0100
Message-ID: <70d0b1f869f5e305c8f74c307b74a42ff47e5359.1698829285.git.sughosha@HIDDEN>
In-Reply-To: <cover.1698829285.git.sughosha@HIDDEN>
References: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/cpp.scm (tomlplusplus): New variable.

Change-Id: I7c12b76fe135cd22b54a56560aac699e452009bb
---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 6c99f39639..450c4b3dc1 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -78,6 +78,7 @@ (define-module (gnu packages cpp)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages c)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages code)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
@@ -2335,6 +2336,27 @@ (define-public function2
     (home-page "https://naios.github.io/function2/")
     (license license:boost1.0)))
 
+(define-public tomlplusplus
+  (package
+    (name "tomlplusplus")
+    (version "3.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/marzer/tomlplusplus")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hvbifzcc97r9jwjzpnq31ynqnj5y93cjz4frmgddnkg8hxmp6w7"))))
+    (build-system meson-build-system)
+    (native-inputs (list cmake-minimal))
+    (synopsis "Header-only TOML config file parser and serializer for C++17")
+    (description "This package provides Header-only TOML config file parser and
+serializer for C++17.")
+    (home-page "https://marzer.github.io/tomlplusplus/")
+    (license license:expat)))
+
 (define-public cpp-mustache
   (package
     (name "cpp-mustache")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 1 Nov 2023 09:10:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:10:58 2023
Received: from localhost ([127.0.0.1]:49848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7FZ-0004Ja-6P
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:58 -0400
Received: from layka.disroot.org ([178.21.23.139]:55658)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7FW-0004JR-RH
 for 66870 <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:56 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 12EED44F87;
 Wed,  1 Nov 2023 10:10:20 +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]) (amavisd-new, port 10024)
 with ESMTP id qM8luFKkecK1; Wed,  1 Nov 2023 10:10:18 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829818; bh=H4hr1bQ5S9gPzFNMnGgFuAt5nGSMh8dLst4pwkZHq7c=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=L8E1vGKC5RCNh5wYg/U0kA+xeXL8asPDayk+V1rSNBSjqMc/hvOtEVldM1azNWSTb
 xMl6gzG66YEBb8XnunbmwChijYK07PZk3yP7pZUHnYZ5Fqgdt8Oxl17+FuiNLg0iP/
 WJXKGJKqGSd8kocOd63/E7+CSMAemXlG5xiRJukKrGjOs9WuRLwgsnPL1IPp0iECEh
 /ub10TmCYOgHHHfMT8/BG6YHs9CHMiRlQiYk270U4ws3Hz4pL4QxMI3IvrNFvgLyem
 jXphWlgjXSDV9KFBPutV+mivISFmo2bvYWVQTTF70i/ilnfcprbcwPOa06XTxar+7t
 3AOpIXg+D0xoQ==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH 6/6] gnu: Add yabridge.
Date: Wed,  1 Nov 2023 10:09:42 +0100
Message-ID: <16a0c66df80da5013e2d12979b6829e6273338cb.1698829285.git.sughosha@HIDDEN>
In-Reply-To: <cover.1698829285.git.sughosha@HIDDEN>
References: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/audio.scm (yabridge): New variable.
* gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.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: I10331fbc9827bf1665a03afafe44a6c45c2c4c76
---
 gnu/local.mk                                  |   2 +
 gnu/packages/audio.scm                        | 129 ++++++++++++
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 4 files changed, 358 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 27e57302ae..d0867724e1 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2114,6 +2114,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/vinagre-newer-rdp-parameters.patch      \
   %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.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		\
@@ -2165,6 +2166,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-fix-dependency-search.patch	\
   %D%/packages/patches/yggdrasil-extra-config.patch	\
   %D%/packages/patches/zig-0.9-riscv-support.patch		\
   %D%/packages/patches/zig-do-not-link-against-librt.patch	\
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3a99131d1b..aae97d4169 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -73,7 +73,9 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
@@ -136,6 +138,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)
@@ -5927,6 +5930,132 @@ (define-public mbelib
       (license (list license:bsd-3      ; test/ framework
                      license:isc)))))   ; the rest
 
+(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"))
+              (modules '((guix build utils)))))
+    (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\",")))
+                   (let ((wine
+                          #$(match (%current-system)
+                              ((or "x86_64-linux" "aarch64-linux") "wine64")
+                              (_ "wine32")))
+                         (arch
+                          #$(match (%current-system)
+                              ((or "x86_64-linux" "aarch64-linux")
+                               "x86_64-unix")
+                              (_ "i386-unix"))))
+                     (substitute* "meson.build"
+                       (("-lole32")
+                        (search-input-file inputs
+                         (string-append "/lib/" wine "/wine/"
+                                        arch "/libole32.a")))
+                       (("-lshell32")
+                        (search-input-file inputs
+                         (string-append "/lib/" wine "/wine/"
+                                        arch "/libshell32.a")))
+                       (("-luuid")
+                        (search-input-file inputs
+                         (string-append "/lib/" wine "/wine/"
+                                        arch "/libuuid.a")))))))
+               (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 default clap version with the next update of yabrigde.
+     ;; https://github.com/robbert-vdh/yabridge/commit/f67a170a882266d30e76977653272471498eab68
+     `(("clap"
+        ,(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")))))))
+       ("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
+           (match (%current-system)
+             ((or "x86_64-linux" "aarch64") wine64)
+             (_ wine))))
+    ;; Support the platforms that are supported by wine and 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 both 32-bit and 64-bit Windows VST2, VST3, and CLAP plugins in
+64-bit Linux 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+)))
+
 (define-public ableton-link
   (package
     (name "ableton-link")
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 <intrin.h>
+ #endif
+-#define vsnprintf _vsnprintf
+-#define snprintf _snprintf
+ 
+ #elif SMTG_OS_MACOS
+ #include <errno.h>
+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 <wchar.h>
++#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<WCHAR*> (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 <algorithm>
+ #include <iostream>
+ 
+-#if SMTG_CPP17
+-
+-#if __has_include(<filesystem>)
+-#define USE_FILESYSTEM 1
+-#elif __has_include(<experimental/filesystem>)
+-#define USE_FILESYSTEM 0
+-#endif
+-
+-#else // !SMTG_CPP17
+-
+-#define USE_FILESYSTEM 0
+-
+-#endif // SMTG_CPP17
+-
+-#if USE_FILESYSTEM == 1
+-
+-#include <filesystem>
+-namespace filesystem = std::filesystem;
+-
+-#else // USE_FILESYSTEM == 0
+-
+-// The <experimental/filesystem> header is deprecated. It is superseded by the C++17 <filesystem>
+-// 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 <experimental/filesystem>
+-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 <ghc/filesystem.hpp>
++namespace filesystem = ghc::filesystem;
+ 
+ #pragma comment(lib, "Shell32")
+ 
+@@ -320,7 +295,7 @@ VST3::Optional<filesystem::path> 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<LPVOID*> (&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)
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 1 Nov 2023 09:10:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:10:53 2023
Received: from localhost ([127.0.0.1]:49845 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7FU-0004JI-Rt
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:53 -0400
Received: from layka.disroot.org ([178.21.23.139]:55652)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7FS-0004J8-69
 for 66870 <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:51 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 6A14744E23;
 Wed,  1 Nov 2023 10:10:15 +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]) (amavisd-new, port 10024)
 with ESMTP id iBqRIx3Z-zS8; Wed,  1 Nov 2023 10:10:14 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829814; bh=JqjZY672C9EEnQiTzeac/6mG5j3T1gKlhWIu0kHOFVE=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=dZ/EUR6Ags5y2jqVzBmeuv57LI85ZQfPvGxoawiL59hYzjc5yIRDFUlVEl95h5Oss
 sVkk3Q5Eq8Vwm6OwM+M0Yo5Z03GRjnwsoibNS41yppZama8N419c5Q3iivq1bn/vC7
 AHTTD1Qxq9IfS+f4BEvm/8OWyRPZbDTnXvt7IMfr/7mVcQZIZdLHBYTXrjhZAhqzco
 p7LLNpiAu46UDJGTWTJJDu85Biin9cSuHtcipE7XBIHHslmcz8StFciqHDxaRrime7
 SyKtXO69cvwWBmtTrSnIWoedwi/bL81InWoNEn6GW7fAWRnYuoKZ7p56FJ/N027SjL
 88vWEpyFjvgnw==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH 5/6] gnu: Add clap.
Date: Wed,  1 Nov 2023 10:09:41 +0100
Message-ID: <1998f3b99d5d118b047b8ece6333ddb11988b7cc.1698829285.git.sughosha@HIDDEN>
In-Reply-To: <cover.1698829285.git.sughosha@HIDDEN>
References: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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 7c49ba1841..3a99131d1b 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2715,6 +2715,28 @@ (define-public jalv
 plugin function as a JACK application.")
     (license license:isc)))
 
+(define-public clap
+  (package
+    (name "clap")
+    (version "1.1.9")
+    (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
+                "0z1van2wj68qv5rcvf19rc4xg57ywycdzmc0wrzss334cd9z8qyg"))))
+    (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")
-- 
2.41.0





Information forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 1 Nov 2023 09:10:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:10:45 2023
Received: from localhost ([127.0.0.1]:49841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7FN-0004Ir-Fi
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:45 -0400
Received: from layka.disroot.org ([178.21.23.139]:48486)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7FK-0004Ij-8r
 for 66870 <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:43 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 4CED644F36;
 Wed,  1 Nov 2023 10:10:07 +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]) (amavisd-new, port 10024)
 with ESMTP id HeH3lPEpav9f; Wed,  1 Nov 2023 10:10:06 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829806; bh=RnaNQyNHhTHG2H+Q4uC3RF8dnJXzrkdVuEiMsb5lLCg=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=IY+VkC4SqtUWYGNx54iU/Poy2wn5x4eJEA9vtuq7NgLuBI2O1N/uMabPmafVc51Mu
 dY2hj598UdB8r0w0bt/TdLsPvwYltZ+DxAS7A6BMuv6aWd7oJ2wKYnEvS7yndX9Deb
 3Tt3JTqceC3CkqPbDSw6LNpV4r1H0JXznZ2YzsTREGtfPiEX/PvpSjWW5j1k7I9av0
 zJy277Gq/aBTkJ0oQPtuL60AXMO+HAeVBVTZWxZg7XVe0RF8bg95Ojjq6gaNr35Ulv
 IMQwpVg1YmrYIi9nfTkF7NZEqrNwGWyXrd+KYXBWeEM+PaALPqc1GKzDLdxLOEzCm+
 O87i2z/bhwZ8Q==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH 3/6] gnu: Add function2.
Date: Wed,  1 Nov 2023 10:09:39 +0100
Message-ID: <ee00a117b9678a612b9ebac0ecd9c92387b5f55f.1698829285.git.sughosha@HIDDEN>
In-Reply-To: <cover.1698829285.git.sughosha@HIDDEN>
References: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* gnu/packages/cpp.scm (function2): New variable.

Change-Id: I29eb928aa943fa6b796d699271ca523075d44d38
---
 gnu/packages/cpp.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 7d91c72489..6c99f39639 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2302,6 +2302,39 @@ (define-public bitsery
     (home-page "https://github.com/fraillt/bitsery")
     (license license:expat)))
 
+(define-public function2
+  (package
+    (name "function2")
+    (version "4.2.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Naios/function2")
+                    (commit version)
+                    ;; Tests require to compile googletest with custom
+                    ;; features.
+                    (recursive? #t)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0zdi6jk3srjkx82kbmd9rfmj9c1rr2xlsz2hbdcjvcjp63vzzxd1"))))
+    (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")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 1 Nov 2023 09:10:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:10:39 2023
Received: from localhost ([127.0.0.1]:49838 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7FH-0004IY-4B
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:39 -0400
Received: from layka.disroot.org ([178.21.23.139]:50184)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7FF-0004II-1x
 for 66870 <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:37 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 382C844DB2;
 Wed,  1 Nov 2023 10:10:02 +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]) (amavisd-new, port 10024)
 with ESMTP id inat0Frxi9WC; Wed,  1 Nov 2023 10:10:01 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829801; bh=9/Qx4ZY9EfuHKuGHESFd0MDXTmhWxPkeAX0otIbobfI=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=iY3dDav0o2ckuY4SFFgABkat9EUp/045q6jfk5LvLfGxz86I7vZZ1lVb5xyh97Ouj
 dTTdECFEdvAGqJq8PORbWoywZvEBP2Df1Y1TMiFxOthQBxfRp3K4/cg74Y4vaii8Uk
 Ag8zeUbtDQXWaEH5Dt5VhOjvEtE0Fpc910eR7GTMwdE6jD5WcvQpNQMPDqnTsW4TE0
 LaOFbxxpMS4ekD7vysVTs23bJPXwn/pUpED7u18/WfxfCHjkXBWssOxhPzsKCYl1Yq
 YmtEpWRSZH7T5Z339/CQNEYz7P4kgMnJOQjXZbDD4E2FVL/eQ7Q5VtGLEkvqrdNKw0
 SwMSL5nOeqGRw==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH 2/6] gnu: Add bitsery.
Date: Wed,  1 Nov 2023 10:09:38 +0100
Message-ID: <569e9401ff75a25937a96c1acbe8dbb0f04d4ca3.1698829285.git.sughosha@HIDDEN>
In-Reply-To: <cover.1698829285.git.sughosha@HIDDEN>
References: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* 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 0ce60c49de..7d91c72489 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2278,6 +2278,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")
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at 66870 <at> debbugs.gnu.org:


Received: (at 66870) by debbugs.gnu.org; 1 Nov 2023 09:10:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:10:37 2023
Received: from localhost ([127.0.0.1]:49835 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7FE-0004IJ-R1
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:37 -0400
Received: from layka.disroot.org ([178.21.23.139]:50172)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7FB-0004I2-WA
 for 66870 <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:10:35 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 9A0CE44F69;
 Wed,  1 Nov 2023 10:09:58 +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]) (amavisd-new, port 10024)
 with ESMTP id UffoNfd2-Kfh; Wed,  1 Nov 2023 10:09:58 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829797; bh=YFjR1I56wXlhEq6lJRWl3flkb2Ap25KnvxNqn5yFY2E=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=IVVQynnWSagSuxJLTKmr7hhhaWbQ81XC9nQIAJG+Xw/PkrAtjh8Tdq72g/+LNyQlG
 17NnJ1c6S+0YjfZGJra89BkxlKSJNpw+n210zs+M0wddvcH6OdHkPqzysAhD3lhOHe
 A3GV1Qoj1pjLGoeiThs2UgCrin6s0O3B0ZgqhZ4YX+x6StX01pD+AHG6wte+SZqWw9
 QoVxMeUMOcCQST5ni1UvKKiFW6i+yAXwn7MTYiBZL1xX5c1GCia7vPtqtaETGX1Jpb
 59r3p0H1TrkZEva9a03Km32OSPqG/oj9TxyOcW0F4oZuER0KffWG5pf79abivZizt/
 jORUVngZCmHbw==
To: 66870 <at> debbugs.gnu.org
Subject: [PATCH 1/6] gnu: asio: Update to 1.28.0.
Date: Wed,  1 Nov 2023 10:09:37 +0100
Message-ID: <cd33a672a97b984133ed98b96d8050959277c06f.1698829285.git.sughosha@HIDDEN>
In-Reply-To: <cover.1698829285.git.sughosha@HIDDEN>
References: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66870
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: Sughosha <sughosha@HIDDEN>

* gnu/packages/networking.scm (asio): Update to 1.28.0.
---
 gnu/packages/networking.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 86309e4ab3..1d50025d83 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3412,14 +3412,14 @@ (define-public can-utils
 (define-public asio
   (package
     (name "asio")
-    (version "1.22.2")
+    (version "1.28.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://sourceforge/asio/asio/"
-                           version " (Stable)/asio-" version ".tar.bz2"))
+                           version " (Stable)/asio-" version ".tar.gz"))
        (sha256
-        (base32 "0v5w9j4a02j2rkc7mrdj3ms0kfpqbgq2ipkixlz2l0p8xs0vfsvp"))))
+        (base32 "15yavn07m6fasf0lrxljx3p79zi23mzn0g0fhggrnngyqqyaam78"))))
     (build-system gnu-build-system)
     (inputs
      (list boost openssl))
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Nov 2023 09:08:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 01 05:08:10 2023
Received: from localhost ([127.0.0.1]:49820 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy7Cs-0004Cz-9r
	for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:08:10 -0400
Received: from lists.gnu.org ([2001:470:142::17]:58138)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sughosha@HIDDEN>) id 1qy7Cp-0004Cj-Sw
 for submit <at> debbugs.gnu.org; Wed, 01 Nov 2023 05:08:08 -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 <sughosha@HIDDEN>)
 id 1qy7CC-0007C1-67
 for guix-patches@HIDDEN; Wed, 01 Nov 2023 05:07:28 -0400
Received: from layka.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sughosha@HIDDEN>)
 id 1qy7C7-0008Gt-U6
 for guix-patches@HIDDEN; Wed, 01 Nov 2023 05:07:27 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 851EF44F82;
 Wed,  1 Nov 2023 10:07:21 +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]) (amavisd-new, port 10024)
 with ESMTP id uRTSwkB_eaJF; Wed,  1 Nov 2023 10:07:20 +0100 (CET)
From: Sughosha <sughosha@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1698829640; bh=SpKud8cTQ6ROrqV/NCndRpJpjQxsYRHwcaW1k6A/UDg=;
 h=From:To:Cc:Subject:Date;
 b=AHaSQSnUEC/+VqrMVPELM+k/klnUJKHLiZQlhQcrqAL3zZcpPEsATY+9rIA0H8Dtd
 jBM0lF2Ksgi3U28Kuv8YYw4wtUf3HVKgK24zrXaULumaXACYO7y0DjxeGzsQmHENf3
 dlX7JQ8M6bwKtYzyoHj8be3UA307Hsvks2I55QEfu4lYyfJeEcRYoKn2tmnJF/gwUJ
 ygffbRVFb6uXmXfbgLtoyxQnJWSbJF2Rb4KIxfqdQTNmlnsc5hRqsQPC7b4oaAfGOS
 HaXWyTMcS8oMqoXd/FGeDPiQZiybCaor/YzcBPD9SmzI12zHwQS1izQ95d5hyWWa8y
 U2mYIvPl1q35Q==
To: guix-patches@HIDDEN
Subject: [PATCH 0/6] gnu: Add yabridge.
Date: Wed,  1 Nov 2023 10:07:00 +0100
Message-ID: <cover.1698829285.git.sughosha@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Gabriel Wicki <gabriel@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=sughosha@HIDDEN;
 helo=layka.disroot.org
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, 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-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Sughosha <sughosha@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

This series of patches adds yabridge.

Sughosha (6):
  gnu: asio: Update to 1.28.0.
  gnu: Add bitsery.
  gnu: Add function2.
  gnu: Add tomlplusplus.
  gnu: Add clap.
  gnu: Add yabridge.

 gnu/local.mk                                  |   2 +
 gnu/packages/audio.scm                        | 151 ++++++++++++++
 gnu/packages/cpp.scm                          |  79 ++++++++
 gnu/packages/networking.scm                   |   6 +-
 ...3sdk-3.7.7-allow-winelib-compilation.patch | 191 ++++++++++++++++++
 .../patches/yabridge-5.0.4-dependencies.patch |  36 ++++
 6 files changed, 462 insertions(+), 3 deletions(-)
 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


base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





Acknowledgement sent to Sughosha <sughosha@HIDDEN>:
New bug report received and forwarded. Copy sent to gabriel@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to gabriel@HIDDEN, guix-patches@HIDDEN:
bug#66870; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.