Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884041 - media-sound/cadence sets wrong paths to audio plugins in X session environment
Summary: media-sound/cadence sets wrong paths to audio plugins in X session environment
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-02 17:19 UTC by Vasili Bulkin
Modified: 2024-02-02 20:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasili Bulkin 2022-12-02 17:19:48 UTC
media-sound/cadence installs the file /etc/X11/xinit/xinitrc.d/61cadence-session-inject that sets audio plugin path variables (LV2_PATH, VST_PATH...) to /usr/lib/ (e.g. /usr/lib/lv2) instead of /usr/lib64 by default. As a result, software that depends on media-libs/lilv (and probably other sound plugin users)  can't find plugins installed in the system (e.g. lsp-plugins). This is especially problematic with easyeffects, because it doesn't provide a way to set more audio plugin search paths.

The issue can be easily fixed by running cadence and adding proper paths in the tweaks tab, but I believe is should work out of the box (had to go pretty deep down the rabbit hole to find out why easyeffects stopped being able to find plugins).

Would patching /usr/share/cadence/src/shared_cadence.py in the ebuild to include `/usr/lib64/*` in DEFAULT_*_PATH be and adequate solution?
Comment 1 Samuel Bauer 2024-01-14 20:00:10 UTC
ping @fordfrog

in src_install:

-       rm -rf "${ED}"/etc/X11/xinit/xinitrc.d/61cadence-session-inject
+       rm -rf "${ED}"/etc/X11/xinit/xinitrc.d/61-cadence-session-inject.sh

this crazy file was renamed ...