After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566878 - [ladspa] Add dependencies for ladspa modules
[ladspa] Add dependencies for ladspa modules
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-07 09:48 UTC by Sebastian Dröge (slomo)
Modified: 2009-01-24 22:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ladspa-dependencies.diff (815 bytes, patch)
2009-01-07 09:48 UTC, Sebastian Dröge (slomo)
none Details | Review
ladspa-dependencies.diff (800 bytes, patch)
2009-01-07 10:55 UTC, Sebastian Dröge (slomo)
none Details | Review
ladspa-dependencies.diff (801 bytes, patch)
2009-01-07 18:35 UTC, Sebastian Dröge (slomo)
committed Details | Review
use GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY flag (790 bytes, patch)
2009-01-08 08:20 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
rejected Details | Review

Description Sebastian Dröge (slomo) 2009-01-07 09:48:29 UTC
Attached patch adds dependencies for the ladspa module directories
Comment 1 Sebastian Dröge (slomo) 2009-01-07 09:48:53 UTC
Created attachment 125910 [details] [review]
ladspa-dependencies.diff
Comment 2 Sebastian Dröge (slomo) 2009-01-07 09:49:21 UTC
ladspa-dependencies.diff
Comment 3 Sebastian Dröge (slomo) 2009-01-07 10:55:58 UTC
Created attachment 125917 [details] [review]
ladspa-dependencies.diff
Comment 4 Tim-Philipp Müller 2009-01-07 12:55:00 UTC
>+    "LADSPA_PATH",

In case ladspa also checks for plugins in the home directory, this could be expressed as e.g. "LADSPA_PATH,HOME/.ladspa" (I don't know if it does though, just thought I'd mention it).


>+    "usr/lib/ladspa:/usr/local/lib/ladspa",

Isn't there a leading slash missing here at the beginning?

Comment 5 Sebastian Dröge (slomo) 2009-01-07 18:35:05 UTC
Created attachment 125952 [details] [review]
ladspa-dependencies.diff

It doesn't look inside $HOME ;)
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-08 08:20:09 UTC
Created attachment 126010 [details] [review]
use GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY flag

IMHO, Flags should be GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY
to not override the envvar.
Comment 7 Sebastian Dröge (slomo) 2009-01-08 09:40:13 UTC
2009-01-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

        * ext/ladspa/gstladspa.c: (plugin_init):
        Add plugin dependency for the LADSPA plugin directories.
        Fixes bug #566878.
Comment 8 Hans de Goede 2009-01-20 12:32:07 UTC
I just saw this in the gst-plugins-bad-0.10.10 release notes. This will *not* work on systems which have lib64 instead of lib, such as most 64 bit Linux distros.

Re-Open?
Comment 9 Jan Schmidt 2009-01-20 12:58:19 UTC
There's no regression there afaics - this patch adds a trigger to rescan the LADSPA plugin if any of the directories it scans changes - but it was scannning that (wrong) list of directories already.

I think you're talking about a related but different bug - "Ladspa plugin won't work correctly on lib64 systems"
Comment 10 Hans de Goede 2009-01-20 13:01:02 UTC
(In reply to comment #9)
> There's no regression there afaics - this patch adds a trigger to rescan the
> LADSPA plugin if any of the directories it scans changes - but it was scannning
> that (wrong) list of directories already.
> 
> I think you're talking about a related but different bug - "Ladspa plugin won't
> work correctly on lib64 systems"
> 

I'm not claiming that there is a regression, I've only looked at the patch and what is done there obviously will not work on 64 bit systems.