Group :: Som
RPM: audacity
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: 0005-Fix-lv2-external-gui.patch
Download
Download
--- a/src/effects/lv2/LoadLV2.cpp
+++ b/src/effects/lv2/LoadLV2.cpp
@@ -130,7 +130,7 @@ bool LV2EffectsModule::Initialize()
// Look in ~/Library/Audio/Plug-Ins/lv2 and /Library/Audio/Plug-Ins/lv2
newVar += wxT(":$HOME") LV2PATH;
newVar += wxT(":") LV2PATH;
-
+
newVar += wxT(":/usr/local/lib/lv2");
newVar += wxT(":/usr/lib/lv2");
newVar += wxT(":") + libdir.GetPath();
@@ -155,9 +155,6 @@ bool LV2EffectsModule::Initialize()
newVar += wxT(":/usr/local/lib/lv2");
newVar += wxT(":/usr/lib/lv2");
newVar += wxT(":") + libdir.GetPath();
-
- // Tell SUIL where to find his GUI support modules
- wxSetEnv(wxT("SUIL_MODULE_DIR"), wxT(PKGLIBDIR));
#endif
// Start with the LV2_PATH environment variable (if any)
@@ -287,7 +284,7 @@ public:
LV2PortStates portStates { lv2effect->mPorts };
LV2InstanceFeaturesList instanceFeatures { lv2effect->mFeatures };
-
+
auto settings = lv2effect->MakeSettings();
auto wrapper = LV2Wrapper::Create(
instanceFeatures,
@@ -299,7 +296,7 @@ public:
if(!wrapper)
throw std::runtime_error("Cannot create LV2 instance");
-
+
}
else
throw std::runtime_error("Not a LV2Effect");