From 5e494519ca1c224b41c6c941c96d799442cb45ee Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:01:40 +0100 Subject: [PATCH] added patch to avoid translating preset (default) or jackd is not found by applications in /dev/shm [release 0.4.4-2mamba;Mon Aug 14 2017] --- qjackctl-0.4.4-preset-no-translate.patch | 12 ++++++++++++ qjackctl.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 qjackctl-0.4.4-preset-no-translate.patch diff --git a/qjackctl-0.4.4-preset-no-translate.patch b/qjackctl-0.4.4-preset-no-translate.patch new file mode 100644 index 0000000..34a22c6 --- /dev/null +++ b/qjackctl-0.4.4-preset-no-translate.patch @@ -0,0 +1,12 @@ +diff -Nru qjackctl-0.4.4.orig/src/qjackctlSetup.cpp qjackctl-0.4.4/src/qjackctlSetup.cpp +--- qjackctl-0.4.4.orig/src/qjackctlSetup.cpp 2017-08-14 18:23:02.535595994 +0200 ++++ qjackctl-0.4.4/src/qjackctlSetup.cpp 2017-08-14 18:24:53.816055016 +0200 +@@ -46,7 +46,7 @@ + : m_settings(QJACKCTL_DOMAIN, QJACKCTL_TITLE) + { + bStartJackCmd = false; +- sDefPresetName = QObject::tr("(default)"); ++ sDefPresetName = "(default)"; + + loadSetup(); + } diff --git a/qjackctl.spec b/qjackctl.spec index 7efdb90..2cb98f8 100644 --- a/qjackctl.spec +++ b/qjackctl.spec @@ -1,6 +1,6 @@ Name: qjackctl Version: 0.4.4 -Release: 1mamba +Release: 2mamba Summary: A simple Qt application to control the JACK sound server daemon Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba @@ -15,6 +15,7 @@ Patch2: qjackctl-0.3.6-desktop.patch Patch3: qjackctl-0.3.7-jackdbus_enable_by_default.patch Patch4: qjackctl-0.3.9-jackdbus_dont_stop_on_exit.patch Patch5: qjackctl-0.4.2-gcc-6.1.0.patch +Patch6: qjackctl-0.4.4-preset-no-translate.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -41,6 +42,7 @@ A simple Qt application to control the JACK sound server daemon #%patch3 -p1 #%patch4 -p1 #%patch5 -p1 +%patch6 -p1 %build ./autogen.sh @@ -78,6 +80,9 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_bindir}/loop2jack #ChangeLog README TODO %changelog +* Mon Aug 14 2017 Silvan Calarco 0.4.4-2mamba +- added patch to avoid translating preset (default) or jackd is not found by applications in /dev/shm + * Wed Aug 09 2017 Automatic Build System 0.4.4-1mamba - automatic version update by autodist