Patch to generate useful JACK client names by default
authorIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Thu, 12 Apr 2018 11:03:24 +0000 (13:03 +0200)
committerIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Thu, 12 Apr 2018 11:03:24 +0000 (13:03 +0200)
debian/patches/jack-client-name.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/jack-client-name.patch b/debian/patches/jack-client-name.patch
new file mode 100644 (file)
index 0000000..63ded13
--- /dev/null
@@ -0,0 +1,24 @@
+Description: meaningful default JACK client name
+ rather than "JUCEJack" for all jack standalone apps,
+ use the <JucePlugin_Name>.
+Author: IOhannes m zmölnig
+Bug: https://github.com/WeAreROLI/JUCE/issues/331
+Forwarded: https://github.com/WeAreROLI/JUCE/pull/351
+Last-Update: 2018-04-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/modules/juce_audio_devices/native/juce_linux_JackAudio.cpp
++++ juce/modules/juce_audio_devices/native/juce_linux_JackAudio.cpp
+@@ -105,7 +105,11 @@
\r
+ //==============================================================================\r
+ #ifndef JUCE_JACK_CLIENT_NAME\r
+- #define JUCE_JACK_CLIENT_NAME "JUCEJack"\r
++ #ifdef JucePlugin_Name\r
++ # define JUCE_JACK_CLIENT_NAME JucePlugin_Name\r
++ #else\r
++ # define JUCE_JACK_CLIENT_NAME "JUCEJack"\r
++ #endif\r
+ #endif\r
\r
+ struct JackPortIterator\r
index 7e16d8387653fc6b71d5ff541d9747b09fbb8d26..9a72c8a364468d352eedb1d5548e33c1e6da4d1c 100644 (file)
@@ -1,3 +1,4 @@
+jack-client-name.patch
 reproducible-date.patch
 LV2-audioprocessor.patch
 debian_fixed-defines.patch