unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: "58572@debbugs.gnu.org" <58572@debbugs.gnu.org>
Subject: [bug#58572] Add missing patches
Date: Sun, 16 Oct 2022 19:36:03 +0000	[thread overview]
Message-ID: <Bh0wvvBawEpV2XiH4BD16AhfCFbRQpjNe9WxBZA-pz2-0JvSDeBagCRYpSeeYouXF1PhNddT4nnlXSX4Invg0467cAiJt_vF1zOyOsf98EM=@proton.me> (raw)
In-Reply-To: <jxwJaej_vbaAUEYQRcM8uYOXErfjrthh65jDZ_uCi99LLOneM-6ME5rBqKK-V_wLZ8wF0X4Vvs6T510LVYnASoJj_HIS8t4Ra6dbK9ZLEPM=@proton.me>

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

I forgot to add the patchfiles to git before submiting above patches.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnu-Add-patches-required-for-bespokesynth-and-tuning.patch --]
[-- Type: text/x-patch; name=gnu-Add-patches-required-for-bespokesynth-and-tuning.patch, Size: 2715 bytes --]

From dec3082116fc60389d4095bbfd3cd66332e9ae7c Mon Sep 17 00:00:00 2001
From: Sughosha <sughosha@proton.me>
Date: Sun, 16 Oct 2022 21:32:02 +0200
Subject: [PATCH] gnu: Add patches required for bespokesynth and tuning-library

---
 ...okesynth-1.1.0-devendor_ableton_link.patch | 29 +++++++++++++++++++
 ...ng-library-1.1.0-fix_missing_include.patch |  8 +++++
 2 files changed, 37 insertions(+)
 create mode 100644 gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch
 create mode 100644 gnu/packages/patches/tuning-library-1.1.0-fix_missing_include.patch

diff --git a/gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch b/gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch
new file mode 100644
index 0000000000..1f160fd349
--- /dev/null
+++ b/gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch
@@ -0,0 +1,29 @@
+diff --git i/CMakeLists.txt w/CMakeLists.txt
+index 50038d06..7241a0de 100644
+--- i/CMakeLists.txt
++++ w/CMakeLists.txt
+@@ -15,6 +15,7 @@ option(BESPOKE_DEVENDORED_SYSTEM_JUCE "Use system libraries when using system in
+ option(BESPOKE_SYSTEM_PYBIND11 "Use a system installation of pybind11" OFF)
+ option(BESPOKE_SYSTEM_JSONCPP "Use system-wide installation of jsoncpp" OFF)
+ option(BESPOKE_SYSTEM_TUNING_LIBRARY "Use system installation of tuning-library" OFF)
++option(BESPOKE_SYSTEM_ABLETONLINK "Use system installation of ableton-link" OFF)
+ option(BESPOKE_USE_ASAN "Build with ASAN" OFF)
+ 
+ # Global CMake options
+diff --git i/Source/CMakeLists.txt w/Source/CMakeLists.txt
+index 7714ae7f..67256f1d 100644
+--- i/Source/CMakeLists.txt
++++ w/Source/CMakeLists.txt
+@@ -1,6 +1,11 @@
+ include(cmake/lib.cmake)
+ include(cmake/versiontools.cmake)
+-include(../libs/link/AbletonLinkConfig.cmake)
++if(BESPOKE_SYSTEM_ABLETONLINK)
++    message(STATUS "Using system provided Ableton Link")
++    find_package(AbletonLink NAMES AbletonLink ableton-link link REQUIRED)
++else()
++    include(../libs/link/AbletonLinkConfig.cmake)
++endif()
+ 
+ juce_add_gui_app(BespokeSynth
+     PRODUCT_NAME BespokeSynth
diff --git a/gnu/packages/patches/tuning-library-1.1.0-fix_missing_include.patch b/gnu/packages/patches/tuning-library-1.1.0-fix_missing_include.patch
new file mode 100644
index 0000000000..e53f32f483
--- /dev/null
+++ b/gnu/packages/patches/tuning-library-1.1.0-fix_missing_include.patch
@@ -0,0 +1,8 @@
+diff -ruN a/commands/parsecheck.cpp b/commands/parsecheck.cpp
+--- a/commands/parsecheck.cpp	2021-07-01 20:32:19.000000000 +0200
++++ b/commands/parsecheck.cpp	2021-10-10 00:44:54.766530190 +0200
+@@ -1,3 +1,4 @@
++#include <cstring>
+ #include <iomanip>
+ #include "Tunings.h"
+ #include "TuningsImpl.h"
-- 
2.38.0


  reply	other threads:[~2022-10-16 19:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 19:23 [bug#58572] gnu: Add bespokesynth Sughosha via Guix-patches via
2022-10-16 19:36 ` Sughosha via Guix-patches via [this message]
2022-10-17 19:28   ` [bug#58572] Add missing patches Sughosha via Guix-patches via
2022-10-26 20:01 ` [bug#58572] [PATCH v3] gnu: juce: Fix paths Sughosha via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Bh0wvvBawEpV2XiH4BD16AhfCFbRQpjNe9WxBZA-pz2-0JvSDeBagCRYpSeeYouXF1PhNddT4nnlXSX4Invg0467cAiJt_vF1zOyOsf98EM=@proton.me' \
    --to=guix-patches@gnu.org \
    --cc=58572@debbugs.gnu.org \
    --cc=Sughosha@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).