From ee3e3c772ef96ea3b3da63a2e866f32e723346bd Mon Sep 17 00:00:00 2001 From: Yann Collette Date: Mon, 22 Jul 2024 17:21:37 +0200 Subject: [PATCH] fix ladspa search --- .../non-mixer-xt-0001-fix-ladspa-path.patch | 32 +++++++++++++++++++ rakarrack-plus/non-mixer-xt.spec | 10 +++--- 2 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 rakarrack-plus/non-mixer-xt-0001-fix-ladspa-path.patch diff --git a/rakarrack-plus/non-mixer-xt-0001-fix-ladspa-path.patch b/rakarrack-plus/non-mixer-xt-0001-fix-ladspa-path.patch new file mode 100644 index 000000000..36ef7fcbd --- /dev/null +++ b/rakarrack-plus/non-mixer-xt-0001-fix-ladspa-path.patch @@ -0,0 +1,32 @@ +From d1618e505cdff11e7133e100a86a66a83c8ffbc7 Mon Sep 17 00:00:00 2001 +From: Yann Collette +Date: Mon, 22 Jul 2024 17:02:00 +0200 +Subject: [PATCH] fix ladspa path + +--- + mixer/src/ladspa/LADSPAInfo.C | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mixer/src/ladspa/LADSPAInfo.C b/mixer/src/ladspa/LADSPAInfo.C +index 0b1cf2e..61fe821 100644 +--- a/mixer/src/ladspa/LADSPAInfo.C ++++ b/mixer/src/ladspa/LADSPAInfo.C +@@ -82,7 +82,7 @@ LADSPAInfo::RescanPlugins(void) + cerr << "WARNING: LADSPA_PATH environment variable not set" << endl; + cerr << " Assuming /usr/lib/ladspa:/usr/local/lib/ladspa" << endl; + +- ScanPathList("/usr/lib/ladspa:/usr/local/lib/ladspa", &LADSPAInfo::ExaminePluginLibrary); ++ ScanPathList("/usr/lib64/ladspa:/usr/local/lib64/ladspa", &LADSPAInfo::ExaminePluginLibrary); + } + } + +@@ -828,4 +828,4 @@ LADSPAInfo::GetDescriptorFunctionForLibrary(unsigned long library_index) + return desc_func; + } + +-#endif // LADSPA_SUPPORT +\ No newline at end of file ++#endif // LADSPA_SUPPORT +-- +2.45.2 + diff --git a/rakarrack-plus/non-mixer-xt.spec b/rakarrack-plus/non-mixer-xt.spec index 0384ddee3..bb9738935 100644 --- a/rakarrack-plus/non-mixer-xt.spec +++ b/rakarrack-plus/non-mixer-xt.spec @@ -5,7 +5,7 @@ Summary: Reboot of Non Mixer with eXTended LV2 support. Name: non-mixer-xt Version: 2.0.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-3.0-only URL: https://github.com/Stazed/non-mixer-xt ExclusiveArch: x86_64 aarch64 @@ -18,6 +18,7 @@ Distribution: Audinux Source0: non-mixer-xt.tar.gz Source1: source-non-mixer-xt.sh +Patch0: non-mixer-xt-0001-fix-ladspa-path.patch BuildRequires: gcc gcc-c++ BuildRequires: cmake @@ -52,7 +53,7 @@ The generic parameter editor has been redesigned to accommodate larger LV2 plugins, preset support and state save and restore. %prep -%autosetup -n %{name} +%autosetup -p1 -n %{name} %build @@ -90,10 +91,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/doc/non-mixer-xt/* %changelog -* Sun Jul 21 2024 Yann Collette 2.0.2-3 +* Sun Jul 21 2024 Yann Collette 2.0.2-4 +- update to 2.0.2-4 - fix ladspa search path - update to 2.0.2-3 - activate ladspa - -* Sun Jul 21 2024 Yann Collette 2.0.2-2 - update to 2.0.2-2 * Thu Jul 04 2024 Yann Collette 2.0.1-2