New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fix symlinks in lv2dir #290
Conversation
Which ticket/issue does this fix? |
Downstream bug: https://bugs.gentoo.org/779343 |
So seems fine to me, a regression from a recent commit. |
Fixes loading of lv2 plugin and its gui.
The changes look good |
Fixes #294 I tried to edit symlink to point to libcalf.so. This made it loadable in carla, but without special gui. Update: I can confirm, that commit from PR fixes both plugin loading and custom gui, at least in carla.
|
What problem with pulseeffects? I tested with Ardour only, but in theory calf should be loadable by any other LV2 host. |
Same here. |
Tried again with this branch, to no avail... What do I do wrong? |
I now set a symlink from python to python3, it does look a little different in Carla, as in, now I get something in the logs: Will use UI-Bridge for 'GxAmplifier-Stereo-X', binary: "/usr/lib/carla/carla-bridge-lv2-x11" As you see: the Guitarix GUI loads OK, Calf Flanger does not... |
Arch Linux, but this should also replicate everywhere else:
This patch seems to be necessary to get
Creating symlinks for libraries yourself is generally not a reliable way to get things to load properly. Would it help if GitHub Actions is set up to at least check that |
As requested, I was able to run this PR in CI (on a temporary branch) with success for linux-gcc, linux-clang, macos and mingw64: https://github.com/calf-studio-gear/calf/actions/runs/6578998596 . If I understand the comments right, this is safe to merge now? |
Friendly reminder that I have an open question in the above post. Would be nice if anyone could help here. |
Thank you for the maintenance; I'll take a look tomorrow to see how Calf builds on my machine (now using KDE Neon) before and after this patch. |
I've tested again and the results still agree with my previous result, where the plugin does not load without this PR, and does with it applied. With current master (4c0d805): git clone https://github.com/calf-studio-gear/calf calf
cd calf
./autogen.sh
./configure
make # assuming lv2 and other dependencies are already present
sudo make install Then open a DAW and try to load a Calf plugin. It fails to load. With this PR applied: # cleanup
sudo make uninstall
git clean -Xdf
# apply this PR onto the just-cloned copy
gh pr checkout 290 # using github cli
git rebase origin/master # just fast forward for the test
./autogen.sh
./configure
make # assuming lv2 and other dependencies are already present
sudo make install Now open eg. Ardour and try to load a Calf plugin. It loads successfully. As an aside, distro-provided Calf packages don't (yet) hit this issue because they generally use the latest tagged release, which is 41a2b7f (0.90.3) before the commits introducing the regression identified by OP. |
@kisaragi-hiu Thanks a lot! I guess we can just merge this PR then? |
Will merge in 3 days if no one will disagree. |
Fixes loading of lv2 plugin and its gui.