> OpenSUSE-12.2/64 & PhenomII box
>
> Version 11.11.42-51.20 showed plugins in the lists but didn't do
> anything with them & clicking edit on any of them in
> Studio>Manage-Synth-Plugins had no effect (I did wait).  So I just
> installed 12.04 from source tarball after telling it to look for the
> Qt material under /usr/lib64/qt4. This one may or may not be able to
> deal with plugins but it cannot find(?) them.
>
>  Plugins not found
>  The following audio plugins could not be loaded
>  FluidSynth-DSSI (from fluidsynth-dssi.so)
>  ZASF (from zynaddsubfx.so)
>
> It says "could not be loaded" so I presume the files were found but are
> not usable for some reason. Or is it that they were not found. These are
> the full paths:
>
>  507.9 kb /usr/lib64/dssi/zynaddsubfx.so (from distro rpm)
>  23.1 kb  /usr/lib64/dssi/fluyidsynth-dssi.so (from distro rpm)
>  73.2 kb  /usr/local/lib64/dssi/fluyidsynth-dssi.so (from source tarball)
>
> What is the workaround? Can I edit these paths into some rosegarden
> config file or place copies/links where rosegarden expects to see them?

I encountered the same problem a while ago.  Rosegarden does not look in
lib64 for DSSI and LADSPA plugins.  An easy workaround is to place
symlinks in /usr/lib.

Assuming that /usr/lib64/dssi exists, from within /usr/lib (create the
directory if it doesn't exist) type the following:

  ln -s /usr/lib64/dssi dssi

In order to use LADSPA plugins, the following will work:

  ln -s /usr/lib64/ladspa ladspa

A better fix, of course, is to patch src/sound/DSSIPluginFactory.cpp and
src/sound/LADSPAPluginFactory.cpp with additional path information.

I've attached a patch I've been using.

Tim Munro
--- src/sound/DSSIPluginFactory.cpp     2012-09-23 09:48:35.000000000 -0700
+++ src/sound/DSSIPluginFactory.cpp     2012-10-21 16:41:34.428288434 -0700
@@ -234,7 +234,8 @@
         path = cpath;
 
     if (path == "") {
-        path = "/usr/local/lib/dssi:/usr/lib/dssi";
+//      path = "/usr/local/lib/dssi:/usr/lib/dssi";
+        path = 
"/usr/local/lib/dssi:/usr/lib/dssi:/usr/local/lib64/dssi:/usr/lib64/dssi";
         char *home = getenv("HOME");
         if (home)
             path = std::string(home) + "/.dssi:" + path;

--- src/sound/LADSPAPluginFactory.cpp   2012-09-23 09:48:35.000000000 -0700
+++ src/sound/LADSPAPluginFactory.cpp   2012-10-21 16:46:02.506296730 -0700
@@ -565,7 +565,8 @@
         path = cpath;
 
     if (path == "") {
-        path = "/usr/local/lib/ladspa:/usr/lib/ladspa";
+//      path = "/usr/local/lib/ladspa:/usr/lib/ladspa";
+        path = 
"/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa";
         char *home = getenv("HOME");
         if (home)
             path = std::string(home) + "/.ladspa:" + path;
@@ -753,9 +754,11 @@
     std::vector<QString> path;
 
     for (size_t i = 0; i < pluginPath.size(); ++i) {
-        if (pluginPath[i].contains("/lib/")) {
+//      if (pluginPath[i].contains("/lib/")) {
+        if (pluginPath[i].contains("/lib/") || 
pluginPath[i].contains("/lib64/")) {
             QString p(pluginPath[i]);
             p.replace("/lib/", "/share/");
+            p.replace("/lib64/", "/share/");
             path.push_back(p);
             //     std::cerr << 
"LADSPAPluginFactory::generateFallbackCategories: path element " << p << 
std::endl;
         }
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Rosegarden-user mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to