[Bug 791717] It is necessary to delete Gstreamer cache for LV2 plugins to be found

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 18 17:36:23 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=791717

--- Comment #7 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Ok, here's what we need to reproduce (Heiku OS excluded):

    # Set default LV2 path
    lv2_path = Options.options.default_lv2_path
    if lv2_path == '':
        if conf.env.DEST_OS == 'darwin':
            lv2_path = lilv_path_sep.join(['~/Library/Audio/Plug-Ins/LV2',
                                           '~/.lv2',
                                           '/usr/local/lib/lv2',
                                           '/usr/lib/lv2',
                                           '/Library/Audio/Plug-Ins/LV2'])
        elif conf.env.DEST_OS == 'haiku':
            lv2_path = lilv_path_sep.join(['~/.lv2',
                                           '/boot/common/add-ons/lv2'])
        elif conf.env.DEST_OS == 'win32':
            lv2_path = lilv_path_sep.join(['%APPDATA%\\\\LV2',
                                           '%COMMONPROGRAMFILES%\\\\LV2'])
        else:
            libdirname = os.path.basename(conf.env.LIBDIR)
            lv2_path = lilv_path_sep.join(['~/.lv2',
                                           '/usr/%s/lv2' % libdirname,
                                           '/usr/local/%s/lv2' % libdirname])

That explain why you cannot install both 32bit and 64bit plugin on Debian, they
use two folders lib/arch, which is not supported by lilv build system. On our
side, we hardcode /usr/lib, it should check the pkgconfig libdir basename
instead. And then we are missing the .lv2 folder in user home directory.
Finally, we just don't support Windows and OSX at all. While at it we should
fix it properly.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list